win32/common/: Update win32 files.
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2
3         * win32/common/config.h:
4         * win32/common/gstenumtypes.c:
5         * win32/common/gstenumtypes.h:
6         * win32/common/gstversion.h:
7           Update win32 files.
8
9 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
10
11         * gst/gstdebugutils.h: (GstDebugGraphDetails),
12           (GST_DEBUG_BIN_TO_DOT_FILE):
13           Add missing Since' markers to gtk-doc blurbs.
14
15 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
16
17         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
18         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
19         (set_caps_1), (set_caps_ct1), (transform_ct1),
20         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
21         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
22         (transform_size_ct2), (buffer_alloc_ct2):
23         Add some more tests with switching caps in buffer_alloc.
24
25 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
26
27         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
28         (gst_test_trans_class_init), (result_sink_chain),
29         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
30         (gst_test_trans_push), (gst_test_trans_pop):
31         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
32         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
33         (set_caps_1), (set_caps_ct1), (transform_ct1),
34         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
35         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
36         (transform_size_ct2), (buffer_alloc_ct2),
37         (gst_basetransform_suite):
38         More tests, prepare for tests with switching caps in buffer_alloc.
39
40 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
41
42         * plugins/elements/gstmultiqueue.c:
43         * plugins/elements/gstmultiqueue.h:
44         Fix dead-lock in underrun_cb
45
46 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
47
48         * docs/design/part-states.txt:
49         Fix device open/close docs.
50
51 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
52
53         * ChangeLog:
54           Mention bugnumber for last commit.
55
56 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
57
58         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
59
60         * docs/manual/manual.xml:
61         - Reorganised the previous "introduction" bundle into Foreword,
62         Introduction, and About GStreamer. The two first are <preface>
63         docbook elements. The later is the first part of the book.
64         - added intro-gstreamer.xml (content partially from
65         intro-preface.xml)
66         - moved appendix-win32.xml into appendix-integration.xml
67
68         * docs/manual/intro-preface.xml: gstreamer section moved...
69         * docs/manual/intro-gstreamer.xml: ...here. new file.
70
71         * docs/manual/appendix-win32.xml: removed file. Content moved...
72         * docs/manual/appendix-integration.xml: ...here.
73         
74         * docs/manual/highlevel-components.xml: section about GstEditor moved...
75         * docs/manual/appendix-checklist.xml: ...here.
76         
77         Fixes: 538764
78
79 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
80
81         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
82
83         * docs/manual/basics-helloworld.xml:
84         * docs/manual/hello-world.fig:
85           - Explicitely include glib.h.
86           - Do not use global variables.
87           - Use g_printerr() instead of g_print().
88           - Minor formating/renaming to increase readibility.
89           - Renamed new_pad() to on_pad_added()
90           - Improved explenatory comments.
91           - renamed ogg parser to ogg demuxer
92           - Use "autoaudiosink" instead of "alsasink".
93           Fixes: #538619
94
95 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
96
97         * ChangeLog:
98           Remove cvs conflict marker.
99
100 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
101
102         * docs/README:
103           Document that for plgin-docs we extraxt he short-desc from the element
104           details.
105
106         * docs/design/part-states.txt:
107           Tell that devices should be closed in PAUSED -> READY.
108
109         * docs/manual/README:
110           Document how tests in the manual are handled.
111
112         * docs/manuals.mak:
113           Typo in comment.
114
115 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
116
117         * gst/gstbin.c: (bin_query_latency_fold):
118         Only care about latency min and max when the sink is actually a live
119         sink.
120
121 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
122
123         * docs/design/part-block.txt:
124         Fix typo.
125
126         * docs/design/part-element-transform.txt:
127         Add notes about why transform needs to know input/output sizes.
128         Add some issues that need to be solved.
129         Add some more use cases.
130
131         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
132         (gst_test_trans_class_init), (result_sink_chain),
133         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
134         (gst_test_trans_push), (gst_test_trans_pop):
135         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
136         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
137         (set_caps_1), (set_caps_ct1), (transform_ct1),
138         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
139         (gst_basetransform_suite):
140         Add suport for different pad templates and buffer-alloc.
141         Add more checks for caps and buffer-alloc.
142         Add checks for proxy buffer alloc.
143         Add unit test for copy transform.
144
145 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
146
147         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
148
149         * docs/manual/appendix-integration.xml:
150         * docs/manual/appendix-licensing.xml:
151         * docs/manual/basics-elements.xml:
152         * docs/manual/basics-helloworld.xml:
153         * docs/manual/basics-pads.xml:
154         * docs/manual/highlevel-components.xml:
155         * docs/manual/highlevel-xml.xml:
156         * docs/manual/intro-basics.xml:
157         * docs/manual/intro-preface.xml:
158           Typo and formatting fixes (#538594).
159
160 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
161
162         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
163         Fix some memory leaks and uses of object instances that we don't
164         actually own.
165
166 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
167
168         * plugins/elements/gstmultiqueue.c:
169         Add functionality to extra-size-buffers property.
170
171 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
172
173         * plugins/elements/gstmultiqueue.c:
174         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
175         activate the pads if they are added in STATE_NULL.
176
177 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
178
179         * docs/libs/gstreamer-libs-sections.txt:
180         Add new API to doc
181         * libs/gst/check/gstcheck.c:
182         * libs/gst/check/gstcheck.h:
183         API: gst_check_teardown_pad_by_name
184
185 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
186
187         * libs/gst/check/gstcheck.c:
188         * libs/gst/check/gstcheck.h:
189         Also setup request pads and allow setup pads by name (#537812)
190         API: gst_check_setup_src_pad_by_name
191         API: gst_check_setup_sink_pad_by_name
192
193 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
194
195         * tests/check/gst/gstbuffer.c:
196         * tests/check/pipelines/parse-launch.c:
197           Use HAVE_VALGRIND_H some more.
198
199 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
200
201         * scripts/cvs-update.sh:
202           Pass arguments to make.
203           Run autoregen.sh if Makefile is not there.
204
205 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
206
207         * configure.ac:
208         * gst/gstinfo.c:
209           Don't assume that <valgrind/valgrind.h> exists just because
210           the binary is there.
211
212 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
213
214         * tests/check/Makefile.am:
215         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
216         (gst_test_trans_class_init), (gst_test_trans_init),
217         (gst_test_trans_set_data), (result_sink_chain),
218         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
219         (gst_test_trans_pop):
220         * tests/check/libs/transform1.c: (GST_START_TEST),
221         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
222         Add some test basetransform element and the beginnings of various
223         unit tests for it.
224
225 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
226
227         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
228         Increase code readability.
229         Don't try to compare buffer offsets when ther are invalid.
230
231 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
232
233         * docs/design/Makefile.am:
234           Dist some more design docs.
235
236         * docs/random/moving-plugins:
237           Small addition: good plugins mustn't have functional code
238           within assertion macros.
239
240 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
241
242         * docs/design/draft-framestep.txt:
243         Some ideas about a framestep API
244
245         * docs/design/part-element-transform.txt:
246         Start design and use cases for basetransform in order to get it
247         fixed soon.
248
249 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
250
251         * gst/gsttaglist.h:
252           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
253           be in UTF-8 encoding.
254
255 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
256
257         * gst/gstbus.c:
258           Make it known that gst_bus_poll() is pure evil (fixes #538810).
259
260 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
261
262         * plugins/elements/gstcapsfilter.c:
263         * plugins/elements/gstfakesink.c:
264         * plugins/elements/gstfakesrc.c:
265         * plugins/elements/gstfdsink.c:
266         * plugins/elements/gstfdsrc.c:
267         * plugins/elements/gstfilesink.c:
268         * plugins/elements/gstfilesrc.c:
269         * plugins/elements/gstidentity.c:
270         * plugins/elements/gstmultiqueue.c:
271         * plugins/elements/gstqueue.c:
272         * plugins/elements/gsttee.c:
273         * plugins/elements/gsttypefindelement.c:
274           Remove short_description. Add basic docs for gsttypefindelement.
275           Simplify markup for fakesrc/fdsrc.
276
277 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
278
279         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
280         Added Since doc.
281
282 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
283
284         Patch by: joel larsson <tilljoel at gmail dot com>
285
286         * docs/plugins/gstreamer-plugins.args:
287         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
288         (gst_fd_src_init), (gst_fd_src_update_fd),
289         (gst_fd_src_set_property), (gst_fd_src_get_property),
290         (gst_fd_src_create):
291         * plugins/elements/gstfdsrc.h:
292         Add timeout property like udpsrc. Fixes #538628.
293         Add some more docs and example pipelines.
294
295 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
296
297         * docs/libs/gstreamer-libs-sections.txt:
298         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
299         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
300         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
301         (gst_base_sink_do_sync):
302         * libs/gst/base/gstbasesink.h:
303         * win32/common/libgstbase.def:
304         Add method to allow sinks to specify additional delay between the sync
305         times and the actual rendering of the data.
306         API: gst_base_sink_set_render_delay()
307         API: gst_base_sink_get_render_delay()
308
309 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
310
311         * configure.ac:
312         Bump version number back to dev -> 0.10.20.1
313
314 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
315
316         * docs/gst/gstreamer-sections.txt:
317         * gst/gsttaglist.c: (_gst_tag_initialize):
318         * gst/gsttaglist.h:
319         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
320         Fixes bug #538568.
321
322 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
323
324         * libs/gst/controller/gstcontroller.c:
325           Revert one change, that make ret value possible uninitialized.
326
327 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
328
329         * libs/gst/controller/gstcontroller.c:
330           Use freeze/thaw notify to sync notify emission a bit (its also more
331           efficient). Move debug output to LOG (is called a lot in a loop).
332           Always unset g_values if the have been initialized.
333
334 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
335
336         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
337         (gst_base_sink_wait_eos), (gst_base_sink_event):
338         If we have not seen a buffer before EOS, use the segment values to
339         report the current position instead of invalid positions.
340
341 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
342
343         * docs/plugins/tmpl/.cvsignore:
344         * tests/check/gst/.cvsignore:
345           Ignore more.
346
347 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
348
349         * libs/gst/controller/gstinterpolation.c:
350         * libs/gst/controller/gstinterpolationcontrolsource.c:
351         * tests/check/libs/controller.c:
352           Rewrite handling of default values. Fix overflow with unsigned types
353           in linear interpolation. Remove now obsolete _first_value() function.
354           Add more tests. Fixes #538201.
355
356 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
357
358         * libs/gst/base/gstbasetransform.c:
359         (gst_base_transform_class_init), (gst_base_transform_init),
360         (gst_base_transform_transform_caps),
361         (gst_base_transform_prepare_output_buffer):
362         Add debug info.
363         When a buffer is writable, its metadata is also writable so we don't
364         need to subbuffer (which then makes the buffer not-writable anymore).
365
366 === release 0.10.20 ===
367
368 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
369
370         * configure.ac:
371           releasing 0.10.20, "You Crazy Diamond"
372
373 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
374
375         * configure.ac:
376         0.10.19.3 pre-release
377
378 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
379
380         * configure.ac:
381         * gst/gstpreset.c:
382         Rename DATADIR to GST_DATADIR to avoid build problems
383         on win32. Patch By: David Schleef <ds@schleef.org>
384         Fixes: #536857
385
386 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
387
388         * configure.ac:
389         Explicitely link with -ldl if dladdr() is found there. Before it was
390         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
391         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
392
393 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
394
395         * gst/gsterror.c: (_gst_stream_errors_init):
396           Fix typo (spotted by Fabricio Godoy, #536723).
397
398 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
399
400         * configure.ac:
401         0.10.19.2 pre-release
402
403 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
404
405         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
406         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
407         Add some debug.
408         Make sure we don't generate invalid QoS messages.
409
410 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
411
412         * gst/gstevent.c: (gst_event_new_qos):
413         Add some assert and docs for invalid input to the qos function.
414
415 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
416
417         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
418         (gst_base_sink_get_position):
419         The reported position must always be smaller than the last seen
420         timestamps (or timestamp + duration for reverse).
421
422 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
423
424         Patch by: Rob Bradford <rob at robster dot org dot uk>
425
426         * gst/gstregistry.c: (gst_registry_scan_path_level):
427         Don't recurse into .debug directories as some distros install
428         the debugging symbols next to the plugins in .debug directories
429         and dlopen() crashes on them sometimes. Fixes bug #508070.
430
431         Add FIXME for 0.11 to not recurse into directories at all because
432         it's very inconsistent to the behaviour of other PATH environment
433         variables.
434
435 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
436
437         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
438         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
439         Fix position query range checks in reverse playback.
440
441 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
442
443         * gst/gstelement.c:
444         * gst/gstelement.h:
445         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
446         clear of the reference to the resulting pad must be released later
447         or not, resulting in possible leaks. Fixes bug #533865.
448
449 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
450
451         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
452
453         * gst/gstelementfactory.c:
454         Small doc fix. Fixes #535285.
455
456 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
457
458         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
459
460         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
461         (gst_base_src_get_range), (gst_base_src_pad_get_range),
462         (gst_base_src_loop), (gst_base_src_set_flushing),
463         (gst_base_src_change_state):
464         Make sending an EOS event to the basesrc non-blocking even if the
465         implementation does blocking waits in the create function. This is done
466         by unlocking the create function when EOS is sent.
467         Fixes #535218.
468
469 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
470
471         * tools/gst-inspect.c: (print_element_properties_info):
472         If possible print the element type of GValueArray properties.
473
474 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
475
476         * gst/gstiterator.c:
477         Remove an unused field from the private GstListIterator struct.
478
479 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
480
481         * libs/gst/controller/gstcontroller.c:
482           Add parameter guards.
483
484 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
485
486         * tests/check/gst/gstpipeline.c:
487           Revert test change and add comment why it should not work.
488
489 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
490
491         * tests/check/gst/gstpipeline.c:
492           Extending the test a little to verify that we also get the NULL state-
493           change message.
494
495 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
496
497         * gst/gstpreset.c: (gst_preset_default_get_meta),
498           (gst_preset_get_preset_names), (gst_preset_get_property_names),
499           (gst_preset_load_preset), (gst_preset_save_preset),
500           (gst_preset_rename_preset), (gst_preset_delete_preset),
501           (gst_preset_set_meta):
502           Add Since: markers to docs blurbs.
503
504         * win32/common/libgstreamer.def:
505           Add recently-added API.
506
507 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
508
509         Patch by: Stefan Kost  <ensonic@users.sf.net>
510
511         * configure.ac:
512         Add DATADIR for storing presets.
513
514         * docs/gst/gstreamer-docs.sgml:
515         * docs/gst/gstreamer-sections.txt:
516         * docs/gst/gstreamer.types.in:
517         Add GstPreset to docs.
518
519         * gst/Makefile.am:
520         * gst/gst.h:
521         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
522         (preset_open_and_parse_header), (preset_parse_version),
523         (preset_merge), (preset_get_keyfile),
524         (gst_preset_default_get_preset_names),
525         (gst_preset_default_get_property_names),
526         (gst_preset_default_load_preset),
527         (gst_preset_default_save_presets_file),
528         (gst_preset_default_save_preset),
529         (gst_preset_default_rename_preset),
530         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
531         (gst_preset_default_get_meta), (gst_preset_default_randomize),
532         (gst_preset_default_reset), (gst_preset_get_preset_names),
533         (gst_preset_get_property_names), (gst_preset_load_preset),
534         (gst_preset_save_preset), (gst_preset_rename_preset),
535         (gst_preset_delete_preset), (gst_preset_set_meta),
536         (gst_preset_get_meta), (gst_preset_class_init),
537         (gst_preset_base_init), (gst_preset_get_type):
538         * gst/gstpreset.h:
539         Add GstPreset to core. Fixes #396779
540
541         * tests/check/Makefile.am:
542         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
543         (gst_preset_test_set_property), (gst_preset_test_class_init),
544         (gst_preset_test_base_init), (gst_preset_test_get_type),
545         (gst_preset_test_plugin_init), (GST_START_TEST),
546         (remove_preset_file), (test_setup), (test_teardown),
547         (gst_preset_suite):
548         Add GstPreset unit tests.
549
550 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
551
552         * gst/gstpad.c: (gst_pad_event_default_dispatch):
553         The default event function on a sinkpad should return TRUE when
554         there are no internal links but should collect the return values from
555         the internal links otherwise.
556
557 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
558
559         * plugins/elements/gsttypefindelement.c:
560         (gst_type_find_element_src_event),
561         (gst_type_find_element_handle_event):
562         Use faster and safer _pad_push_event().
563
564 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
565
566         * docs/gst/gstreamer-sections.txt:
567         * gst/gstutils.c: (element_find_unlinked_pad),
568           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
569         * gst/gstutils.h:
570           API: add gst_bin_find_unlinked_pad()
571           API: deprecate gst_bin_find_unconnected_pad() (#401456)
572
573 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
574
575         * gst/gstclock.c:
576         * gst/gstclock.h:
577         * gst/gsttask.c:
578         * gst/gsttask.h:
579         Fixed a bunch of typos.
580
581 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
582
583         * gst/gstpad.h:
584         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
585           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
586           (gst_parse_bin_from_description_full):
587         * gst/gstutils.h:
588           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
589
590 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
591
592         * docs/pwg/advanced-tagging.xml:
593           Small docs update, can't be bothered to rewrite the nonsensical
594           examples right now.
595
596 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
597
598         * gst/gstevent.h:
599           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
600
601 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
602
603         * gst/parse/grammar.y:
604           Remove unneeded casts.
605
606 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
607
608         * gst/parse/grammar.y:
609         * tests/check/pipelines/parse-launch.c:
610           Get all missing elements from a parse launch string if possible
611           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
612
613 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
614
615         * tests/check/Makefile.am:
616         * tests/check/pipelines/parse-launch.c:
617           Add some unit tests for the new gst_parse_launch*_full() API.
618           (Exposes a previously-existing memory leak in the error code
619           path, so adding to VALGRIND_TO_FIX for now).
620
621 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
622
623         * docs/gst/gstreamer-sections.txt:
624         * gst/gst.c: (init_post):
625         * gst/gst_private.h: (_GstParseContext):
626         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
627           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
628           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
629           (gst_parse_launch_full):
630         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
631           (GstParseFlags), (GstParseContext):
632         * gst/gstutils.c: (gst_parse_bin_from_description),
633           (gst_parse_bin_from_description_full):
634         * gst/gstutils.h:
635         * gst/parse/grammar.y:
636         * gst/parse/types.h:
637         * win32/common/libgstreamer.def:
638           Add new gst_parse_*_full API (#528178):
639           API: gst_parse_launch_full()
640           API: gst_parse_launchv_full()
641           API: gst_parse_bin_from_description_full()
642           API: gst_parse_context_new()
643           API: gst_parse_context_free()
644           API: gst_parse_context_get_missing_elements()
645
646 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
647
648         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
649
650         * docs/faq/gst-uninstalled:
651           Also support ffmpeg in gst-uninstalled.
652
653 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
654
655         * configure.ac:
656         After discussion on IRC use the binary registry as default
657         but allow to disable it with --disable-binary-registry.
658
659         * win32/common/libgstreamer.def:
660         Add the two new symbols for the binary registry.
661
662 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
663
664         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
665         * gst/gstutils.c: (gst_parse_bin_from_description):
666         * gst/parse/grammar.y: (graph):
667           More guards against bad input; typo fix; some minor clean-ups.
668
669 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
670
671         Patch by: Sjoerd Simons <sjoerd at luon dot net>
672
673         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
674         If nothing else can be used, use the last buffer's start time as
675         the segment's last stop. Fixes bug #534258.
676
677 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
678
679         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
680           Move size sanity check to the right place: downstream may return
681           a buffer with a smaller size if the buffer caps are different than
682           the requested ones, as may happen when doing reverse negotiation.
683
684 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
685
686         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
687         (gst_file_sink_render):
688         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
689         (gst_file_src_start):
690         Small cleanups. Add note adbout g_fopen() on windows and why we don't
691         use it yet.
692
693 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
694
695         * gst/gstpad.c: (gst_pad_load_and_link):
696         * gst/gstutils.c: (gst_element_link_pads),
697         (gst_element_unlink_pads):
698         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
699         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
700         (gst_check_teardown_sink_pad),
701         (gst_check_element_push_buffer_list):
702         * tests/check/elements/fakesink.c: (GST_START_TEST):
703         * tests/check/elements/filesink.c:
704         * tests/check/elements/filesrc.c: (GST_START_TEST):
705         * tests/check/elements/multiqueue.c: (setup_multiqueue),
706         (mq_sinkpad_to_srcpad):
707         * tests/check/elements/tee.c: (GST_START_TEST):
708         * tests/check/generic/sinks.c: (GST_START_TEST):
709         * tests/check/gst/gstbin.c: (GST_START_TEST):
710         * tests/check/gst/gstevent.c: (GST_START_TEST):
711         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
712         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
713         * tests/check/gst/gstquery.c: (GST_START_TEST):
714         * tests/check/gst/gstutils.c: (GST_START_TEST):
715         * tests/check/libs/basesrc.c: (GST_START_TEST):
716         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
717         (gst_parse_test_element_change_state):
718         Don't use gst_element_get_pad().
719
720 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
721
722         * docs/Makefile.am:
723         Fix installing plugin documentation when gtk-doc is disabled.
724
725 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
726
727         * docs/manual/advanced-autoplugging.xml:
728         * docs/manual/basics-helloworld.xml:
729         * docs/manual/basics-pads.xml:
730         * docs/manual/highlevel-components.xml:
731         Avoid using a bad function in the example code.
732
733 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
734
735         * gst/gstclock.c: (gst_clock_set_calibration):
736         Fix debug of the new clock rate.
737
738 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
739
740         * win32/common/libgstbase.def:
741         Add gst_base_sink_wait_clock() to the exported symbols.
742
743 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
744
745         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
746
747         * libs/gst/base/gstbasetransform.c:
748         (gst_base_transform_sink_event):
749         Unref events that the GstBaseTransform::event vfunc didn't want to
750         have forwarded by the base class. Closes a leak in identity.
751         Fixes bug #446763.
752
753 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
754
755         * docs/libs/gstreamer-libs-sections.txt:
756         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
757         * libs/gst/base/gstbasesink.h:
758         Expose a method that was previously used internally to synchronize
759         against the clock because it can be useful for subclasses too.
760         API: GstBaseSink::gst_base_sink_wait_clock()
761
762 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
763
764         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
765           Add sanity check to make sure we don't get smaller buffers
766           than requested (and fallback to normal buffer alloc if we do).
767
768 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
769
770         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
771         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
772         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
773         Refactor adjusting the running_time with latency and offset into a
774         separate method.
775         When doing clipping, we still want to use the subclass get_times method,
776         just in case the DURATION or TIMESTAMP are not set.
777
778 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
779
780         * docs/gst/gstreamer-sections.txt:
781         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
782         * gst/gsttypefind.h:
783         * win32/common/libgstreamer.def:
784           API: add gst_type_find_suggest_simple(), #533740.
785
786 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
787
788         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
789           Use right error code when typefinding fails, so we can use
790           the default (translated) error messages.
791
792 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
793
794         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
795         (gst_base_src_start):
796         When the subclass did not set caps on outgoing buffers, configure the
797         caps we negotiated on the source pad.
798         When the typefind helper does not find caps, error out properly instead
799         of doing things with NULL caps.
800
801 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
802
803         * gst/gsttypefind.h:
804           Tabs to spaces, oh yes!
805
806 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
807
808         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
809           Add David's and Benjamin's tests for array intersection to the
810           unit test suite (#147931).
811
812 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
813
814         * gst/gstevent.c:
815           Document that gst_event_new_tag() and gst_event_new_navigation()
816           take ownership of the taglist/structure passed to them. (#533635).
817
818 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
819
820         * docs/Makefile.am:
821         Don't descend into the plugins dir if plugin docs building
822         is disabled.
823
824         * docs/README:
825         Add a note about the new type:GTypeName syntax for the plugin
826         documentation .types file.
827
828 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
829
830         * gst/gstmessage.c: (gst_message_new_error),
831         (gst_message_new_warning), (gst_message_new_info):
832         * gst/gstmessage.h:
833         Mark the debug string parameters as const. Fixes bug #533490.
834
835 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
836
837         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
838         Sort buffer cache list by end offsets. This makes sure that we don't
839         stop to search for a cached buffer that contains the requested data
840         too early.
841         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
842         more efficient. Fixes bug #459862.
843
844 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
845
846         * gst/gstinfo.c:
847           Explain why we copy the list.
848
849         * gst/gstpipeline.c:
850           Improve docs.
851
852         * gst/gstutils.c:
853           Add one debug-log statement to help tracing probelms with linking pads.
854
855 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
856
857         * tests/check/gst/gstinfo.c:
858         Add a test for removing the default log handler. Seems to fail under
859         windows.
860
861 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
862
863         * gst/gstpad.c: (gst_pad_peer_accept_caps):
864         Release pad lock before calling out to avoid a possible deadlock.
865
866 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
867
868         * gst/parse/grammar.y:
869         Remove unneeded value unset.
870
871         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
872         Add unit test for de/serialization of caps.
873
874 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
875
876         * plugins/elements/gstfakesink.c:
877         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
878         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
879         (gst_fake_src_class_init):
880         Use custom marshalers that take GstMiniObject as first parameter.
881         Using OBJECT as parameter while a GstMiniObject is given will lead
882         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
883
884 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
885
886         * plugins/elements/gsttypefindelement.c:
887         (gst_type_find_element_handle_event),
888         (gst_type_find_element_send_cached_events),
889         (gst_type_find_element_change_state):
890         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
891         immediately.
892
893 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
894
895         * plugins/elements/gsttypefindelement.c:
896         (gst_type_find_handle_src_query), (stop_typefinding),
897         (gst_type_find_element_handle_event),
898         (gst_type_find_element_send_cached_events),
899         (gst_type_find_element_change_state):
900         Forward FLUSH_START events immediately and clean up instead of
901         caching them.
902
903 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
904
905         Patch by: Sjoerd Simons <sjoerd at luon dot net>
906
907         * libs/gst/base/gstbasetransform.c:
908         (gst_base_transform_buffer_alloc):
909         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
910         fall back to default negotiation in the chain function if the caps
911         are different from what was requested. Fixes bug #526768.
912
913 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
914
915         * gst/gstsegment.c:
916         * tests/check/gst/gstsegment.c:
917           No, let's not use g_slice_{dup|copy} here, since they only exist
918           since GLib 2.14 and we still depend only on >= 2.12. Also add
919           unit test for gst_segment_copy().
920
921 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
922
923         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
924           Try to fix 'dereferencing type-punned pointer will break strict
925           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
926           changed the default GType typedef from gulong to gsize at some point,
927           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
928           g_once_* functions all take a gsize * though, so work around the type
929           mismatch for C++ by doing everything in gsize and casting to GType
930           later.
931
932 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
933
934         * plugins/elements/gstmultiqueue.c:
935         Add documentation for the signals to push our core plugin docs
936         coverage back up to 100%.
937
938 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
939
940         * gst/gstinfo.h (GST_FUNCTION):
941           Reverted GST_FUNCTION to the old version as we don't want the
942           full signature in C++ code. Also added support for MSVC.
943
944 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
945
946         * gst/gstutils.h:
947         Intern the type name string, similar to what G_DEFINE_TYPE does.
948
949 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
950
951         * gst/gstutils.h:
952         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
953
954 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
955
956         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
957
958         * libs/gst/base/gstbasetransform.c:
959         (gst_base_transform_buffer_alloc):
960         Don't passthrough buffer allocation too easily if the caps change.
961         This breaks when working in passthrough mode and upstream changes
962         it's caps. Fixes bug #526768.
963
964 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
965
966         * gst/gstinfo.c (gst_debug_log_valist):
967           Improved the __FILE__ part of debug output for MSVC.
968
969 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
970
971         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
972           Declaration after statement fix for compilers like MSVC.
973
974 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
975
976         * win32/common/config.h.in:
977           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
978           use the real thing than having "???" unconditionally.
979
980 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
981
982         * gst/gstinfo.h (GST_FUNCTION):
983           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
984
985 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
986
987         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
988         Small code cleanup.
989
990         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
991         (gst_base_sink_set_flushing):
992         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
993         Fix some comments.
994
995 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
996
997         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
998         (gst_fake_src_init), (gst_fake_src_set_property),
999         (gst_fake_src_get_property), (gst_fake_src_start):
1000         * plugins/elements/gstfakesrc.h:
1001         Added format property to control the format of the newsegment events.
1002         API: GstFakeSrc:format
1003
1004 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
1005
1006         * win32/common/libgstreamer.def:
1007         Add gst_pad_has_name() to the exported symbols.
1008
1009 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
1010
1011         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1012         * libs/gst/base/gstbasetransform.c:
1013         (gst_base_transform_prepare_output_buffer):
1014         Don't allow negative sizes when allocating new buffers.
1015         Fixes bug #461253.
1016
1017 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
1018
1019         Patch by: Sjoerd Simons <sjoerd at luon net>
1020
1021         * gst/gstbus.c: (gst_bus_source_dispatch):
1022           Don't print a warning if the queue is empty when we try to pop
1023           here. That could happen if another thread or callback set the
1024           bus to flushing between the source's check/prepare and the
1025           dispatch being called (#531538).
1026
1027 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
1028
1029         * plugins/elements/gstmultiqueue.c:
1030           Small docs fix.
1031         
1032 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
1033
1034         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1035         Add unit test for deserializing uint64s and check some really large
1036         numbers in the int64 test.
1037
1038 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
1039
1040         * tools/gst-inspect.c: (n_print), (print_hierarchy),
1041         (print_interfaces), (print_element_properties_info),
1042         (print_signal_info):
1043         Use "%s" as format string instead of printing strings directly.
1044
1045 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
1046
1047         * gst/gstclock.c: (gst_clock_set_calibration):
1048         Make some checks actually useful.
1049
1050         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1051         Remove some unused code. Unsigned integers tend to be >= 0.
1052
1053 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1054
1055         * gst/gstminiobject.c: (gst_value_get_mini_object):
1056           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
1057           function was not in the unscheduled 0.10.19 release.
1058
1059 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1060
1061         * gst/gstregistry.c: (gst_registry_scan_path_level):
1062           Only print one log message per non-plugin file.
1063
1064 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1065
1066         * gst/gstinfo.c: (gst_debug_log_default):
1067           Fix alignment of debug log columns on 64-bit.
1068
1069 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1070
1071         * docs/libs/Makefile.am:
1072         * docs/libs/gstreamer-libs-sections.txt:
1073           Ignore private controller headers for docs.
1074
1075 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
1076
1077         * libs/gst/controller/gstcontrollerprivate.h:
1078         * libs/gst/controller/gsthelper.c:
1079         * libs/gst/controller/gstinterpolation.c:
1080         * libs/gst/controller/gstinterpolationcontrolsource.c:
1081         (gst_interpolation_control_source_set_interpolation_mode):
1082         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1083         * libs/gst/controller/lib.c:
1084         Move some private declarations into private headers.
1085
1086 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
1087
1088         * gst/gstdebugutils.c: (debug_dump_element_pad):
1089         Remove some code that is unused after Stefan's refactoring and uses
1090         uninitialized variables now, resulting in a compiler warning.
1091
1092 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1093
1094         * gst/gstregistry.c: (gst_registry_scan_path_level):
1095           Run g_str_has_suffix() only on the file name, not the
1096           entire file path.
1097
1098 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
1099
1100         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
1101           Since we're not called only from the chain function any longer,
1102           we can't assume that there's always data in the queue, so move
1103           the is_full check to the beginning of the loop (otherwise we'd
1104           hit the assert when changing the limit properties while the
1105           queue is empty or not running yet).
1106           Also, only set a discont if items were actually removed from
1107           the queue.
1108
1109         * tests/check/elements/queue.c: (test_leaky_downstream):
1110           Test case for the above.
1111
1112 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
1113
1114         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
1115
1116         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
1117         (gst_queue_chain), (queue_capacity_change),
1118         (gst_queue_set_property):
1119         When changing thr max capacity of a leaky queue, immediatly drop buffers
1120         instead of waiting for a push on the sinkpad. Fixes #530637.
1121
1122 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
1123
1124         * gst/gstdebugutils.c:
1125           Refactor code and fix handling of ghostpads and their proxypads.
1126
1127 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1128
1129         * docs/gst/gstreamer-sections.txt:
1130         * gst/gstevent.c: (gst_event_has_name):
1131         * gst/gstevent.h:
1132         * tests/check/gst/gstevent.c: (GST_START_TEST):
1133         Add method to conveniently check the name of a custom event with
1134         gst_event_has_name().
1135         Reformat the event docs so that related methods are put together instead
1136         of the default alphabetical sort.
1137         Update unit test with new method.
1138         API: GstEvent::gst_event_has_name()
1139
1140 2008-04-28  Michael Smith <msmith@songbirdnest.com>
1141
1142         * libs/gst/check/Makefile.am:
1143           Don't add an explicit link to libgstreamer-0.10.la; it's already
1144           included in GST_OBJ_LIBS.
1145
1146 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
1147
1148         * gst/gst.c:
1149         Register GstClock type from a type-safe context. Fixes bug #530317.
1150
1151 2008-04-25  Michael Smith <msmith@songbirdnest.com>
1152
1153         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
1154         * tools/gst-run.c:
1155           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
1156
1157 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1158
1159         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1160         (gst_bin_dispose):
1161         Use the GLib stuff to create a private structure.
1162         Add some locking around some dispose methods to make them a little
1163         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1164
1165 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
1166
1167         * libs/gst/base/gstbasesink.h:
1168         * libs/gst/base/gstbasesrc.h:
1169         * libs/gst/base/gstbasetransform.h:
1170         * libs/gst/base/gstcollectpads.h:
1171           Fix doc typos and unify caps a bit.
1172
1173 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
1174
1175         * tools/gst-launch.1.in:
1176           Forgot to also add the envvar docs here.
1177
1178 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
1179
1180         * gst/gst.c: (init_post), (gst_deinit):
1181         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
1182           (test_concurrent_create), (gst_pipeline_suite):
1183           Ref some more classes in gst_init() to work around thread-safety
1184           issues in pre-2.16 GLibs, and add basic unit test.
1185
1186 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1187
1188         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1189         (gst_base_sink_send_event):
1190         Rearrange the latency query code. We always want to do the upstream
1191         query, even if we are not live so that the upstream elements can get the
1192         latency results too. If we fail doing the query and we are live, we
1193         return TRUE afterwards.
1194
1195 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1196
1197         patch by: Jason Zhao <e3423c@motorola.com>
1198
1199         * docs/gst/running.xml:
1200         * gst/gst.c:
1201           Enable/disable scan_and_update_registry() based on commandline switch
1202           or environment variable. Fixes #520468.
1203           
1204         * ChangeLog:
1205           Fix typo in my previous commit.
1206
1207 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1208
1209         * gst/gstregistrybinary.c:
1210           Add a warning if we hit unhandled factories when saving.
1211           More debug logging detail, but move to LOG category.
1212
1213 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1214
1215         * gst/gstregistry.c:
1216           Tell the *truth* when improving the documentation.
1217
1218 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
1219
1220         * gst/gstelementfactory.c: (gst_element_factory_make):
1221         Unref the factory after it was used the last time, not before.
1222
1223         * gst/gstindexfactory.c: (gst_index_factory_make):
1224         Improve debugging a bit and don't leak a ref to the index factory with
1225         each call.
1226
1227 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1228
1229         * gst/gstregistry.c:
1230           Improve the documentation.
1231
1232 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1233
1234         * gst/gstsegment.c:
1235           The glib macro seems to be borked. Use g_slice_copy directly and cast
1236           in the hope that this fixes the warning on 64bit.
1237
1238 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1239
1240         * gst/gstsegment.c:
1241           Document the new function. Use g_slice_dup() (no need for
1242           gst_segment_init()).    
1243
1244 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1245
1246         * docs/gst/gstreamer-sections.txt:
1247           Move GParamSepc macros to standart section.
1248   
1249         * gst/gstbin.c:
1250           Dn't document _get_type - its in private section in docs anyway and
1251           this doc-blob was incomplete.
1252
1253         * gst/gstclock.h:
1254           Fix wrong symbol names in docs.
1255
1256         * gst/gstmacros.h:
1257           Add once doc sentence.
1258
1259         * tests/check/gst/.cvsignore:
1260           Ignore more.
1261
1262 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1263
1264         * docs/gst/Makefile.am:
1265           And remove those libs here.
1266
1267 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
1268
1269         * docs/libs/Makefile.am:
1270           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
1271
1272 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1273
1274         Patch by: Olivier Crete <tester at tester dot ca>
1275
1276         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1277         Add the min-threshold to the min latency if possible. Fixes #529148.
1278
1279 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1280
1281         * docs/gst/gstreamer.types.in:
1282           Stupid editor, I removed that line as it should go in yet.
1283
1284 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1285
1286         * docs/gst/gstreamer.types.in:
1287         * docs/libs/gstreamer-libs.types:
1288           Remove library types fro core docs and have them in libs docs.
1289           Reformat and cleanup. Add comment for miniobject types.
1290
1291 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
1292
1293         * gst/gsturi.c: (gst_uri_get_protocol):
1294           Fix leak: g_strdown operates on the string in place, while
1295           g_ascii_strdown() returns a newly-allocated string.
1296
1297 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
1298
1299         * tools/gst-inspect.c: (print_uri_handler_info),
1300         (print_element_info):
1301         Print the URI protocols and the URI type supported by the element.
1302
1303 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1304
1305         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
1306         Use g_value_take_string() instead of the deprecated
1307         g_value_set_string_take_ownership().
1308
1309 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1310
1311         * gst/gstregistrybinary.c: (_gst_crc32):
1312         Return the old CRC instead of 0 if we give a NULL buffer
1313         or a buffer with a length of 0.
1314
1315 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1316
1317         * gst/gsturi.c: (gst_uri_protocol_check_internal),
1318         (gst_uri_get_protocol), (gst_uri_has_protocol),
1319         (gst_uri_construct), (gst_uri_handler_set_uri):
1320         A valid URI scheme can also include '+', '-' and '.' additional
1321         to alphanumeric characters as per RFC 3986 Section 3.1.
1322
1323         Handle URI schemes case insensitive in all places and convert
1324         to lower-case when constructing an URI or setting an URI with
1325         the GstURIHandler interface. Fixes bug #528868.
1326         All elements can still assume (as before) that they will
1327         get passed URIs with a lower-case URI scheme by the GstURIHandler
1328         interface.
1329
1330 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
1331
1332         * gst/gstcaps.c: (gst_static_caps_get):
1333         * gst/gstclock.c: (gst_clock_entry_new):
1334           Don't use g_atomic_set_int where it's not needed.
1335
1336 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
1337
1338         * gst/gstvalue.c: (gst_value_deserialize_caps):
1339         * gst/parse/grammar.y:
1340         Fix 2 caps leaks.
1341
1342 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1343
1344         * gst/gstutils.c: (gst_atomic_int_set):
1345         Use g_atomic_int_set() here too instead of assignment +
1346         g_atomic_int_get().
1347
1348 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1349         
1350         * gst/gstutils.c:
1351         * gst/gstutils.h:
1352         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1353         now that we depend on new enough GLib.
1354
1355         * gst/gstcaps.c: (gst_static_caps_get):
1356         * gst/gstclock.c: (gst_clock_entry_new):
1357         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1358         (gst_debug_set_default_threshold), (_gst_debug_category_new),
1359         (gst_debug_category_set_threshold):
1360         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1361         (gst_base_sink_set_qos_enabled):
1362         * libs/gst/net/gstnettimeprovider.c:
1363         (gst_net_time_provider_set_property):
1364         Use g_atomic_int_set() instead of gst_atomic_int_set().
1365
1366 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1367
1368         * gst/gstquery.c:
1369           Also use G_GINT64_CONSTANT for the queries.
1370
1371 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1372
1373         * gst/gstmessage.c:
1374           Use G_GINT64_CONSTANT in varargs function.
1375
1376 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1377
1378         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1379         Initialize the registry magic with zeroes.
1380
1381 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1382
1383         * gst/gstregistrybinary.c: (_gst_crc32),
1384         (gst_registry_binary_write),
1385         (gst_registry_binary_initialize_magic),
1386         (gst_registry_binary_write_cache),
1387         (gst_registry_binary_check_magic),
1388         (gst_registry_binary_read_cache):
1389         * gst/gstregistrybinary.h:
1390         Add crc32 checksum to the binary registry file and check this before
1391         accepting a registry file.
1392
1393         Also free the data list when writing to the registry file fails.
1394
1395 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1396
1397         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1398         (gst_registry_binary_load_feature),
1399         (gst_registry_binary_load_plugin):
1400         If an element supports the Uri interface, returns a valid pointer
1401         to the supported URI protocols but this pointer contains nothing
1402         don't try to save that as it will corrupt the registry.
1403
1404         Don't unref the plugin if we added it to the registry already but
1405         fail to load a feature as gst_registry_add_plugin() takes ownership
1406         of the plugin.
1407
1408         Improve debugging a bit.
1409
1410 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1411
1412         * gst/gsttaglist.h:
1413           Clarify some tag item docs after discussion on irc.
1414
1415 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1416
1417         * docs/gst/gstreamer-docs.sgml:
1418           Remove commented out plugins (they have their own docs). Update
1419           comments.
1420
1421 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1422
1423         * docs/gst/gstreamer-docs.sgml:
1424         * docs/gst/gstreamer-sections.txt:
1425         * gst/gstparamspecs.c:
1426         * gst/gstparamspecs.h:
1427           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1428           docs to own section.
1429
1430         * gst/gstvalue.c:
1431           This now only documents GValue.
1432           
1433         * docs/libs/gstreamer-libs-sections.txt:
1434         * libs/gst/controller/gstcontroller.h:
1435           Remove GST_PARAM_CONTROLLABLE.
1436
1437 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1438
1439         * docs/README:
1440           Correct file path. Tell about how to use -overrides.txt.
1441         * docs/design/draft-tagreading.txt:
1442           Small design update.
1443
1444 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
1445
1446         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1447         (gst_registry_binary_load_plugin):
1448         Fix a typo in a debug message and revert change from yesterday as
1449         gst_registry_add_plugin() will only fail if something is really wrong
1450         already and we can't survive it anyway.
1451
1452 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
1453
1454         * gst/gst.c: (init_post), (gst_deinit):
1455           Pre-register GstGError GType from a thread-safe context
1456           (fixes #527967); unref enum type classes in deinit.
1457
1458 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1459
1460         Patch by: Rene Stadler <mail at renestadler de>
1461
1462         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1463           Merging an empty list with another list in KEEP_ALL mode should
1464           yield an empty list as result and not the second list (#512578).
1465
1466         * tests/check/gst/gsttagsetter.c:
1467           Add unit test for tag merge modes and the aforementioned bug.
1468
1469 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1470
1471         Patch by: Rene Stadler <mail at renestadler de>
1472
1473         * gst/gsttaglist.h:
1474           Fix description to match the order in the table (#512577).
1475   
1476 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1477
1478         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
1479
1480         * libs/gst/net/gstnettimepacket.h:
1481         * docs/libs/gstreamer-libs-sections.txt:
1482           Define socklen_t as int if it's not defined yet. Fixes compilation
1483           with MSVC6 and other versions where socklen_t is not defined in
1484           the windows headers (#518022).
1485
1486 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
1487
1488         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1489         If gst_registry_add_plugin() fails our reference to the plugin is
1490         invalid so don't try to use it anymore and instead error out.
1491
1492 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
1493
1494         * tools/gst-xmlinspect.c: (print_element_info), (main):
1495           De-cruft a bit. If no argument is specified, print all elements in
1496           XML syntax rather than a freestyle list of elements like gst-inspect.
1497           Also, don't print XML header chunk unless we actually have something
1498           to print (ie. don't print it before an error message); print error
1499           message to stderr not stdout. Remove support for printing plugin
1500           info (it would just output something freestyle along the lines of
1501           gst-inspect so far), which fixes #514507. Also add license header.
1502
1503 2008-04-11  Julien Moutte  <julien@fluendo.com>
1504
1505         Mac OS X love...
1506         * configure.ac: Merge platform specific defines, introduce a new
1507         define on OS X to remember that forking when updating registry is
1508         unsafe.
1509         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1510         module.
1511         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1512         is defined.
1513         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1514         condition that leads to absolutely no plugins being registered on
1515         OS X.
1516
1517 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1518
1519         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1520
1521         * gst/gstutils.c: (gst_pad_add_data_probe),
1522           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1523           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1524           (gst_pad_add_buffer_probe_full):
1525         * gst/gstutils.h:
1526         * docs/gst/gstreamer-sections.txt:
1527         * win32/common/libgstreamer.def:
1528           Add gst_pad_add_*_probe_full() functions with a notify callback that
1529           lets the caller free the data it passes to the probe functions. This
1530           is useful for bindings such as gst-python or gstreamermm (#526814).
1531           API: gst_pad_add_data_probe_full
1532           API: gst_pad_add_buffer_probe_full
1533           API: gst_pad_add_event_probe_full
1534
1535         * tests/check/gst/gstutils.c:
1536           Add minimal unit test to make sure freeing the data actually works
1537           as expected.
1538
1539         * tests/benchmarks/.cvsignore:
1540           Random cvsignore addendum.
1541
1542 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1543
1544         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1545           (GST_DEBUG_BIN_TO_DOT_FILE):
1546           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1547           to it in the docs (since these are macros the types of the arguments
1548           won't be shown in the docs otherwise).
1549
1550 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1551
1552         * gst/gstpad.c:
1553           Do not abort on out of memory for pad_alloc_buffer.
1554
1555 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1556
1557         * libs/gst/check/gstcheck.c:
1558           Remove blank line between symbol name ad parameters to fix gtkdoc
1559           warning.
1560
1561 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1562
1563         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
1564
1565         * docs/gst/gstreamer-sections.txt:
1566         * gst/gstsegment.c:
1567         * gst/gstsegment.h:
1568         * win32/common/libgstreamer.def:
1569           Expose gst_segment_copy() to make things easier for the c++ bindings.
1570           Fixes #518932.
1571           API: gst_segment_copy()
1572
1573 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1574
1575         * gst/gst.c: (gst_init_get_option_group), (init_post):
1576           Fix const position; ref GType classes for enum types to work
1577           around thread-safety issues in GLib versions < 2.16.
1578
1579 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
1580
1581         * docs/design/part-buffering.txt:
1582         Fix some typos and set the estimated total for push mode to -1.
1583
1584         * gst/gstquery.c: (gst_query_new_buffering):
1585         Set buffering-left to 0 as we're not buffering by default.
1586
1587         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1588         Implement BUFFERING query.
1589
1590 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1591
1592         Based on patch by: Milosz Derezynski <internalerror gmail com>
1593
1594         * gst/gsterror.c: (_gst_stream_errors_init):
1595         * gst/gsterror.h:
1596           Add two new error codes for encrypted content. Fixes #524659.
1597           API: GST_STREAM_ERROR_DECRYPT
1598           API: GST_STREAM_ERROR_DECRYPT_NOKEY
1599
1600 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1601
1602         * gst/gstquery.h:
1603           Fix typo.
1604
1605         * win32/common/libgstreamer.def:
1606           Add new functions.
1607
1608 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
1609
1610         * plugins/elements/gstidentity.c: (gst_identity_event),
1611         (gst_identity_start):
1612         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
1613         event after processing some data. Fixes bug #526042.
1614
1615 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1616
1617         * docs/gst/gstreamer-sections.txt:
1618         * gst/gstquery.c: (gst_query_parse_latency),
1619         (gst_query_set_buffering_percent),
1620         (gst_query_parse_buffering_percent),
1621         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
1622         * gst/gstquery.h:
1623         Rename _avail -> _range
1624         API: gst_query_set_buffering_range
1625         API: gst_query_parse_buffering_range
1626
1627 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1628
1629         * docs/design/part-buffering.txt:
1630         * gst/gstquark.c:
1631         * gst/gstquark.h:
1632         * gst/gstquery.c: (gst_query_parse_latency),
1633         (gst_query_new_buffering), (gst_query_set_buffering_percent),
1634         (gst_query_parse_buffering_percent):
1635         * gst/gstquery.h:
1636         Add busy field and quark for the buffering query so that the app can
1637         only use the query to see if buffering is in progress.
1638
1639 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1640
1641         * docs/gst/gstreamer-sections.txt:
1642         * gst/gstmessage.c: (gst_message_set_buffering_stats),
1643         (gst_message_parse_buffering_stats):
1644         * gst/gstmessage.h:
1645         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1646         (gst_query_parse_latency), (gst_query_new_buffering),
1647         (gst_query_set_buffering_percent),
1648         (gst_query_parse_buffering_percent),
1649         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
1650         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
1651         * gst/gstquery.h:
1652         Reorder the message docs and headers for clarity.
1653         Add aditional buffering stats API for messages.
1654         Add buffering query.
1655         Convert some leftover queries to use GstQuark.
1656         API: gst_message_set_buffering_stats
1657         API: gst_message_parse_buffering_stats
1658         API: GST_QUERY_BUFFERING
1659         API: GstBufferingMode
1660         API: gst_query_new_buffering
1661         API: gst_query_set_buffering_percent
1662         API: gst_query_parse_buffering_percent
1663         API: gst_query_set_buffering_stats
1664         API: gst_query_parse_buffering_stats
1665
1666 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1667
1668         * gst/gstmessage.c: (gst_message_new_error),
1669         (gst_message_new_warning), (gst_message_new_info),
1670         (gst_message_new_buffering), (gst_message_new_state_changed),
1671         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
1672         (gst_message_new_new_clock), (gst_message_new_segment_start),
1673         (gst_message_new_segment_done), (gst_message_new_duration),
1674         (gst_message_new_async_start), (gst_message_parse_buffering),
1675         (gst_message_parse_state_changed),
1676         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1677         (gst_message_parse_new_clock), (gst_message_parse_error),
1678         (gst_message_parse_warning), (gst_message_parse_info),
1679         (gst_message_parse_segment_start),
1680         (gst_message_parse_segment_done), (gst_message_parse_duration),
1681         (gst_message_parse_async_start):
1682         Use GstQuark for messages.
1683
1684 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1685
1686         * gst/gstquark.c: (_priv_gst_quarks_initialize):
1687         * gst/gstquark.h:
1688         Add some more quarks needed for messages and queries.
1689
1690 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1691
1692         * docs/design/part-buffering.txt:
1693         Remove the "none" buffering mode, STREAM is a good default.
1694         Move estimated-time to the avail query, that's when it will be needed.
1695         Other small typo fixes and updates.
1696
1697 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
1698
1699         * gst/gstindex.c: (gst_index_resolver_get_type):
1700           Don't put descriptions into the nick field of a GEnumValue: it's not
1701           meant for that and some language bindings rely on the nick field to
1702           construct constants and the like. Fixes #526705.
1703
1704 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
1705
1706         * NEWS:
1707         * RELEASE:
1708         * gstreamer.doap:
1709           Merge other changes from 0.10.19 release branch.
1710
1711 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
1712
1713         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1714
1715         * configure.ac:
1716         Actually build dlls when cross-compiling with mingw32.
1717         Fixes bug #526247.
1718
1719 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
1720
1721         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1722
1723         * gst/gstpoll.c:
1724         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
1725
1726 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1727
1728         * docs/design/draft-latency.txt:
1729         Fix typo.
1730
1731         * docs/design/part-buffering.txt:
1732         Update design docs with more buffering ideas.
1733
1734 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
1735
1736         * configure.ac:
1737           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
1738
1739 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
1740
1741         * configure.ac:
1742           Revert part that belongs to the preset patch.
1743
1744 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
1745
1746         * configure.ac:
1747           Add qoutes to the define. Fixes # 525961.
1748
1749 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
1750
1751         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
1752         (gst_file_index_load), (gst_file_index_add_id),
1753         (gst_file_index_get_assoc_entry):
1754         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
1755         (gst_mem_index_free_id), (gst_mem_index_add_id),
1756         (gst_mem_index_index_format):
1757         Use GSlice when possible.
1758
1759 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
1760
1761         * libs/gst/controller/gstinterpolationcontrolsource.c:
1762         (gst_control_point_free),
1763         (gst_interpolation_control_source_set_internal):
1764         Use GSlice for allocating the control points.
1765
1766 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
1767
1768         * plugins/elements/gsttypefindelement.c:
1769         (gst_type_find_element_class_init),
1770         (gst_type_find_element_set_property),
1771         (gst_type_find_element_get_property),
1772         (gst_type_find_element_activate):
1773         * plugins/elements/gsttypefindelement.h:
1774         Cleanup properties.
1775         Fix pad leak when peer query fails.
1776         We can still typefind when the peer returns -1.
1777         Add property to force caps and bypass typefinding. This will be used in
1778         uridecodebin.
1779         API::force-caps
1780
1781 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
1782
1783         * configure.ac:
1784         Require GLib 2.12.
1785
1786         * gst/glib-compat-private.h:
1787         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
1788         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1789         Unconditionally use GSlice for allocation.
1790
1791         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
1792         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
1793         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
1794         (gst_structure_free):
1795         Use GSlice for allocation.
1796
1797 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
1798
1799         * gst/parse/Makefile.am:
1800         * gst/parse/grammar.tab.pre.c:
1801         * gst/parse/grammar.tab.pre.h:
1802         * gst/parse/lex._gst_parse_yy.pre.c:
1803         Require a new enough flex and bison and remove the parser hacks to use
1804         a pre-regenerated version.
1805
1806 2008-04-01  Julien Moutte  <julien@fluendo.com>
1807
1808         patch by: Jason Zhao <E3423C@motorola.com>
1809
1810         * configure.ac: Add a configure switch to disable option parsing
1811         in gst_init.
1812         Fixes #522882.
1813
1814 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1815
1816         * configure.ac:
1817         * gst/gstregistry.c:
1818           MacOS has plugins under .so or under .dylib. Add detection for MacOS
1819           and handle this case.
1820
1821         * gst/gst.c:
1822           Add a comment here describing, why we stat each plugin and not try to
1823           be smart.
1824
1825 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
1826
1827         * libs/gst/base/gstbasetransform.c:
1828         (gst_base_transform_prepare_output_buffer):
1829         Also unset the GAP flag on buffers if we're working inplace but
1830         the element is not GAP-aware.
1831
1832         Mark a comment as FIXME 0.11.
1833
1834 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1835
1836         * gst/gst.c:
1837           Fix type in log message and add one to ease seeing how long registry
1838           cache verification takes.
1839
1840         * gst/gstregistry.c:
1841           Only test plugin filenames against G_MODULE_SUFFIX.
1842
1843 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1844
1845         * gst/gstdebugutils.c:
1846           Improve handling ghost/proxy pads.
1847
1848 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
1849
1850         * docs/gst/gstreamer-sections.txt:
1851         * gst/gstpad.c:
1852         * gst/gstpad.h:
1853           Expose macro to docs and fix link to it.
1854
1855 2008-03-27  Michael Smith <msmith@fluendo.com>
1856
1857         * libs/gst/dataprotocol/dataprotocol.c:
1858         (gst_dp_packet_from_event_1_0):
1859           When calculating GDP body CRC, use the correct pointer. 
1860           Fixes part of #522401.
1861
1862 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1863
1864         Patch by: Mark Nauwelaerts <manauw at skynet be>
1865
1866         * plugins/elements/gstidentity.c: (gst_identity_class_init),
1867         (gst_identity_init), (gst_identity_prepare_output_buffer):
1868         Identity is not always a passthrough element, it can modify the buffer
1869         timestamps when it has a datarate and operates in single-segment mode.
1870         We therefore make it an in_place filter with a custom buffer prepare
1871         function that conditionally makes the input buffer metadata writable
1872         when needed.  Fixes #523985.
1873
1874 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1875
1876         Patch by: Mark Nauwelaerts <manauw at skynet be>
1877
1878         * gst/gstclock.h:
1879         * libs/gst/base/gstbasesrc.h:
1880         * libs/gst/base/gstbasetransform.c:
1881         * libs/gst/check/gstcheck.c:
1882         Small documentation fixes. Fixes #523978.
1883
1884 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1885
1886         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
1887         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
1888         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
1889
1890 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1891
1892         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
1893         (single_queue_underrun_cb):
1894         When trying to make room in the queue, bump the max allowed buffers
1895         bigger than the current amount of buffers in the queue. this fixes some
1896         nasty deadlocks in multiqueue when dynamically changing the limits of
1897         the queue.
1898
1899 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1900
1901         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
1902
1903         * gst/gstcaps.c: (gst_caps_set_simple),
1904         (gst_caps_set_simple_valist), (gst_caps_intersect):
1905         * gst/gstcaps.h:
1906         Constify the field gchar * params in set_simple and friends.
1907         Fixes #522326.
1908
1909 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1910
1911         * gst/gstvalue.c: (gst_value_transform_object_string):
1912         Transform a GstObject to a more meaningfull string that includes the
1913         object type in addition to its name.
1914
1915 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
1916
1917         * ChangeLog:
1918           ChangeLog surgery to add bugnumber to commit.
1919
1920 2008-03-23  Rene Stadler  <mail@renestadler.de>
1921
1922         * libs/gst/base/gstbasetransform.c:
1923         (gst_base_transform_set_gap_aware): Fix confusing documentation.
1924
1925 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1926
1927         * gst/gstregistrybinary.c: (gst_registry_binary_write):
1928         Rename constant everywhere and don't forget one occurence.
1929
1930 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1931
1932         * gst/gstregistrybinary.c: (gst_registry_binary_write):
1933         Align memory to the pointer size even if the architecture allows
1934         unaligned memory access. Unaligned memory access usually comes with
1935         performance penality.
1936
1937 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1938
1939         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1940         (gst_registry_binary_check_magic),
1941         (gst_registry_binary_load_pad_template),
1942         (gst_registry_binary_load_feature),
1943         (gst_registry_binary_load_plugin):
1944         Align memory to the pointer size instead of always 32 bit. Fixes
1945         unaligned memory accesses on ia64 and friends.
1946
1947         * gst/gstregistrybinary.h:
1948         Bump binary registry format version for this as it changes the
1949         format on those architectures that don't have unaligned access
1950         and 64 bit pointers.
1951
1952 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
1953
1954         * docs/pwg/advanced-dparams.xml:
1955         * docs/pwg/building-props.xml:
1956         * docs/pwg/other-source.xml:
1957         * gst/glib-compat.h:
1958         * gst/gstbin.c: (gst_bin_class_init):
1959         * gst/gstclock.c: (gst_clock_class_init):
1960         * gst/gstindex.c: (gst_index_class_init):
1961         * gst/gstobject.c: (gst_object_class_init):
1962         * gst/gstpad.c: (gst_pad_class_init):
1963         * gst/gstpipeline.c: (gst_pipeline_class_init):
1964         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1965         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
1966         * libs/gst/base/gstbasetransform.c:
1967         (gst_base_transform_class_init):
1968         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
1969         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
1970         (_gst_check_fault_handler_sighandler),
1971         (_gst_check_fault_handler_setup), (gst_check_init):
1972         * libs/gst/controller/gstcontroller.c:
1973         (_gst_controller_class_init):
1974         * libs/gst/controller/gstlfocontrolsource.c:
1975         (gst_lfo_control_source_class_init):
1976         * libs/gst/net/gstnetclientclock.c:
1977         (gst_net_client_clock_class_init):
1978         * libs/gst/net/gstnettimeprovider.c:
1979         (gst_net_time_provider_class_init):
1980         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
1981         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
1982         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
1983         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
1984         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1985         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
1986         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1987         * plugins/elements/gstidentity.c: (gst_identity_class_init):
1988         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
1989         * plugins/elements/gstqueue.c: (gst_queue_class_init):
1990         * plugins/elements/gsttee.c: (gst_tee_class_init):
1991         * plugins/elements/gsttypefindelement.c:
1992         (gst_type_find_element_class_init):
1993         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
1994         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
1995         use it everywhere for GParamSpecs that use static strings (i.e. all).
1996         This gives us less memory usage, fewer allocations and thus less
1997         memory defragmentation. Fixes bug #523806.
1998
1999 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
2000
2001         * gst/gstminiobject.c: (gst_value_dup_mini_object),
2002         (gst_param_spec_mini_object):
2003         * gst/gstminiobject.h:
2004         * win32/common/libgstreamer.def:
2005         * docs/gst/gstreamer-sections.txt:
2006         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
2007         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
2008         GstParamSpecMiniObject into a public header for this.
2009
2010         This make GstMiniObject a bit more consistent with GObject and makes
2011         it possible to extend the param specs.
2012
2013         gst_value_dup_mini_object is mainly useful for set_property methods.
2014
2015         Fixes bug #523798.
2016
2017         * tools/gst-inspect.c: (print_element_properties_info):
2018         Print something useful for GstMiniObject properties and not just
2019         "unknown type".
2020
2021 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
2022
2023         * docs/gst/gstreamer-sections.txt:
2024         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2025         (gst_registry_binary_check_magic):
2026         * gst/gstregistrybinary.h:
2027         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
2028         and add it to the (private part) of the docs to fix the build.
2029
2030 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
2031
2032         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2033         (gst_registry_binary_check_magic),
2034         (gst_registry_binary_read_cache):
2035         * gst/gstregistrybinary.h:
2036         Don't use GST_MAJORMINOR for the binary registry version. Instead
2037         hardcode a value that must be changed whenever the format changes
2038         in an incompatible way.
2039         Also don't GST_ERROR when there is a version mismatch, just
2040         regenerate the registry silently.
2041
2042 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
2043
2044         * configure.ac:
2045         Back to development - 0.10.18.1
2046
2047 === release 0.10.18 ===
2048
2049 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
2050
2051         * configure.ac:
2052           releasing 0.10.18, "So far away"
2053
2054 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
2055
2056         * configure.ac:
2057         * win32/common/config.h:
2058         0.10.17.4 pre-release
2059
2060 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
2061
2062         Patch by: Ole André Vadla Ravnås
2063             <ole dot andre dot ravnas at tandberg dot com>
2064
2065         * docs/gst/gstreamer-sections.txt:
2066         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
2067         (gst_poll_update_winsock_event_mask),
2068         (gst_poll_prepare_winsock_active_sets),
2069         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
2070         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
2071         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
2072         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2073         (gst_poll_check_ctrl_commands), (gst_poll_wait):
2074         * gst/gstpoll.h:
2075         * win32/common/libgstreamer.def:
2076         Add new function gst_poll_fd_ignored() for improved Windows
2077         compatibility.
2078         Various minor fixes and cleanups. See #520808.
2079
2080 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
2081
2082         * gst/gstindex.c: (gst_index_entry_free):
2083         * gst/gstindex.h:
2084           Don't free key strings which we don't own. Fixes crash in
2085           gst_index_entry_free() (#522741).
2086
2087         * tests/check/Makefile.am:
2088         * tests/check/gst/.cvsignore:
2089         * tests/check/gst/gstindex.c: (test_index_entries),
2090           (gst_index_suite), (gst_index):
2091           Add unit test for the above.
2092
2093 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
2094
2095         * win32/common/libgstreamer.def:
2096         Remove symbols that were removed recently. Fixes bug #521740.
2097
2098 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
2099
2100         * configure.ac:
2101         * win32/common/config.h:
2102         0.10.17.3 pre-release
2103
2104 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2105
2106         Patch by: Ole André Vadla Ravnås
2107             <ole dot andre dot ravnas at tandberg dot com>
2108
2109         * docs/gst/gstreamer-sections.txt:
2110         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
2111         (gst_poll_update_winsock_event_mask), (gst_poll_new),
2112         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
2113         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2114         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
2115         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2116         (gst_poll_fd_can_write), (gst_poll_wait),
2117         (gst_poll_set_controllable), (gst_poll_restart),
2118         (gst_poll_set_flushing):
2119         * gst/gstpoll.h:
2120         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
2121         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
2122         (gst_net_time_provider_new):
2123         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2124         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
2125         * tests/benchmarks/gstpollstress.c: (main):
2126         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
2127         Remove GstPollMode from the API, it does not make sense to let the
2128         application control this.
2129         Add support for Win32.
2130         Fix the testsuite. Fixes #520671.
2131
2132 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
2133
2134         Patch by: Ole André Vadla Ravnås
2135             <ole dot andre dot ravnas at tandberg dot com>
2136
2137         * gst/gstregistrybinary.c:
2138         Include io.h for write() and close() when building with MSVC. Fixes
2139         bug #520877.
2140
2141 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
2142
2143         * configure.ac:
2144         * gst/gst_private.h:
2145         * gst/gstconfig.h.in:
2146         * gst/gstregistry.h:
2147         * gst/gstregistrybinary.c:
2148         * win32/common/gstconfig.h:
2149           Move registry backend API to private headers where we can. Add
2150           fixme-0.11 comments for the others. Add stubs for the xml backend when
2151           using the binary to ensure they functions exists (they should not be
2152           used though). Fixes #520756.
2153
2154 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
2155
2156         * configure.ac:
2157         * win32/common/config.h:
2158         0.10.17.2 prelease
2159
2160 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
2161
2162         * gst/gstregistrybinary.c: (gst_registry_binary_write),
2163         (gst_registry_binary_read_cache):
2164         * gst/gstregistryxml.c: (gst_registry_save):
2165         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
2166         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
2167         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2168         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2169         Switch to using portabl gsize/gssize instead of size_t/ssize_t
2170         Fixes #520152
2171
2172 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
2173
2174         * gst/gstminiobject.c:
2175         Import gst_private.h before any other header that might include other
2176         glib headers. This fixes the build on windows using native compilers.
2177
2178 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2179
2180         * win32/common/gstconfig.h:
2181           Add here too, just for completeness.
2182
2183 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2184
2185         * configure.ac:
2186         * gst/gstconfig.h.in:
2187         * gst/gstregistry.h:
2188           Fix broken use of config.h-defined preprocessor directive in a public
2189           header file. Add a corresponding define to gstconfig.h, since we can't
2190           really remove those function declarations from the header file now
2191           (or can we? and why are they there in the first place?).
2192
2193 2008-03-03  Andy Wingo  <wingo@pobox.com>
2194
2195         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
2196         the new warning.
2197
2198         * gst/gststructure.c (gst_structure_from_string): Warn if
2199         structure_from_string didn't consume the whole string, but the
2200         caller did not provide an end pointer.
2201
2202 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
2203
2204         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
2205
2206         * gst/gstregistryxml.c: (read_string), (load_feature):
2207           Strings allocated by libxml2 should be freed with xmlFree(), not
2208           with g_free(). Fixes issues on windows in certain contexts (#519698).
2209
2210 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
2211
2212         * gst/gstinterface.c: (gst_element_implements_interface):
2213           Don't crash if the element supports the interface queried, but does
2214           not implement GstImplementsInterface. Fixes #519584.
2215
2216         * tests/check/Makefile.am:
2217         * tests/check/gst/.cvsignore:
2218         * tests/check/gst/gstinterface.c:
2219           Add unit test for the above.
2220
2221 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2222
2223         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2224         Small doc update.
2225
2226 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2227
2228         * gst/gstsegment.c: (gst_segment_set_seek),
2229         (gst_segment_to_stream_time):
2230         Improve some comment.
2231         Update variables where it makes more sense.
2232
2233 2008-02-29  Rene Stadler  <mail@renestadler.de>
2234
2235         * gst/gsturi.c: (gst_uri_handler_get_protocols):
2236         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
2237         URIHandlers implemented using language bindings.
2238
2239 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2240
2241         * gst/gstelementfactory.h:
2242         * tests/check/elements/fakesink.c:
2243         * tests/check/elements/fakesrc.c: (setup_fakesrc):
2244         * tests/check/elements/fdsrc.c: (setup_fdsrc):
2245         * tests/check/elements/filesink.c: (setup_filesink):
2246         * tests/check/elements/filesrc.c: (setup_filesrc):
2247         * tests/check/elements/identity.c: (setup_identity):
2248         * tests/check/elements/tee.c:
2249         * tests/check/generic/sinks.c:
2250         * tests/check/generic/states.c: (setup), (teardown):
2251         * tests/check/gst/gst.c:
2252         * tests/check/gst/gstabi.c:
2253         * tests/check/gst/gstbin.c:
2254         * tests/check/gst/gstbus.c: (pull_messages):
2255         * tests/check/gst/gstcaps.c:
2256         * tests/check/gst/gstelement.c:
2257         * tests/check/gst/gstevent.c:
2258         * tests/check/gst/gstghostpad.c:
2259         * tests/check/gst/gstiterator.c:
2260         * tests/check/gst/gstmessage.c:
2261         * tests/check/gst/gstminiobject.c: (my_foo_init):
2262         * tests/check/gst/gstobject.c: (thread_name_object),
2263         (gst_object_suite):
2264         * tests/check/gst/gstpad.c:
2265         * tests/check/gst/gstplugin.c:
2266         * tests/check/gst/gstpoll.c:
2267         * tests/check/gst/gstquery.c:
2268         * tests/check/gst/gstsegment.c:
2269         * tests/check/gst/gststructure.c:
2270         * tests/check/gst/gstsystemclock.c:
2271         * tests/check/gst/gsttask.c:
2272         * tests/check/gst/gstutils.c:
2273         * tests/check/gst/gstvalue.c:
2274         * tests/check/gst/struct_hppa.h:
2275         * tests/check/gst/struct_i386.h:
2276         * tests/check/gst/struct_ppc32.h:
2277         * tests/check/gst/struct_ppc64.h:
2278         * tests/check/gst/struct_x86_64.h:
2279         * tests/check/libs/adapter.c: (create_and_fill_adapter):
2280         * tests/check/libs/basesrc.c:
2281         * tests/check/libs/controller.c: (GST_START_TEST):
2282         * tests/check/libs/gdp.c:
2283         * tests/check/libs/gstnetclientclock.c:
2284         * tests/check/libs/gstnettimeprovider.c:
2285         * tests/check/libs/libsabi.c:
2286         * tests/check/libs/struct_hppa.h:
2287         * tests/check/libs/struct_i386.h:
2288         * tests/check/libs/struct_ppc32.h:
2289         * tests/check/libs/struct_ppc64.h:
2290         * tests/check/libs/struct_x86_64.h:
2291         * tests/check/pipelines/cleanup.c:
2292         * tests/check/pipelines/simple-launch-lines.c:
2293         * tests/check/pipelines/stress.c:
2294         And correct even more valid sparse warnings.
2295
2296         * win32/common/libgstreamer.def:
2297         Add gst_poll_fd_init to the list of symbols.
2298
2299 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2300
2301         * gst/gstconfig.h.in:
2302         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
2303         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
2304         (gst_check_log_critical_func), (gst_check_drop_buffers),
2305         (gst_check_element_push_buffer_list):
2306         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
2307         (gst_controller_get_type):
2308         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
2309         (gst_object_get_controller), (gst_object_get_control_source):
2310         * libs/gst/controller/gstinterpolationcontrolsource.c:
2311         (gst_interpolation_control_source_new):
2312         * libs/gst/controller/gstlfocontrolsource.c:
2313         (gst_lfo_control_source_new):
2314         * libs/gst/dataprotocol/dataprotocol.c:
2315         (gst_dp_event_from_packet_0_2):
2316         * plugins/elements/gstfdsrc.c:
2317         * plugins/elements/gstmultiqueue.c:
2318         * plugins/elements/gsttee.c:
2319         * plugins/elements/gsttypefindelement.c:
2320         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
2321         (gst_file_index_add_association):
2322         * plugins/indexers/gstmemindex.c:
2323         * tests/benchmarks/gstpollstress.c: (mess_some_more):
2324         * tests/check/elements/queue.c: (setup_queue):
2325         * tests/check/gst/gstpipeline.c:
2326         * tests/check/libs/collectpads.c: (setup), (teardown),
2327         (gst_collect_pads_suite):
2328         * tests/examples/adapter/adapter_test.c:
2329         * tests/examples/metadata/read-metadata.c: (make_pipeline):
2330         * tests/examples/xml/createxml.c:
2331         * tests/examples/xml/runxml.c:
2332         * tools/gst-inspect.c:
2333         * tools/gst-run.c:
2334         Correct all relevant warnings found by the sparse semantic code
2335         analyzer. This include marking several symbols static, using
2336         NULL instead of 0 for pointers, not using variable sized arrays
2337         on the stack, moving variable declarations to the beginning of
2338         a block and using "foo (void)" instead of "foo ()" for declarations.
2339
2340 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2341
2342         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2343         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2344         Don't reset GstPollFDs, this is not necessary at all.
2345
2346         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2347         (delayed_restart), (delayed_control):
2348         Use GST_POLL_FD_INIT.
2349
2350 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2351
2352         * gst/gstpoll.c: (gst_poll_fd_init):
2353         * gst/gstpoll.h:
2354         Added Since tags.
2355
2356         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2357         Use some more init macros.
2358
2359 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2360
2361         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2362         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2363         Use init macros and functions.
2364
2365 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2366
2367         * docs/gst/gstreamer-sections.txt:
2368         * gst/gstpoll.c: (gst_poll_fd_init):
2369         * gst/gstpoll.h:
2370         Add INIT macro and _init method for initializing the GstPollFD.
2371
2372 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
2373
2374         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2375         (gst_fd_sink_update_fd):
2376         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2377         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2378         (delayed_restart), (delayed_control):
2379         Initialize some uninitialized variables as spotted by valgrind.
2380
2381 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2382
2383         * tests/benchmarks/Makefile.am:
2384         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2385         (main):
2386         Add poll stress test.
2387
2388 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2389
2390         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2391
2392         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2393         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2394         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2395         * plugins/elements/gstfdsink.h:
2396         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2397         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2398         (gst_fd_src_unlock_stop), (gst_fd_src_create),
2399         (gst_fd_src_uri_set_uri):
2400         * plugins/elements/gstfdsrc.h:
2401         Port to GstPoll. See #505417.
2402
2403 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
2404
2405         * win32/common/libgstreamer.def:
2406         Add new gst_poll_ symbols to win32 defs.
2407
2408 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2409
2410         * docs/libs/gstreamer-libs-sections.txt:
2411         * libs/gst/net/gstnetclientclock.c:
2412         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2413         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2414         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2415         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2416         * libs/gst/net/gstnetclientclock.h:
2417         * libs/gst/net/gstnettimeprovider.c:
2418         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2419         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2420         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2421         (gst_net_time_provider_new):
2422         * libs/gst/net/gstnettimeprovider.h:
2423         Use a private stuct to not break ABI.
2424
2425 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2426
2427         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2428
2429         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2430         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2431         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2432         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2433         * libs/gst/net/gstnetclientclock.h:
2434         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2435         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2436         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2437         (gst_net_time_provider_new):
2438         * libs/gst/net/gstnettimeprovider.h:
2439         Massive code removal and cleanups because of GstPoll.
2440         Fixes #505417.
2441
2442 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2443
2444         * configure.ac:
2445         Add checks for poll, ppoll and pselect.
2446
2447         * docs/gst/gstreamer-docs.sgml:
2448         * docs/gst/gstreamer-sections.txt:
2449         Add docs for GstPoll.
2450
2451         * gst/Makefile.am:
2452         * gst/gst.h:
2453         * gst/gstpoll.c: (find_index), (selectable_fds),
2454         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2455         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2456         (gst_poll_set_mode), (gst_poll_get_mode),
2457         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2458         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2459         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2460         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2461         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2462         (gst_poll_fd_can_write), (gst_poll_wait),
2463         (gst_poll_set_controllable), (gst_poll_restart),
2464         (gst_poll_set_flushing):
2465         * gst/gstpoll.h:
2466         Add generic poll abstraction. We ideally don't want to have this in core
2467         here but in glib intead...
2468         This code will be used in various network elements and ultimately for
2469         the nanosecond precision monotonic clock (that's why it's here in core).
2470         It'll allow us to implement cancelable socket operations for windows too.
2471
2472         * tests/check/Makefile.am:
2473         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2474         (delayed_stop), (delayed_restart), (delayed_flush),
2475         (delayed_control), (gst_poll_suite):
2476         Add GstPoll unit test.
2477
2478 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
2479
2480         * gst/gstfilter.c:
2481           Improve documentation of gst_filter_run(). Fixes #518627.
2482
2483 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2484
2485         * docs/README:
2486           Add a few lines about the new 'check-inspected-versions' target.
2487
2488 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2489
2490         * tests/check/gst/gstevent.c:
2491           Add qos to the event test. Rename tcase/tsuite; is not only about
2492           custom events.
2493
2494 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2495
2496         * plugins/elements/gstqueue.c:
2497           Ensure that buffer metadata is writeable, before modifying. Spotted by
2498           Mike.
2499
2500 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
2501
2502         * plugins/elements/gstqueue.c:
2503         * plugins/elements/gstqueue.h:
2504           When dropping buffers in leaky modes, mark next buffers we sent as
2505           DISCONT.
2506
2507 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2508
2509         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2510           Also, if mmap() fails that would be a READ error, not OPEN_READ.
2511
2512 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2513
2514         * plugins/elements/Makefile.am:
2515         * plugins/elements/gstbufferstore.c:
2516         * plugins/elements/gstbufferstore.h:
2517         * plugins/elements/gsttypefindelement.h:
2518           Remove GstBufferStore, no idea why we were still building it.
2519           It's not used anywhere and superseded by GstAdapter.
2520
2521         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2522           (gst_file_src_create_mmap):
2523         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2524           Printf format fixes for 64-bit integers.
2525
2526 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2527
2528         * configure.ac:
2529         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2530         We're not in 0.8 times anymore.
2531
2532 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
2533
2534         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2535         (gst_check_element_push_buffer_list):
2536         * libs/gst/check/gstcheck.h:
2537         Make the declaration in the header for
2538         gst_check_element_push_buffer_list match the implementation.
2539
2540         Fix up spelling, grammar and wording of the documentation in a few
2541         places, and add the Since keyword to new API functions.
2542         Use g_list_delete_link instead of g_list_remove in
2543         gst_check_drop_buffers, since it's immeasurably more efficient.
2544
2545         * tests/check/elements/fakesrc.c: (GST_START_TEST):
2546         Use new gst_check_drop_buffers function where appropriate.
2547
2548         * win32/common/libgstbase.def:
2549         * win32/common/libgstreamer.def:
2550         Add new symbols gst_collect_pads_take_buffer, 
2551         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2552         exports
2553
2554         Changelog surgery to add API keyword to new gst_check API.
2555
2556 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2557
2558         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2559         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2560         Update pre-generated flex files with flex 2.3.34.
2561
2562 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2563
2564         * gst/gstminiobject.c:
2565           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2566           friendly to subclasses and not require them to know all internals
2567           of their parent class.
2568
2569 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
2570
2571         * docs/libs/gstreamer-libs-sections.txt:
2572         * libs/gst/base/gstcollectpads.c:
2573         * libs/gst/base/gstcollectpads.h:
2574           Add sub-buffer functions to collectpads. Fixes #516187.
2575           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
2576
2577 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
2578
2579         * gst/gstbuffer.c:
2580           Copy selected buffer-flags when creating subbuffers.
2581           Fixes #516395.
2582
2583 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
2584
2585         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
2586         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
2587         * gst/gstmessage.c: (gst_message_class_init),
2588         (gst_message_finalize):
2589         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
2590         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
2591         (gst_mmap_buffer_finalize):
2592         Properly chain up finalize functions to the parent class.
2593
2594 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
2595
2596         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
2597
2598         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
2599         (gst_index_set_resolver_full):
2600         * gst/gstindex.h:
2601         Add new function with option to dispose of user_data in resolver.
2602         Actually call the dispose function when finalizing the object and not
2603         just when changing the resolver/filter.
2604         API: GstIndex::gst_index_set_resolver_full()
2605
2606         * docs/gst/gstreamer-sections.txt:
2607         Add new function to docs. Fixes #515469.
2608
2609 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
2610
2611         * gst/gstindex.c: (gst_index_finalize):
2612         Chain up finalize to the parent class. Fixes leaking the GstObject
2613         name and other things.
2614
2615 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
2616
2617         * configure.ac:
2618         Make DISABLE_DEPRECATED defined *only* during CVS, not during
2619         pre-releases or releases.
2620
2621         * docs/faq/gst-uninstalled:
2622         Add gst-plugins-gl
2623
2624         * docs/random/release:
2625         Change one of the steps - we only upload core & base to Gnome FTP
2626
2627 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
2628
2629         * gst/gstconfig.h.in:
2630           Add 'id' for example.
2631
2632         * gst/gstpad.c:
2633         * gst/gstutils.c:
2634         * plugins/elements/gstfdsink.c:
2635           Link to signals. Doc and comment fixes.
2636
2637 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
2638
2639         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
2640         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
2641           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
2642           unused and unimplemented; finally, it is plugin features, not
2643           plugins, that have ranks.
2644           
2645 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
2646
2647         * gst/gstpluginfeature.h:
2648           Clarify GstRank range docs.
2649
2650 2008-02-05  David Schleef  <ds@schleef.org>
2651
2652         * gst/gst.c: Add a separate gst_deinitialized that prevents
2653           gst_init() from being called after gst_deinit().  Fixes #509559
2654
2655 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
2656
2657         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
2658         (gst_bin_class_init):
2659         * gst/gstelement.c: (gst_element_base_class_init),
2660         (gst_element_class_add_pad_template):
2661         * gst/gstpadtemplate.c: (gst_pad_template_init):
2662         * gst/gstpipeline.c: (gst_pipeline_get_type),
2663         (gst_pipeline_base_init), (gst_pipeline_class_init):
2664         * libs/gst/base/gstbasesink.c:
2665         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2666         (gst_base_src_base_init), (gst_base_src_class_init):
2667         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2668         (gst_capsfilter_class_init):
2669         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2670         (gst_fake_sink_class_init):
2671         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2672         (gst_fake_src_class_init):
2673         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2674         (gst_fd_sink_class_init):
2675         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2676         (gst_fd_src_class_init):
2677         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2678         (gst_file_sink_class_init):
2679         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2680         (gst_file_src_class_init):
2681         * plugins/elements/gstidentity.c: (gst_identity_base_init),
2682         (gst_identity_class_init):
2683         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2684         (gst_multi_queue_class_init):
2685         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2686         (gst_queue_class_init):
2687         * plugins/elements/gsttee.c: (gst_tee_base_init),
2688         (gst_tee_class_init):
2689         * plugins/elements/gsttypefindelement.c:
2690         (gst_type_find_element_base_init),
2691         (gst_type_find_element_class_init):
2692         * tests/check/gst/gstelement.c: (gst_element_suite):
2693         Revert previous changes to the behaviour of GstPadTemplates, etc
2694         and the possiblity to call them in class_init as it breaks too
2695         many elements. Reopens bug #491501.
2696
2697         Should be applied again for 0.11, thus added a few FIXME 0.11 at
2698         several places.
2699
2700 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
2701
2702         * tools/gst-launch.c:
2703         Dump one graph per pipeline state-change and state change name
2704         (if GST_DEBUG_DUMP_DOT_DIR is set).
2705
2706 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
2707
2708         * gst/gstpad.c:
2709         * tests/check/gst/gstpad.c:
2710         Be sure that we have a new copy of the caps and not
2711         reffed caps from a template
2712
2713 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
2714
2715         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2716         * gst/gstpipeline.c: (gst_pipeline_get_type),
2717         (gst_pipeline_class_init):
2718         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2719         (gst_base_sink_class_init):
2720         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2721         (gst_base_src_class_init):
2722         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
2723         (gst_base_transform_class_init):
2724         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2725         (gst_collect_pads_class_init):
2726         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
2727         * libs/gst/net/gstnettimeprovider.c:
2728         (gst_net_time_provider_base_init),
2729         (gst_net_time_provider_class_init):
2730         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2731         (gst_capsfilter_class_init):
2732         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2733         (gst_fake_sink_class_init):
2734         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2735         (gst_fake_src_class_init):
2736         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2737         (gst_fd_sink_class_init):
2738         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2739         (gst_fd_src_class_init):
2740         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2741         (gst_file_sink_class_init):
2742         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2743         (gst_file_src_class_init):
2744         * plugins/elements/gstidentity.c: (gst_identity_base_init),
2745         (gst_identity_class_init):
2746         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2747         (gst_multi_queue_class_init):
2748         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2749         (gst_queue_class_init):
2750         * plugins/elements/gsttee.c: (gst_tee_base_init),
2751         (gst_tee_class_init):
2752         * plugins/elements/gsttypefindelement.c:
2753         (gst_type_find_element_base_init),
2754         (gst_type_find_element_class_init):
2755         Don't use base_init where not absolutely necessary. For example it's
2756         not necessary anymore for adding pad templates or setting element
2757         details.
2758
2759         Leave empty base_init functions in several places as GST_BOILERPLATE
2760         still defines and uses them.
2761
2762 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
2763
2764         * gst/gstelement.c: (gst_element_base_class_init),
2765         (gst_element_class_add_pad_template):
2766         * gst/gstpadtemplate.c:
2767         Make it possible (and recommended) to set element details and add
2768         pad templates in the class_init functions by copying the details/pad
2769         templates in GstElement's base_init.
2770
2771         Also make it possible to replace existing pad templates by adding
2772         a new one with the same name. This was done in a hackish fashion
2773         in same elements before already.
2774
2775         Don't reference pad templates that are added a second time. A
2776         new pad template has a refcount of one and is not floating anymore
2777         and to be owned by the element's class. Make this more explicit by
2778         mentioning it in the docs of gst_element_class_add_pad_template().
2779
2780         These changes are backwards compatible. Fixes bug #491501.
2781
2782         * tests/check/gst/gstelement.c:
2783         Add unit test for setting element details, adding pad templates and
2784         replacing them in a subclass.
2785
2786 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
2787
2788         * tools/gst-inspect.c: (print_interfaces),
2789         (print_element_properties_info), (print_pad_info),
2790         (print_signal_info), (print_element_info):
2791         Fix a few memory leaks.
2792
2793 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2794
2795         * docs/libs/gstreamer-libs-sections.txt:
2796         * libs/gst/check/gstcheck.c:
2797         * libs/gst/check/gstcheck.h:
2798         Add more functions for unit testing: gst_check_drop_buffers,
2799         gst_check_caps_equal, gst_check_element_push_buffer_list,
2800         gst_check_element_push_buffer
2801         API: gst_check_drop_buffers
2802         API: gst_check_caps_equal
2803         API: gst_check_element_push_buffer_list
2804         API: gst_check_element_push_buffer
2805
2806 2008-02-01  Julien Moutte  <julien@fluendo.com>
2807
2808         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
2809         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
2810         (gst_index_finalize), (gst_index_entry_free),
2811         (gst_index_add_association): Fix memory leaks.
2812         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
2813         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
2814         (gst_mem_index_free_format), (gst_mem_index_free_id),
2815         (gst_mem_index_finalize): Fix memory leaks.
2816         * win32/common/config.h: Updated to CVS HEAD.
2817
2818 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
2819
2820         * docs/README:
2821           Some more details about how the plugin docs works.
2822
2823         * docs/plugins/gstreamer-plugins-sections.txt:
2824           Whitespace cleanup.
2825
2826 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
2827
2828         * gst/parse/grammar.tab.pre.c:
2829         * gst/parse/grammar.tab.pre.h:
2830         * gst/parse/grammar.y:
2831         * gst/parse/lex._gst_parse_yy.pre.c:
2832           Add delayed set-property. This allows to set properties on dynamicaly
2833           created objects (pads in videomxer). Fixes #509391.
2834
2835 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2836
2837         * gst/gstutils.c:
2838         Check if caps are not NULL (fix bug #510194)
2839
2840 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2841
2842         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
2843         (gst_base_sink_get_position_paused):
2844         Add fixme regarding EOS in pull mode.
2845         Fix position reporting in PAUSED for negative rates.
2846
2847 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2848
2849         * gst/gstminiobject.c: (gst_mini_object_replace):
2850         When replacing a miniobject, do a quick equality check first so that we
2851         can avoid a ref/unref pair.
2852
2853 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2854
2855         * docs/design/part-synchronisation.txt:
2856         Update some docs.
2857
2858         * docs/plugins/Makefile.am:
2859         * docs/plugins/gstreamer-plugins-docs.sgml:
2860         * docs/plugins/gstreamer-plugins-sections.txt:
2861         * plugins/elements/gstmultiqueue.c:
2862         Add multiqueue to the docs.
2863
2864 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2865
2866         * configure.ac:
2867           Back to CVS
2868
2869 === release 0.10.17 ===
2870
2871 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
2872
2873         * configure.ac:
2874           releasing 0.10.17, "Due Negligence"
2875
2876 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2877
2878         * gst/gstutils.c:
2879         Revert caps != NULL check temporarily for 0.10.17 release.
2880
2881 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
2882
2883         * gst/gstutils.c:
2884         Check if caps are not NULL (fix bug #510194)
2885
2886 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2887
2888         * gst/gstutils.c:
2889         Fix compilation on systems that have posix timers but no
2890         monotonic clock.
2891         Fixes: #512715
2892         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
2893         dot net>
2894
2895 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2896
2897         * tools/gst-inspect.c:
2898         Revert previous commit in preparation for an impromptu 0.10.17 release
2899
2900 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
2901
2902         * tools/gst-inspect.c: (print_interfaces),
2903         (print_element_properties_info), (print_pad_info),
2904         (print_signal_info), (print_element_info):
2905         Fix a few memory leaks.
2906
2907 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
2908
2909         * configure.ac:
2910         Back to CVS
2911
2912 === release 0.10.16 ===
2913
2914 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
2915
2916         * configure.ac:
2917           releasing 0.10.16, "Special Dispensation"
2918
2919 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
2920
2921         * configure.ac:
2922           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
2923           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
2924           not fail when trying to crosscompile on OpenEmbedded (#511750).
2925
2926 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
2927
2928         * docs/manuals.mak:
2929         Use $(MAKE) instead of make to fix the build if GNU make is
2930         called different. Fixes bug #510747.
2931
2932 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
2933
2934         * gst/gstplugin.c: (_gst_plugin_initialize):
2935           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
2936           again, which I broke two commits ago when changing the API
2937           of gst_plugin_register_static(): the g_list_foreach() in
2938           _gst_plugin_register_static still assumed the old function
2939           signature and would therefore fail (re-fixes #510187).
2940
2941         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
2942           (_gst_plugin_register_static), (gst_plugin_register_static):
2943           Revert the (technically correct) change to call g_thread_init() from
2944           the pre-main() constructor. This will break programs which call
2945           g_thread_init() without an if (!g_thread_supported()) guard in their
2946           main function. We could just blame it on GLib or the application, but
2947           it's probably best to just avoid this altogether and simply not use
2948           any GLib functions here and use plain old malloc() with a simple
2949           array to store the plugins to register later when gst_init() is
2950           finally called (re-fixes #510187).
2951
2952         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
2953           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
2954           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
2955           (GST_START_TEST), (gst_plugin_suite):
2956           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
2957           works.
2958
2959 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
2960
2961         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2962           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
2963           This makes gtk-doc complain, but results in slightly better
2964           compiler errors. The old _gst_plugin_register_static() is
2965           still guarded, so there'll be a compiler warning about that
2966           instead. Fixes #510187 too.
2967
2968 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
2969
2970         * gst/gst.c: (init_post):
2971         * gst/gstplugin.c: (_gst_plugin_register_static),
2972           (gst_plugin_register_static), (_gst_plugin_initialize):
2973         * gst/gstplugin.h: (GstPluginFilter):
2974           Change API of gst_plugin_register_static() to not take
2975           a GstPluginDesc, but rather just take all the arguments
2976           in a GstPluginDesc directly. This is more intuitive and
2977           avoids certain mistakes when porting code from
2978           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
2979           Fixes #510187.
2980
2981         * tests/check/gst/gstplugin.c:
2982           Fix up for changed API.
2983
2984 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2985
2986         * docs/faq/legal.xml:
2987           Update FAQ, Totem actually has an exception these days.
2988
2989 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
2990
2991         * win32/common/libgstreamer.def:
2992         Add new API declarations
2993
2994 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
2995
2996         * gst/gstminiobject.c:
2997           Spelling fixes for the API docs.
2998
2999 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
3000
3001         * libs/gst/base/gstbasetransform.c:
3002           Fix long property description for QoS.
3003
3004 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
3005
3006         * gst/gst.c:
3007         _gst_trace_on is already provided by gsttrace.h, no need to declare
3008         it ourselves.
3009
3010         * docs/libs/gstreamer-libs-sections.txt:
3011         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
3012         and remove strange tcase_add_test which is outputting a warning.
3013
3014         * libs/gst/check/gstcheck.c:
3015         * libs/gst/check/gstcheck.h:
3016         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
3017         and define them in gstcheck.c instead of having every .c file whcih
3018         includes gstcheck.h be defining its own copy and relying on symbol
3019         interposing to marry them all, which doesn't work on Solaris.
3020
3021         * tests/check/elements/identity.c: (GST_START_TEST):
3022         Don't define 'buffers' locally, it comes from libgstcheck.
3023
3024         * tests/check/generic/sinks.c: (send_buffer):
3025         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
3026
3027         * tests/check/gst/gststructure.c: (GST_START_TEST):
3028         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
3029         * tests/check/gst/gstutils.c: (GST_START_TEST):
3030         * tests/check/gst/gstvalue.c: (GST_START_TEST):
3031         Add a bunch of casts to make various constants fit the types
3032         they're being assigned to.
3033
3034 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
3035
3036         * gst/gstchildproxy.c:
3037           Improve docs and add some ideas for making this more general-purpose.
3038
3039 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
3040
3041         * gst/gst_private.h: (GST_CAT_TYPES):
3042           Add GST_CAT_TYPES, for consistency, and so that the other
3043           debug categories don't make fun of it. Spotted by Saur on IRC.
3044
3045 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
3046
3047         * gst/parse/Makefile.am:
3048           Move types.h from EXTRA_DIST to noinst_HEADERS.
3049
3050 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
3051
3052         * autogen.sh:
3053           Add -Wno-portability to the automake parameters to stop warnings
3054           about GNU make extensions being used. We require GNU make in almost
3055           every Makefile anyway.
3056
3057         * configure.ac:
3058           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
3059           at the same time is required for per target flags.
3060
3061 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3062
3063         * gst/gstmacros.h:
3064           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
3065           __GNUC__ is defined before using it.
3066
3067 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3068
3069         * docs/gst/gstreamer-sections.txt:
3070         * gst/gst.c: (init_post):
3071         * gst/gstplugin.c: (_gst_plugin_register_static),
3072           (gst_plugin_register_static), (_gst_plugin_initialize),
3073           (gst_plugin_register_func):
3074         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3075           API: add gst_plugin_register_static() and deprecate
3076           GST_PLUGIN_DEFINE_STATIC, since it's not portable
3077           (#498924).
3078           Also, in _gst_plugin_register_static(), make sure to call
3079           g_thread_init() before calling GLib functions such as
3080           g_list_append() if we're not initialised yet, since that
3081           may lead to random crashes with older GSlice/GLib versions.
3082
3083         * tests/check/gst/gstplugin.c:
3084           Adapt unit test to above changes.
3085
3086 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3087
3088         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
3089         * gst/gstcaps.c: (gst_caps_to_string):
3090         * gst/gststructure.c: (GST_ASCII_IS_STRING),
3091           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
3092           Yet another gratuitous GString micro-optimisation: add a (private)
3093           function that serialises a structure appending to an existing
3094           GString, so that when we serialise caps we don't need to alloc+free
3095           a throwaway GString for each structure (each of which also entailing
3096           multiple reallocs on the way); also use g_string_sized_new() in
3097           various places with an approximate string length to avoid reallocs
3098           within GString. See #500143.
3099
3100 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3101
3102         * gst/gststructure.c: (gst_structure_id_set_value):
3103           Always check UTF-8 conformance of structure strings and not only
3104           if the debugging system is enabled; reasoning: the behaviour of
3105           the actual code shouldn't really change depending on whether the
3106           debugging system is enabled or not (#508291).
3107
3108 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
3109
3110         * Makefile.am:
3111           Remove old coverage target in favour of "make lcov".
3112
3113 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3114
3115         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3116         (gst_base_src_loop):
3117         The start segment for reverse playback goes from start to last_stop.
3118
3119 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3120
3121         Patch by: Peter Kjellerstedt <pkj axis com>
3122
3123         * gst/gstclock.h:
3124         Cast the results from the timeval/spec_to_time macros to what the
3125         docs say it casts to, a GstClockTime. fixes #508175.
3126
3127 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3128
3129         * gst/gstbuffer.c:
3130         Update some comments.
3131
3132         * tools/gst-inspect.c: (print_element_properties_info):
3133         Improve printing of flags.
3134
3135 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
3136
3137         * libs/gst/base/gstbasetransform.c:
3138           (gst_base_transform_transform_size):
3139           Print element name with g_warning() if there's a problem
3140           with the unit size.
3141
3142 2008-01-07  David Schleef  <ds@schleef.org>
3143
3144         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
3145
3146         * libs/gst/controller/gstcontroller.h:
3147         * libs/gst/controller/gstcontrolsource.h:
3148         * libs/gst/controller/gstinterpolationcontrolsource.h:
3149         * libs/gst/controller/gstlfocontrolsource.h:
3150         * libs/gst/dataprotocol/dataprotocol.h:
3151           Fix empty prototypes.  Fixes bug #507957.
3152
3153 2008-01-07  David Schleef  <ds@schleef.org>
3154
3155         * docs/faq/dependencies.xml: Fix typo.
3156
3157 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3158
3159         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
3160         (gst_base_src_loop):
3161         Don't update the last_stop position in do_seek, that's the position we
3162         did a seek to.
3163         Read backwards when we have a negative rate.
3164
3165         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
3166         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
3167         (filesrc_suite):
3168         Add check for reverse reading.
3169
3170 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
3171
3172         Patch by: Alexis Ballier <aballier at gentoo org>
3173
3174         * tests/check/gst/gstabi.c:
3175         * tests/check/gst/struct_ppc64.h:
3176         * tests/check/libs/libsabi.c:
3177         * tests/check/libs/struct_ppc64.h:
3178           Decide which header to include based on the userland ABI target
3179           and not the kernel/cpu. Fix up structure sizes of ppc64 header
3180           for 64-bit userland (#503590).  Might need something similar for
3181           x86 too.
3182
3183 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3184
3185         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
3186           Log the reason why fopen fails in addition to the fact that it failed.
3187           
3188 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
3189
3190         * gst/parse/parse.l:
3191         Use "%option never-interactive" to prevent useless calls to isatty()
3192         on every input when parsing. Also use "%option noinput" to not define
3193         the static input/yyinput functions which we don't use anyway. This
3194         removes a compiler warning with gcc 4.3 and saves some bytes in the
3195         library.
3196         
3197         * gst/parse/lex._gst_parse_yy.pre.c:
3198         Regenerated for the above change.
3199
3200 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3201
3202         * gst/gstpad.c: (fixate_value):
3203         Don't crash when trying to fixate and empty list.
3204         Fixes #506643.
3205
3206 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
3207
3208         * docs/faq/gst-uninstalled:
3209         Clarify the comments to make the usage of this script and what it
3210         does easier to understand.
3211
3212 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
3213
3214         * tools/gst-plot-timeline.py:
3215         Add more options to gst-plot-timeline
3216
3217 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
3218
3219         * docs/design/part-synchronisation.txt:
3220         Some more info on how the stream_time in GstBaseSink is done.
3221
3222 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
3223
3224         * tests/check/generic/sinks.c: (gst_sinks_suite):
3225           Put back the tcase_set_timeout(), apparently it's needed after
3226           all; fix it up in a way that makes things work with valgrind too.
3227
3228 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
3229
3230         * gst/gstdebugutils.c:
3231           Add warning when failed to open file for writing.
3232
3233 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3234
3235         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
3236
3237         * gst/gstvalue.c: (gst_value_is_fixed):
3238           Optimisation: bail out of the loop as early as possible (#500143).
3239
3240 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3241
3242         * gst/gstcaps.c: (gst_caps_to_string):
3243         * gst/gstinfo.c: (gst_debug_construct_term_color):
3244         * gst/gstparse.c: (gst_parse_launchv):
3245         * gst/gstutils.c: (gst_util_dump_mem):
3246         * gst/gstvalue.c: (gst_value_serialize_any_list),
3247           (gst_value_transform_any_list_string):
3248           Bunch of gratuitous nano-optimisations.
3249
3250 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3251
3252         * tests/check/generic/sinks.c: (async_done_func),
3253           (async_done_eos_func):
3254           Fix leak in unit test (bus sync handler must unref the message
3255           if it returns GST_BUS_DROP). Don't fiddle with the default test
3256           timeout, this is smaller than the current preconfigured value
3257           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
3258           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
3259
3260 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3261
3262         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3263
3264         * configure.ac:
3265         Check for stdio_ext.h for the filesink changes.
3266
3267         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
3268         (gst_file_sink_class_init), (gst_file_sink_init),
3269         (gst_file_sink_dispose), (gst_file_sink_set_property),
3270         (gst_file_sink_get_property), (gst_file_sink_open_file),
3271         (gst_file_sink_close_file):
3272         * plugins/elements/gstfilesink.h:
3273         Add two properties to control the buffering mode and size.
3274         API: GstFileSink::buffer-mode
3275         API: GstFileSink::buffer-size
3276         Fixes #500150.
3277
3278 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3279
3280         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
3281         Add some more docs to explain why a FIXME was wrongly added. 
3282
3283 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
3284
3285         * gst/gstobject.c:
3286           Fix typo in the gst_object_{ref,unref} documentation.
3287
3288 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
3289
3290         * tests/check/libs/controller.c:
3291         * tests/check/libs/typefindhelper.c:
3292         * tests/check/pipelines/parse-launch.c:
3293           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
3294           going to be deprecated (see #498924).
3295
3296 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
3297
3298         * gst/gsttypefind.c: (gst_type_find_register):
3299           Make gst_type_find_register work for static typefind functions,
3300           ie. allow passing plugin == NULL (prerequisite for #498924).
3301
3302         * gst/gstelementfactory.c: (gst_element_register):
3303           Small docs addition.
3304
3305 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3306
3307         * gst/gstpad.c: (gst_pad_dispose):
3308         Really unlink the peer pad instead of setting the peer pointer to NULL
3309         when we dispose the pad.
3310         This correctly calls the unlink functions and makes sure that the peer
3311         does not have a handle to invalid memory. See #504671.
3312
3313         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3314         Add testsuite for above case.
3315
3316 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
3317
3318         Patch by: Peter Kjellerstedt <pkj axis com>
3319
3320         * libs/gst/check/gstcheck.h:
3321           Fix detection of the check version we're compiling against (would
3322           otherwise break if check goes v0.10.0); correctly report the
3323           name of the failed test again in case of failure, instead of
3324           just 'tf' (fixes #504499).
3325
3326 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3327
3328         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3329         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3330         (gst_base_src_loop), (gst_base_src_set_flushing),
3331         (gst_base_src_change_state):
3332         Allow sending EOS to the source to make it send out an EOS event from
3333         the streaming thread.
3334         Update docs and deprecate the old NULL/READY shutdown method.
3335
3336         * tests/check/libs/basesrc.c: (GST_START_TEST),
3337         (gst_basesrc_suite):
3338         Add unit test for controlled shutdown.
3339
3340 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3341
3342         * docs/design/part-synchronisation.txt:
3343         Small updates.
3344
3345         * gst/gstsegment.c: (gst_segment_set_seek),
3346         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3347         (gst_segment_to_running_time):
3348         The seek format can be different from the segment format when the start
3349         and stop values are not to be updated, when we only do a rate change for
3350         example.
3351
3352         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3353         (gst_segment_suite):
3354         Add a testcase for the rate-only seeks, checking that the format is
3355         correctly ignored when start and stop are not updated.
3356
3357 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
3358
3359         Patch by: Matthias Bolte <photon at mail dot upb dot de>
3360
3361         * win32/vs8/grammar.vcproj:
3362         * win32/vs8/libgstcontroller.vcproj:
3363         * win32/vs8/libgstreamer.vcproj:
3364         Fix compilation with VS8 and include some missing files.
3365
3366 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
3367
3368         * gst/gsttaglist.c:
3369           Small docs addition: mention that the strings returned by
3370           gst_tag_list_get_string*() are in UTF-8 encoding.
3371
3372 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
3373
3374         * Makefile.am:
3375           The check-exports stuff moved to common/win32.mak, so include that.
3376
3377 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3378
3379         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3380         (gst_base_src_perform_seek), (gst_base_src_get_range),
3381         (gst_base_src_set_playing), (gst_base_src_change_state):
3382         Make _wait_playing() not check any variables so that we can call this
3383         function from subclasses. Move the checks elsewhere similar to
3384         _wait_preroll() in basesink.
3385         Add some debugging.
3386         Only signal the LIVE cond when we are going back to PLAYING.
3387
3388 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
3389
3390         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3391           Use g_remove() and g_rename(). Check result of g_rename(), and
3392           don't leak the open file descriptor if we error out when writing.
3393
3394         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3395           Must check the return value of close() after writing out the new
3396           registry file.  Sometimes write problems such as out-of-diskspace
3397           are only reported when the file is closed and not already during
3398           the write.  This may have caused partial/broken registry files in
3399           some rare circumstances. Should fix #503675.
3400
3401 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
3402
3403         * docs/gst/.cvsignore:
3404         * docs/libs/.cvsignore:
3405         * docs/plugins/.cvsignore:
3406         Ignore files generated by new common/* modifications
3407
3408 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3409
3410         * win32/common/libgstbase.def:
3411           Yes, you can also have a <TAB> if you want.
3412
3413 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3414
3415         * win32/common/libgstbase.def:
3416           Add new basetransform API to win export file.
3417
3418 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3419
3420         * tests/check/gst/gstbin.c:
3421           Adjust the test to the refcount change two days ago.
3422
3423 2007-12-14  David Schleef  <ds@schleef.org>
3424
3425         * docs/faq/getting.xml: Fix typo.
3426
3427 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
3428
3429         * docs/libs/gstreamer-libs-sections.txt:
3430         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3431           (gst_base_transform_prepare_output_buffer),
3432           (gst_base_transform_set_gap_aware):
3433         * libs/gst/base/gstbasetransform.h:
3434           API: Add gst_base_transform_set_gap_aware() to control whether
3435           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3436           get buffers with this flag at all. Fixes #503231.
3437
3438 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
3439
3440         * libs/gst/base/gstbasesink.c:
3441         * libs/gst/base/gstbasesrc.c:
3442         * libs/gst/base/gstbasetransform.c:
3443           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3444           thread. Correct log message in gstbasesrc.c.
3445
3446 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3447
3448         * gst/gstutils.c: (element_find_unconnected_pad):
3449           Fix possible compiler warning (#503417).
3450
3451 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3452
3453         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3454           Don't use GST_CAT_EVENT here for logging, it makes no sense.
3455
3456 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
3457
3458         * tools/gst-inspect.c: (print_element_properties_info):
3459           Add support for GstFraction properties.
3460
3461 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
3462
3463         * Makefile.am:
3464           Add check-exports target and run it as part of 'make check'
3465           (see #499140 and #493983).
3466
3467         * gst/gst_private.h:
3468         * gst/gstelementfactory.h:
3469         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3470         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3471           (_priv_gst_in_valgrind):
3472         * gst/gstinfo.h: (GstLogFunction):
3473         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3474           (gst_type_find_register):
3475         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3476           (gst_type_find_factory_get_type):
3477         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3478           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3479           (gst_controller_new_valist), (gst_controller_new_list),
3480           (_gst_controller_dispose), (_gst_controller_class_init):
3481         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3482         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3483           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3484           (gst_object_get_controller), (gst_object_set_controller),
3485           (gst_object_suggest_next_sync), (gst_object_sync_values),
3486           (gst_object_set_control_source), (gst_object_get_control_source),
3487           (gst_object_get_value_arrays), (gst_object_get_value_array),
3488           (gst_object_get_control_rate), (gst_object_set_control_rate):
3489         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3490         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3491           Make some functions that should be static static; rename some
3492           private symbols so that they don't get exported; add some FIXME
3493           comments so we can move accidentally exported functions into
3494           our private section in 0.11.
3495
3496         * win32/common/libgstreamer.def:
3497           Add gst_utils_get_timestamp().
3498
3499 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3500
3501         * gst/gstvalue.c:
3502         * gst/gstvalue.h:
3503           Add more missing "Since:" tags to docs.
3504
3505 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3506
3507         * gst/gstutils.c:
3508           Add mising "Since:" to docs.
3509
3510 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3511
3512         * gst/gstplugin.c:
3513           Include "glib-compat-private.h" to fix the build on system with
3514           glib < 2.10. Fixes #503131.
3515
3516 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3517
3518         * gst/gstutils.c:
3519         * gst/gstutils.h:
3520           Actually its not PURE as it gets the time from elsewhere.
3521
3522 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3523
3524         * docs/gst/gstreamer-sections.txt:
3525         * gst/gstclock.h:
3526         * gst/gstdebugutils.c:
3527         * gst/gstinfo.c:
3528         * gst/gstutils.c:
3529         * gst/gstutils.h:
3530         * libs/gst/base/gstbasesink.c:
3531         * tools/gst-launch.c:
3532           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3533           uses as we don't have HAVE_POSIX_TIMERS in public headers.
3534           Thanks Tim for spotting.
3535           API: gst_util_get_timestamp
3536
3537 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
3538
3539         * configure.ac:
3540           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3541
3542 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
3543
3544         * gst/gststructure.c: (gst_structure_validate_name),
3545           (gst_structure_new_valist), (gst_structure_parse_value),
3546           (gst_structure_from_string):
3547           Don't crash in _from_string() if the structure name is not valid
3548           (fixes #501560).  Allow structure names to start with a number
3549           again (this apparently broke the ubuntu codec installer).
3550
3551         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3552           (GST_START_TEST):
3553           Add unit test for the crash; update unit tests for new behaviour.
3554
3555 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
3556
3557         * gst/gstutils.c:
3558         Clarify gst_element_get_compatible_pad() documentation.
3559         Fixes #500919.
3560
3561 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
3562
3563         * tests/check/Makefile.am:
3564           Don't forget to dist {gst,libs}/struct_hppa.h.
3565
3566 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3567
3568         * libs/gst/base/gstbasesink.c:
3569           Use new API to get elapsed time.
3570
3571 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3572
3573         * gst/gstdebugutils.c:
3574         * gst/gstinfo.c:
3575           Fix wrong order of args in GST_CLOCK_DIFF() usage.
3576
3577         * tools/gst-launch.c:
3578           Use new API to get elapsed time.
3579
3580 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3581
3582         * docs/gst/gstreamer-sections.txt:
3583         * gst/gstclock.h:
3584         * gst/gstdebugutils.c:
3585         * gst/gstinfo.c:
3586           Rename new API + ChangeLog surgery to remove old name from last entry..
3587
3588 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3589
3590         * docs/gst/gstreamer-sections.txt:
3591         * gst/gstclock.h:
3592         * gst/gstdebugutils.c:
3593         * gst/gstinfo.c:
3594           Now hide the different clock stuff behind a macro.
3595
3596 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3597
3598         * configure.ac:
3599         * gst/gstdebugutils.c:
3600         * gst/gstinfo.c:
3601           Apply the posix-timer check from #361155. Conditionally use the posix
3602           timer for logging. This gives better timestamp precission, less
3603           overhead and no ntp jitter.
3604
3605 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
3606
3607         * gst/gstminiobject.c: (gst_mini_object_get_type),
3608         (gst_mini_object_class_init), (gst_mini_object_copy_default),
3609         (gst_mini_object_finalize), (gst_mini_object_copy),
3610         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
3611         (gst_mini_object_replace), (param_mini_object_validate),
3612         (gst_param_spec_mini_object_get_type):
3613         Some cleanup and checking against invalid function parameters.
3614
3615 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
3616
3617         * docs/gst/gstreamer-sections.txt:
3618         * gst/gstclock.h:
3619         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3620         (gst_systemclock_suite):
3621         Start merging in the easy bits of #361155, the monotonic clock patch.
3622         This one adds a few handy macros with docs and a testsuite.
3623
3624 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
3625
3626         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
3627         Be a bit smarter when seeking, like, don't try to do a seek when it's
3628         not needed. This avoids errors when the file is not seekable.
3629         Fixes #499771.
3630
3631 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
3632
3633         * docs/gst/gstreamer-docs.sgml:
3634         * docs/gst/gstreamer-sections.txt:
3635         * docs/gst/gstreamer.types.in:
3636         * gst/Makefile.am:
3637         * gst/gst.h:
3638         * gst/gstpreset.c:
3639         * gst/gstpreset.h:
3640         * plugins/elements/gstqueue.c:
3641           Due to popular request remove preset interface again. :-(.
3642
3643 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3644
3645         * tools/gst-inspect.c:
3646           Print 'default value' for enums and flags too.
3647
3648 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3649
3650         * docs/random/ensonic/profiling.txt:
3651           More ideas.
3652
3653         * gst/gstbin.c:
3654           Fix typo and give better log output.
3655
3656         * gst/gstdebugutils.c:
3657         * gst/gstdebugutils.h:
3658           More ideas, make graphs a bit smaller and fix param name in macro.
3659
3660 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3661
3662         * gst/gstpreset.c:
3663           Try harder to use the return value from fgets().
3664
3665 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
3666
3667         * gst/gstpreset.c:
3668           For theses two fgets we handle the error below.
3669
3670 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
3671
3672         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
3673         Only send upstream events upstream. Fixes #498746.
3674
3675 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
3676
3677         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3678
3679         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3680         (gst_identity_init), (gst_identity_transform_ip),
3681         (gst_identity_set_property), (gst_identity_get_property):
3682         * plugins/elements/gstidentity.h:
3683         Add property to disable handoff signal emission. Fixes #498694.
3684         API: GstIdentity::signal-handoffs
3685
3686 2007-11-21  Julien Moutte  <julien@fluendo.com>
3687
3688         * docs/faq/gst-uninstalled: Yet another missing library for the
3689         uninstalled script (fft)
3690
3691 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
3692
3693         * docs/faq/developing.xml:
3694         Add a question about how to submit new translations.
3695
3696         * docs/random/release:
3697         Update the contact email address for the Translation Project
3698
3699         * plugins/elements/gstfdsrc.c:
3700         The parent_class for fdsrc is pushsrc, not GstElement.
3701
3702 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
3703
3704         * gst/gstpreset.c:
3705           Plug a leak and fix saving.
3706
3707 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
3708
3709         * docs/gst/gstreamer-sections.txt:
3710         Add new gst_preset__get_property_names() function to the docs
3711         to fix the build.
3712
3713 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
3714
3715         * gst/gstpreset.c:
3716         * gst/gstpreset.h:
3717           Change _get_preset_names API to return a strv with copies. Add
3718           _get_property_names to allow implementations to filter and provide
3719           good default implementation.
3720
3721 2007-11-20  Julien MOUTTE  <julien@moutte.net>
3722
3723         * docs/faq/gst-uninstalled: Add another library to the uninstalled
3724         script (sdp).
3725
3726 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
3727
3728         * gst/gstpreset.c:
3729           More cleanups, docs, and TODOs from comments that now slowly come in.
3730
3731 2007-11-19  Julien MOUTTE  <julien@moutte.net>
3732
3733         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
3734         search path.
3735
3736 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
3737
3738         * gst/gstpreset.c:
3739           Fix bogus warning and make the property type specific code more
3740           similar.
3741
3742 2007-11-19  Julien MOUTTE  <julien@moutte.net>
3743
3744         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
3745         it build on OS X.
3746
3747 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
3748
3749         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3750         (gst_bin_add_func), (gst_bin_remove_func),
3751         (gst_bin_change_state_func), (gst_bin_continue_func):
3752         Change email, cleanups add some more debug and comments.
3753         Also set bus and clock on new elements when the pipeline was in error.
3754
3755 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
3756
3757         * gst/gstbin.c:
3758         * gst/gstdebugutils.c:
3759           Fix build with --disable-gst-debug. Fixes #497859.
3760           Spotted by Sameer Naik.
3761
3762 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3763
3764         * gst/gstevent.c:
3765           Little documentation improvment.
3766
3767         * gst/gstpreset.c:
3768           More TODO cleanups. Remove c++ comments.
3769
3770         * libs/gst/controller/gstcontroller.c:
3771           Add TODO and use quark from static string.
3772
3773         * tests/check/gst/gstmessage.c:
3774         * tests/check/gst/gststructure.c:
3775           Use quark from static string.
3776
3777 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3778
3779         * gst/gstpreset.c:
3780           Add some comments and TODOs.
3781
3782         * gst/gstpreset.h:
3783           Add padding for future changes.
3784
3785         * plugins/elements/gstqueue.c:
3786           Implement the iface.    
3787
3788 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3789
3790         * docs/gst/gstreamer-docs.sgml:
3791         * docs/gst/gstreamer-sections.txt:
3792         * docs/gst/gstreamer.types.in:
3793         * gst/Makefile.am:
3794         * gst/gst.h:
3795         * gst/gstpreset.c:
3796         * gst/gstpreset.h:
3797           Add the preset interface (Fixes #396779). Do some doc cleanups along.
3798
3799 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
3800
3801         * configure.ac:
3802
3803         Back to CVS
3804
3805 === release 0.10.15 ===
3806
3807 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
3808
3809         * configure.ac:
3810           releasing 0.10.15, "October"
3811
3812 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
3813
3814         * win32/vs6/libgstreamer.dsp:
3815         Convert line endings back to DOS.
3816
3817 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
3818
3819         * docs/design/draft-tagreading.txt:
3820         * docs/random/ensonic/profiling.txt:
3821         Update fast tagreading draft and performance profiling ideas.
3822
3823 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
3824
3825         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
3826         Don't hold the object lock when unreffing a buffer because it could
3827         cause a deadlock when the finalize function wants to grab the object
3828         lock too. Fixes #495133.
3829
3830 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
3831
3832         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
3833         (gst_segment_to_stream_time), (gst_segment_to_running_time):
3834         Also accumulate time correctly when doing reverse playback. Fixes
3835         #488201,
3836         When converting to running and stream time, use default values for
3837         start/stop/time/accum when comparing different formats. Fixes #494245.
3838
3839         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3840         Do running/stream time in TIME format.
3841
3842         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3843         (gst_segment_suite):
3844         2 new unit tests for segment accumulation.
3845
3846 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
3847
3848         * gst/gst.c: (init_pre):
3849         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
3850           (_gst_debug_bin_to_dot_file):
3851           Move getenv() back into gst_init, so everyone can live happily
3852           ever after. Make sure the symbol isn't exported though.
3853
3854 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3855
3856         Patch by: Sebastien Moutte  <sebastien moutte net>
3857
3858         * win32/common/gstenumtypes.c:
3859         * win32/common/gstenumtypes.h:
3860           Update enum types.
3861
3862         * win32/vs6/libgstreamer.dsp:
3863           Update vs6 project files (#494343).
3864
3865 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3866
3867         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
3868         (gst_base_src_perform_seek), (gst_base_src_default_event),
3869         (gst_base_src_set_flushing), (gst_base_src_activate_push),
3870         (gst_base_src_activate_pull):
3871         Unify flushing code, remove some old unlock code that is no longer used.
3872         Take the streaming lock when seeking to avoid races. Fixes #492729.
3873         Added some more comments.
3874
3875 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3876
3877         * gst/gst.c: (_gst_disable_segtrap):
3878           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
3879           we can use gst_segtrap_is_enabled() there now that we have that API.
3880           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
3881           to do the getenv here (and export the variable).
3882
3883         * gst/gstdebugutils.c: (debug_dump_element),
3884           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
3885           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
3886
3887         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
3888           (gst_debug_log_default):
3889           Rename _gst_info_start_time to priv_gst_info_start_time so it
3890           doesn't get exported (was never in any header).
3891
3892         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
3893           (gst_plugin_loading_mutex):
3894           Make static mutex gst_plugin_loading_mutex really static (was never
3895           in any header), and use gst_segtrap_is_enabled() instead of
3896           _gst_disable_segtrap.
3897
3898         * gst/gsttrace.c: (_gst_trace_default):
3899           Make local _gst_trace_default static (was never in any header).
3900
3901 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3902
3903         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
3904
3905         * win32/common/libgstbase.def:
3906         * win32/common/libgstcontroller.def:
3907         * win32/common/libgstdataprotocol.def:
3908         * win32/common/libgstnet.def:
3909         * win32/common/libgstreamer.def:
3910           Add more missing symbols, remove some duplicates, and sort
3911           as the 'sort' command sorts it (partially fixes #493983).
3912
3913 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3914
3915         * gst/gstelement.c: (gst_element_set_state_func):
3916         Only change the state cookie if a different state was set on the
3917         element. See #492729.
3918
3919 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3920
3921         * gst/gstvalue.c:
3922           Remove unused and uninitialised type variables that were still
3923           exported for some reason (they were never in any header files
3924           though).
3925
3926 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3927
3928         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3929         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
3930         (gst_base_sink_event), (gst_base_sink_get_position_last),
3931         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
3932         (gst_base_sink_change_state):
3933         Don't try to report a 0 position when we don't know, return -1 and FALSE
3934         instead. This mostly happens when we are prerolling.
3935         Make sure we can report the right position before we post the ASYNC_DONE
3936         message so that a message handler can query position without races.
3937
3938         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
3939         (async_done_handoff), (async_done_func), (send_buffer),
3940         (async_done_eos_func), (gst_sinks_suite):
3941         Add two tests for the above.
3942
3943 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3944
3945         * MAINTAINERS:
3946         Update with new email address.
3947
3948         * docs/design/part-TODO.txt:
3949         Add some more info about future pad-block and negotiation changes.
3950
3951         * docs/design/part-buffering.txt:
3952         Add some ideas about buffering reporting.
3953
3954 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
3955
3956         * tests/check/gst/gstobject.c:
3957         Disable silly racy test that always fails on this combination of CPU
3958         and kernel.
3959
3960 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3961
3962         Patch by: Murray Cumming  <murrayc@murrayc.com>
3963
3964         * gst/gstobject.c:
3965           Corrected the registration of the parent-set and parent-unset
3966           signals: The parameter is a GstObject, not a GObject (#493134).
3967
3968 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3969
3970         * gst/gst_private.h:
3971         * gst/gstbuffer.h:
3972         * gst/gstevent.h:
3973         * gst/gstformat.h:
3974         * gst/gstmessage.h:
3975         * gst/gstplugin.h:
3976         * gst/gstquery.h:
3977         * gst/gsttaglist.h:
3978         * gst/gstvalue.h:
3979           Move declaration of private _gst_foo_initialize() functions into
3980           our private header file where they should have been all along.
3981
3982 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3983
3984         * docs/plugins/gstreamer-plugins-sections.txt:
3985         * gst/gstdebugutils.h:
3986         * gst/gstxml.h:
3987         * plugins/elements/gstqueue.c:
3988           gtk-doc fixes; trailing-comma-in-enum fix.
3989
3990 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3991
3992         * gst/gst.c: (gst_deinit):
3993           Clean up on deinit (not the external ones though, doesn't seem to be
3994           needed for some reason).
3995
3996 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3997
3998         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
3999           Remove __declspec(dllimport) for MSVC that was copied over into core
4000           from a plugin, obviously without ever having been tested (note the
4001           single underscore in _declspec in the initial commit), and that doesn't
4002           really make sense.  See #492077.
4003
4004 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4005
4006         * gst/gst.c: (init_post):
4007         * gst/gstevent.c: (_gst_event_initialize):
4008         * gst/gstquery.c: (_gst_query_initialize):
4009         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
4010           g_type_class_ref() other types as well, see #349410 and #64764.
4011
4012         * gst/gstbuffer.c: (_gst_buffer_initialize):
4013         * gst/gstmessage.c: (_gst_message_initialize):
4014           Simplify existing g_type_class_ref().
4015
4016 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4017
4018         * gst/gstformat.c: (_gst_format_initialize):
4019           g_type_class_ref() our GstFormat type to make sure we avoid the
4020           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
4021           bug #64764. Should fix intermittent tee unit test failures (#474823).
4022
4023 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4024
4025         * tests/check/elements/tee.c: (test_num_buffers):
4026           Simplify, simplify, simplify - or not.  Rewrite unit test
4027           not to use gst_parse_launch(); allow N sub-streams. Increasing
4028           the number of sub-streams seems to reproduce #474823 more easily.
4029
4030 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
4031
4032         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
4033
4034         * gst/gsttrace.c:
4035         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4036         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4037         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
4038           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
4039           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
4040           so use _pipe() directly (#492077).
4041
4042         * win32/common/dirent.c: (_treaddir):
4043           Add a couple of casts to make it build without warnings with MSVC.
4044
4045         * win32/common/libgstreamer.def:
4046           Add some more symbols that need to be exported.
4047
4048 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
4049
4050         * tests/examples/metadata/read-metadata.c: (message_loop):
4051           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
4052           arriving in a second or third tag message are added to
4053           the tag list as well.
4054
4055 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
4056
4057         * libs/gst/base/gstbasesrc.c:
4058           Its "Since:" and not "@Since:". And remove an superflous cast.
4059
4060 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
4061
4062         * docs/libs/gstreamer-libs-sections.txt:
4063         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4064         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
4065         (gst_base_sink_get_property), (gst_base_sink_render_object),
4066         (gst_base_sink_preroll_object),
4067         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
4068         (gst_base_sink_change_state):
4069         * libs/gst/base/gstbasesink.h:
4070         Add a new last-buffer property that contains the last buffer used in
4071         basesink for preroll or rendering. useful for making snapshots.
4072         API: gst_base_sink_get_last_buffer()
4073         API: GstBaseSink::last-buffer
4074
4075 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
4076
4077         * docs/gst/running.xml:
4078         * gst/gst.c:
4079         * gst/gstdebugutils.c:
4080         * gst/gstdebugutils.h:
4081         * tools/gst-launch.c:
4082           Improve bin graph dumping, by using the envvar to specify a path.
4083           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
4084
4085 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
4086
4087         * plugins/elements/gsttypefindelement.c:
4088           (gst_type_find_element_handle_event),
4089           (gst_type_find_element_activate):
4090           Post special error message if we can't determine the type of a stream
4091           because it's empty.
4092
4093 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
4094
4095         * docs/gst/running.xml:
4096         * gst/gstdebugutils.c:
4097           Document new env-var. Add one log-line after dumpng a graph.
4098
4099 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
4100
4101         * configure.ac:
4102           Ugly hack to put the (recently removed and non-portable, apparently)
4103           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
4104           GNU ld, because without that 'make check' fails miserably on my debian
4105           stable box.  Someone with more knowledge of linker intricacies and
4106           portability issues than me fix this properly please.
4107
4108 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
4109
4110         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
4111         Reset last seen position after flushing so that we don't report the old
4112         position anymore.
4113
4114 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4115
4116         * gst/gstelementfactory.c: (gst_element_register):
4117         * gst/gsturi.h:
4118         Patch from Alessandro Decina adding get_type_full and
4119         get_protocols_full private vfuncs to the URIHandler interface
4120         to allow bindings to support creating URI handlers. 
4121         Partially fixes: #339279
4122         API: GstURIHandlerInterface::get_type_full
4123         API: GstURIHandlerInterface::get_protocols_full
4124
4125 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4126
4127         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
4128         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
4129         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
4130         Make it so that pads are considered linked until a buffer is pushed
4131         and discovered otherwise. This avoids problems with decodebin2 hanging
4132         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
4133         case.
4134
4135         Make sure we lock the multiqueue when updating the max-size properties.
4136         
4137         Fix a crash on Solaris in a debug statement in get_request_pad that
4138         passes a NULL string to GST_DEBUG. 
4139
4140         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
4141         (run_output_order_test):
4142         Fix the test to allow the first buffer on not-linked pads to come out
4143         of sequence while multiqueue discovers that they are not-linked.
4144
4145 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4146
4147         * configure.ac:
4148         * libs/gst/check/Makefile.am:
4149         Use a custom export symbol regex for libgstcheck, as it needs
4150         to export symbols that don't match the standard GStreamer gst_*
4151         pattern, and  --export-dynamic is not portable (only works on 
4152         GNU ld)
4153
4154         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4155         (gst_check_setup_sink_pad):
4156         Make sure to pass a message parameter to the fail_* macros.
4157
4158         * tests/check/gst/gstinfo.c: (GST_START_TEST):
4159         Fix some compiler warnings.
4160
4161 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
4162
4163         * tests/check/gst/gststructure.c: (test_to_string):
4164           Disable test that checks that white spaces are not allowed
4165           in structure names or field names, since we need to
4166           support that for now for backwards compatibility reasons.
4167
4168 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
4169
4170         * docs/gst/gstreamer-sections.txt:
4171         * gst/gsttaglist.c:
4172         * gst/gsttaglist.h:
4173           API: add GST_TAG_ARTIST_SORTNAME
4174           API: add GST_TAG_ALBUM_SORTNAME
4175           API: add GST_TAG_TITLE_SORTNAME
4176           Add tag variants for sorting (#414539).
4177
4178 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
4179
4180         * gst/gststructure.c:
4181           Also allow white space for names so we don't break
4182           backwards compatibility.
4183
4184 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
4185
4186         * docs/design/part-TODO.txt:
4187         * docs/design/part-segments.txt:
4188         * docs/design/part-streams.txt:
4189         Small updates.
4190
4191 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
4192
4193         * docs/gst/gstreamer-sections.txt:
4194          Fixed documentation from my previous commit (added new API add
4195          gst_value_set_structure(), add gst_value_get_structure() and
4196          GST_VALUE_HOLDS_STRUCTURE).
4197
4198 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
4199
4200         * gst/gstdebugutils.c:
4201           Reflow code to fix uninitialized variable warning.
4202
4203 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
4204
4205         * gst/gstcaps.c: (gst_caps_to_string),
4206         (gst_caps_from_string_inplace):
4207         * gst/gststructure.c: (gst_structure_get_abbrs),
4208         (gst_structure_to_string), (gst_structure_from_string):
4209         * gst/gstvalue.c: (gst_value_set_structure),
4210         (gst_value_get_structure), (gst_value_serialize_structure),
4211         (gst_value_deserialize_structure), (_gst_value_initialize):
4212         * gst/gstvalue.h:
4213         * tests/check/gst/gststructure.c: (GST_START_TEST),
4214         (gst_structure_suite):
4215         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4216          Added GstStructure to gst_value_table and its related functions.
4217          Changed gst_structure_to_string to print ';' in the end.
4218          Changed gst_caps_to_string to not print ';' beteween its
4219          fields (structures) anymore and remove the lastes ';' from latest
4220          structure. Now it is possible to have nested structures.
4221          In addition, backward compatibilty is assured by accepting '\0' as
4222          end delimiter. Fixes: #487969.
4223          API: add gst_value_set_structure()
4224          API: add gst_value_get_structure()
4225          API: add GST_VALUE_HOLDS_STRUCTURE
4226
4227 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
4228
4229         * gst/gstbus.c:
4230           When no GSource callback has been set up, tell developer
4231           to use a function that actually exists.
4232
4233 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
4234
4235         * docs/gst/gstreamer-sections.txt:
4236         * gst/Makefile.am:
4237         * gst/gst.c:
4238         * gst/gst.h:
4239         * gst/gstdebugutils.c:
4240         * gst/gstdebugutils.h:
4241         * gst/gstinfo.c:
4242         * gst/gstinfo.h:
4243         * tools/gst-launch.c:
4244           Allow dumping pipelines as dot graphs. Fixes #456573.
4245
4246 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4247
4248         * gst/gststructure.c:
4249           Allow '+' as well, it can be part of media or mime types
4250           such as image/svg+xml.
4251
4252 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4253
4254         * docs/gst/gstreamer-sections.txt:
4255         * gst/gstbus.c:
4256         * gst/gstbus.h:
4257           API: add gst_bus_pop_filtered
4258           API: add gst_bus_timed_pop_filtered
4259           Two new functions for waiting for specific message types on the
4260           bus for a specified amount of time without iterating any main
4261           loops or main contexts.
4262
4263         * tests/check/gst/gstbus.c:
4264           Some tests for the new functions.
4265
4266 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4267
4268         * docs/libs/gstreamer-libs-sections.txt:
4269           Make gtk-doc ignore stuff it should ignore.
4270
4271 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4272
4273         * libs/gst/check/gstcheck.c:
4274         * libs/gst/check/gstcheck.h:
4275           Allow runtime selection of unit tests to run via the GST_CHECKS
4276           environment variable (test case function names, comma-separated).
4277
4278 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
4279
4280         * gst/gststructure.c:
4281         * tests/check/gst/gststructure.c:
4282           Revert serialisation change and constrain structure-names after
4283           consensus on irc. Update api documentation to reflect the change.
4284
4285 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
4286
4287         * gst/gststructure.c:
4288           Improve serialization and fix tests.
4289
4290         * tests/check/gst/gststructure.c:
4291           Add another test that covers why I actually did the previous structure
4292           change.
4293
4294 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
4295
4296         * tools/gst-inspect.c: (print_element_info):
4297         Don't crash when inspecting an element.
4298
4299 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4300
4301         * tests/check/gst/gststructure.c:
4302           Add unit test for escaping of structure name when serialising
4303           and deserialising to/from strings.
4304
4305 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
4306
4307         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4308         (gst_single_queue_new):
4309         * plugins/elements/gstqueue.c: (gst_queue_init),
4310         (gst_queue_push_one):
4311         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
4312         upstream is tricked into thinking it can suggest a format downstream
4313         while downstream does not support that format. The real problem is that
4314         core calls acceptcaps when pushing a buffer with new caps, for which we
4315         do a little workaround by setting the caps on the srcpad ourselves
4316         before pushing the buffer (until this is figured out). Fixes #486758.
4317
4318 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4319
4320         * gst/gststructure.c:
4321         * gst/gstvalue.c:
4322           Add some more comments and debug output. Quote structure name to fix
4323           deserialisation of some strings.
4324
4325 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4326
4327         * gst/gstbuffer.h:
4328           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4329           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4330
4331 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4332
4333         * tools/gst-inspect.c:
4334           Save approx. 400 1 byte allocs when printing. Use API to acces element
4335           details.
4336
4337         * tools/gst-run.c:
4338           Avoid a strdup.
4339
4340         * tools/gst-xmlinspect.c:
4341           Use API to acces element details.
4342
4343 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4344
4345         * gst/gstinfo.c:
4346           Fix some spelling errors.
4347
4348 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
4349
4350         * gst/gstbin.c: (bin_handle_async_done):
4351         Correctly set the next state if all of our async children commited their
4352         state. This makes sure we can actually cancel the state change in
4353         progress. Fixes a regression in Rhythmbox when seeking.
4354
4355 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4356
4357         * gst/gstbin.c:
4358           Don't shadow local variable.
4359
4360         * gst/gstinfo.c:
4361           Don't shadow global function name.
4362
4363 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4364
4365         * gst/gstelementfactory.c:
4366         * gst/gstpluginfeature.c:
4367         * gst/gstpluginfeature.h:
4368         * gst/gstregistrybinary.c:
4369         * gst/gstregistryxml.c:
4370         * gst/gsttypefind.c:
4371           Use already-interned string for the private GstPluginFeature
4372           plugin_name field.
4373
4374 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4375
4376         * docs/libs/gstreamer-libs-sections.txt:
4377           Add new API to docs; fixes the build.
4378
4379 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
4380         
4381         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4382
4383         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4384         (gst_base_sink_event):
4385         * libs/gst/base/gstbasesink.h:
4386         Add function to wait for EOS, subclasses can use this to correctly wait
4387         for devices to drain before performing the EOS logic. Fixes #485343.
4388         API: gst_base_sink_wait_eos()
4389
4390 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4391
4392         * gst/gstplugin.h:
4393           Cast description string constants in GST_PLUGIN_DEFINE macros
4394           to a (gchar*) to make C++ code using these macros compile
4395           without warning with g++-4.2 (see #462737).  Even if slightly
4396           ugly, this seems preferable to putting the description strings
4397           into the GLib quark table or making the structure member a
4398           const gchar * and doing casts in core code that allocs and
4399           frees these strings, or requiring a cast in the C++ code.
4400
4401 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4402
4403         * gst/gstinfo.h:
4404           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4405           to print the entire class/function signature into the log
4406           file for C++ code.  This only affects C++ code, for C code
4407           everything remains the same.
4408
4409 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
4410
4411         * gst/gstbin.c: (remove_from_queue):
4412         Work around a problem with pipelines containing (semi)loops until a
4413         proper, more complicated solution is ready. See #475455.
4414
4415 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4416
4417         * gst/gstplugin.c:
4418         * gst/gstplugin.h:
4419         * gst/gstregistrybinary.c:
4420         * gst/gstregistryxml.c:
4421           Put more strings into the GLib quark table. No need to keep
4422           a hundred-something copies of identical version strings,
4423           license strings, package name strings and package origin
4424           strings around. 
4425
4426 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4427
4428         * docs/manual/advanced-dataaccess.xml:
4429           Don't imply that it's okay to unconditionally change
4430           buffer data or buffer metadata in a pad probe callback,
4431           and a bunch of other comments. Fixes #430031.
4432
4433 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4434
4435         * win32/common/gstenumtypes.c:
4436         * win32/common/gstenumtypes.h:
4437         * win32/common/gstversion.h:
4438           Update generated files.
4439
4440 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4441
4442         * docs/manual/advanced-autoplugging.xml:
4443           Prefix section with broken code with a warning (see #342432).
4444
4445 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4446
4447         * docs/manual/appendix-integration.xml:
4448         * docs/manual/basics-init.xml:
4449           Call g_thread_init() before g_option_context_new() to
4450           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4451
4452 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4453
4454         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4455         (gst_base_sink_queue_object_unlocked),
4456         (gst_base_sink_queue_object), (gst_base_sink_event),
4457         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4458         When we received EOS and are waiting for when to post the EOS message,
4459         our state is prerolled and we should not return ASYNC.
4460         Reorganize some code paths to implement this behavior.
4461
4462         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4463         (gst_sinks_suite):
4464         Add unit test to verify above EOS fix.
4465
4466 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4467
4468         * plugins/elements/gsttypefindelement.c:
4469         (gst_type_find_element_have_type), (gst_type_find_element_init),
4470         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4471         Move detecting the input caps of the sinkpad to the setcaps function.
4472         This allows us to update the output caps when we receive new input caps
4473         instead of always using the first detected caps.
4474
4475 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4476
4477         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4478         (gst_base_sink_get_position):
4479         Don't try to preroll non-async elements after a flush.
4480         Subtract latency form clock times when reporting position.
4481
4482 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4483
4484         * gst/gstpad.c: (gst_pad_pause_task):
4485         * gst/gstutils.c:
4486         Small comment and documentation update.
4487
4488 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4489
4490         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4491         (gst_base_src_set_live), (gst_base_src_is_live),
4492         (gst_base_src_query_latency), (gst_base_src_perform_seek),
4493         (gst_base_src_default_event), (gst_base_src_wait),
4494         (gst_base_src_do_sync), (gst_base_src_get_range),
4495         (gst_base_src_pad_get_range), (gst_base_src_loop),
4496         (gst_base_src_unlock), (gst_base_src_unlock_stop),
4497         (gst_base_src_set_flushing), (gst_base_src_set_playing),
4498         (gst_base_src_activate_push), (gst_base_src_activate_pull),
4499         (gst_base_src_change_state):
4500         Rework the locking of basesrc in a similar fashion to basesink. We
4501         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4502         us to handle live sources and semi live ones much better.
4503         Simplify flushing.
4504         Fix unlocking when seeking, shutting down and pausing in live sources.
4505
4506 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4507
4508         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4509         Fix compilation again.
4510
4511 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4512
4513         * gst/gstelement.c:
4514           Use meaningful categories for the logs to clean the default one.
4515
4516 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4517
4518         * tests/check/pipelines/cleanup.c:
4519           Print message name and not just number.
4520
4521 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4522
4523         * docs/design/draft-tagreading.txt:
4524           Add some more thoughts.
4525
4526 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4527
4528         * tests/check/pipelines/simple-launch-lines.c:
4529           Print message name and not just number.
4530
4531 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4532
4533         * libs/gst/base/gsttypefindhelper.c:
4534           Speedup typefinding. This is work in progress (see #459862).
4535
4536 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4537
4538         * gst/gstplugin.c:
4539           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4540           Spotted by Josep Torra Valles <josep@fluendo.com>.
4541
4542 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
4543
4544         * gst/gstclock.h:
4545           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4546           field has moved to GstObject.
4547
4548 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
4549
4550         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4551         (gst_base_src_get_range), (gst_base_src_change_state):
4552         Call unlock for live sources so that they can't get stuck in _create and
4553         produce a buffer before they are set back to PLAYING.
4554
4555 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
4556
4557         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4558         (gst_queue_locked_dequeue):
4559         Comment the segment-related code... in the PROPER function.
4560         See #482147 and my commit from yesterday.
4561
4562 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
4563
4564         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4565         Also initialize the counter that calculates the first timestamp on a
4566         buffer correctly for non-live sources.
4567
4568 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
4569
4570         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4571         Disable code that's breaking the current-time-level reporting.
4572         See #482147
4573
4574 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
4575
4576         * docs/gst/gstreamer-sections.txt:
4577         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
4578         as they shouldn't show up. Fixes the docs build.
4579
4580 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
4581         
4582         * gst/gstinfo.h:
4583         Add an explicit variable importation needed on VS6 (only for MSC_VER)
4584         Define M_PI which is used in files which are including gstinfo.h. 
4585         VS6 includes doesn't define it.
4586         * win32/common/libgstbase.def:
4587         * win32/common/libgstcontroller.def:
4588         * win32/common/libgstreamer.def:
4589         Add new exported functions and variables.
4590         * win32/vs6/libgstcontroller.dsp:
4591         * win32/vs6/libgstreamer.dsp:
4592         Update the list of files to build.
4593         
4594 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
4595
4596         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4597
4598         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
4599         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
4600         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
4601         Improve debugging. Fixes #480858.
4602
4603 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
4604
4605         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4606
4607         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4608         First patch of code cleanups, use the macros and right arguments in the
4609         macros to signal and lock the queue. See #480858.
4610
4611 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
4612
4613         * gst/gstbus.c: (poll_func):
4614         Improve debugging when dealing with _poll().
4615
4616 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
4617
4618         * gst/gstregistryxml.c:
4619           Fix memory leak I introduced a few days ago.
4620
4621 2007-09-26  Michael Smith <msmith@fluendo.com>
4622
4623         * gst/gstbuffer.c: (gst_buffer_finalize):
4624           Make it once again possible to free GstBuffers in the default
4625           build.
4626           The poisoning scribbles on parts of the miniobject we need in
4627           order to free it.
4628           Fixes #480341
4629
4630 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
4631
4632         * docs/gst/gstreamer-sections.txt:
4633         * gst/gsttaglist.c:
4634         * gst/gsttaglist.h:
4635         API: add GST_TAG_COMPOSER, fixes #459809.
4636
4637 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
4638
4639         * gst/gstplugin.c:
4640         * gst/gstplugin.h:
4641         Add the 3-clause BSD license and the MIT/X11 license to the license
4642         list. Fixes #479784.
4643
4644 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
4645
4646         * docs/faq/getting.xml:
4647           Add Q+A about different GStreamer versions (#364056).
4648
4649 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4650
4651         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4652         (gst_base_sink_event), (gst_base_sink_change_state):
4653         Return correct gboolean from query function.
4654
4655 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4656
4657         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4658         (gst_base_sink_event), (gst_base_sink_query),
4659         (gst_base_sink_change_state):
4660         Simplify latency query.
4661         When not synchronizing, we can report latency without querying the peer
4662         element.
4663
4664 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4665
4666         * gst/gstobject.h:
4667         * gst/gstvalue.c:
4668         Fix small typos in the docs.
4669
4670 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4671
4672         * docs/design/draft-latency.txt:
4673         * docs/design/draft-push-pull.txt:
4674         * docs/design/draft-tagreading.txt:
4675         * docs/design/part-MT-refcounting.txt:
4676         * docs/design/part-activation.txt:
4677         * docs/design/part-block.txt:
4678         * docs/design/part-element-source.txt:
4679         * docs/design/part-events.txt:
4680         * docs/design/part-gstbin.txt:
4681         * docs/design/part-gstelement.txt:
4682         * docs/design/part-gstobject.txt:
4683         * docs/design/part-gstpipeline.txt:
4684         * docs/design/part-messages.txt:
4685         * docs/design/part-preroll.txt:
4686         * docs/design/part-push-pull.txt:
4687         * docs/design/part-qos.txt:
4688         * docs/design/part-query.txt:
4689         * docs/design/part-scheduling.txt:
4690         * docs/design/part-seeking.txt:
4691         * docs/design/part-segments.txt:
4692         * docs/design/part-states.txt:
4693         Documentation updates and typo fixes.
4694
4695 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4696
4697         * plugins/elements/gstfakesink.c:
4698           Add some debug text to error message to indicate that
4699           we errored out on request.
4700
4701         * tools/gst-launch.c:
4702           When the state change to PLAYING fails, check for an
4703           error message on the bus and print it.
4704
4705 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
4706
4707         translated by: Jorge González González <aloriel@gmail.com>
4708
4709         * po/LINGUAS:
4710         * po/es.po:
4711           Added Spanish translation.
4712
4713 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
4714
4715         * plugins/elements/gstqueue.c: (gst_queue_push_one):
4716         Fix printf arguments.
4717
4718 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
4719
4720         * tests/check/generic/states.c:
4721           Improved state change unit test.
4722
4723 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
4724
4725         * gst/gstbin.h:
4726           Move priv to the right place.
4727
4728         * gst/gstsystemclock.c:
4729           Add FIXME: and improve log.
4730
4731         * tests/check/Makefile.am:
4732         * tests/examples/manual/Makefile.am:
4733           Work with all types of registries.
4734
4735 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
4736
4737         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4738         Don't unref the event after pushing it. Fixes #478401.
4739
4740 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
4741
4742         * .cvsignore:
4743         * tests/examples/manual/.cvsignore:
4744           Ignore registries in any format.
4745
4746 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
4747
4748         * gst/glib-compat-private.h:
4749           Add compatibility macro for g_intern_string() for
4750           GLib-2.8 (any reason we can't just bump the
4751           requirement to at least 2.10?)
4752
4753         * gst/gstpadtemplate.h:
4754         * gst/gstelementfactory.c:
4755         * gst/gstregistryxml.c:
4756         * gst/gstregistrybinary.c:
4757           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
4758           up the internal code accordingly.  This shouldn't be a problem, since
4759           there is no reason external code could ever assume the string in such
4760           a structure is dynamically allocated unless it did that itself;  the
4761           use of g_strdup() is private to element factories.  The new code also
4762           saves some memory by putting pad template name strings into the GLib
4763           quark table instead of allocating them dynamically.
4764           Declaring this field constant fixes warnings with g++-4.2 when using
4765           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
4766
4767 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
4768
4769         * gst/gstelementfactory.c:
4770           Release static caps. Fixes #475723.
4771
4772 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
4773
4774         * gst/gstinfo.c:
4775         * gst/gstinfo.h:
4776           Make some internal API take const gchar * instead of just
4777           gchar * to avoid compiler warnings with g++-4.2.2 when
4778           passing string constants (partially fixes #478092).
4779
4780 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
4781
4782         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
4783         A latency query fails when one of the sinks fail.
4784
4785         * gst/gstelement.c: (gst_element_set_base_time):
4786         Improve debugging.
4787
4788 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
4789
4790         * gst/gstbin.c: (gst_bin_continue_func):
4791         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4792         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
4793         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
4794
4795         Fix minor compilation warnings shown with Forte.
4796
4797 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
4798
4799         * plugins/elements/gstqueue.c: (apply_buffer),
4800         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
4801         Measure queue level based on the diff between head and tail timestamps
4802         even when pushing the first buffer.
4803
4804 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4805
4806         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4807         (gst_base_sink_event), (gst_base_sink_change_state):
4808         Sinks that don't preroll can always be queried for the latency.
4809         Don't post ASYNC start when we are not async.
4810
4811 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4812
4813         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4814         (gst_queue_handle_sink_event), (gst_queue_chain),
4815         (gst_queue_push_one), (gst_queue_handle_src_query),
4816         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
4817         * plugins/elements/gstqueue.h:
4818         When downstream returns UNEXPECTED from pushing a buffer, don't try to
4819         push more buffers but allow pushing of EOS and NEWSEGMENT.
4820         Add some more debug info here and there. Fixes #476514.
4821
4822 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4823
4824         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4825         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
4826         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4827         (gst_base_sink_set_flushing), (gst_base_sink_query),
4828         (gst_base_sink_change_state):
4829         Latency query is allowed after we are prerolled. Introduce a new flag
4830         for this and stop abusing other variables.
4831
4832 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4833
4834         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4835         Push OOB events downstream when we get them in send_event. This allows
4836         the application to insert events in the pipeline.
4837         Add some more comments.
4838
4839 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4840
4841         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
4842         (do_bin_latency), (gst_bin_change_state_func):
4843         * gst/gstpipeline.c: (gst_pipeline_change_state):
4844         Move latency query from GstPipeline to GstBin so that we can also
4845         use it when async-handling is enabled on bins.
4846
4847 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4848
4849         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4850         (gst_base_src_do_sync), (gst_base_src_change_state):
4851         Update docs.
4852         Clean up the timestamping and syncing code for pseudo live sources.
4853
4854 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
4855
4856         Patch by: Steve Fink  <sphink gmail com>
4857
4858         * docs/manual/appendix-checklist.xml:
4859           Mention less -R switch in the section about debug output (#474055).
4860
4861 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4862
4863         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4864         Queue can latency to the pipeline up to the configured max size in time.
4865         Report this fact in the latency query.
4866
4867 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4868
4869         Patch by: Sebastien Moutte <sebastien at moutte dot net>
4870
4871         * libs/gst/controller/gstinterpolation.c:
4872         * libs/gst/controller/gstlfocontrolsource.c:
4873         Use gst_guint64_to_gdouble() when converting from a uint64 or
4874         GstClockTime to double to fix the build on win32. Fixes #474371.
4875
4876 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4877
4878         * gst/gstbuffer.c: (gst_buffer_finalize):
4879         Implement poisoning for GstBuffer if --enable-poisoning is specified.
4880         When finalizing a buffer the complete struct is filled with 0xff,
4881         thus making a use of the buffer after the final unref impossible.
4882
4883 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4884
4885         * tests/check/libs/controller.c: (GST_START_TEST):
4886         Use fail_unless_equals_int(a, b) instead of
4887         fail_unless_equals (a == b) to get better output on failures.
4888
4889 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
4890
4891         * tests/check/gst/gsturi.c:
4892           Also check for the other file URI variant on win32.
4893
4894 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
4895
4896         * gst/gsturi.c: (gst_uri_get_location):
4897           If there's no hostname, we want to return 'c:/foo/bar.txt'
4898           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
4899
4900         * tests/check/gst/gsturi.c:
4901           Unit test for the above and a few more things.
4902
4903 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
4904
4905         * docs/design/part-live-source.txt:
4906         Add docs on how live sources should timestamp.
4907
4908         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4909         Add some more debug info.
4910         For subclasses that are live and like to sync, add aditional startup
4911         latency to sync time and timestamps so that we timstamp according to the
4912         design doc.
4913
4914 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
4915
4916         * gst/gstbuffer.c:
4917           Also do a g_type_class_ref() for the subbuffer type in
4918           the init function.
4919
4920 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
4921
4922         * docs/gst/gstreamer-sections.txt:
4923         * gst/gstpad.c: (gst_pad_peer_query):
4924         * gst/gstpad.h:
4925         Add function to perform a query on the peer of a pad.
4926         API: gst_pad_peer_query()
4927
4928 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
4929
4930         * tests/check/gst/gstsystemclock.c:
4931           Cleanup the test a little (use gst-logging and not g_message). Improve
4932           test to check if a wait reached the target.
4933
4934 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
4935
4936         * docs/libs/gstreamer-libs-sections.txt:
4937           Add new API to docs and fix the build.
4938
4939 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
4940
4941         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4942         (gst_base_src_init), (gst_base_src_set_do_timestamp),
4943         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
4944         (gst_base_src_get_property), (gst_base_src_do_sync):
4945         * libs/gst/base/gstbasesrc.h:
4946         Add property to make the basesrc timestamp buffers based on the current
4947         running time.
4948         API: GstBaseSrc::do-timestamp
4949         API: gst_base_src_set_do_timestamp()
4950         API: gst_base_src_get_do_timestamp()
4951
4952 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
4953
4954         * docs/random/release:
4955           Really make sure translations are up-to-date before
4956           a release (#465010).
4957
4958 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
4959
4960         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4961         Always destroy the timer, also in error cases.
4962
4963 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
4964
4965         * docs/manual/highlevel-xml.xml:
4966         Fix XML example code. Fixes #472714.
4967
4968 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
4969
4970         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4971         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4972         (gst_base_sink_query):
4973         Protect eos and have_preroll with the OBJECT lock so we don't need to
4974         take the PREROLL lock when querying the latency. Fixes #473846.
4975
4976 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
4977
4978         * gst/gstelement.c:
4979           Give some log-messages a category.
4980
4981 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
4982
4983         * gst/gststructure.c:
4984         (gst_structure_fixate_field_nearest_fraction):
4985         Fix fraction list fixation code. Take the fraction with the smallest
4986         difference with the target instead of the first one in the list.
4987
4988         * tests/check/gst/gststructure.c: (GST_START_TEST),
4989         (gst_structure_suite):
4990         Added test to verify correct fraction list fixation behaviour.
4991
4992 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
4993
4994         * win32/common/libgstreamer.def:
4995           Export gst_bus_add_signal_watch too.
4996
4997 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
4998
4999         * docs/libs/gstreamer-libs-sections.txt:
5000         Add new methods to docs.
5001
5002         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5003         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
5004         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
5005         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
5006         * libs/gst/base/gstbasesink.h:
5007         Add ts-offset property to fine-tune the synchronisation.
5008         API: GstBaseSink::ts-offset property
5009         API: gst_base_sink_set_ts_offset()
5010         API: gst_base_sink_get_ts_offset()
5011
5012 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
5013
5014         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5015         (gst_base_sink_init), (gst_base_sink_set_sync),
5016         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
5017         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
5018         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
5019         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
5020         (gst_base_sink_get_property), (gst_base_sink_change_state):
5021         * libs/gst/base/gstbasesink.h:
5022         Add async property to instruct the sink never to inform the parent about
5023         ASYNC state changes, update docs.
5024         Check argument with g_return_* for the public functions.
5025         API: GstBaseSink::async property
5026         API: gst_base_sink_set_async_enabled()
5027         API: gst_base_sink_is_async_enabled()
5028
5029 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
5030
5031         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
5032         Improve debugging.
5033
5034         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5035         (gst_base_src_default_query), (gst_base_src_wait),
5036         (gst_base_src_do_sync), (gst_base_src_change_state):
5037         Rearrange some code so that we can add support for measuring the 
5038         startup latency.
5039
5040 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
5041
5042         * docs/random/ensonic/dynlink.txt:
5043           More thoughs on this.
5044
5045         * plugins/elements/gstcapsfilter.c:
5046           Add bugzilla ticket number to FIXME comment.
5047
5048 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
5049
5050         * docs/design/part-TODO.txt:
5051         * docs/design/part-block.txt:
5052         Update some docs.
5053
5054 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
5055
5056         * gst/Makefile.am:
5057           Revert patch which uses $(gst_headers) instead of $^ because it
5058           breaks make dist.
5059
5060 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
5061
5062         * tests/check/gst/gstbin.c: (GST_START_TEST):
5063           Fix leaks in the new unit test.
5064
5065 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
5066
5067         * gst/gst.c:
5068           Don't use GST_INFO before the debug system is actually initialised
5069           (shouldn't do any harm, but won't print anything either, so we can
5070           just as well remove it).
5071
5072         * gst/gstinfo.h:
5073           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
5074           compilers that don't support variadic macros (such as MSVC), should
5075           check for debug_level <= __gst_debug_min as well, since that's the
5076           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
5077           inline helper functions. Should improve performance a bit, but also
5078           makes sure uses of GST_INFO et.al are ignored if the debugging
5079           system isn't initialised yet (instead of printing an assertion
5080           failure).
5081
5082 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
5083
5084         patch by: David Nečas <yeti@physics.muni.cz>
5085
5086         * gst/Makefile.am:
5087           Replace some non portable makefile constructs.
5088
5089 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
5090
5091         * common/gtk-doc-plugins.mak:
5092           Grrrrr. Don't remove the types file on make clean.
5093
5094 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
5095
5096         * tools/gst-launch.1.in:
5097         Add colorspace to example pipeline. Fixes #458274.
5098
5099 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
5100
5101         * docs/random/release:
5102           The release manager should run 'make download-po' before making a
5103           release to make sure translations are up-to-date.
5104
5105         * po/LINGUAS:
5106         * po/be.po:
5107         * po/pl.po:
5108         * po/rw.po:
5109           Add some new translations.
5110
5111 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
5112
5113         * tools/gst-launch.c: (event_loop), (main):
5114         Don´t try to do any state management when a live pipeline posts
5115         buffering messages.
5116         Also make the buffering string translatable.
5117
5118 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5119
5120         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
5121         (bin_handle_async_start), (gst_bin_handle_message_func):
5122         Improve debugging.
5123         When adding elements, insert messages into the bus of the newly added
5124         element and make sure the element is the source of the message. This
5125         allows the parent bin to intercept the message and do the
5126         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
5127         messages to the app (which is not allowed).
5128         Update some docs.
5129
5130         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5131         Fix testsuite so that is does not work around messages that should not
5132         have been posted in the first place.
5133
5134 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5135
5136         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
5137         (update_degree), (gst_bin_sort_iterator_next):
5138         Fix annoying bug in the sorted iterator where a sink that is not really
5139         a sink (when it has downstream links) screwed up the iterator.
5140
5141         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5142         Unit test to verify the fix.
5143
5144 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5145
5146         * gst/gstmessage.h:
5147         Add some more docs for the messages.
5148
5149         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5150         (gst_base_sink_query):
5151         Add some more debugging.
5152
5153         * tools/gst-launch.c: (event_loop):
5154         When interrupting, don't try to set pipeline to PAUSED twice.
5155
5156 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
5157
5158         
5159         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
5160         (bin_handle_async_start), (gst_bin_handle_message_func):
5161         Move ASYNC_START message posting to where it belongs, similar to
5162         async_done. 
5163         Don't post ASYNC_START when we are in error. 
5164         Post ASYNC_START when we added an async element to a bin.
5165
5166 2007-08-14  Julien MOUTTE  <julien@moutte.net>
5167
5168         * gst/gstindex.c: (gst_index_add_association): Fix index entry
5169         generation from vargs. Fixes #466595.
5170
5171 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
5172
5173         * gst/gstbin.c: (gst_bin_element_set_state):
5174         Always change the state of a NO_PREROLL element even if it has ASYNC
5175         elements inside (in case of a bin).
5176
5177         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
5178         Unit test for this case.
5179
5180 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
5181
5182         * libs/gst/check/gstbufferstraw.c:
5183         * libs/gst/check/gstcheck.h:
5184         * libs/gst/controller/gstcontroller.c:
5185         * libs/gst/controller/gstcontrolsource.h:
5186         * libs/gst/controller/gstlfocontrolsource.h:
5187         * plugins/elements/gstcapsfilter.h:
5188         * plugins/elements/gstfdsink.h:
5189         * plugins/elements/gstfdsrc.h:
5190           Add more missing docs.
5191
5192 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5193
5194         * gst/gststructure.c:
5195         Add Since tag to docs.
5196
5197 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5198
5199         * docs/gst/gstreamer-sections.txt:
5200         * gst/gststructure.c: (gst_structure_get_uint):
5201         * gst/gststructure.h:
5202         Add function to get uint from a structure.
5203         API: gst_structure_get_uint()
5204
5205 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5206
5207         * gst/gstcaps.c: (gst_caps_set_simple_valist),
5208         (gst_caps_intersect):
5209         Fix proper check for simple caps.
5210
5211 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
5212
5213         * docs/gst/Makefile.am:
5214         * docs/libs/Makefile.am:
5215           Remove cruft and do some cleanups.
5216
5217         * docs/gst/gstreamer-docs.sgml:
5218         * docs/libs/gstreamer-libs-docs.sgml:
5219           Prepare for comming gtkdoc features (rebase against online docs).
5220
5221 2007-08-10  Michael Smith <msmith@fluendo.com>
5222
5223         * docs/gst/gstreamer-sections.txt:
5224           Add gst_registry_add_path to docs.
5225
5226 2007-08-10  Michael Smith <msmith@fluendo.com>
5227
5228         * gst/gstregistry.h:
5229           Add gst_registry_add_path, which was missing from this header.
5230
5231 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
5232
5233         * libs/gst/controller/gstlfocontrolsource.c:
5234           Printf format fix.
5235
5236 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
5237
5238         * libs/gst/base/gstbasesink.c:
5239           Don't send an async_start message during downwards state change if 
5240           target state is less than READY
5241
5242 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5243
5244         translated by: Gabor Kelemen <kelemeng@gnome.hu>
5245
5246         * po/LINGUAS:
5247         * po/hu.po:
5248           Added Hungarian translation.
5249
5250 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5251
5252         * po/fi.po:
5253         * po/it.po:
5254         * po/nl.po:
5255         * po/sv.po:
5256         * po/uk.po:
5257           Updated translations.
5258
5259 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
5260
5261         * libs/gst/controller/Makefile.am:
5262         Dist gstlfocontrolsourceprivate.h
5263
5264 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
5265
5266         * docs/libs/gstreamer-libs.types:
5267         Don't register the enum type gst_lfo_waveform_get_type() in the
5268         .types file - only GObject derived types belong.
5269
5270 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
5271
5272         Patch by: <arenevier at fdn dot fr>
5273
5274         * gst/gstbuffer.h:
5275         Remove comma from last element in enum to avoid compile errors when
5276         using -pendantic. Fixes #464366.
5277
5278 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
5279
5280         * docs/design/part-TODO.txt:
5281         Add some more TODO items
5282
5283         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
5284         Improve debugging.
5285
5286         * gst/gstcaps.c: (gst_caps_intersect):
5287         Optimize trivial intersection case between identical caps pointers.
5288
5289         * gst/gstelement.c: (gst_element_continue_state),
5290         (gst_element_set_state_func):
5291         * gst/gstpad.c:
5292         Fix spelling and grammar mistakes.
5293
5294 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
5295
5296         * po/POTFILES.in:
5297         * po/POTFILES.skip:
5298           Update POTFILES. Fixes #461599.
5299
5300 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
5301
5302         * gst/gst.c:
5303         Fix confusing typo in debug output.
5304
5305 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
5306
5307         reviewed by: Stefan Kost <ensonic@users.sf.net>
5308
5309         * libs/gst/controller/Makefile.am:
5310         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
5311         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
5312         (gst_lfo_control_source_new),
5313         (gst_lfo_control_source_set_waveform),
5314         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
5315         (gst_lfo_control_source_finalize),
5316         (gst_lfo_control_source_dispose),
5317         (gst_lfo_control_source_set_property),
5318         (gst_lfo_control_source_get_property),
5319         (gst_lfo_control_source_class_init):
5320         * libs/gst/controller/gstlfocontrolsource.h:
5321         * libs/gst/controller/gstlfocontrolsourceprivate.h:
5322         API: Add GstLFOControlSource, a control source that gives values
5323         for specific timestamps based on several periodic waveforms.
5324         Fixes #459717.
5325
5326         * tests/check/libs/controller.c: (GST_START_TEST),
5327         (gst_controller_suite):
5328         * docs/libs/gstreamer-libs-docs.sgml:
5329         * docs/libs/gstreamer-libs-sections.txt:
5330         * docs/libs/gstreamer-libs.types:
5331         Add documentation and unit tests for GstLFOControlSource.
5332
5333 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
5334
5335         * configure.ac:
5336         Back to CVS
5337
5338 === release 0.10.14 ===
5339
5340 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
5341
5342         * configure.ac:
5343           releasing 0.10.14, "Breathing Vacuum"
5344
5345 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
5346
5347         * gst/gstelement.c: (gst_element_class_set_details_simple):
5348         * gst/gstelement.h:
5349           Make strings passed to gst_element_class_set_details_simple()
5350           constant, as they should be (#462752).
5351
5352 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
5353
5354         * gst/gstbin.c: (gst_bin_change_state_func),
5355         (bin_handle_async_done), (gst_bin_handle_message_func):
5356         Don't forget about the fact that some element went ASYNC even after a
5357         resync. This makes us post the ASYNC_DONE message correctly.
5358         Fixes #462558.
5359
5360 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5361
5362         * gst/gstregistry.c: (gst_registry_add_feature):
5363         When replacing an existing feature in the registry, make sure to
5364         continue holding a reference until we've replaced the name string
5365         within our feature hash table. Make sure to use g_hash_table_replace
5366         instead of g_hash_table_insert to ensure the new name string is used
5367         as a key instead of the old one that we're about to free.
5368         Fixes: #462085
5369
5370 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5371
5372         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5373         (gst_plugin_feature_set_name):
5374         Revert patch from #459466 until after the release and we can work
5375         out exactly what the problem is (if any).
5376
5377 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5378
5379         * docs/gst/gstreamer-sections.txt:
5380         * gst/gsttaglist.c:
5381         * gst/gsttaglist.h:
5382           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5383
5384 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
5385
5386         * docs/libs/Makefile.am:
5387         Include our build-prefix libs and includes before the generic ones to
5388         avoid linking against the installed libs when we want the build-tree
5389         ones.
5390
5391 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5392
5393         Patch by: Steve Fink  <sphink gmail com>
5394
5395         * docs/pwg/building-testapp.xml:
5396           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5397           if people try to build or install the example from the plugin
5398           template against a GStreamer from package using the configure
5399           defaults.
5400
5401 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
5402
5403         Patch by: Steve Fink  <sphink gmail com>
5404
5405         * tools/gst-inspect.1.in:
5406           Document --print-all and --print-plugin-auto-install-info command
5407           line options in man page.
5408
5409 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5410
5411         * docs/gst/gstreamer-sections.txt:
5412         Add docs for new api function.
5413
5414 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5415
5416         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5417         * gst/gstelementfactory.h:
5418         API: gst_element_factory_has_interface()
5419         Added method to check if an element factory implements a named
5420         interface.
5421
5422 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
5423
5424         * configure.ac:
5425         * docs/gst/gstreamer.types.in:
5426           Another conditional doc check.
5427
5428         * gst/gstmessage.c:
5429         * gst/gstparamspecs.h:
5430         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5431         * gst/gstvalue.c:
5432         * gst/gstxml.h:
5433           API-doc fixes.
5434
5435 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5436
5437         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5438         (gst_registry_binary_load_feature),
5439         (gst_registry_binary_load_plugin),
5440         (gst_registry_binary_read_cache):
5441           Print error just once and with additional info.
5442
5443 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5444
5445         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5446         (helper_find_suggest), (helper_find_get_length),
5447         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5448         (gst_type_find_helper_for_buffer):
5449           Cleanup the typefindhelper code and add private doc comments.
5450
5451 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
5452
5453         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5454         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5455         Fix capsfilter for cases where the caps set on capsfilter will provide
5456         additional information.
5457         Fixes #449197
5458
5459 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5460
5461         * gst/gsttypefindfactory.c:
5462           Fix docs that recommened wrong function to use.
5463
5464 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5465
5466         * tools/gst-inspect.c: (print_plugin_features):
5467           Also give media-type for typefinders in element output.
5468
5469 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5470
5471         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5472         (gst_registry_remove_features_for_plugin_unlocked),
5473         (gst_registry_add_feature), (gst_registry_remove_feature),
5474         (gst_registry_lookup_feature_locked):
5475         * gst/gstregistry.h:
5476           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5477           Fixes #459501.
5478
5479 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5480
5481         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5482         (gst_plugin_feature_set_name):
5483           Avoid double memory usage for pluginfeature names. Fixes #459466.
5484
5485 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5486
5487         * gst/gstpad.h:
5488           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5489           driving the pipeline may need to explicitly check for NOT_LINKED as
5490           well, since IS_FATAL doesn't cover that.
5491
5492 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5493
5494         * docs/pwg/advanced-types.xml:
5495           Fix typo and duplicate entry in video formats list.
5496
5497 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
5498
5499         * libs/gst/controller/gstinterpolation.c:
5500         Also round to the nearest int when using cubic interpolation.
5501
5502 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
5503
5504         * libs/gst/controller/gstinterpolation.c:
5505         When linearly interpolating integer types, round to the nearest int
5506         by adding 0.5. Don't do it for float/double types.
5507         Fixes the failing controller test on my machine, which is somehow
5508         rounding differently than on the buildbots.
5509
5510 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5511
5512         * tools/gst-plot-timeline.py:
5513           Better log parsing (categories can have -). Adjust text vs. lines, so
5514           that they span the same y-range.        
5515
5516 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5517
5518         * docs/random/ensonic/audiobaseclasses.txt:
5519         * docs/random/ensonic/dynlink.txt:
5520         * docs/random/ensonic/profiling.txt:
5521           Save my thoughts.
5522
5523         * docs/random/moving-plugins:
5524           Add note to use g_assert type macros.
5525
5526 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5527
5528         * configure.ac:
5529         * libs/gst/check/Makefile.am:
5530           Add libm check as we use in for plugins.
5531
5532 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
5533
5534         * gst/gstbin.c: (gst_bin_continue_func):
5535         Check that the state_cookie hasn't changed since the continue_func
5536         was scheduled. Avoids problems where the state changes back to
5537         something it shouldn't be because it was changed in the meantime.
5538
5539 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
5540
5541         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5542         (gst_registry_binary_save_string),
5543         (gst_registry_binary_save_pad_template),
5544         (gst_registry_binary_save_feature),
5545         (gst_registry_binary_save_plugin),
5546         (gst_registry_binary_load_feature),
5547         (gst_registry_binary_load_plugin),
5548         (gst_registry_binary_read_cache):
5549           Fix memory leak. Be less verbose in the log.
5550
5551 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5552
5553         * tests/check/elements/.cvsignore:
5554         Add file to cvsignore as commanded.
5555
5556 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5557
5558         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5559         (mq_dummypad_event), (run_output_order_test):
5560         Use a GStaticMutex to protect all cases where libcheck
5561         fail_if/fail_unless macros might be called from multiple threads
5562         simultaneously to avoid errors like:
5563           "check_pack.c:107: :-1081725400:Bad message type arg"
5564
5565 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5566
5567         * tests/check/pipelines/stress.c: (GST_START_TEST):
5568         Make sure we set the pipeline back to the NULL state before
5569         dropping our final reference.
5570
5571 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5572
5573         * tests/check/elements/tee.c: (GST_START_TEST):
5574         Make the tee stress-test a little less stressful so it doesn't just
5575         time out on slow-machines, and remove a small race when it's starting 
5576         up by adding a get_state() call.
5577
5578 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
5579
5580         * gst/gst.c:
5581           Avoid reading registry twice on startup. Fixes #457322.
5582
5583 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
5584
5585         * pkgconfig/gstreamer-check-uninstalled.pc.in:
5586         * pkgconfig/gstreamer-check.pc.in:
5587         Substitute the CFLAGS for libcheck into our .pc file too so that
5588         dependent modules will pick it up properly if libcheck is installed
5589         into some other prefix.
5590
5591 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
5592
5593         * configure.ac:
5594         Revert the pkg-config check for libcheck, since it pulls in the
5595         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
5596         a proper solution, either from the check project, or something else.
5597
5598 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
5599
5600         * configure.ac:
5601           Use pkg-config to locate check.
5602
5603 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
5604
5605         * gst/gsttaglist.c:
5606           Fix doc syntax.
5607
5608         * gst/gstutils.c:
5609         * gst/gstutils.h:
5610           Add deprecation guards.
5611
5612         * libs/gst/base/gstcollectpads.h:
5613           Don't document object (this is implicitly private).
5614
5615 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
5616
5617         * gst/gststructure.c: (gst_structure_parse_value):
5618           When deserialising foo=bar without a type cast, check if it's a
5619           boolean before falling back to a string type, otherwise things like
5620           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
5621           because the filtercaps end up having a signed=(string)true field,
5622           which causes problems later when intersection caps.
5623
5624         * tests/check/gst/gststructure.c: (GST_START_TEST):
5625           Add a unit test for this.
5626
5627 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
5628
5629         Reviewed by: Stefan Kost <ensonic@users.sf.net>
5630
5631         * libs/gst/controller/Makefile.am:
5632         * libs/gst/controller/gstcontroller.c:
5633         (gst_controlled_property_add_interpolation_control_source),
5634         (gst_controlled_property_new), (gst_controlled_property_free),
5635         (gst_controller_find_controlled_property),
5636         (gst_controller_new_valist), (gst_controller_new_list),
5637         (gst_controller_new), (gst_controller_remove_properties_valist),
5638         (gst_controller_remove_properties_list),
5639         (gst_controller_remove_properties),
5640         (gst_controller_set_property_disabled),
5641         (gst_controller_set_disabled), (gst_controller_set_control_source),
5642         (gst_controller_get_control_source), (gst_controller_get),
5643         (gst_controller_sync_values), (gst_controller_get_value_array),
5644         (_gst_controller_dispose), (gst_controller_get_type),
5645         (gst_controlled_property_set_interpolation_mode),
5646         (gst_controller_set), (gst_controller_set_from_list),
5647         (gst_controller_unset), (gst_controller_unset_all),
5648         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
5649         * libs/gst/controller/gstcontroller.h:
5650         * libs/gst/controller/gstcontrollerprivate.h:
5651         * libs/gst/controller/gstcontrolsource.c:
5652         (gst_control_source_class_init), (gst_control_source_init),
5653         (gst_control_source_get_value),
5654         (gst_control_source_get_value_array), (gst_control_source_bind):
5655         * libs/gst/controller/gstcontrolsource.h:
5656         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
5657         (gst_object_get_control_source):
5658         * libs/gst/controller/gstinterpolation.c:
5659         (gst_interpolation_control_source_find_control_point_node),
5660         (gst_interpolation_control_source_get_first_value),
5661         (_interpolate_none_get), (interpolate_none_get),
5662         (interpolate_none_get_boolean_value_array),
5663         (interpolate_none_get_enum_value_array),
5664         (interpolate_none_get_string_value_array),
5665         (_interpolate_trigger_get), (interpolate_trigger_get),
5666         (interpolate_trigger_get_boolean_value_array),
5667         (interpolate_trigger_get_enum_value_array),
5668         (interpolate_trigger_get_string_value_array):
5669         * libs/gst/controller/gstinterpolationcontrolsource.c:
5670         (gst_control_point_free), (gst_interpolation_control_source_reset),
5671         (gst_interpolation_control_source_new),
5672         (gst_interpolation_control_source_set_interpolation_mode),
5673         (gst_interpolation_control_source_bind),
5674         (gst_control_point_compare), (gst_control_point_find),
5675         (gst_interpolation_control_source_set_internal),
5676         (gst_interpolation_control_source_set),
5677         (gst_interpolation_control_source_set_from_list),
5678         (gst_interpolation_control_source_unset),
5679         (gst_interpolation_control_source_unset_all),
5680         (gst_interpolation_control_source_get_all),
5681         (gst_interpolation_control_source_get_count),
5682         (gst_interpolation_control_source_init),
5683         (gst_interpolation_control_source_finalize),
5684         (gst_interpolation_control_source_dispose),
5685         (gst_interpolation_control_source_class_init):
5686         * libs/gst/controller/gstinterpolationcontrolsource.h:
5687         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
5688         API: Refactor GstController into the core controller which can take
5689         a GstControlSource for providing actual values for timestamps.
5690         Implement a interpolation control source and use this for backward
5691         compatibility, deprecate a bunch of functions that are now handled
5692         by GstControlSource or GstInterpolationControlSource.
5693         Make it possible to disable the controller completely or only for
5694         specific properties. Fixes #450711.
5695         * docs/libs/gstreamer-libs-docs.sgml:
5696         * docs/libs/gstreamer-libs-sections.txt:
5697         * docs/libs/gstreamer-libs.types:
5698         Add new functions and classes to the docs.
5699         * tests/check/libs/controller.c: (GST_START_TEST),
5700         (gst_controller_suite):
5701         * tests/examples/controller/audio-example.c: (main):
5702         Port unit test and example to the new API and add some new
5703         unit tests.
5704
5705 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
5706
5707         Patch by: Mark Nauwelaerts <manauw at skynet be>
5708
5709         * plugins/elements/gstmultiqueue.c:
5710         (gst_multi_queue_get_internal_links), (apply_buffer),
5711         (single_queue_overrun_cb), (gst_single_queue_new):
5712         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
5713         the pipeline layout can be tracked correctly. Fixes #453732.
5714
5715 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
5716
5717         * docs/gst/Makefile.am:
5718         * docs/libs/Makefile.am:
5719         * docs/plugins/Makefile.am:
5720           Simplify --extra-dir as gtkdoc scans recursively.
5721
5722 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
5723
5724         * tools/gst-launch.c: (main):
5725         When we got an error, there is no point in waiting for preroll when
5726         shutting down.
5727
5728 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
5729
5730         * plugins/elements/gsttee.c: (gst_tee_base_init),
5731         (gst_tee_request_new_pad), (gst_tee_release_pad),
5732         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
5733         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
5734         (gst_tee_chain):
5735         Be a lot smarter when deciding what srcpad to use for proxying
5736         the buffer_alloc. Also handle pad added/removed when doing so.
5737         Fixes #357959.
5738         Keep track of what pads we already pushed on in case we have pads
5739         added/removed while pushing. Fixes #374639 
5740
5741         * tests/check/Makefile.am:
5742         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
5743         (tee_suite):
5744         Added unit test for pad resync.
5745
5746 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5747
5748         * po/nl.po:
5749         * po/sv.po:
5750           Updated translations.
5751
5752 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5753
5754         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
5755
5756         * po/LINGUAS:
5757         * po/fi.po:
5758           Added new Finnish translation.
5759
5760 2007-06-28  Wim Taymans  <wim@fluendo.com>
5761
5762         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5763         (single_queue_overrun_cb):
5764         When figuring out when a queue is filled, use our internal time estimate
5765         based on segments, just like check_full does.
5766
5767 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
5768
5769         * gst/gstminiobject.c: (gst_mini_object_get_type):
5770           Remove 3 do-nothing methods.
5771
5772 2007-06-27  Wim Taymans  <wim@fluendo.com>
5773
5774         Patch by: Tim Angus <tim at ngus dot net>
5775
5776         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5777         (gst_capsfilter_set_property):
5778         Take a reference instead of a copy when setting "caps".
5779         Fix documentation to clarify this behaviour. Fixes #449414.
5780
5781 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
5782
5783         * gst/gstindexfactory.c: (gst_index_factory_get_type):
5784         * gst/gstplugin.c: (gst_plugin_init):
5785         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
5786         * gst/gstquery.c: (gst_query_get_type):
5787         * gst/gstregistry.c: (gst_registry_init):
5788         * gst/gsturi.c: (gst_uri_handler_base_init):
5789           Remove empty instance_init() functions to save relocs and lessen the
5790           noise. Remove some of the function prototypes that are doubled by
5791           G_DEFINE_TYPE.
5792           
5793 2007-06-27  Wim Taymans  <wim@fluendo.com>
5794
5795         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
5796
5797         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
5798         Add peer and direction in the XML serialisation of ghostpads.
5799         Fixes #449226.
5800
5801 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
5802
5803         * configure.ac:
5804           Preserve useful information, thanks Tim.
5805
5806 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
5807
5808         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5809         (gst_single_queue_flush), (apply_segment), (apply_buffer),
5810         (gst_single_queue_push_one), (gst_multi_queue_loop),
5811         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5812         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
5813         (compute_high_id), (gst_single_queue_new):
5814         * plugins/elements/gstmultiqueue.h:
5815         Take the multiqueue lock when updating the fill level so we don't get
5816         confused. 
5817
5818         After applying a buffer or event on the src pad segment, make sure to
5819         call gst_data_queue_limits_changed() to get the data queue to unblock
5820         and check the filled state again.
5821         
5822         Rework the not-linked pad handling so the logic is that not-linked 
5823         pads can push as fast as they like, but only so they never get 
5824         ahead of any linked pads.
5825
5826         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
5827         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
5828         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
5829
5830         Add a test to check that not-linked pads always stay behind
5831         linked pads.
5832
5833         Fixes: #430682
5834
5835 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
5836
5837         * docs/random/release:
5838           Some updates to the release procedure.
5839
5840 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
5841
5842         * gst/gstelementfactory.c: (__gst_element_details_clear):
5843           Microoptimization that saves stunning 80 bytes.
5844
5845 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
5846
5847         * docs/plugins/gstreamer-plugins.args:
5848         * docs/plugins/inspect/plugin-coreelements.xml:
5849         * docs/plugins/inspect/plugin-coreindexers.xml:
5850           Update docs with caps info.
5851
5852 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5853
5854         * po/it.po:
5855           Updated Italian translation.
5856
5857 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5858
5859         * ChangeLog:
5860         * po/vi.po:
5861           Update Vietnamese translations.
5862
5863 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5864
5865         * libs/gst/base/gstbasesink.c:
5866           Remove unused signal enum.
5867
5868 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
5869
5870         * docs/gst/gstreamer-sections.txt:
5871         * gst/gstelement.c:
5872         * gst/gstutils.c: (gst_type_register_static_full):
5873         Beef up and include the docs for gst_type_register_static_full and
5874         gst_element_class_set_details_simple and add the API keyword
5875         in the ChangeLog.
5876
5877 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
5878
5879         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5880         (update_time_level), (gst_single_queue_push_one),
5881         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
5882         (single_queue_overrun_cb), (single_queue_underrun_cb),
5883         (single_queue_check_full):
5884         Fix setting max-* properties after adding queues.
5885         Use IS_FILLED for checking visible items.
5886         Signal overrun if multiple queues overrun.
5887         Add extra debug output.
5888         Patch by: Wim Taymans <wim@fluendo.com>
5889
5890 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
5891
5892         * gst/gstelement.c: (gst_element_class_set_details_simple):
5893         * gst/gstelement.h:
5894         * gst/gstutils.c: (gst_type_register_static_full):
5895         * gst/gstutils.h:
5896         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
5897         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
5898         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
5899         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
5900         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
5901         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
5902         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
5903         * plugins/elements/gstidentity.c: (gst_identity_base_init):
5904         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
5905         * plugins/elements/gstqueue.c: (gst_queue_base_init),
5906         (apply_buffer), (gst_queue_chain):
5907         * plugins/elements/gsttee.c: (gst_tee_base_init):
5908         * plugins/elements/gsttypefindelement.c:
5909         (gst_type_find_element_base_init),
5910         (gst_type_find_element_class_init):
5911           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
5912           API: add gst_type_register_static_full
5913           API: add gst_element_class_set_details_simple
5914
5915 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5916
5917         * docs/pwg/advanced-types.xml:
5918           Fix typo in iana.org URI.
5919
5920 2007-06-19  Andy Wingo  <wingo@pobox.com>
5921
5922         * tests/check/pipelines/simple-launch-lines.c
5923         (test_state_change_returns): Enable pull-mode tests now that
5924         basesink has been fixed.
5925
5926         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
5927         Changed from gst_base_sink_is_prerolled, reversing the sense of
5928         the return value. Returns FALSE also if the sink is in pull mode,
5929         in which case it needs no preroll.
5930         (gst_base_sink_query, gst_base_sink_change_state): Update for
5931         needs_preroll change.
5932         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
5933         chaining up, in which we return SUCCESS directly if we activated
5934         in pull mode instead of ASYNC. Involves countering an async_start
5935         message sent before chaining up; not sure if this is correct, in
5936         an ideal world we only send async-start when activating in push
5937         mode.
5938
5939         * tests/check/pipelines/simple-launch-lines.c
5940         (test_state_change_returns): New test, partially disabled until
5941         basesink is fixed.
5942
5943 2007-06-19  Wim Taymans  <wim@fluendo.com>
5944
5945         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5946         (gst_multi_queue_sink_event):
5947         Fix event leak.
5948
5949 2007-06-19  Wim Taymans  <wim@fluendo.com>
5950
5951         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
5952         (gst_bin_change_state_func), (bin_push_state_continue),
5953         (bin_handle_async_start), (bin_handle_async_done),
5954         (gst_bin_handle_message_func):
5955         Move the common code for posting state-change messages into
5956         one function.
5957         Broadcast the state signal after we posted the messages.
5958         Mark the bin as busy when it's doing a state-change.
5959         Make sure async-start/done messages don't interfere with the bin's
5960         state when it's busy.
5961         After the state change, let the bin check which elements completed the
5962         state change while it was busy so that it can update its state.
5963
5964 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
5965
5966         * docs/random/release:
5967         Add a note about updating the doap file to the release checklist
5968
5969 2007-06-18  Wim Taymans  <wim@fluendo.com>
5970
5971         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5972         (gst_single_queue_push_one), (gst_multi_queue_chain),
5973         (gst_multi_queue_sink_event):
5974         Make sure we don't reference the buffer/event after we have given away
5975         ownership in the queue.
5976
5977 2007-06-18  Wim Taymans  <wim@fluendo.com>
5978
5979         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5980         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
5981         Update queue state _after_ adding the item in the queue because else we
5982         could end up being full without the element added yet.
5983
5984 2007-06-18  Wim Taymans  <wim@fluendo.com>
5985
5986         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
5987         (gst_bin_remove_func), (gst_bin_get_state_func),
5988         (gst_bin_element_set_state), (gst_bin_continue_func),
5989         (bin_push_state_continue), (bin_handle_async_start),
5990         (bin_handle_async_done), (gst_bin_handle_message_func):
5991         * gst/gstbin.h:
5992         Immediatly commit the toplevel bin state when receiving an async-done
5993         message. This enables us to avoid spawning a thread to commit the state
5994         in some common cases and it also avoids some races.
5995         Avoid spawning a state thread when adding/removing async elements to a
5996         toplevel bin. Instead we immediatly update the bin state.
5997         Get rid of iterating all the children when getting the state in the bin
5998         because it is now always up-to-date.
5999         Fix bug where locked elements would always return _SUCCESS even it they
6000         returned NO_PREROLL before being locked.
6001         Fix the order of the state_change, async-start/done messages that was
6002         sometimes incorrect.
6003         Mark the state_dirty field as deprecated, we don't need it anymore as we
6004         are always up-to-date.
6005
6006         * gst/gstelement.c: (gst_element_get_state_func),
6007         (gst_element_continue_state):
6008         Small debug inprovements.
6009         Return the previous element state return when nothing is pending instead
6010         of blindly returning SUCCESS.
6011
6012         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
6013         (gst_sinks_suite):
6014         Add a whole bunch of new testcases.
6015
6016 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
6017
6018         * po/uk.po:
6019         * po/vi.po:
6020           Update translations.
6021
6022 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
6023
6024         * gst/gstpad.c:
6025         Fix typo in the docs.
6026
6027 2007-06-15  Wim Taymans  <wim@fluendo.com>
6028
6029         * docs/libs/gstreamer-libs-sections.txt:
6030         Add docs for new methods.
6031
6032 2007-06-15  Wim Taymans  <wim@fluendo.com>
6033
6034         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
6035         (gst_multi_queue_item_new):
6036         Don't use GSlice because we don't depend on >= 2.10 yet.
6037
6038 2007-06-15  Wim Taymans  <wim@fluendo.com>
6039
6040         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6041         (update_time_level), (apply_segment), (apply_buffer),
6042         (gst_single_queue_push_one), (gst_multi_queue_item_new),
6043         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
6044         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
6045         (single_queue_underrun_cb), (single_queue_check_full):
6046         Remove debug printf.
6047
6048 2007-06-15  Wim Taymans  <wim@fluendo.com>
6049
6050         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
6051         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
6052         (gst_data_queue_set_flushing), (gst_data_queue_push),
6053         (gst_data_queue_pop), (gst_data_queue_drop_head),
6054         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
6055         * libs/gst/base/gstdataqueue.h:
6056         Various cleanups.
6057         Added methods to get the current levels and to inform the queue that the
6058         'full' limits changed.
6059
6060         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6061         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
6062         (gst_single_queue_flush), (update_time_level), (apply_segment),
6063         (apply_buffer), (gst_single_queue_push_one),
6064         (gst_multi_queue_item_steal_object),
6065         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
6066         (gst_multi_queue_loop), (gst_multi_queue_chain),
6067         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6068         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
6069         (gst_multi_queue_src_query), (single_queue_overrun_cb),
6070         (single_queue_underrun_cb), (single_queue_check_full),
6071         (gst_single_queue_new):
6072         Keep track of time in the queue by measuring the difference between
6073         running_time on input and output. This gives more accurate results and
6074         can compensate for segments correctly.
6075         Make a queue by default only 5 buffers deep. We will now increase the
6076         buffer size depending on the filledness of the other queues.
6077         Factor out commong flush code.
6078         Make sure we don't add additional refcounts to buffers when we can avoid
6079         it.
6080         Propagate GstFlowReturn differently.
6081         Use GSlice for intermediate GstMultiQueueItems.
6082         Keep track of EOS.
6083         Resize queues on over and underruns based on filled level of other
6084         queues.
6085         When checking if the queue is filled, prefer to measure in time if we
6086         can and fall back to bytes when no time is known.
6087
6088         * plugins/elements/gstqueue.c:
6089         Fix return value.
6090
6091 2007-06-15  Wim Taymans  <wim@fluendo.com>
6092
6093         * libs/gst/base/gstbasetransform.c:
6094         (gst_base_transform_sink_event):
6095         Work around the brokenness of the event vmethod in basetransform. Prefer
6096         to return TRUE when the subclass returned FALSE (meaning don't forward
6097         the event). 
6098
6099         * libs/gst/base/gstbasetransform.h:
6100         Clarify the docs.
6101
6102 2007-06-15  Wim Taymans  <wim@fluendo.com>
6103
6104         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
6105         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6106         (gst_base_src_default_query), (gst_base_src_get_range),
6107         (gst_base_src_start):
6108         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
6109         Improve debugging.
6110
6111 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
6112
6113         * docs/pwg/advanced-types.xml:
6114           Added more formats to caps table.
6115
6116 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
6117
6118         * tools/gst-launch.c: (main):
6119           Remove crufy code. GOption does not need this workaround.
6120
6121 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6122
6123         * libs/gst/controller/gstcontroller.c:
6124         (gst_controlled_property_set_interpolation_mode):
6125           Fix wrong getter for enums in controller.
6126
6127 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6128
6129         * libs/gst/check/gstcheck.c: (gst_check_init):
6130           Intercept criticals and warnings in the Gst-Phonon log domain, so
6131           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
6132           well.
6133         
6134 2007-06-14  Edward Hervey  <edward@fluendo.com>
6135
6136         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
6137         Since this file doesn't include "gst.h" it will not go through the
6138         macros that disable GST_LOG if debugging was disabled.
6139
6140 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6141
6142         * libs/gst/check/Makefile.am:
6143         * libs/gst/check/gstcheck.h:
6144         * pkgconfig/gstreamer-check-uninstalled.pc.in:
6145         * pkgconfig/gstreamer-check.pc.in:
6146           Ugly 'fix' for the controller unit test on the p5 bot: in
6147           fail_unless_equals_float() check whether the values are 'almost
6148           equal' by allowing a small absolute error, which should be good
6149           enough for our use cases (normal numbers and values close to 0).
6150           Proper fixage left to floating point arithmetic aficionados.
6151
6152 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6153
6154         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
6155         (gst_base_sink_render_object), (gst_base_sink_get_position):
6156           Add two breaks thats where missing.
6157
6158 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6159
6160         * docs/libs/gstreamer-libs-sections.txt:
6161         * libs/gst/check/gstcheck.h:
6162           API: add fail_unless_equals_float() and assert_equals_float().
6163           Add documentation for some of the macros.
6164
6165         * tests/check/libs/controller.c: (GST_START_TEST):
6166           Use newly-added asserts.
6167
6168 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6169
6170         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
6171           Show the caps change in the log to help spotting the case of not
6172           exactly matching caps.
6173
6174 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6175
6176         * docs/pwg/building-boiler.xml:
6177           Fix typos, spotted by Thijs Vermeir (#447190).
6178
6179 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
6180
6181         * docs/plugins/tmpl/.cvsignore:
6182         Ignore file to keep the buildbots happy
6183
6184 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
6185
6186         * docs/plugins/Makefile.am:
6187         * docs/plugins/gstreamer-plugins-docs.sgml:
6188         * docs/plugins/gstreamer-plugins-sections.txt:
6189         Pull fdsink into the docs too.
6190
6191 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
6192
6193         * libs/gst/controller/gstinterpolation.c:
6194         Actually use the new functions with min/max checks for the trigger and
6195         none interpolation modes for get() and get_value_array() instead of
6196         just the latter.
6197
6198 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
6199
6200         * libs/gst/controller/gstcontroller.c:
6201         (gst_controlled_property_free):
6202         Unset the minimum and maximum GValues when freeing the corresponding
6203         GstControllerProperty struct.
6204
6205 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
6206
6207         * libs/gst/controller/gstcontroller.c:
6208         (gst_controlled_property_new):
6209         * libs/gst/controller/gstcontrollerprivate.h:
6210         * libs/gst/controller/gstinterpolation.c:
6211         (gst_controlled_property_find_control_point_node),
6212         (interpolate_none_get), (interpolate_none_get_enum_value_array),
6213         (interpolate_none_get_string_value_array),
6214         (interpolate_trigger_get),
6215         (interpolate_trigger_get_enum_value_array),
6216         (interpolate_trigger_get_string_value_array):
6217         Protect against values larger or smaller than the minimum or maximum
6218         allowed value for the property when using values that can be compared.
6219
6220         Optimize trigger interpolator a bit by taking the last requested value
6221         into account instead of always looping through the complete list.
6222
6223         Fix coding style a bit, everywhere else we use "return foo" instead
6224         of "return (foo)".
6225         
6226         * tests/check/libs/controller.c: (GST_START_TEST),
6227         (gst_controller_suite):
6228         Add unit test for the protection against too large or too small
6229         values.
6230
6231 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
6232
6233         * docs/random/slomo/controller.txt:
6234         Add some thoughts about the future of the controller.
6235
6236 2007-06-08  Wim Taymans  <wim@fluendo.com>
6237
6238         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6239         Don't overflow in retimestamping code.
6240
6241 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
6242
6243         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
6244         Use gst_util_guint64_to_gdouble for conversions.
6245         * win32/common/libgstreamer.def:
6246         Add new exported functions.
6247
6248 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
6249
6250         * gst/gstutils.c:
6251           Small docs addition.
6252
6253 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6254
6255         * README:
6256           Remove that test line again.
6257
6258 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6259
6260         * README:
6261           Test commit mail sending.
6262
6263 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6264
6265         * configure.ac:
6266           Fix typo and test commit mail sending.
6267
6268 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6269
6270         * tests/examples/controller/audio-example.c:
6271           Improve comment and test commit mail sending.
6272
6273 2007-06-07  Wim Taymans  <wim@fluendo.com>
6274
6275         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
6276         (gst_bin_remove_func), (gst_bin_element_set_state),
6277         (bin_handle_async_start), (bin_handle_async_done),
6278         (gst_bin_handle_message_func):
6279         Add helper function to find messages.
6280         Generate the async-done messages together with the state change
6281         messages.
6282         Small cleanups in handling toplevel bins.
6283
6284 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6285
6286         * libs/gst/base/gstdataqueue.c:
6287         * libs/gst/base/gstdataqueue.h:
6288         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6289         (gst_multi_queue_item_new), (gst_multi_queue_chain),
6290         (gst_multi_queue_sink_event):
6291         * tests/check/elements/multiqueue.c: (multiqueue_suite):
6292           Fix multiqueue leaking buffers and events when downstream or the
6293           queue are flushing. Make refcounting assumptions explicit and
6294           document them (shouldn't break existing code that uses it other than
6295           maybe leak miniobjects, but that already happens anyway). Add unit
6296           test for the most common flushing case. Fixes #423700.
6297           
6298 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
6299
6300         * libs/gst/controller/gstcontroller.c:
6301         Clarify docs: The get_all, get_value_array(s) functions
6302         don't modify the GObject properties.
6303
6304 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
6305
6306         * libs/gst/controller/gstcontroller.c:
6307         (gst_controlled_property_set_interpolation_mode),
6308         (gst_controlled_property_prepend_default),
6309         (gst_controlled_property_new), (gst_controller_set_unlocked),
6310         (gst_controller_set), (gst_controller_set_from_list),
6311         (gst_controller_unset), (gst_controller_unset_all):
6312         * libs/gst/controller/gstcontrollerprivate.h:
6313         * libs/gst/controller/gstinterpolation.c:
6314         Factor out the 'set' logic into gst_controller_set_unlocked for the
6315         gst_controller_set and gst_controller_set_from_list functions.
6316
6317         To make life of the interpolators easier always add a control point
6318         at timestamp zero with the default value.
6319
6320         In the linear interpolator make things more obvious by better variable
6321         naming (slope).
6322
6323         Implement cubic interpolation mode (by using a natural cubic spline)
6324         and map the quadratic interpolation mode to this too (as quadratic
6325         doesn't make much sense, see discussion on the list).
6326
6327         * tests/check/libs/controller.c: (GST_START_TEST),
6328         (gst_controller_suite):
6329         Add unit test for the cubic interpolation mode and check everywhere
6330         if the interpolation mode could be set as expected.
6331
6332 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6333
6334         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6335           Don't use GLib-2.10 functions, we still depend on
6336           GLib-how-old-is-it-again-2.8.
6337
6338 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6339
6340         * docs/gst/gstreamer-sections.txt:
6341         * gst/Makefile.am:
6342         * gst/gst.c:
6343         * gst/gst.h:
6344         * gst/gstparamspecs.c: (_gst_param_fraction_init),
6345         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6346         (_gst_param_fraction_values_cmp),
6347         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6348         * gst/gstparamspecs.h:
6349         * gst/gstvalue.c:
6350         * tests/check/Makefile.am:
6351         * tests/check/gst/.cvsignore:
6352         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6353         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6354         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6355         (GST_START_TEST), (gst_param_spec_suite):
6356           API: add GstParamSpecFraction, so elements can have fraction
6357           properties without lots of painful string parsing (#444648).
6358
6359 2007-06-05  Wim Taymans  <wim@fluendo.com>
6360
6361         * gst/gstobject.c: (gst_object_class_init):
6362         Fix signal signature.
6363
6364         * gst/gstsegment.c:
6365         Add small clarification in the api docs.
6366
6367         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6368         States are protected with object lock.
6369
6370 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6371
6372         * AUTHORS:
6373         I should probably be listed as an author by now.
6374
6375         * docs/random/release:
6376         Update the release doc
6377
6378 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
6379
6380         * gst/gstvalue.c:
6381           Make docs for gst_value_compare() mention return enums that
6382           actually exist.
6383
6384 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6385
6386         * configure.ac:
6387           Back to CVS
6388
6389 === release 0.10.13 ===
6390
6391 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
6392
6393         * configure.ac:
6394           releasing 0.10.13, "With or without you"
6395
6396 2007-05-25  Wim Taymans  <wim@fluendo.com>
6397
6398         * gst/gstbin.c: (bin_handle_async_done):
6399         Make sure that the child bin stops after completing the async state
6400         change so that the parent can continue the state change to PLAYING.
6401         Fixes #441159.
6402
6403 2007-05-25  Wim Taymans  <wim@fluendo.com>
6404
6405         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6406         (unref_data), (gst_collect_pads_remove_pad),
6407         (gst_collect_pads_check_pads):
6408         Use additional refcounting to avoid crashes when dynamically adding and
6409         removing pads. Fixes #420206.
6410
6411 2007-05-24  Wim Taymans  <wim@fluendo.com>
6412
6413         * tools/gst-launch.c: (event_loop):
6414         When buffering goes from a two digit to a single digit number, make sure
6415         to remove the old second digit by writing a blank over it.
6416
6417 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6418
6419         * libs/gst/base/gstdataqueue.c:
6420           Eliminate tabs and trailing comma in enum list; fix some typos.
6421
6422 2007-05-24  Wim Taymans  <wim@fluendo.com>
6423
6424         * tests/check/gst/gstbin.c: (GST_START_TEST):
6425         Allow refcount of 3 and 4 because some state thread might still be busy
6426         with it.
6427
6428 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6429
6430         * plugins/elements/Makefile.am:
6431         * plugins/elements/gstmultiqueue.h:
6432         * plugins/elements/gstqueue.h:
6433           These are not installed headers, no need for padding.
6434
6435 2007-05-24  Wim Taymans  <wim@fluendo.com>
6436
6437         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6438         (gst_bin_continue_func):
6439         Enable latency for next release.
6440         Restore STATE_LOCK around recalc_state that was left out during the
6441         rewrite and could result in racy behaviour when _get_state and
6442         recalc_state are run concurrently. See #440463.
6443
6444 2007-05-23  Wim Taymans  <wim@fluendo.com>
6445
6446         * tests/check/gst/gstsystemclock.c: (store_callback),
6447         (GST_START_TEST):
6448         Improve test_async_order to also work when both timers are already
6449         expired when we get scheduled to check it.
6450
6451 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6452
6453         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6454         (gst_bin_set_property), (gst_bin_get_property),
6455         (gst_bin_remove_func), (gst_bin_handle_message_func):
6456         * gst/gstbin.h:
6457           'private' is a c++ keyword, let's not use that in header files,
6458           otherwise c++ compilers will throw a tantrum.
6459
6460 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6461
6462         * plugins/elements/gstelements.c:
6463         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6464         (gst_file_sink_get_current_offset):
6465         * plugins/indexers/gstindexers.c: (plugin_init):
6466           Use #ifdef for HAVE_XYZ for consistency.
6467
6468         * tests/check/Makefile.am:
6469         * tests/check/elements/.cvsignore:
6470         * tests/check/elements/filesink.c: (setup_filesink),
6471         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6472           Add some unit tests for filesink.
6473
6474 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6475
6476         Patch by: Mark Nauwelaerts <manauw at skynet be>
6477
6478         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6479         (gst_file_sink_query), (gst_file_sink_do_seek),
6480         (gst_file_sink_get_current_offset), (gst_file_sink_render):
6481         * plugins/elements/gstfilesink.h:
6482           Fix position reporting; rename data_written member to current_pos to
6483           reflect its real meaning (fixes #412648).
6484
6485 2007-05-22  Edward Hervey  <edward@fluendo.com>
6486
6487         * docs/gst/gstreamer-sections.txt:
6488         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6489         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6490         (gst_bin_remove_func), (gst_bin_handle_message_func):
6491         * gst/gstbin.h:
6492         Add a property for bins that handle the state change of their childs.
6493         Fixes #435880
6494
6495 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
6496
6497         * libs/gst/controller/gstinterpolation.c:
6498         Use an array of the correct type when using _get_value_array with
6499         linear interpolation.
6500
6501 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
6502
6503         * gst/gstelement.c (gst_element_requires_clock,
6504           gst_element_provides_clock, gst_element_request_pad,
6505           gst_element_class_set_details, gst_element_class_set_details_simple,
6506           gst_element_default_send_event, gst_element_abort_state,
6507           gst_element_continue_state, gst_element_set_state,
6508           gst_element_set_state_func, iterator_activate_fold_with_resync):
6509         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6510           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6511           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6512           gst_pad_get_range, gst_pad_pull_range):
6513         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6514           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6515           GstPadActivateModeFunction, GstPadChainFunction,
6516           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6517           GstPadFixateCapsFunction, GstPadTemplate):
6518         * gst/gstpipeline.c (gst_pipeline_change_state,
6519           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6520           gst_pipeline_set_clock, gst_pipeline_auto_clock,
6521           gst_pipeline_get_delay):
6522           Whitespace and docs fixes.
6523
6524 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6525
6526         * libs/gst/controller/gstinterpolation.c:
6527         (interpolate_trigger_get_enum_value_array),
6528         (interpolate_trigger_get_string_value_array):
6529         Add support for retrieving value arrays when using the trigger
6530         interpolation mode. 
6531
6532 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6533
6534         * libs/gst/controller/gstcontroller.c:
6535         (gst_controller_get_value_array):
6536         * libs/gst/controller/gstcontroller.h:
6537         Clarify the docs of gst_controller_get_value_array(): The array where
6538         the values should be written to must be allocated as there seems to be
6539         no way to get the size of a random GType. This doesn't change any
6540         behaviour. Also fix some typos all over the place and remove an unused,
6541         commented function that is not necessary as g_object_set() could be
6542         used instead.
6543         * tests/check/libs/controller.c: (GST_START_TEST),
6544         (gst_controller_suite):
6545         Add unit test for gst_controller_get_value_array().
6546
6547 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
6548
6549         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6550
6551         Disable part of the gst_buffer_try_new_and_alloc test, because
6552         it can happily succeed on 64-bit systems where there's more address
6553         space available.
6554
6555 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6556
6557         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6558         Add unit test for the improved caps checking from bug #421543.
6559
6560 2007-05-21  Wim Taymans  <wim@fluendo.com>
6561
6562         * docs/design/part-synchronisation.txt:
6563         Small addition.
6564
6565         * gst/gstbin.c: (gst_bin_query):
6566         * plugins/elements/gstqueue.c: (apply_segment):
6567         Improve debugging.
6568
6569         * gst/gstmessage.h:
6570         Improve docs.
6571
6572 2007-05-21  Wim Taymans  <wim@fluendo.com>
6573
6574         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6575         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
6576         (gst_pad_configure_src):
6577         Added simple version of improved caps checking. It was previously
6578         assumed that a setcaps function would check the validity of the caps but
6579         people prefer us to check caps against the template automatically. 
6580         Fixes #421543.
6581
6582 2007-05-21  Wim Taymans  <wim@fluendo.com>
6583
6584         * libs/gst/base/gstbasetransform.h:
6585         Fix macro for locking/unlocking the transform lock.
6586
6587 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
6588
6589         * docs/plugins/tmpl/.cvsignore:
6590           Ignore more.
6591
6592 2007-05-18  Edward Hervey  <edward@fluendo.com>
6593
6594         * plugins/elements/gstqueue.c: (gst_queue_loop):
6595         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
6596         for the subtle art of warning a potentially blocking thread that it
6597         should check the source pad return value, and relay the information
6598         upstream.
6599
6600 2007-05-18  Edward Hervey  <edward@fluendo.com>
6601
6602         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6603         Release the queue lock !
6604
6605 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6606
6607         * docs/libs/gstreamer-libs-sections.txt:
6608         Add the two new controller functions to the appropiate places.
6609
6610 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6611
6612         reviewed by: Stefan Kost <ensonic@users.sf.net>
6613
6614         * libs/gst/controller/gstcontroller.c:
6615         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
6616         (_gst_controller_get_property), (_gst_controller_set_property),
6617         (_gst_controller_init), (_gst_controller_class_init):
6618         * libs/gst/controller/gstcontroller.h:
6619         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
6620         (gst_object_get_control_rate), (gst_object_set_control_rate):
6621         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
6622         Add API that provides sync suggestion timestamps for elements that
6623         call gst_object_sync_values() from which those elements can subdivide
6624         their processing loop to get the best results for the controlled
6625         properties. For now it just suggests last_sync + control_rate as
6626         new timestamp but this will be improved in the future.
6627
6628         While doing that change the control-rate property to a GstClockTime
6629         from guint and change it's meaning from samples to nanoseconds as
6630         the GstController doesn't know anything about sampling rate. Strictly
6631         speaking this breaks ABI but as the control-rate property didn't do
6632         anything in the past and as such couldn't be used this should be no
6633         problem.        
6634
6635 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6636
6637         reviewed by: Stefan Kost <ensonic@users.sf.net>
6638
6639         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6640         (gst_controller_unset_all):
6641         * libs/gst/controller/gstcontrollerprivate.h:
6642         * libs/gst/controller/gstinterpolation.c:
6643         (gst_controlled_property_find_control_point_node):
6644         Save last synced value from the list to continue searching from there
6645         in future syncs. This speeds everything up a bit.
6646         
6647 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6648
6649         reviewed by: Stefan Kost <ensonic@users.sf.net>
6650
6651         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
6652         (gst_control_point_find), (gst_controlled_property_new),
6653         (gst_control_point_free), (gst_controlled_property_free),
6654         (gst_controller_set), (gst_controller_set_from_list),
6655         (gst_controller_unset), (gst_controller_unset_all),
6656         (gst_controller_sync_values):
6657         * libs/gst/controller/gstcontroller.h:
6658         * libs/gst/controller/gstcontrollerprivate.h:
6659         * libs/gst/controller/gstinterpolation.c:
6660         (gst_controlled_property_find_control_point_node),
6661         (interpolate_none_get), (interpolate_trigger_get):
6662         Add a new private GstControlPoint struct which "inherits" from
6663         GstTimedValue to allow different interpolators to store internal
6664         values next to each control point. From the outside everything is
6665         still a GstControlPoint so we don't loose binary compatibility.
6666         Also fixup all the GValue handling to not leak GValues or list nodes.
6667         * tests/check/libs/controller.c: (GST_START_TEST):
6668         Free the list nodes and GValues in the controller_misc test.
6669
6670 2007-05-17  Edward Hervey  <edward@fluendo.com>
6671
6672         * gst/gstsegment.c:
6673         Small doc fix.
6674
6675 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
6676
6677         * gst/gstplugin.c: (gst_plugin_load_file):
6678           If we fail to load a plugin because of unresolved symbols or missing
6679           libraries and spew a warning to stderr, we may just as well mention
6680           which plugin it was that failed to load.
6681
6682 2007-05-13  David Schleef  <ds@schleef.org>
6683
6684         * docs/Makefile.am: the gtk-doc makefile snippet correctly
6685           handles the case when ENABLE_GTK_DOC is false, and installs
6686           the prebuilt documentation.  So gtk-doc subdirs are 
6687           unconditionally enabled.  Fixes: #349099.
6688
6689 2007-05-13  David Schleef  <ds@schleef.org>
6690
6691         * gst/gstutils.h: Reword some documentation.
6692
6693 2007-05-12  David Schleef  <ds@schleef.org>
6694
6695         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
6696           do anything with the passed "module" parameter, so remove it.
6697           Allows removal of additional vestigal code.
6698
6699 2007-05-12  David Schleef  <ds@schleef.org>
6700
6701         * gst/gstplugin.c:
6702           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
6703           Switch to using g_stat() because it's more portable.
6704
6705 2007-05-12  David Schleef  <ds@schleef.org>
6706
6707         * gst/gst.c:
6708           Add GST_DISABLE_OPTION_PARSING, in order to disable option
6709           parsing for embedded systems.
6710         * gst/gstelementfactory.c:
6711           Allow gst_element_register() to be called with plugin==NULL.
6712           Did nobody notice that static elements were broken?
6713
6714 2007-05-12  Wim Taymans  <wim@fluendo.com>
6715
6716         * tools/gst-launch.c: (event_loop):
6717         Give more interesting info when buffering starts and stops.
6718         Fix case where buffering starts but we fail to update the buffering flag
6719         because the target state is not PLAYING.
6720
6721 2007-05-12  Wim Taymans  <wim@fluendo.com>
6722
6723         * plugins/elements/gstqueue.c: (gst_queue_init),
6724         (gst_queue_finalize), (update_time_level), (apply_segment),
6725         (apply_buffer), (gst_queue_locked_flush),
6726         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
6727         (gst_queue_handle_sink_event), (gst_queue_chain),
6728         (gst_queue_push_one), (gst_queue_loop):
6729         * plugins/elements/gstqueue.h:
6730         Refactor an cleanup queue a bit.
6731         Do better time level calculations that also work when the srcpad is not
6732         yet running.
6733         Remove some unneeded debug lines.
6734
6735         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
6736         Added testcase for time level measurement.
6737         Try to make some stuff more racefree.
6738
6739 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
6740
6741         * gst/gsturi.c: (gst_element_make_from_uri):
6742           Don't leak plugin feature.
6743
6744         * tests/check/Makefile.am:
6745         * tests/check/gst/.cvsignore:
6746         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
6747           Add brain-dead unit test.
6748
6749 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
6750
6751         Patch by: Jeroen Wouters <woutersj at gmail com>
6752
6753         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
6754           Treat protocol strings in a case-insensitive way (#437563).
6755
6756 2007-05-11  Michael Smith <msmith@fluendo.com>
6757
6758         * gst/gstplugin.c: (gst_plugin_load_file):
6759         * gst/gstregistry.c: (gst_registry_scan_path_level):
6760           Don't print a g_warning for any failure to load a shared object.
6761           Instead, push this down into gstplugin.c, and warn _only_ if we
6762           failed to open the module (i.e. failure to link).
6763           Avoids warnings on normal, working, non-plugin .so files.
6764
6765 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
6766
6767         * gst/gstplugin.c (gst_plugin_load_file):
6768         * gst/gstregistry.c (GST_CAT_DEFAULT,
6769           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
6770           Print a g_warning if there was an error when loading a plugins during
6771           registry scan. The shuld help beginners starting with gst-plugin
6772           template.
6773
6774 2007-05-10  Wim Taymans  <wim@fluendo.com>
6775
6776         * plugins/elements/gstqueue.c: (gst_queue_class_init),
6777         (update_time_level), (gst_queue_locked_flush),
6778         (gst_queue_handle_sink_event), (gst_queue_chain),
6779         (gst_queue_push_one), (gst_queue_loop):
6780         * plugins/elements/gstqueue.h:
6781         Be smarter when calculating the current amount of data in the queue by
6782         measuring the difference between start and end timestamps (in running
6783         time) inside the queue. Fixes #432876.
6784         API: GstQueue::pushing to notify elements that we are pushing data again
6785         since the running signal is rather broken for this purpose.
6786
6787 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
6788
6789         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
6790           gst_queue_base_init, gst_queue_init):
6791           use GST_BOILERPLATE
6792
6793 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
6794
6795         * win32/common/libgstreamer.def:
6796         Add new exported functions.
6797         * win32/vs6/grammar.dsp:
6798         Use grammar pre-generated files.
6799
6800 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6801
6802         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
6803
6804         * gst/Makefile.am:
6805         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
6806         * gst/gstparse.h:
6807         * gst/gstutils.c: (gst_parse_bin_from_description):
6808         * gst/gstutils.h:
6809           Maintain API and ABI when --disable-parse is used. Now that
6810           we have an appropriate error code, we can just return NULL and the
6811           appropriate error when gst_parse_launch() is used despite it having
6812           been disabled (#342564).
6813
6814         * tests/check/Makefile.am:
6815         * tests/check/pipelines/.cvsignore:
6816         * tests/check/pipelines/parse-disabled.c:
6817           Make sure these functions exist and return NULL plus a GError when
6818           --disable-parse is used.
6819
6820 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6821
6822         * tests/benchmarks/complexity.c: (main):
6823         * tests/benchmarks/mass-elements.c: (main):
6824           Set a good example and don't leak messages.
6825
6826 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
6827
6828         * docs/gst/Makefile.am:
6829         * docs/libs/Makefile.am:
6830           Correct fixxrefs options.
6831
6832         * docs/plugins/Makefile.am:
6833         * docs/plugins/gstreamer-plugins-docs.sgml:
6834         * docs/plugins/gstreamer-plugins-sections.txt:
6835         * plugins/elements/Makefile.am:
6836         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
6837         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
6838           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
6839           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
6840           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
6841           _GstCapsFilterClass, trans_class):
6842         * plugins/elements/gstelements.c (name, rank, type, _elements):
6843         * plugins/elements/gstidentity.c
6844           (gst_identity_check_imperfect_timestamp,
6845           gst_identity_check_imperfect_offset):
6846           Document capsfilter and add doc-blurb to identity.
6847
6848 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6849
6850         * libs/gst/controller/gstcontroller.c:
6851         (gst_controlled_property_set_interpolation_mode):
6852         * libs/gst/controller/gstinterpolation.c:
6853           Don't crash if someone tries to set an interpolation mode that
6854           is invalid or that isn't supported yet. Fixes #422295.
6855
6856         * tests/check/libs/controller.c: (GST_START_TEST),
6857         (gst_controller_suite):
6858           Add a test case for the above.
6859
6860 2007-05-03  Edward Hervey  <edward@fluendo.com>
6861
6862         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6863         Properly set the last_stop position on GstSegment. This will only happen
6864         if there is a buffer to push out.
6865
6866 2007-05-03  Wim Taymans  <wim@fluendo.com>
6867
6868         * libs/gst/base/gstbasetransform.c:
6869         (gst_base_transform_buffer_alloc):
6870         always_in_place does not mean that the sink and source caps are the
6871         same! Make sure we don't blindly proxy the buffer_alloc in this case.
6872
6873 2007-05-03  Wim Taymans  <wim@fluendo.com>
6874
6875         * docs/libs/gstreamer-libs-sections.txt:
6876         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6877         (gst_base_src_default_query), (gst_base_src_get_range):
6878         * libs/gst/base/gstbasesrc.h:
6879         API: gst_base_src_query_latency(). Added method so that subclasses can
6880         easily get the latency values of the base source class.
6881
6882 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
6883
6884         * tools/gst-inspect.c (print_implementation_info):
6885         Remove 0.8 cruft.
6886
6887 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
6888
6889         * tools/Makefile.am:
6890         * tools/gst-launch.1.in:
6891           Don't create a customised man page based on the host architecture,
6892           describe the default registry path generically. That way the man
6893           page is the same for all architectures and packagers have one
6894           multilib issue less to deal with. Fixes #434926.
6895
6896 2007-05-02  Wim Taymans  <wim@fluendo.com>
6897
6898         * gst/gstpad.c:
6899         Fix documentation as spotted by rg on IRC. 
6900
6901 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
6902
6903         * gst/gstutils.c:
6904           Improve docs for gst_element_{link,unlink}.
6905
6906 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
6907
6908         * docs/design/part-events.txt:
6909         * docs/design/part-overview.txt:
6910         * gst/gstevent.c:
6911         * gst/gsturi.c:
6912         * gst/gsturi.h:
6913         * libs/gst/base/gstbasesink.c:
6914           Typo fixes; minor docs addition.
6915
6916 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6917
6918         * docs/gst/gstreamer-sections.txt:
6919         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
6920         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
6921         * gst/gsturi.h:
6922         API: Add gst_uri_protocol_is_supported(), which checks if a sink
6923         or src that supports a given URI protocol exists.
6924
6925 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6926
6927         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6928         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6929         Set the location to NULL if "file://" is set as URI. Otherwise
6930         some random previous URI would still be set if "file://" is
6931         set on an already used filesink/filesrc.
6932
6933 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6934
6935         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6936         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6937         Special case the "file://" URI as as this is used by some
6938         applications to test with gst_element_make_from_uri if there's
6939         an element that supports the URI protocol.
6940         Also move the g_path_is_absolute() check for the location part
6941         of the URI to also check this for "file://localhost/bla" URIs.
6942
6943 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
6944
6945         * docs/gst/gstreamer-sections.txt:
6946         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
6947         * gst/gstbuffer.h:
6948         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6949         (gst_buffer_suite):
6950           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
6951
6952 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
6953
6954         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6955         (gst_registry_binary_load_pad_template),
6956         (gst_registry_binary_load_plugin),
6957         (gst_registry_binary_read_cache):
6958         * gst/gstregistrybinary.h:
6959           Implement no-mmap alternative for registry reading. Do code cleanups.
6960           Add more comments about avoiding strdups for all text data. Comments
6961           welcome.
6962
6963 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
6964
6965         * gst/gstregistrybinary.h (GstBinaryPluginElement,
6966           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
6967           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
6968           Comment structs and reformat to fix the build (that stuff should go
6969           into a priv. header).
6970
6971 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
6972
6973         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
6974         (gst_registry_binary_load_feature):
6975         * gst/gstregistrybinary.h:
6976           Refactor so that we can implement multiple features. Add support for
6977           TypeFindFactory features.
6978
6979 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
6980
6981         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
6982
6983         * configure.ac:
6984           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
6985
6986 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
6987
6988         * gst/gstbin.c: (gst_bin_element_set_state),
6989         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
6990         (bin_handle_async_done), (gst_bin_handle_message_func):
6991           Fix build with --gst-disable-gst-debug
6992
6993 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
6994
6995         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
6996           Make sure streaming has finished before calling the ::stop() vfunc,
6997           since that vfunc might clear state which is being used in the
6998           streaming thread. This fixes a race that caused crashes in
6999           audioresample when shutting down a pipeline (#420106).
7000
7001 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
7002
7003         * docs/gst/gstreamer-sections.txt:
7004           That was one byte missing.
7005
7006 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
7007
7008         * configure.ac:
7009         * docs/gst/gstreamer-sections.txt:
7010         * gst/Makefile.am:
7011         * gst/gstconfig.h.in:
7012         * gst/gstobject.c: (gst_object_class_init),
7013         (gst_signal_object_class_init):
7014         * gst/gstobject.h:
7015           2nd attempt to have a xml-less build as a joined effort of #413123
7016           and #421480.
7017
7018 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
7019
7020         * docs/design/draft-tagreading.txt:
7021           Added open issues/thoughts to draft.
7022
7023 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7024
7025         * gst/parse/grammar.tab.pre.c:
7026         * gst/parse/grammar.tab.pre.h:
7027         * gst/parse/lex._gst_parse_yy.pre.c:
7028         Update the prebuild parser sources.
7029
7030 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7031
7032         * gst/parse/Makefile.am:
7033         And now fix the building of the flex sources. Now everything should
7034         work as expected.
7035
7036 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7037
7038         * gst/parse/Makefile.am:
7039         Now hopefully fix the build failures by setting proper rule
7040         dependencies and moving instead of copying.
7041
7042 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7043
7044         * tests/benchmarks/complexity.gnuplot:
7045         * tests/benchmarks/complexity.scm:
7046         * tests/benchmarks/mass-elements.gnuplot:
7047         * tests/benchmarks/mass-elements.scm:
7048           Total licensification.
7049
7050 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7051
7052         * gst/parse/Makefile.am:
7053           Fix the build by correcting the rule that gave wrong files to flex.
7054
7055 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7056
7057         * tests/benchmarks/complexity.c:
7058         * tests/benchmarks/mass-elements.c:
7059           Change licence to LGPL as granted by Benjamin and Andy.
7060
7061 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7062
7063         * gst/parse/Makefile.am:
7064         Add correct grammar.tab.h dependency if compiling without new enough
7065         flex. Fixes #431150.
7066
7067 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
7068
7069         * gst/parse/Makefile.am:
7070         Fix typo and use outdated sources if the flex/bison sources are newer
7071         than the pregenerated ones but flex is too old. Print a warning in
7072         that case. This should fix the build on the build bot.
7073
7074 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
7075
7076         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
7077         * gst/parse/Makefile.am:
7078         * gst/parse/grammar.y:
7079         * gst/parse/parse.l:
7080         Make the parser reentrant and recursively callable. This requires flex
7081         >= 2.5.31, for older versions pregenerated sources are used as we
7082         can't bump the build dependency. Finally fixes #349180.
7083
7084         * gst/gstparse.c: (gst_parse_launch):
7085         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
7086         now anyway.
7087
7088         * docs/gst/Makefile.am:
7089         * docs/gst/Makefile.am:
7090         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
7091         (__gst_parse_strfree), (__gst_parse_link_new),
7092         (__gst_parse_link_free), (__gst_parse_chain_new),
7093         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
7094         (gst_parse_element_set), (gst_parse_free_link),
7095         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
7096         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
7097         (_gst_parse_launch):
7098         * gst/parse/grammar.tab.pre.h:
7099         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
7100         (yy_get_previous_state), (yy_try_NUL_trans), (input),
7101         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
7102         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
7103         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
7104         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
7105         (_gst_parse_yypop_buffer_state),
7106         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
7107         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
7108         (yy_fatal_error), (_gst_parse_yyget_extra),
7109         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
7110         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
7111         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
7112         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
7113         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
7114         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
7115         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
7116         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
7117         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
7118         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
7119         (_gst_parse_yyfree):
7120         If the installed flex version is too old use pre-generated parser
7121         sources. These pre-generated parser sources are always updated when
7122         the actual flex/bison sources change but require everybody who wants
7123         to change something in the parser to have flex >= 2.5.31 installed.
7124
7125 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
7126
7127         * common/m4/gst-gettext.m4:
7128         * gst/gst-i18n-lib.h:
7129           Make --disable-nls to work
7130
7131 2007-04-17  Wim Taymans  <wim@fluendo.com>
7132
7133         * gst/gstconfig.h.in:
7134         Revert previous change that broke the build.
7135
7136 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
7137
7138         * configure.ac:
7139         * gst/Makefile.am:
7140         * gst/gstconfig.h.in:
7141           Drop libxml2 dependency when building with 
7142           --enable-binary-registry --disable-loadsave
7143
7144 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
7145
7146         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7147         (gst_registry_binary_read_cache):
7148         * gst/gstregistrybinary.h:
7149           Remove unnecessary <sys/mman.h> include which broke the win32 build
7150           with MingW; move includes from header file to .c file, even if the
7151           header file isn't installed; use g_strerror() where UTF-8 strings
7152           are expected, such as in GST_DEBUG messages.
7153
7154 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7155
7156         * docs/libs/gstreamer-libs-sections.txt:
7157         Remove bogus addition for API I didn't end up keeping.
7158
7159         * libs/gst/base/gstbasesrc.h:
7160         Mention Since: 0.10.13 in the documentation.
7161
7162         Add the API keyword to the previous ChangeLog entry.
7163
7164 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7165
7166         * docs/libs/gstreamer-libs-sections.txt:
7167         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7168         (gst_base_src_default_prepare_seek_segment),
7169         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
7170         * libs/gst/base/gstbasesrc.h:
7171         Allow basesrc derived classes to execute seeks in other formats
7172         by providing a prepare_seek_segment vmethod. Sub-classes can choose
7173         to prepare the GstSegment in any format that their perform_seek method
7174         will be able to understand. The default implementation provides the
7175         old behaviour of attempting to convert the seek offsets to the 
7176         configured native format.
7177
7178         API: basesrc::prepare_seek_segment vmethod.
7179
7180 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7181
7182         * gst/gstelement.c: (gst_element_get_state_func):
7183         Don't output the same debug statement twice.
7184
7185         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
7186         (gst_adapter_peek), (gst_adapter_take_buffer):
7187         Optimise the case where we have buffers at the head of the queue that
7188         can be joined quickly (because they're contiguous sub-buffers) by
7189         merging them together rather than copying data out into new memory.
7190
7191         * gst/parse/grammar.y:
7192         * tests/check/pipelines/parse-launch.c:
7193         Fix a leak in an error path for parse_launch, and add a check 
7194         for it to the testsuite.
7195
7196 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7197
7198         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7199           Don't deadlock when releasing a pad - gst_pad_set_active may try
7200           and take the multiqueue lock too.
7201
7202 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
7203
7204         * gst/gsterror.c: (_gst_core_errors_init):
7205         * gst/gsterror.h:
7206           API: add GST_CORE_ERROR_DISABLED (#392804).
7207
7208 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7209
7210         * docs/faq/gst-uninstalled:
7211           don't get empty paths on the PATH variables
7212         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
7213           Don't format for the uncommon terminal width of 84 characters.
7214
7215 2007-04-06  Wim Taymans  <wim@fluendo.com>
7216
7217         * gst/gstpipeline.c: (reset_stream_time),
7218         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
7219         Only try to select a different pipeline clock when we went back to
7220         PAUSED and not when we merely got flushed.
7221
7222 2007-04-05  Michael Smith  <msmith@fluendo.com>
7223
7224         * tools/gst-launch.1.in:
7225           fractions are better supported in gstreamer than ractions, so
7226           suggest using those.
7227
7228 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7229
7230         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
7231
7232         * po/LINGUAS:
7233         * po/da.po:
7234           Added Danish translation.
7235
7236 2007-04-05  Wim Taymans  <wim@fluendo.com>
7237
7238         * libs/gst/base/gstbasesink.c:
7239         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
7240         Fix leak caused when refusing newsegment after EOS.
7241
7242         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7243         (gst_fake_sink_init), (gst_fake_sink_set_property),
7244         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
7245         (gst_fake_sink_render), (gst_fake_sink_change_state):
7246         * plugins/elements/gstfakesink.h:
7247         Add num-buffers property to make the element generate EOS after a
7248         configurable amount of buffers.
7249         API: fakesink::num-buffers property.
7250
7251         * tests/check/elements/fakesink.c: (GST_START_TEST),
7252         (fakesink_suite):
7253         Fix GstBus leak in test.
7254         Test for fakesink num-buffers.
7255
7256 2007-04-05  Wim Taymans  <wim@fluendo.com>
7257
7258         * libs/gst/base/gstbasesink.c:
7259         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
7260         (gst_base_sink_change_state):
7261         Don't accept anything after an EOS, return UNEXPECTED instead.
7262
7263         * tests/check/elements/fakesink.c: (GST_START_TEST),
7264         (fakesink_suite):
7265         Unit test for new EOS behaviour.
7266
7267 2007-04-05  Wim Taymans  <wim@fluendo.com>
7268
7269         * gst/gstelement.c: (gst_element_get_request_pad):
7270         Make padtemplates also work when they don't contain %s or %d.
7271
7272 2007-04-05  Wim Taymans  <wim@fluendo.com>
7273
7274         * docs/gst/gstreamer-sections.txt:
7275         * gst/gstclock.c: (gst_clock_adjust_unlocked),
7276         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
7277         * gst/gstclock.h:
7278         Improve _adjust_unlocked() so that it overflows less.
7279         Add gst_clock_unadjust_unlocked to convert from external time to
7280         internal time based on calibration.
7281         Add some more debug.
7282         API: GstClock::gst_clock_unadjust_unlocked()
7283
7284 2007-04-03  Wim Taymans  <wim@fluendo.com>
7285
7286         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7287
7288         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7289         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
7290         when releasing sink pad. Fixes #425400.
7291
7292 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
7293
7294         * docs/random/ensonic/dynlink.txt:
7295           More work on proposal for new core api.
7296
7297         * docs/libs/gstreamer-libs-sections.txt:
7298         * libs/gst/base/gstbasetransform.h:
7299           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
7300           
7301         * libs/gst/controller/gstcontroller.c:
7302         (on_object_controlled_property_changed),
7303         (gst_controller_sync_values),
7304         (gst_controller_set_interpolation_mode):
7305         * libs/gst/controller/gstcontroller.h:
7306           Less verbose logging add docs for unimplemented parts and correctly
7307           return when using unavailable parts.
7308
7309 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
7310
7311         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
7312         Move all the debug to the CLOCK category, and associate it with
7313         the clock object.
7314
7315 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
7316
7317         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
7318         Make take_buffer a bit quicker by removing redundant checks
7319         caused by calling gst_adapter_take.
7320
7321 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7322
7323         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
7324           Don't leak GCond.
7325
7326         * tests/check/Makefile.am:
7327         * tests/check/elements/.cvsignore:
7328         * tests/check/elements/multiqueue.c: (setup_multiqueue),
7329         (GST_START_TEST), (multiqueue_suite):
7330           Add some dead simple unit tests for the 'multiqueue' element
7331           (some bits don't work yet and are disabled for now).
7332
7333 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7334
7335         * gst/gstelement.c: (gst_element_get_request_pad),
7336         (gst_element_class_get_request_pad_template):
7337           Make gst_element_get_request_pad() create request pads only for
7338           request pad templates and not for, say, sometimes pad templates.
7339
7340 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
7341
7342         * docs/design/draft-klass.txt:
7343           Add example that needs more thinking.
7344         
7345         * docs/design/draft-missing-plugins.txt:
7346           More thoughts about wrapper plugins.
7347         
7348         * docs/random/ensonic/embedded.txt:
7349         * docs/random/ensonic/profiling.txt:
7350           More design work.
7351
7352 2007-03-25  Wim Taymans  <wim@fluendo.com>
7353
7354         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7355         (gst_base_src_loop):
7356         Only push the segment events in the PLAYING state for live sources.
7357
7358 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
7359
7360         * gst/gstpipeline.c: (gst_pipeline_change_state):
7361         Modify the clock distribution path in PAUSED->PLAYING so that we 
7362         never attempt to choose a new clock unless we're actually leaving
7363         the PAUSED state for the first time. This prevents choosing a
7364         different clock when the state_change gets called for a 2nd time due
7365         to some element doing an async state change.
7366
7367 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7368
7369         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7370         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7371         (gst_pad_chain_unchecked), (gst_pad_push):
7372         Revert last commit. This needs some more thoughts.
7373
7374 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7375
7376         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7377         (gst_pad_chain_unchecked), (gst_pad_push):
7378         Check in set_caps if the caps are compatible with the pad and remove
7379         two functions that are redundant now. Fixes #421543.
7380
7381 2007-03-22  Wim Taymans  <wim@fluendo.com>
7382
7383         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7384         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7385         Unref some more to make valgrind happy.
7386
7387 2007-03-22  Wim Taymans  <wim@fluendo.com>
7388
7389         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7390         (gst_system_clock_id_wait_jitter),
7391         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7392         Fix anoying regression that survived a few releases. When adding an
7393         async entry while blocking on a sync entry, the sync entry will unblock
7394         but still be busy, so it should continue to wait instead of returning
7395         _BUSY to the app.
7396         Add some comments here and there.
7397
7398         * tests/check/gst/gstsystemclock.c: (mixed_thread),
7399         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7400         Add testcase for this.
7401
7402 2007-03-22  Wim Taymans  <wim@fluendo.com>
7403
7404         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7405         Handle errors from the clock sync better, only UNSCHEDULED indicates a
7406         WRONG_STATE and can silently pause the task. All other cases should
7407         error out.
7408
7409 2007-03-22  Wim Taymans  <wim@fluendo.com>
7410
7411         Patch by: Ville Syrjala <syrjala at sci dot fi>
7412
7413         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7414         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
7415         Improve debugging.
7416
7417 2007-03-21  Michael Smith  <msmith@fluendo.com>
7418
7419         * docs/pwg/advanced-types.xml:
7420           Fix some errors in the typefinding docs pointed out on irc.
7421
7422 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
7423
7424         * libs/gst/base/gstbasesrc.c:
7425         Clarify FIXME comment in the face of having added unlock_stop()
7426
7427 2007-03-21  Wim Taymans  <wim@fluendo.com>
7428
7429         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7430         Prepare for release where we warn against possible app breakage in the
7431         case of live pipelines along with an env var to enable/disable live
7432         preroll mode (GST_COMPAT=[no-]live-preroll).
7433
7434 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7435
7436         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7437         So we should use correct constants for checking for None offset.
7438
7439 2007-03-20  Wim Taymans  <wim@fluendo.com>
7440
7441         * docs/design/part-block.txt:
7442         Mention the fact that the newly switched element should be set to at
7443         least PAUSED.
7444
7445 2007-03-20  Wim Taymans  <wim@fluendo.com>
7446
7447         * gst/gst.c:
7448         Fix compilation with registry disabled as spotted by Saur.
7449
7450 2007-03-20  Wim Taymans  <wim@fluendo.com>
7451
7452         Patch by: Olivier Crete <tester at tester dot ca>
7453
7454         * gst/gstelement.c: (gst_element_sync_state_with_parent):
7455         Look at the pending state too when syncing the element state to the
7456         parent. Fixes #420133.
7457
7458 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
7459
7460         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7461         (gst_base_sink_change_state):
7462         * libs/gst/base/gstbasesink.h:
7463         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7464         (gst_base_src_default_event), (gst_base_src_unlock_stop),
7465         (gst_base_src_deactivate):
7466         * libs/gst/base/gstbasesrc.h:
7467         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7468         for sub-classes to correctly clear any state they set trying to
7469         unlock, such as clearing out unlock commands from a command fd.
7470         API: basesrc::unlock_stop
7471         API: basesink::unlock_stop
7472
7473         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7474         (gst_fd_sink_render), (gst_fd_sink_unlock),
7475         (gst_fd_sink_unlock_stop):
7476         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7477         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7478         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7479
7480         Implement unlock_stop in fdsrc and fdsink.
7481         Implement seeking in fdsrc when a seekable fd is passed, as in
7482         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7483
7484 2007-03-19  Wim Taymans  <wim@fluendo.com>
7485
7486         Patch by: Evan Nemerson <evan at coeus dash group dot com>
7487
7488         * gst/gstelement.c: (gst_element_class_init):
7489         Fix pad-added and pad-removed signal signatures so that the pad type is
7490         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7491
7492 2007-03-19  Wim Taymans  <wim@fluendo.com>
7493
7494         * docs/gst/gstreamer-sections.txt:
7495         Add new element field and method.
7496
7497         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7498         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7499         (gst_bin_recalc_state), (gst_bin_get_state_func),
7500         (gst_bin_element_set_state), (gst_bin_change_state_func),
7501         (gst_bin_continue_func), (bin_bus_handler),
7502         (bin_push_state_continue), (bin_handle_async_start),
7503         (bin_handle_async_done), (gst_bin_handle_message_func):
7504         Make async state changes a bit smarter by using new ASYNC_START and
7505         ASYNC_DONE messages. This reduces the number of times we run the state
7506         recalculation thread.
7507         Don't change state of element with a pending ASYNC_START message.
7508         Deprecate STATE_DIRTY messages.
7509         
7510         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7511         (gst_element_get_state_func), (gst_element_continue_state),
7512         (gst_element_lost_state), (gst_element_set_state_func),
7513         (gst_element_change_state):
7514         * gst/gstelement.h:
7515         Keep the state that was last set by the app in a new element field.
7516         Don't allow state changes when handling an element event.
7517         Post ASYNC_START and ASYNC_DONE messages.
7518         Change lost_state so that we go to PAUSED and wait for the parent to set
7519         us to PLAYING again (so latency calculation can be performed)
7520         Export gst_element_change_state() method so that subclasses can use it.
7521         API: gst_element_change_state()
7522         API: GST_STATE_TARGET
7523
7524         * gst/gstpipeline.c: (gst_pipeline_class_init),
7525         (reset_stream_time), (gst_pipeline_change_state),
7526         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7527         Using the new ASYNC_START message we can reset the base_time when
7528         needed. This can then be used to implement base_time redistribution in
7529         flushing seeks so that we can remove the explicit seek handling.
7530         Perform latency query and configuration when going to PLAYING.
7531
7532         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7533         (gst_base_sink_query), (gst_base_sink_change_state):
7534         Post new ASYNC_START/ASYNC_DONE messages.
7535
7536         * tests/check/generic/sinks.c: (GST_START_TEST):
7537         Fix test because the bin will not set the async element to PLAYING right
7538         away.
7539
7540         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7541         Make the message check a little stronger.
7542         Handle ASYNC messages.
7543
7544         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7545         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7546         Expect ASYNC_DONE messages.
7547
7548 2007-03-19  Wim Taymans  <wim@fluendo.com>
7549
7550         * docs/gst/gstreamer-sections.txt:
7551         * gst/gstmessage.c: (gst_message_new_async_start),
7552         (gst_message_new_async_done), (gst_message_parse_info),
7553         (gst_message_parse_async_start):
7554         * gst/gstmessage.h:
7555         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7556         support.
7557
7558 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
7559
7560         * tools/gst-inspect.c:
7561         (print_plugin_automatic_install_info_codecs):
7562           Now that we don't check for the 'Codec' keyword any longer in the
7563           klass, we shouldn't spew a warning if the klass isn't a decoder or
7564           encoder (since it might be a Source/Network, for example).
7565
7566 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7567
7568         * tools/gst-inspect.c:
7569         (print_plugin_automatic_install_info_codecs):
7570           Don't require decoder/demuxer/depayloader elements or
7571           encoder/muxer/paylader elements to have 'Codec' as part of their
7572           factory class string when introspecting a plugin's capabilities.
7573           draft-klass.txt mentions that it might be removed in future, and
7574           flump3dec doesn't have it as part of its class string, so chances
7575           are others might also not have it.
7576
7577 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7578
7579         * po/af.po:
7580         * po/az.po:
7581         * po/bg.po:
7582         * po/ca.po:
7583         * po/cs.po:
7584         * po/de.po:
7585         * po/en_GB.po:
7586         * po/fr.po:
7587         * po/it.po:
7588         * po/nb.po:
7589         * po/nl.po:
7590         * po/ru.po:
7591         * po/sq.po:
7592         * po/sr.po:
7593         * po/sv.po:
7594         * po/tr.po:
7595         * po/uk.po:
7596         * po/vi.po:
7597         * po/zh_CN.po:
7598         * po/zh_TW.po:
7599           Update translations from translation project
7600
7601 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
7602
7603         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
7604         (gst_child_proxy_set_property):
7605           Invert precondition check to be alike the ones in the mimiced gobject
7606           api.
7607
7608 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
7609
7610         * docs/design/draft-tagreading.txt:
7611         * docs/random/ensonic/audiobaseclasses.txt:
7612           Do some Architect work.
7613
7614         * gst/gstobject.c: (gst_object_set_name):
7615           Add a WARNING.
7616
7617         * gst/gstpad.c:
7618           Add docs that point from gst_pad_get_range to gst_pad_pull_range
7619
7620 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
7621
7622         * gst/gstsystemclock.c: (gst_system_clock_init),
7623         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
7624         Defer starting the async system clock thread until the first async
7625         wait is scheduled. Fixes #414986.
7626
7627 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
7628
7629         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
7630         (gst_single_queue_free):
7631           Fix small leak (free GstSingleQueue structure too, not only contents).
7632
7633 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
7634
7635         * gst/gstbin.c:(gst_bin_add):
7636         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
7637         * win32/common/libgstbase.def:
7638         * win32/common/libgstreamer.def:
7639         Add new exported functions.
7640
7641 2007-03-09  Wim Taymans  <wim@fluendo.com>
7642
7643         * docs/plugins/gstreamer-plugins-sections.txt:
7644         Fix GstTee docs.
7645
7646 2007-03-09  Wim Taymans  <wim@fluendo.com>
7647
7648         * docs/gst/gstreamer-sections.txt:
7649         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
7650         * gst/gstbuffer.h:
7651         Add metadata copy functions. Fixes #393099.
7652         API: gst_buffer_copy_metadata()
7653
7654         * gst/gstutils.c: (gst_buffer_stamp):
7655         * libs/gst/base/gstbasetransform.c:
7656         (gst_base_transform_prepare_output_buffer):
7657         Use new metadata copy functions.
7658
7659 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7660
7661         * plugins/elements/gstidentity.c: (gst_identity_class_init),
7662         (gst_identity_init), (gst_identity_check_perfect),
7663         (gst_identity_check_imperfect_timestamp),
7664         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
7665         (gst_identity_set_property), (gst_identity_get_property):
7666         * plugins/elements/gstidentity.h:
7667         Separate out check-imperfect-timestamp and check-imperfect-offset.
7668         Put back check-perfect as it was to keep compatibility.
7669
7670 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
7671
7672         * gst/gstelement.c: (gst_element_dispose):
7673         There's no need to warn if VOID_PENDING is not NONE here, as
7674         long as the state is NULL it's ok, and that's checked immediately
7675         above.
7676
7677 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7678
7679         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7680         Fix check for perfect stream to ignore buffers with -1 
7681         offsets/offset ends when checking data contiguity.
7682
7683 2007-03-08  Wim Taymans  <wim@fluendo.com>
7684
7685         * tools/gst-launch.c: (event_loop):
7686         Print INFO messages.
7687
7688 2007-03-08  Wim Taymans  <wim@fluendo.com>
7689
7690         * libs/gst/base/gstbasetransform.c:
7691         (gst_base_transform_sink_eventfunc),
7692         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7693         (gst_base_transform_activate):
7694         * libs/gst/base/gstbasetransform.h:
7695         Add support for dropping buffers with custom GstFlowReturn.
7696         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
7697         buffers or dropped buffers.
7698
7699         * docs/libs/gstreamer-libs-sections.txt:
7700         docs for new custom return code.
7701
7702         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7703         Use drop support in base class to implement drop-probability.
7704
7705 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
7706
7707         * gst/gst.c: (load_plugin_func):
7708         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
7709         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7710         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
7711           Remove newlines at end of debug log strings.
7712
7713 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7714
7715         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7716         Only post bus message at max, once per buffer received.
7717
7718 2007-03-07  Wim Taymans  <wim@fluendo.com>
7719
7720         * docs/design/Makefile.am:
7721         * docs/design/part-synchronisation.txt:
7722         Add doc about synchronisation
7723
7724         * docs/design/draft-latency.txt:
7725         * docs/design/part-TODO.txt:
7726         * docs/design/part-clocks.txt:
7727         * docs/design/part-events.txt:
7728         * docs/design/part-gstbus.txt:
7729         * docs/design/part-gstpipeline.txt:
7730         * docs/design/part-live-source.txt:
7731         * docs/design/part-messages.txt:
7732         * docs/design/part-overview.txt:
7733         * docs/design/part-streams.txt:
7734         * docs/design/part-trickmodes.txt:
7735         Documentation updates.
7736
7737 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
7738
7739         * gstreamer.doap:
7740         Update the doap file.
7741
7742 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7743
7744         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7745         Rename non-perfect to imperfect for Mike and for the sanctity of the
7746         language.
7747         Also make sure bus message gets emitted for data-incontiguities.
7748
7749 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7750
7751         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
7752         (gst_identity_start):
7753         * plugins/elements/gstidentity.h:
7754         Emit bus message if check-perfect is true and we encounter a
7755         non-perfect stream between 2 consecutive buffers.
7756         Fixes #415394.
7757
7758 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
7759
7760         * configure.ac:
7761         Back to CVS
7762
7763 === release 0.10.12 ===
7764
7765 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
7766
7767         * configure.ac:
7768           releasing 0.10.12, "Inevitable Demise"
7769
7770 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
7771
7772         * configure.ac:
7773          Version 0.10.11.2 (0.10.12 pre-release)
7774          Bump libtool versioning.
7775
7776 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
7777
7778         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7779           Log flow-names and not numbers.
7780
7781 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7782
7783         * configure.ac:
7784           Convert to new AG_GST style.
7785
7786 2007-02-28  Wim Taymans  <wim@fluendo.com>
7787
7788         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
7789         Don't unref query twice.
7790
7791 2007-02-28  Wim Taymans  <wim@fluendo.com>
7792
7793         * gst/gstvalue.c: (gst_value_transform_object_string),
7794         (_gst_value_initialize):
7795         Implement GstObject -> string transform so we print object names
7796         when serializing GValues containing GstObjects.
7797
7798 2007-02-28  Wim Taymans  <wim@fluendo.com>
7799
7800         * docs/gst/gstreamer-sections.txt:
7801         Add new stuff to docs.
7802
7803 2007-02-28  Wim Taymans  <wim@fluendo.com>
7804
7805         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
7806         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
7807         (gst_base_sink_change_state):
7808         Improve latency query code.
7809         Don't leak latency events.
7810
7811         * tests/check/gst/gstbin.c: (GST_START_TEST):
7812         Improve debugging.
7813
7814 2007-02-28  Wim Taymans  <wim@fluendo.com>
7815
7816         * gst/gstelement.c: (gst_element_message_full),
7817         (gst_element_get_state_func):
7818         * gst/gstelement.h:
7819         Improve docs a little. Added Since: for new macro.
7820
7821         * gst/gstobject.c: (gst_object_sink):
7822         * gst/gstpipeline.c: (gst_pipeline_change_state),
7823         (gst_pipeline_set_new_stream_time):
7824         * gst/gstpipeline.h:
7825         Improve debugging and docs.
7826
7827         * gst/gstutils.c: (gst_element_state_change_return_get_name):
7828         Improve debugging.
7829
7830 2007-02-28  Wim Taymans  <wim@fluendo.com>
7831
7832         * gst/gstelement.c: (gst_element_message_full),
7833         (gst_element_set_locked_state), (gst_element_get_state_func),
7834         (gst_element_change_state):
7835         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
7836         Documentation updates.
7837         Small code cleanups.
7838
7839         * gst/gstmessage.c: (gst_message_new_info),
7840         (gst_message_parse_info):
7841         * gst/gstmessage.h:
7842         API: gst_message_new_info()
7843         API: gst_message_parse_info()
7844         Add INFO message create and parse code.
7845
7846 2007-02-28  Wim Taymans  <wim@fluendo.com>
7847
7848         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
7849         (bin_query_latency_done):
7850         Also report the live parameter of a latency query.
7851
7852 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7853
7854         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
7855           Copy the current generic/states example from -base and adapt so
7856           we can use the exact same code everywhere.
7857           Check a STATES_IGNORE_ELEMENTS env var which can be used
7858           to ignore certain element factories for this test, which is
7859           what is being done in -base
7860         * tests/check/Makefile.am:
7861           Mention this environment variable.
7862
7863 2007-02-27  Wim Taymans  <wim@fluendo.com>
7864
7865         * docs/gst/gstreamer-sections.txt:
7866         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7867         (gst_bus_timed_pop), (gst_bus_pop):
7868         * gst/gstbus.h:
7869         API: gst_bus_timed_pop()
7870         Implement gst_bus_timed_pop() to do a blocking timed wait for a
7871         message to arrive on the bus.
7872
7873         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
7874         (gst_bus_suite):
7875         Two unit tests for new _timed_pop() function.
7876
7877 2007-02-23  Wim Taymans  <wim@fluendo.com>
7878
7879         * gst/gstpipeline.c: (gst_pipeline_change_state),
7880         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
7881         Don't ref a NULL clock in _provide_clock_func().
7882         Don't allow an INVALID delay.
7883         Don't try to calculate base_time with an invalid start_time.
7884         Also distribute and notify a NULL clock when it was selected.
7885
7886         * tools/gst-launch.c: (event_loop):
7887         Don't crash when a NULL clock was selected in the pipeline.
7888
7889 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
7890
7891         * docs/design/Makefile.am:
7892         * docs/design/draft-missing-plugins.txt:
7893         * docs/random/draft-missing-plugins.txt:
7894           Some small updates: update plugin system identifier prefix
7895           ('gstreamer.net' to 'gstreamer'), mention our new install
7896           API in libgstbaseutils rather than libgimme-codec, add
7897           reference to the online docs.
7898
7899 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7900
7901         * win32/common/config.h:
7902           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
7903           use moap cl ci to only check in what is mentioned in the ChangeLog.
7904
7905 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7906
7907         * docs/gst/gstreamer-sections.txt:
7908         * gst/gstelement.h:
7909           Fix up documentation to link to the correct GstGError section.
7910           Add GST_ELEMENT_INFO macro since someone else added a Info message.
7911
7912 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7913
7914         * tools/gst-launch.c: (event_loop):
7915           Make sure that we actually show the important message part of a
7916           warning message.
7917           No need to check if the gerror is not NULL to free; first of all
7918           g_free accepts NULL; and second the default error handler would
7919           segfault if gerror was NULL.
7920
7921 2007-02-21  Wim Taymans  <wim@fluendo.com>
7922
7923         * docs/gst/gstreamer-sections.txt:
7924         Removed docs as well.
7925
7926 2007-02-21  Wim Taymans  <wim@fluendo.com>
7927
7928         * gst/gstmessage.c: (gst_message_parse_duration):
7929         * gst/gstmessage.h:
7930         Remove new messages for release.
7931
7932 2007-02-20  Wim Taymans  <wim@fluendo.com>
7933
7934         * docs/design/part-gstghostpad.txt:
7935         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
7936         (gst_ghost_pad_new_full):
7937         Make the ghostpad a parent of the internal pad again for better backward
7938         compatibility. Don't write code that relies on this however.
7939
7940         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7941         (gst_pad_link_check_hierarchy):
7942         Require that parents should be GstElements in the hierarchy check.
7943
7944 2007-02-20  Wim Taymans  <wim@fluendo.com>
7945
7946         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
7947         (gst_bin_change_state_func), (bin_query_min_max_init),
7948         (bin_query_latency_fold), (bin_query_latency_done),
7949         (gst_bin_query):
7950         Improve debug info.
7951         Implement latency query.
7952
7953 2007-02-20  Wim Taymans  <wim@fluendo.com>
7954
7955         * docs/design/part-gstghostpad.txt:
7956         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
7957         (gst_ghost_pad_internal_do_activate_push),
7958         (gst_ghost_pad_internal_do_activate_pull),
7959         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7960         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
7961         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
7962         Do not set the internal pad as a parent anymore so we can avoid
7963         hierarchy linking errors when the ghostpad has no parent yet. This also
7964         fixes failed activation because of unlinked internal pads, which in
7965         turn fixes the impossible case where you have to activate a pad before
7966         you can add it to a running element.
7967         Also fix the docs.
7968
7969         * gst/gstpad.c: (pre_activate), (post_activate),
7970         (gst_pad_set_active), (gst_pad_activate_pull),
7971         (gst_pad_activate_push), (gst_pad_check_pull_range):
7972         Add some more debug info.
7973         Mark activation mode in pre_activate so that we don't try to activate in
7974         endless loops. Fixes #385084.
7975
7976 2007-02-19  Wim Taymans  <wim@fluendo.com>
7977
7978         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
7979         (gst_base_transform_check_get_range):
7980         Implement a checkgetrange function instead of relying on the default
7981         core behaviour that assumes we can operate in pull mode if we have a
7982         getrange function. First step at fixing #385084.
7983
7984 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
7985
7986         * gst/gstchildproxy.h:
7987         * libs/gst/base/gstbasesink.h:
7988         * libs/gst/base/gstbasesrc.h:
7989         * libs/gst/base/gstbasetransform.h:
7990         More docs coverage and some ChangeLog surgery (add missing names)
7991
7992 2007-02-15  Wim Taymans  <wim@fluendo.com>
7993
7994         * docs/design/part-TODO.txt:
7995         * docs/design/part-activation.txt:
7996         * docs/design/part-block.txt:
7997         * docs/design/part-buffering.txt:
7998         * docs/design/part-clocks.txt:
7999         * docs/design/part-element-source.txt:
8000         * docs/design/part-events.txt:
8001         * docs/design/part-gstbin.txt:
8002         * docs/design/part-gstbus.txt:
8003         * docs/design/part-gstpipeline.txt:
8004         * docs/design/part-live-source.txt:
8005         * docs/design/part-messages.txt:
8006         * docs/design/part-overview.txt:
8007         * docs/design/part-qos.txt:
8008         * docs/design/part-query.txt:
8009         * docs/design/part-states.txt:
8010         * docs/design/part-trickmodes.txt:
8011         Some doc updates. Start renaming from stream_time to running_time where
8012         it was used wrongly.
8013
8014 2007-02-15  Wim Taymans  <wim@fluendo.com>
8015
8016         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
8017         Answer LATENCY query.
8018
8019 2007-02-15  Wim Taymans  <wim@fluendo.com>
8020
8021         * tests/check/gst/gstevent.c: (event_probe), (test_event),
8022         (GST_START_TEST):
8023         Improve debugging.
8024
8025 2007-02-15  Wim Taymans  <wim@fluendo.com>
8026
8027         * gst/gstpad.c: (gst_pad_get_internal_links_default),
8028         (gst_pad_dispatcher):
8029         Improve debugging of default pad dispatcher and query functions.
8030
8031 2007-02-15  Wim Taymans  <wim@fluendo.com>
8032
8033         * docs/gst/gstreamer-sections.txt:
8034         Remove old unused method.
8035
8036 2007-02-13  Wim Taymans  <wim@fluendo.com>
8037
8038         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8039         Fix check
8040
8041 2007-02-13  Wim Taymans  <wim@fluendo.com>
8042
8043         * docs/design/part-seeking.txt:
8044         Some small update.
8045
8046         * gst/gstsegment.c: (gst_segment_set_seek):
8047         Revert old bogus change that should make seeking work again.
8048
8049 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
8050
8051         * docs/random/ensonic/dynlink.txt:
8052         * docs/random/ensonic/interfaces.txt:
8053         * docs/random/ensonic/receipies.txt:
8054           Possible dynamic reconnection api, plus some type fixes the other two
8055           docs.
8056
8057 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
8058
8059         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8060         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8061         Also check for an absolute path following file:// in the filesrc
8062         element. Remove redundant check and call g_path_is_absolute() on the
8063         unescaped location.
8064
8065 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
8066
8067         * docs/design/draft-klass.txt:
8068           Add existing category analysis.
8069           
8070         * gst/gstcaps.c:
8071           Fix doc example, framerate is a fraction.
8072
8073 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
8074
8075         * configure.ac:
8076         * docs/gst/Makefile.am:
8077         * docs/gst/gstreamer-sections.txt:
8078         * docs/libs/Makefile.am:
8079           Erm, forgot a bunch of --extra-dir.
8080
8081 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
8082
8083         * configure.ac:
8084         * docs/gst/Makefile.am:
8085         * docs/libs/Makefile.am:
8086         * docs/plugins/Makefile.am:
8087           Add crossreferences to glib/gobject docs.
8088
8089 2007-02-12  Wim Taymans  <wim@fluendo.com>
8090
8091         * docs/design/draft-latency.txt:
8092         Small update.
8093
8094         * docs/libs/gstreamer-libs-sections.txt:
8095         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8096         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
8097         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
8098         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
8099         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
8100         (gst_base_sink_get_position), (gst_base_sink_query),
8101         (gst_base_sink_change_state):
8102         * libs/gst/base/gstbasesink.h:
8103         API: gst_base_sink_query_latency() to let subclasses query the upstream
8104         latency.
8105         API: gst_base_sink_get_latency() to let subclasses query the configured
8106         latency in the sink.
8107         Implement query and set latency.
8108         Update some docs.
8109         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
8110         don't continue preroll when we are flushing. Fixes #405284.
8111
8112         * tests/check/pipelines/stress.c: (change_state_timeout),
8113         (quit_timeout), (GST_START_TEST), (stress_suite):
8114         Test for #405284.
8115
8116 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
8117
8118         Patch by: René Stadler <mail at renestadler de>
8119
8120         * docs/gst/gstreamer-sections.txt:
8121         * gst/gsttaglist.c: (_gst_tag_initialize):
8122         * gst/gsttaglist.h:
8123           API: add GST_TAG_REFERENCE_LEVEL (#403597).
8124
8125 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
8126
8127         * docs/libs/Makefile.am:
8128           Fix path to core docs.
8129
8130         * gst/gstbin.c: (gst_bin_get_by_interface),
8131         (gst_bin_iterate_all_by_interface):
8132           Refix docs by also renaming 'interface' to 'iface' in implementation.
8133
8134         * docs/gst/gstreamer-sections.txt:
8135         * gst/gstcaps.c:
8136         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
8137         * gst/gstchildproxy.h:
8138         * gst/gstelementfactory.c:
8139         * gst/gstpadtemplate.h:
8140         * libs/gst/controller/gstcontroller.c:
8141         (gst_controlled_property_new):
8142           Document more.
8143
8144 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
8145
8146         * gst/gstbin.h:(gst_bin_get_by_interface),
8147         (gst_bin_iterate_all_by_interface):
8148         Replace interface parameter name by iface as interface is 
8149         a reserved keyword in Visual Studio for C++ projects so it removes
8150         a build error for application developpers using VS.
8151         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
8152         Fix a bug on Windows in uri format check. Now the prefix checked
8153         is file:// and next we check if the path after file:// is absolute.
8154         * win32/common/libgstbase.def:
8155         * win32/common/libgstdataprotocol.def:
8156         * win32/common/libgstgstreamer.def:
8157         Add new exported functions.
8158
8159 2007-02-09  Andy Wingo  <wingo@pobox.com>
8160
8161         * tests/check/pipelines/simple-launch-lines.c
8162         (simple_launch_lines_suite, test_tee): Disable tee test until I
8163         have time to fix it :-(
8164
8165         * tests/check/Makefile.am (noinst_HEADERS): 
8166         * tests/check/libs/libsabi.c: 
8167         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
8168         * tests/check/gst/gstabi.c: 
8169         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
8170
8171         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
8172         tests for push and pull tee behavior.
8173
8174         * plugins/elements/gsttee.h: 
8175         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
8176         mark as deprecated as well as unimplemented. It was a crack idea.
8177         Add support for tee operating in pull mode, off by default.
8178
8179         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
8180         normal-case logs down to LOG, raise errors to WARNING.
8181         (gst_registry_xml_read_cache): Don't log before calling a function
8182         that logs.
8183
8184         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
8185         exit (registry finalize).
8186         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
8187         DEBUG log when we emit signals that people don't even have the
8188         chance to connect to.
8189         (gst_registry_scan_path_level): Less logging in the normal case.
8190
8191 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
8192
8193         Patch by: Michal Benes <michal dot benes at itonis dot tv>
8194
8195         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8196         Correctly generate EOS for non-seekable files. We don't have a total
8197         length for them and would get an unexpected end of file if we only
8198         special-cased for regular files. (Fixes: #404569)
8199
8200 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
8201
8202         * tests/check/elements/filesrc.c: (GST_START_TEST),
8203         (filesrc_suite):
8204         Add unit test for the GstURIHandler interface in filesrc. This also
8205         tests the newly added file://localhost/foo/bar support.
8206
8207 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8208
8209         * gst/gstelementfactory.h:
8210           The klass string is not a hierarchy. Add reference to the design doc
8211           for more information and common types.
8212
8213 2007-02-02  Wim Taymans  <wim@fluendo.com>
8214
8215         * gst/gstquery.c: (gst_query_new_latency):
8216         Remove old structure field.
8217
8218 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
8219
8220         * tools/gst-launch.1.in:
8221           Give example for network streaming (#351998)
8222
8223 2007-02-02  Wim Taymans  <wim@fluendo.com>
8224
8225         * docs/gst/gstreamer-sections.txt:
8226         Add docs for new methods.
8227
8228         * gst/gstevent.c: (gst_event_new_latency),
8229         (gst_event_parse_latency):
8230         * gst/gstevent.h:
8231         Add new LATENCY event to configure latency in a pipeline.
8232         API: gst_event_new_latency
8233         API: gst_event_parse_latency
8234
8235         * gst/gstmessage.c: (gst_message_new_buffering),
8236         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
8237         (gst_message_new_latency), (gst_message_parse_buffering),
8238         (gst_message_parse_lost_preroll):
8239         * gst/gstmessage.h:
8240         Added messages used in draft-latency.
8241         API: gst_message_new_lost_preroll
8242         API: gst_message_parse_lost_preroll
8243         API: gst_message_new_prerolled
8244         API: gst_message_new_latency
8245
8246         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
8247         (gst_query_parse_latency):
8248         * gst/gstquery.h:
8249         Implemented new latency query as in design doc.
8250         API: gst_query_new_latency
8251         API: gst_query_set_latency
8252         API: gst_query_parse_latency
8253
8254 2007-02-02  Wim Taymans  <wim@fluendo.com>
8255
8256         * docs/design/draft-latency.txt:
8257         Slight redesign to allow for dynamic latency adjustments.
8258
8259         * docs/design/part-negotiation.txt:
8260         Fix some typos.
8261
8262 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
8263
8264         reviewed by: Wim Taymans <wim@fluendo.com>
8265
8266         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8267         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8268         Allow file://localhost/foo/bar URLs and correctly fail for every other
8269         hostname that one sets. This was gnomevfssrc is linked for those if
8270         installed as it can handle it (#403172)
8271
8272 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
8273
8274         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8275
8276         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8277         (unref_data), (gst_collect_pads_add_pad_full):
8278         * libs/gst/base/gstcollectpads.h:
8279         Don't put the previously added destroy notify in the GstCollectData
8280         struct as all it's padding is already used and we don't want to break
8281         ABI. Instead put in the pad's GObject data for now. This should be
8282         cleaned up for 0.11 (#402393).
8283
8284 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
8285
8286         reviewed by: Wim Taymans <wim@fluendo.com>
8287
8288         * docs/libs/gstreamer-libs-sections.txt:
8289         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8290         (unref_data), (gst_collect_pads_add_pad),
8291         (gst_collect_pads_add_pad_full):
8292         * libs/gst/base/gstcollectpads.h:
8293         API: Add function to specify a destroy notification for custom
8294         GstCollectData when adding new pads in GstCollectPads (#402393).
8295
8296 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
8297
8298         * po/sv.po:
8299           Update Swedish translation (#378255).
8300
8301 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
8302
8303         * docs/design/draft-klass.txt:
8304           Fix the previous change, this is a list of categories and not a hierarchy.
8305
8306 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
8307
8308         * docs/design/draft-klass.txt:
8309           Add info about how to get a list of used classes.
8310
8311 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
8312
8313         * plugins/elements/gsttypefindelement.c:
8314         (gst_type_find_element_chain_do_typefinding),
8315         (gst_type_find_element_change_state):
8316           Don't leak found caps in chain function (no idea why that never
8317           showed up as a leak anywhere).
8318
8319 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
8320
8321         * gst/gstplugin.h:
8322           Fix and expand GstPluginDesc API docs.
8323
8324 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8325
8326         * gst/gstcaps.c:
8327         * gst/gstelementfactory.c:
8328         * gst/gstpadtemplate.h:
8329           api doc fixes
8330
8331         * libs/gst/controller/gstcontroller.c:
8332         (gst_controlled_property_new):
8333         * tests/examples/controller/audio-example.c:
8334           comment fixes
8335
8336 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8337
8338         * configure.ac:
8339           comment about refining the xml deps
8340
8341         * docs/manuals.mak:
8342           comments about moving away from jade for docs
8343         
8344         * gst/gst.c:
8345           recommit the ifdefs to use the binary registry
8346         
8347         * gst/gstbin.c: (gst_bin_change_state_func):
8348           this break is obsolete
8349
8350         * gst/gstelementfactory.h:
8351           better GST_ELEMENT_DETAILS docs, add comment about translation
8352
8353         * gst/gstinfo.h:
8354           remove eol slash
8355
8356         * gst/gstobject.c: (gst_signal_object_get_type):
8357           add G_UNLIKELY as usual
8358
8359         * gst/gstpad.c: (gst_pad_event_default):
8360           add fall trhu comment
8361
8362         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8363         (gst_registry_binary_initialize_magic),
8364         (gst_registry_binary_save_string),
8365         (gst_registry_binary_save_pad_template),
8366         (gst_registry_binary_save_feature),
8367         (gst_registry_binary_save_plugin),
8368         (gst_registry_binary_write_cache),
8369         (gst_registry_binary_check_magic),
8370         (gst_registry_binary_load_pad_template),
8371         (gst_registry_binary_load_feature),
8372         (gst_registry_binary_load_plugin),
8373         (gst_registry_binary_read_cache):
8374           comment typo and formatting
8375
8376         * gst/gstutils.c: (gst_element_state_get_name),
8377         (gst_element_state_change_return_get_name):
8378           remove obsolete breaks
8379
8380         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8381           add FIXME 0.11 and remove cpp comment
8382
8383 2007-01-29  Edward Hervey  <edward@fluendo.com>
8384
8385         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8386         Fix print statement in an even more portable way.
8387
8388 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
8389
8390         * docs/gst/gstreamer-sections.txt:
8391         * gst/gstutils.h:
8392           API: add GST_ROUND_DOWN_* macros (#401781).
8393
8394 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
8395
8396         * docs/gst/gstreamer.types.in:
8397         * gst/gstregistry.c: (gst_registry_class_init):
8398           Document registry signals and make gtk-doc pick them up (#401381).
8399
8400 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8401
8402         * docs/pwg/building-testapp.xml:
8403           Add some audioconverts and audioresample to the pipeline, and some
8404           more comments and error handling.
8405
8406 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8407
8408         * docs/manual/manual.xml:
8409         * docs/pwg/pwg.xml:
8410           Fix typo (#400987).
8411
8412 2007-01-26  Wim Taymans  <wim@fluendo.com>
8413
8414         * gst/gstcaps.c: (gst_static_caps_get):
8415         Init caps flags too.
8416
8417 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
8418
8419         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8420
8421         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8422         If not using mmap'ed files try to seek to the end instead of the
8423         start to determine whether we can seek at all. This fixes the case
8424         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8425         seeks for everything afterwards fail. Fixes #400656
8426
8427 2007-01-25  Wim Taymans  <wim@fluendo.com>
8428
8429         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8430         Add some refcount debugging.
8431         Make gst_static_caps_get threadsafe, which is needed when autoplugging
8432         in multiple streaming threads.
8433
8434 2007-01-25  Wim Taymans  <wim@fluendo.com>
8435
8436         Patch by: David Schleef <ds at schleef dot org>
8437
8438         * docs/libs/gstreamer-libs-sections.txt:
8439         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8440         * libs/gst/base/gstadapter.h:
8441         API: gst_adapter_copy() that can reduce the amount of memcpy when
8442         getting data from the adapter. Fixes #388201.
8443
8444 2007-01-25  Edward Hervey  <edward@fluendo.com>
8445
8446         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8447         In print statements, "%x" is for guint. Fixes build on macosx.
8448
8449 2007-01-24  Edward Hervey  <edward@fluendo.com>
8450
8451         * plugins/elements/gstmultiqueue.c:
8452         (gst_multi_queue_loop):
8453         Small fix.
8454         (single_queue_overrun_cb), (single_queue_underrun_cb),
8455         (single_queue_check_full), (gst_single_queue_new):
8456         Implement single queue growth system.
8457         This uses the extra-size properties, and will grow single queues by
8458         that much if one goes full whereas there are others empty. This is
8459         called extra-mode in the code.
8460         When a single queue's levels go back below the initial max-size
8461         limits, it is no longer in extra-mode. This is to ensure we don't
8462         consume too much memory.
8463         Fixes #399875
8464
8465 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
8466
8467         * gst/gst.c: (gst_init_get_option_group):
8468           Make warning about late g_thread_init() calls a bit more explicit,
8469           so that it's more obvious to application developers what they need
8470           to do if a user files a bug against their application.
8471
8472 2007-01-22  Edward Hervey  <edward@fluendo.com>
8473
8474         * plugins/elements/gstmultiqueue.c:
8475         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8476         Remove previous hack of unsetting the flushing flag for the source pad
8477         instead of activating it. Instead, fix the source pad activate function
8478         so that it no longer depends on having a parent set or not.
8479
8480 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
8481
8482         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8483
8484         * docs/manual/basics-bus.xml:
8485           Fix example code, gst_element_unref() doesn't exist any longer.
8486
8487 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
8488
8489         Patch by: Mark Nauwelaerts <manauw at skynet be>
8490
8491         * gst/gstpad.c:
8492           Fix two docs typoes (#399094).
8493
8494 2007-01-19  Edward Hervey  <edward@fluendo.com>
8495
8496         * docs/faq/gst-uninstalled:
8497         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8498         depending on libgstbaseutils can work in uninstalled environment.
8499
8500 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
8501
8502         * gst/gsttaglist.h:
8503         * gst/gsttagsetter.c:
8504         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8505         statement for new tag.
8506
8507 2007-01-17  Edward Hervey  <edward@fluendo.com>
8508
8509         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8510         When dynamically creating single queues, activate sinkpad before adding
8511         it.
8512         We should be doing the same thing for the source pad, but we can't
8513         since it would call a method which needs the parent to be set in order
8514         to work propertly. Instead of activating the source pad, we just unset
8515         the flushing flag, which is the minimal requirement for adding a pad
8516         to an element in a state greater than READY.
8517
8518 2007-01-17  Edward Hervey  <edward@fluendo.com>
8519
8520         * docs/faq/gst-uninstalled:
8521         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8522         Mac OS X.
8523
8524 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
8525
8526         * tests/check/gst/gstabi.c:
8527         * tests/check/gst/struct_hppa.h:
8528         * tests/check/libs/libsabi.c:
8529         * tests/check/libs/struct_hppa.h:
8530           Add ABI structs for HPPA (see #393796).
8531
8532 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
8533
8534         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8535           Actually write ABI structs to the file specified in the GST_ABI
8536           environment variable, as the message we print claims we would.
8537
8538 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8539
8540         * tests/check/gst/gsttask.c:
8541           Fix header comment.
8542
8543 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8544
8545         * gst/gsttaglist.c: (_gst_tag_initialize):
8546           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8547           previous two entries.
8548
8549 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8550
8551         * docs/gst/gstreamer-sections.txt:
8552         * gst/gsttaglist.c: (_gst_tag_initialize):
8553         * gst/gsttaglist.h:
8554           Add tag support for beat-per-minute.
8555
8556 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8557
8558         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8559         (gst_registry_binary_initialize_magic),
8560         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8561         (gst_registry_binary_save_pad_template),
8562         (gst_registry_binary_save_feature),
8563         (gst_registry_binary_save_plugin),
8564         (gst_registry_binary_write_cache),
8565         (gst_registry_binary_check_magic),
8566         (gst_registry_binary_load_pad_template),
8567         (gst_registry_binary_load_feature),
8568         (gst_registry_binary_load_plugin),
8569         (gst_registry_binary_read_cache):
8570         * gst/gstregistrybinary.h:
8571           Use glib types, cleanup comments, impement interfaces and uri-types.
8572
8573 2007-01-13  Andy Wingo  <wingo@pobox.com>
8574
8575         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
8576         getrange() to return buffers with other caps, while we fix
8577         demuxers and typefind, or otherwise change part-negotiation.txt.
8578
8579 2007-01-12  Andy Wingo  <wingo@pobox.com>
8580
8581         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
8582         Factor start/stop into this private function instead of partially
8583         in activate functions and partially in the change_state function.
8584         Fixes setup before the element has changed from READY->PAUSED, as
8585         is the case in pull-mode pipelines.
8586         (gst_base_transform_sink_activate_push)
8587         (gst_base_transform_src_activate_pull): Refactor to use
8588         gst_base_transform_activate().
8589         (gst_base_transform_change_state): Removed, not needed any more.
8590
8591         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8592         Truncate before fixating.
8593         
8594         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8595         Don't set_caps() if the result of fixating is ANY, as it's not
8596         supported, and not necessary in the case of a link with no
8597         template caps on either side. Fixes tests/check/libs/basesrc in
8598         some pull-mode tests.
8599
8600         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
8601         (gst_base_transform_init, gst_base_transform_sink_activate_push)
8602         (gst_base_transform_src_activate_pull): 
8603         Track the activation mode.
8604         (gst_base_transform_setcaps): In pull mode, when activating the
8605         src pad, after activating the sink pad, activate the sink pad's
8606         peer, as discussed in part-negotiation.txt.
8607
8608         * libs/gst/base/gstbasesrc.h: 
8609         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
8610         vmethod, as in basesink.
8611
8612         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
8613
8614         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
8615         mode, first proxy the setcaps to the peer pad.
8616         (gst_base_sink_pad_fixate): Add a fixate function that calls the
8617         new fixate vmethod.
8618         (gst_base_sink_default_activate_pull): Rename from
8619         gst_base_sink_activate_pull.
8620         (gst_base_sink_negotiate_pull): New function, performs negotiation
8621         in pull mode before calling ::activate_pull().
8622         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
8623         vmethod instead of the default implementation. I have no idea how
8624         this worked before. Negotiate before calling activate_pull.
8625
8626         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
8627         sink pads in pull mode. In addition to being correct, fixes
8628         filesrc ! decodebin ! identity ! fakesink.
8629         (gst_pad_get_range, gst_pad_pull_range): Don't call
8630         gst_pad_set_caps() if the caps changes; instead error out with
8631         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
8632
8633 2007-01-12  Andy Wingo  <wingo@pobox.com>
8634
8635         * docs/design/part-negotiation.txt: Update with more policy.
8636
8637 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8638
8639         * libs/gst/check/gstbufferstraw.h:
8640         * libs/gst/check/gstcheck.h:
8641           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
8642           belongs.
8643
8644 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8645
8646         * tests/check/Makefile.am:
8647         * tests/check/gst/.cvsignore:
8648         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
8649         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
8650         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
8651         (GST_START_TEST), (gst_tag_setter_suite):
8652           Add minimal unit test for beforementioned GstTagSetter bug.
8653
8654 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8655
8656         Patch by: René Stadler <mail at renestadler dot de>
8657
8658         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
8659           gst_tag_list_merge() returns a new list, so it's not the best idea
8660           to ingore its return value. Effectively meant that tags could only
8661           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
8662           Also add function guard to require a non-NULL taglist as input (has
8663           always been so due to gst_tag_list_copy(), just making it explicit).
8664
8665 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8666
8667         * docs/random/draft-missing-plugins.txt:
8668           Some additions: mention new API that is supposed to be used at the
8669           various stages; short blob about new gst-inspect introspection
8670           option; mention potential future problem with plugins that have
8671           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
8672
8673 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8674
8675         * tools/gst-inspect.c:
8676         (print_plugin_automatic_install_info_codecs),
8677         (print_plugin_automatic_install_info_protocols),
8678         (print_plugin_automatic_install_info), (main):
8679         Add --print-plugin-auto-install-info option to gst-inspect, so we can
8680         introspect plugin files and get machine-parsable output that corresponds
8681         to the last bit of the missing-plugin installer string (small gotcha:
8682         doesn't take into account ranks).
8683
8684 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
8685
8686         * configure.ac:
8687         * docs/gst/gstreamer-sections.txt:
8688         * gst/Makefile.am:
8689         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
8690         (gst_registry_lookup_locked):
8691         * gst/gstregistry.h:
8692         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8693         (gst_registry_binary_initialize_magic),
8694         (gst_registry_binary_save_string),
8695         (gst_registry_binary_save_pad_template),
8696         (gst_registry_binary_save_feature),
8697         (gst_registry_binary_save_plugin),
8698         (gst_registry_binary_write_cache),
8699         (gst_registry_binary_check_magic),
8700         (gst_registry_binary_load_pad_template),
8701         (gst_registry_binary_load_feature),
8702         (gst_registry_binary_load_plugin),
8703         (gst_registry_binary_read_cache):
8704         * gst/gstregistrybinary.h:
8705         * gst/gstregistryxml.c: (load_feature),
8706         (gst_registry_xml_read_cache):
8707           commit binary registry (disabled by default, see #359653)
8708
8709 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8710
8711         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
8712           Fix 'make check' too.
8713
8714 2007-01-10  Andy Wingo  <wingo@pobox.com>
8715
8716         * docs/design/part-negotiation.txt: Fix a typo, add a couple
8717         notes.
8718         
8719         * docs/design/part-negotiation.txt: Update with, um, one way that
8720         pull-mode negotiation might work?
8721
8722         * gst/gstpad.h: 
8723         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
8724         that the pad must be a src pad; makes sense to call it the other
8725         way in pull mode, and the logic is symmetric anyway.
8726
8727 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
8728
8729         * plugins/elements/gstfilesink.c:
8730           Include <stdio.h> for fseeko().
8731
8732 2007-01-10  Wim Taymans  <wim@fluendo.com>
8733
8734         * gst/gstevent.c:
8735         * gst/gstevent.h:
8736         Reserve LATENCY event.
8737
8738 2007-01-09  Wim Taymans  <wim@fluendo.com>
8739
8740         * docs/design/draft-latency.txt:
8741         Updates.
8742
8743 2007-01-09  Wim Taymans  <wim@fluendo.com>
8744
8745         * docs/design/draft-latency.txt:
8746         Updates.
8747
8748         * gst/gstelement.h:
8749         * gst/gststructure.c:
8750         * gst/gsttrace.c:
8751         Small typo fixes.
8752
8753 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
8754
8755         * tests/check/.cvsignore:
8756           Ignore test-registry.xml as well.
8757
8758 2007-01-09  Wim Taymans  <wim@fluendo.com>
8759
8760         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8761         unref data at the end when we are done with the pad.
8762
8763 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
8764
8765         * docs/gst/gstreamer-sections.txt:
8766         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
8767         (init_post), (gst_deinit), (gst_update_registry):
8768         * gst/gst.h:
8769           API: add gst_update_registry() (#391296).
8770
8771         * tests/check/Makefile.am:
8772         * tests/check/gst/gstregistry.c:
8773         * tests/check/gst/.cvsignore:
8774           Simple unit test for the above.
8775
8776 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
8777
8778         * gst/gstregistry.c: (gst_registry_scan_path_level):
8779           Plugin extension on HP-UX is .sl, add that to the list of approved
8780           plugin extensions (see #393796).
8781
8782         * tests/check/gst/gstpad.c: (GST_START_TEST):
8783           ulong => gulong. Fixes compilation with HP-UX compiler.
8784
8785         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8786           Fix compilation if valgrind headers are not available.
8787
8788 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
8789
8790         * win32/common/libgstreamer.def: 
8791           Add new exported function.
8792         * win32/vs6/libgstbase.dsp: 
8793           Add gstdataqueue.c to the build.
8794         * win32/vs6/libgstcoreelements.dsp:
8795           Add gstmultiqueue.c to the build.
8796         
8797 2007-01-06  Andy Wingo  <wingo@pobox.com>
8798
8799         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
8800         activate_pull(), providing for a way to specialize the process of
8801         spawning a thread to pull on the sink pad. There is a default
8802         implementation.
8803
8804         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
8805         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
8806         (gst_base_sink_init): Renamed pad activation functions (inserting
8807         "_pad" in their names). Refactor to use the new activate_pull
8808         vmethod, as appropriate.
8809         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
8810         default activate_pull function to start a task pulling from the
8811         sink pad, as before.
8812
8813         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
8814         on the pads if necessary, as in push()/chain(). Update docs.
8815         Shouldn't affect existing pull() usage as it is currently only
8816         being used on buffers without caps.
8817
8818 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8819
8820         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8821         (init_pre):
8822           Call g_thread_init() first thing in gst_init() / gst_check_init().
8823           When initialisation is done via gst_init_get_option_group() and
8824           GOption parsing, issue a warning if the GLib thread system has not
8825           been initialised yet by the time gst_init_get_option_group() is
8826           called, as it's quite likely other GLib functions such as
8827           g_option_context_new() have been called already then, and
8828           g_thread_init() must be called before any other GLib function. The
8829           application in question must be fixed in that case, since memory
8830           corruption might happen otherwise.
8831           We issue the warning because even if the GLib folks decide to work
8832           around the problem on their end in future, this is still an issue
8833           with all GLib versions >= 2.10.0, so we should warn until we depend
8834           on a GLib version we know to be safe.
8835           Update documentation as well.
8836           Closes bug #391278.
8837
8838 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8839
8840         * tools/gst-inspect.c: (main):
8841         * tools/gst-launch.c: (main):
8842         * tools/gst-typefind.c: (main):
8843         * tools/gst-xmlinspect.c: (main):
8844           Call g_thread_init() really really early, before any other GLib
8845           function (see #342564 and recent discussion on gtk-devel-list).
8846
8847 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8848
8849         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
8850
8851         * gst/gst_private.h:
8852         * gst/gstconfig.h.in:
8853         * gst/gstinfo.h:
8854           On win32, all the __declspec stuff for symbol exporting is
8855           apparently only needed with MSVC, but doesn't work with MingW.
8856           Fixes compilation with MingW and #391909.
8857
8858 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8859
8860         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
8861           Change some GST_ERROR_OBJECT that aren't really errors to
8862           GST_WARNING_OBJECT in order to reduce terminal spam.
8863
8864 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
8865
8866         * tests/check/Makefile.am:
8867           disable test again, as there seem to be still race problems
8868
8869 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
8870
8871         * tests/check/Makefile.am:
8872         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8873         (GST_START_TEST), (queue_suite):
8874           enable queue test again, add tests for the leaky behaviour
8875
8876 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
8877
8878         * configure.ac:
8879         * tests/examples/Makefile.am:
8880           Compile adapter test/example only if the required headers are
8881           available (fixes #391915).
8882
8883 2007-01-01  David Schleef  <ds@schleef.org>
8884
8885         * gst/gstplugin.c:
8886           Restore the previous signal handler for SIGSEGV instead of
8887           setting to default, since we may have stolen it away from
8888           someone.  (i.e., Mono)
8889
8890 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
8891
8892         * docs/random/draft-missing-plugins.txt:
8893           Some small additions and clarifications.
8894
8895 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
8896
8897         * gst/gstregistryxml.c: (gst_registry_save_escaped):
8898           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
8899           since that can lead to random memory corruptions and crashes
8900           (may or may not be related to #383244, #386711, and #386711).
8901
8902 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8903
8904         * tests/check/.cvsignore:
8905         * tests/check/Makefile.am:
8906           sync .cvsignome and CLEANFILES
8907
8908 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8909
8910         * tests/check/Makefile.am:
8911           fix distcheck
8912
8913 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8914
8915         * docs/design/part-states.txt:
8916           two tiny additional comments
8917         
8918         * gst/gststructure.c:
8919           doc fixing
8920
8921         * tests/check/Makefile.am:
8922         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8923         (GST_START_TEST):
8924           disable test for now, unless it gets fixed
8925
8926 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8927
8928         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8929         (GST_START_TEST):
8930           fix race in underrun test
8931
8932 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8933
8934         * tests/check/elements/.cvsignore:
8935           ignore more
8936
8937         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8938         (GST_START_TEST):
8939           try to narrow test failure
8940
8941 2006-12-21  David Schleef  <ds@schleef.org>
8942
8943         * plugins/elements/gstfakesrc.c:
8944           Use g_random_int_range(), since it produces better random
8945           numbers in a range than almost-correct floating point code.
8946
8947 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8948
8949         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
8950         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8951         (gst_check_teardown_sink_pad):
8952           do not automatically (de)activate pads
8953
8954         * tests/check/Makefile.am:
8955         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8956         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
8957           add new, yet simple tests for queue
8958
8959         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
8960         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
8961         * tests/check/elements/filesrc.c: (cleanup_filesrc),
8962         (GST_START_TEST):
8963         * tests/check/elements/identity.c: (cleanup_identity):
8964           consistent pad (de)activation
8965
8966 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
8967
8968         Patch by: Sebastian Dröge  <slomo ubuntu com>
8969
8970         * libs/gst/base/gstcollectpads.c:
8971           Fix two doc typos (#387866).
8972
8973 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
8974
8975         * docs/manual/advanced-dparams.xml:
8976           Fix typo (g_object_control_properties() doesn't exist).
8977
8978 2006-12-19  Edward Hervey  <edward@fluendo.com>
8979
8980         * gst/gstsegment.c: (gst_segment_set_seek):
8981         Fine tune the cases where the segment start/stop values are really
8982         updated.
8983         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8984         Add tests for the return values of gst_segment_set_seek().
8985
8986 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
8987
8988         * gst/gst.c:
8989           Docs typo fix.
8990
8991         * plugins/elements/gstqueue.c: (gst_queue_class_init),
8992         (gst_queue_init):
8993           Fix incorrect documentation and flesh it out a bit more.
8994           Set default values for the max properties on the GParamSpec as well,
8995           so it shows up correctly in gst-inspect.
8996
8997 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
8998
8999         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9000           Correct docs of queue, add more detail and crosslink it more.
9001
9002 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
9003
9004         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9005           Print additional debug info when the stream isn't perfectly
9006           timestamped; don't try to use invalid durations.
9007
9008 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
9009
9010         * docs/design/Makefile.am:
9011           Dist new design docs.
9012
9013 2006-12-16  Wim Taymans  <wim@fluendo.com>
9014
9015         Patch by: Sjoerd Simons <sjoerd at luon dot net>
9016
9017         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
9018         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9019         (gst_collect_pads_stop), (gst_collect_pads_event),
9020         (gst_collect_pads_chain):
9021         * libs/gst/base/gstcollectpads.h:
9022         Add refcounting to the collectpads data so we can track when it's safe
9023         to free the data. Fixes #383382.
9024
9025 2006-12-15  Wim Taymans  <wim@fluendo.com>
9026
9027         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
9028         (gst_collect_pads_remove_pad):
9029         Automatically activate/deactivate pads when they are added to a
9030         started/stoped collectpads.
9031
9032 2006-12-15  Wim Taymans  <wim@fluendo.com>
9033
9034         * gst/gstelement.c: (gst_element_add_pad):
9035         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
9036         * gst/gstpad.c: (gst_pad_init):
9037         Set pads to FLUSHING when they are created. Check, warn and fix when a
9038         demuxer adds an inactive pad to itself when running. Fixes #339326.
9039
9040 2006-12-15  Wim Taymans  <wim@fluendo.com>
9041
9042         * gst/gstelement.c: (gst_element_class_init),
9043         (gst_element_default_send_event), (gst_element_send_event),
9044         (gst_element_default_query), (gst_element_query):
9045         Expose default element send_event and query handling as vmethods that
9046         subclasses can chain up to.
9047
9048 2006-12-15  Wim Taymans  <wim@fluendo.com>
9049
9050         * gst/gstelement.c: (gst_element_set_state_func):
9051         Small documentation fixes.
9052
9053 2006-12-15  Wim Taymans  <wim@fluendo.com>
9054
9055         * docs/design/draft-latency.txt:
9056         Checked in draft for handling latency in pipelines.
9057
9058 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9059
9060         * Makefile.am:
9061         * gstreamer.doap:
9062         * gstreamer.spec.in:
9063           adding .doap file
9064
9065 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
9066
9067         * gst/gst.c: (init_pre), (init_post):
9068           init_pre() and init_post() might be called via our GOptionGroup or
9069           from gst_init(), and we should skip both of them if we've already
9070           been initialised, otherwise we will init some things twice or add
9071           two default log functions.
9072
9073 2006-12-13  Edward Hervey  <edward@fluendo.com>
9074
9075         * docs/manual/basics-bus.xml:
9076         No, gst_main_loop does not exist. Its g_main_loop.
9077         Discovered by somebody who abused the copy-paste technique of coding :)
9078
9079 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
9080
9081         * gst/gstghostpad.c:
9082           Log ghostpad debug stuff to the GST_PADS category as well rather
9083           than just to the default category.
9084
9085 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9086
9087         * configure.ac:
9088         * gst/gst.c: (init_pre):
9089           Add some basic system details such as OS and architecture
9090           to the debug output if possible, courtesy of uname().
9091
9092 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9093
9094         * docs/gst/running.xml:
9095           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
9096           environment variables.
9097
9098 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
9099
9100         * tests/check/gst/gstbin.c: (GST_START_TEST):
9101         It is acceptable to have a refcount of 2 or 3 at this point in the
9102         test, because the pipeline might be just posting its state_change
9103         message. The next line then waits for that message to appear using
9104         bus_poll, so that should be fine too.
9105
9106 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
9107
9108         * gst/gst.c: (ensure_current_registry_forking):
9109         Ignore EINTR when reading from the child registry pipe.
9110         Explicitly ignore the return value from close, since it makes no
9111         difference.
9112
9113         * gst/gstminiobject.c: (gst_mini_object_ref),
9114         (gst_mini_object_unref):
9115         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
9116
9117         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
9118         When removing cached plugins, remove their features too, so they're
9119         not visible after they've disappeared.
9120
9121         * gst/gstutils.c: (prepare_link_maybe_ghosting):
9122         In the unlikely case that we are linking pads with no parents, don't
9123         crash trying to get the non-existent parent bin.
9124
9125         * gst/parse/grammar.y:
9126         Output debug in the PIPELINE category
9127
9128 2005-03-08  Wim Taymans  <wim@fluendo.com>
9129
9130         Patch by: René Stadler <mail at renestadler dot de>
9131
9132         * gst/gstclock.c: (gst_clock_new_periodic_id):
9133         Reject invalid clock times for interval of periodic ids.
9134         Fixes ##383506.
9135
9136 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
9137
9138         * gst/gstelementfactory.c: (gst_element_factory_create):
9139         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9140         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9141         * tools/gst-inspect.c: (print_element_info):
9142         Fix refcounting of gst_plugin_feature_load to match the docs. 
9143         Fixes: #380129
9144
9145 2006-12-07  Wim Taymans  <wim@fluendo.com>
9146
9147         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
9148         (gst_base_sink_get_position):
9149         Improve debugging of events.
9150
9151 2006-12-07  Wim Taymans  <wim@fluendo.com>
9152
9153         Patch by: René Stadler <mail at renestadler dot de>
9154
9155         * gst/gstclock.c: (gst_clock_id_wait):
9156         Make period ids add the interval to the origial requested time instead
9157         of the possibly updated time which can be wrong when there are multiple
9158         waiters for the same id. Fixes #382592.
9159
9160         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
9161         (gst_system_clock_id_wait_jitter_unlocked),
9162         (gst_system_clock_id_wait_jitter):
9163         Fix restart in the async notify thread when an async entry is added to
9164         the front of the list. Fixes #381492. 
9165
9166         * tests/check/gst/gstsystemclock.c: (store_callback),
9167         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
9168         Added test for multiple async waits.
9169         Added test for async wait order.
9170
9171 2006-12-07  Wim Taymans  <wim@fluendo.com>
9172
9173         * gst/gstbin.c: (gst_bin_query):
9174         Add some more docs about the POSITION query.
9175
9176 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
9177
9178         * configure.ac:
9179         Bump version nano - back to CVS.
9180
9181 === release 0.10.11 ===
9182
9183 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
9184
9185         * configure.ac:
9186           releasing 0.10.11, "Love never runs on time"
9187
9188 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
9189
9190         * win32/common/libgstbase.def:
9191         * win32/common/libgstreamer.def:
9192         * win32/vs8/libgstbase.vcproj:
9193         * win32/vs8/libgstcoreelements.vcproj:
9194         * win32/vs8/libgstreamer.vcproj:
9195         Fix compilation on win32 under VS8
9196         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9197         Partially fixes #381175
9198
9199 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
9200
9201         * gst/gstvalue.c: (gst_value_compare_fraction):
9202         If someone is foolish enough to compare 2 fractions with denominator =
9203         0, return UNORDERED rather than aborting.
9204
9205 2006-11-28  Edward Hervey  <edward@fluendo.com>
9206
9207         * libs/gst/base/Makefile.am:
9208         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
9209         (gst_data_queue_base_init), (gst_data_queue_class_init),
9210         (gst_data_queue_init), (gst_data_queue_new),
9211         (gst_data_queue_cleanup), (gst_data_queue_finalize),
9212         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
9213         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
9214         (gst_data_queue_is_empty), (gst_data_queue_is_full),
9215         (gst_data_queue_set_flushing), (gst_data_queue_push),
9216         (gst_data_queue_pop), (gst_data_queue_drop_head),
9217         (gst_data_queue_set_property), (gst_data_queue_get_property):
9218         * libs/gst/base/gstdataqueue.h:
9219         New GstDataQueue object for threadsafe queueing. Most useful for
9220         elements that need some queueing functionnality.
9221         * docs/libs/gstreamer-libs-docs.sgml:
9222         * docs/libs/gstreamer-libs-sections.txt:
9223         Insert documentation for GstDataQueue
9224         * plugins/elements/Makefile.am:
9225         * plugins/elements/gstelements.c:
9226         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
9227         (gst_multi_queue_class_init), (gst_multi_queue_init),
9228         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
9229         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
9230         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
9231         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
9232         (gst_multi_queue_loop), (gst_multi_queue_chain),
9233         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
9234         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
9235         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
9236         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
9237         (wake_up_next_non_linked), (compute_next_non_linked),
9238         (single_queue_overrun_cb), (single_queue_underrun_cb),
9239         (single_queue_check_full), (gst_single_queue_new):
9240         * plugins/elements/gstmultiqueue.h:
9241         New multiqueue element, using GstDataQueue. Used for queuing multiple
9242         streams.
9243         Closes #344639 and #347785
9244
9245 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
9246
9247         * docs/pwg/advanced-types.xml:
9248           add more missing type details
9249
9250         * tools/gst-run.c: (main):
9251           remove unused variable
9252
9253 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
9254
9255         * docs/libs/Makefile.am:
9256         * docs/libs/gstreamer-libs.types:
9257           add types of base classes to enable gobject specific stuff in the docs
9258
9259         * docs/random/ensonic/embedded.txt:
9260           more ideas about isolating platform specific things
9261
9262 2006-11-20  Wim Taymans  <wim@fluendo.com>
9263
9264         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
9265
9266         * libs/gst/check/gstcheck.h:
9267         Fix compilation and running against 0.9.4. Fixes #377332.
9268
9269 2006-11-20  Wim Taymans  <wim@fluendo.com>
9270
9271         * gst/gstsegment.c: (gst_segment_set_seek),
9272         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9273         (gst_segment_to_running_time):
9274         Fix boundary checking in to_running_time() and to_stream_time().
9275         Fixes #377183.
9276
9277         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9278         stream and running time can now be calculated for the complete
9279         clipped segment.
9280
9281 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
9282
9283         * gst/gstpad.c: (gst_pad_push_event):
9284           Can't access event structure after giving away ownership of
9285           the event.
9286
9287 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
9288
9289         * docs/random/ensonic/embedded.txt:
9290         * docs/random/ensonic/profiling.txt:
9291         * docs/random/ensonic/receipies.txt:
9292           more thinking
9293
9294 2006-11-13  Wim Taymans  <wim@fluendo.com>
9295
9296         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9297
9298         * gst/gstpad.c:
9299         Fix documentation for gst_pad_dispatcher. Fixes #374475.
9300
9301 2006-11-13  Wim Taymans  <wim@fluendo.com>
9302
9303         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
9304
9305         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9306         Store new length in segment duration so we don't keep on calling the
9307         potentially expensize get_size() call. Fixes #370865.
9308
9309 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
9310
9311         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
9312
9313         * win32/common/libgstreamer.def:
9314           Add two missing symbols (#366492).
9315
9316 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
9317
9318         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
9319         (gst_adapter_take_buffer):
9320         Fix format string to use all its arguments.
9321         Remove useless >= check on a guint
9322
9323 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9324
9325         * tests/examples/adapter/.cvsignore:
9326         Ignore build file as commanded by the build-bot
9327
9328 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9329
9330         * tests/examples/adapter/Makefile.am:
9331         * tests/examples/adapter/adapter_test.c: (run_test_take),
9332         (run_test_take_buffer), (run_tests), (main):
9333
9334         Add new files from the previous commit
9335
9336 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9337
9338         * Makefile.am:
9339         * configure.ac:
9340         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9341         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9342         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9343         * libs/gst/base/gstadapter.h:
9344         * tests/check/libs/adapter.c: (create_and_fill_adapter),
9345         (GST_START_TEST), (gst_adapter_suite):
9346         * tests/examples/Makefile.am:
9347         Do some optimisation work in GstAdapter to avoid copies in more cases.
9348         It could still do slightly better by merging buffers when
9349         gst_buffer_is_span_fast is true, but is already faster. 
9350
9351         Also, avoid traversing a single-linked list to append each incoming 
9352         buffer inside the adapter.
9353
9354         Add simple test app that times the adapter behaviour in different
9355         situations, and extend the unit test to check that bytes enter and
9356         exit the adapter in their original order.
9357
9358 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
9359
9360         * docs/random/draft-missing-plugins.txt:
9361           Update: use element message instead of adding a new message
9362           type to the core; don't provide GStreamer API to initiate the
9363           plugin download, just provide API to compose the strings needed
9364           and let an external libgimmestuff handle the rest.
9365
9366 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
9367
9368         * tools/gst-inspect.c: (print_element_properties_info):
9369         Print a string instead of 'unknown type' for GValueArray properties
9370
9371 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
9372
9373         * docs/random/draft-missing-plugins.txt:
9374         More small fixes.
9375
9376 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9377
9378         * tests/examples/typefind/typefind.c: (type_found), (main):
9379           Make typefind element example work again (#371894); add a
9380           license header.
9381
9382 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9383
9384         * docs/random/draft-missing-plugins.txt:
9385           Commit initial draft about how to deal with missing plugins,
9386           needs work (API too).
9387
9388 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
9389
9390         * docs/pwg/advanced-types.xml:
9391           documents the new caps elements (see #363118)
9392
9393 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9394
9395         * gst/gstplugin.c: (gst_plugin_load_file):
9396         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9397         (gst_file_src_map_region), (gst_file_src_start):
9398         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9399         (gst_file_index_commit):
9400           Use g_strerror() instead of strerror() - we want UTF-8.
9401
9402 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9403
9404         Patch by: Peter Kjellerstedt <pkj at axis com>
9405
9406         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9407           Another printf fix (#371493).
9408
9409 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9410
9411         * tests/check/gst/gsttag.c:
9412           relicence (okay with author=company)
9413
9414 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9415
9416         * gst/gstpad.c: (gst_pad_event_default_dispatch),
9417         (gst_pad_push_event):
9418           Enhance debug and improve docs
9419         
9420         * gst/gsturi.c:
9421           Fix docs
9422
9423 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9424
9425         * docs/random/ensonic/distributed.txt:
9426         * docs/random/ensonic/profiling.txt:
9427           more ideas
9428
9429 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9430
9431         * docs/gst/gstreamer-sections.txt:
9432           add new API and fix the build
9433           
9434         * gst/gstbin.c: (gst_bin_recalc_state):
9435         * gst/gstelement.c: (gst_element_message_full),
9436         (gst_element_get_state_func), (gst_element_set_state_func):
9437           use new API and improve logging
9438         
9439         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9440         * gst/gstutils.h:
9441           API: add function to get StateChangereturn names to improve logs 
9442
9443 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9444
9445         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9446           I'm considering shooting the next person to put strerror stuff
9447           in the translateable part of the message.
9448
9449 2006-11-03  Wim Taymans  <wim@fluendo.com>
9450
9451         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9452         Get the type and printf conversion specifiers right.
9453
9454 2006-11-03  Wim Taymans  <wim@fluendo.com>
9455
9456         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9457
9458         * gst/gstpad.c: (gst_pad_init), (pre_activate),
9459         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9460         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9461         Some small cleanups. Improve debugging.
9462         * gst/gstpad.h:
9463         Signal all waiting threads with a broadcast instead of just one.
9464         Fixes #369942.
9465
9466 2006-11-03  Wim Taymans  <wim@fluendo.com>
9467
9468         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9469         (gst_fd_src_create):
9470         Add some debugging. 
9471         Only update fd when it's different from the old.
9472
9473 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9474
9475         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9476           Printf fixes for PPC/OSX, take two (#369366).
9477
9478 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9479
9480         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
9481
9482         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9483         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9484         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9485           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9486           don't cast to long long for portability reasons, but use
9487           GLib's types instead.
9488
9489 2006-10-30  Michael Smith  <msmith@fluendo.com>
9490
9491         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9492           Get the arguments to lseek() the right way around.
9493           Fixes 367677.
9494
9495 2006-10-30  Wim Taymans  <wim@fluendo.com>
9496
9497         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9498
9499         * gst/gstinfo.h:
9500         _declspec should be __declspec (two underscores, not one). Fixes 366572.
9501
9502 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9503
9504         Patch by: Kjartan Maraas  <kmaraas at gnome org>
9505
9506         * docs/design/part-MT-refcounting.txt:
9507         * docs/random/wtay/capsnego2-docs:
9508         * gst/gstclock.c:
9509         * gst/gstxml.c:
9510           Typo fixes (#366212).
9511
9512 2006-10-28  Wim Taymans  <wim@fluendo.com>
9513
9514         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9515
9516         * gst/gst.c:
9517         * win32/common/libgstbase.def:
9518         * win32/common/libgstreamer.def:
9519         * win32/vs8/libgstbase.vcproj:
9520         * win32/vs8/libgstcontroller.vcproj:
9521         Add needed entries in .def files.
9522         Use HAVE_UNISTD_H.
9523         Rearrange def files in vs8 solutions. Fixes #366286.
9524
9525 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9526
9527         * win32/common/gstconfig.h:
9528           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9529           hand-made win32 gstconfig.h. Fixes #366321.
9530
9531 2006-10-27  Wim Taymans  <wim@fluendo.com>
9532
9533         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9534         (gst_ghost_pad_new_full):
9535         Make acceptcaps return TRUE when we don't have a target, just like
9536         setcaps does.
9537
9538 2006-10-27  Wim Taymans  <wim@fluendo.com>
9539
9540         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9541         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9542
9543 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
9544
9545         * gst/gststructure.c: (gst_structure_id_set_value):
9546           If someone tries to set a non-UTF8 string field on a structure,
9547           don't just print a warning, but also ignore the request and do
9548           not change/add that field to the structure.
9549
9550         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9551           Test for the above.
9552
9553 2006-10-25  David Schleef  <ds@schleef.org>
9554
9555         * gst/gstinfo.c:
9556           g_hash_table_insert() needs a cast to a non-const pointer duh.
9557
9558 2006-10-25  David Schleef  <ds@schleef.org>
9559
9560         * gst/gstinfo.c:
9561         * gst/gstinfo.h:
9562           Change name parameter of _gst_debug_register_funcptr to const
9563           to reflect the constness of its use in the function as well
9564           as to quiet a gcc warning.
9565
9566 2006-10-25  Edward Hervey  <edward@fluendo.com>
9567
9568         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9569         Don't push the buffer if it's empty.
9570         Closes #363095
9571
9572 2006-10-24  Wim Taymans  <wim@fluendo.com>
9573
9574         * gst/gstevent.h:
9575         Add small comment.
9576
9577         * libs/gst/base/gstbasetransform.c:
9578         (gst_base_transform_sink_eventfunc):
9579         Debug segment values *after* updating them as this is more
9580         interesting.
9581
9582 2006-10-23  Wim Taymans  <wim@fluendo.com>
9583
9584         * docs/design/part-events.txt:
9585         Update some docs.
9586
9587         * docs/design/part-block.txt:
9588         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9589         (gst_pad_push_event):
9590         Revert BLOCKING patch, it tries to be smart without really having a
9591         clear idea what or how. So, now we discard all FLUSHING events again on
9592         a blocking pad. Should fix gnonlin again.
9593
9594 2006-10-23  Wim Taymans  <wim@fluendo.com>
9595
9596         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9597
9598         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9599         (gst_base_src_start), (gst_base_src_activate_push):
9600         Make sure size is always initialized. Fixes #364388.
9601
9602 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
9603
9604         * docs/random/ensonic/distributed.txt:
9605           add some ideas about doing distributed processing
9606
9607         * docs/random/ensonic/profiling.txt:
9608           get_rusage look promising
9609
9610 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
9611
9612         * docs/manual/basics-helloworld.xml:
9613           Add a cast in example to fix compile warning
9614
9615 2006-10-18  Wim Taymans  <wim@fluendo.com>
9616
9617         * gst/gstsegment.c: (gst_segment_set_last_stop),
9618         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9619         Relax arg checking again, -1 is allowed.
9620
9621 2006-10-18  Wim Taymans  <wim@fluendo.com>
9622
9623         * gst/gstsegment.c: (gst_segment_set_last_stop),
9624         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9625         _set_last_stop() must be with a value != -1
9626         A _TYPE_SET to -1 means seek to 0.
9627         Calc last_stop correctly for negative rates.
9628         Make sure we work with positive durations when updating a segment.
9629
9630 2006-10-18  Wim Taymans  <wim@fluendo.com>
9631
9632         * docs/design/part-live-source.txt:
9633         * gst/gstclock.h:
9634         Small docs fixes.
9635
9636 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
9637
9638         * gst/gstbuffer.h:
9639           Add an explicit cast to GstBuffer** to keep old code that added an
9640           explicit cast to GstMiniObject** for gst_mini_object_replace()
9641           compiling without warning.
9642
9643 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
9644
9645         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
9646           check for validity of dates
9647
9648 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9649
9650         * docs/gst/gstreamer-sections.txt:
9651           Forgot this one, makes gtk-doc shut up.
9652
9653 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9654
9655         Patch by: Peter Kjellerstedt <pkj at axis com>
9656
9657         * gst/gstobject.h:
9658           Don't define xmlNodePtr to gpointer if the core was built with
9659           --disable-loadsave and --disable-registry, this will break
9660           applications that want to use libxml2 but are buildling against a
9661           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
9662           instead so we don't have to mess with the libxml2 namespace
9663           (#361675).
9664
9665 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9666
9667         * gst/gstbuffer.h:
9668           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
9669           type-punned pointer warnings.
9670
9671 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
9672
9673         * gst/gstelement.h:
9674           Add casts to the correct return type to state <=> state transition
9675           macros.
9676
9677 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
9678
9679         * docs/design/part-live-source.txt:
9680           describe howto handle latency
9681         
9682         * docs/random/ensonic/profiling.txt:
9683           more ideas
9684
9685         * tools/gst-plot-timeline.py:
9686           fix log parsing for solaris, remove unused function
9687
9688 2006-10-16  Wim Taymans  <wim@fluendo.com>
9689
9690         * docs/design/part-trickmodes.txt:
9691         * gst/gstevent.c:
9692         Update some docs regarding reverse playback.
9693
9694 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
9695
9696         Patch by: Marcus Granado  <mrc dot gran at gmail com>
9697
9698         * win32/vs8/grammar.vcproj:
9699           Error out with a warning if glib-genmarshal.exe is not in path,
9700           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
9701
9702 2006-10-13  Wim Taymans  <wim@fluendo.com>
9703
9704         * gst/gstsegment.c: (gst_segment_set_seek):
9705         When seeking to stop -1, set last_stop (current position) to the
9706         duration of the segment.
9707
9708 2006-10-13  Wim Taymans  <wim@fluendo.com>
9709
9710         * gst/gstelement.h:
9711         Clarify _NO_PREROLL a bit more.
9712
9713         * gst/gstevent.c:
9714         Fix docs.
9715
9716         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
9717         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
9718         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
9719         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
9720         due to wrong locking order. Fixes #361769.
9721         Remove some redundant/misplaced checks in pad_block.
9722
9723         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9724         For negative rates, count backwards from the duration.
9725
9726 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
9727
9728         * gst/gsterror.c: (_gst_library_errors_init):
9729           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
9730           up with something better).
9731
9732 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
9733
9734         * win32/vs6/libgstreamer.dsp:
9735         * win32/vs7/libgstreamer.vcproj:
9736         * win32/vs8/libgstreamer.vcproj:
9737           Don't reference glib-compat.c which is currently not used and not
9738           disted; add gstquark.c which was recently added. Fixes #361730.
9739
9740 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
9741
9742         * win32/common/libgstbase.def:
9743         * win32/common/libgstcontroller.def:
9744         * win32/common/libgstreamer.def:
9745           Add gst_caps_merge() and a bunch of other recently-added functions.
9746           Fixes #361732.
9747
9748 2006-10-11  Wim Taymans  <wim@fluendo.com>
9749
9750         * docs/plugins/gstreamer-plugins.args:
9751         * docs/plugins/inspect/plugin-coreelements.xml:
9752         * docs/plugins/inspect/plugin-coreindexers.xml:
9753         Update element args.
9754
9755         * gst/gstsystemclock.c:
9756         Small comment update.
9757
9758         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9759         (gst_tee_request_new_pad), (gst_tee_release_pad),
9760         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
9761         (gst_tee_sink_activate_pull):
9762         * plugins/elements/gsttee.h:
9763         Some tee loving:
9764         Add default property defines.
9765         Implement release pad function.
9766         Give properties better blubs etc.
9767         Activate pads before adding them to a running tee.
9768         Do simple buffer_alloc on the first requested pad.
9769         Post error when activation fails.
9770
9771 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
9772
9773         * gst/gst.c: (ensure_current_registry_forking):
9774           Check return value of write() to make compiler happy.
9775
9776 2006-10-11  Wim Taymans  <wim@fluendo.com>
9777
9778         Patch by: Sjoerd Simons <sjoerd at luon dot net>
9779
9780         * plugins/elements/gstqueue.c: (gst_queue_chain):
9781         Recheck queue filledness after signalling the overrun when we're about
9782         to leak downstream because we released the lock when emitting the signal
9783         and the queue could be empty again. Fixes #352345.
9784
9785 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
9786
9787         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
9788           Fix refcounting here too, just like we did for _new_valist() a few
9789           days ago (#357180) (thanks to René Stadler). Also remove all those
9790           'Since: 0.9' from the gtk-doc blobs.
9791
9792         * tests/check/libs/controller.c: (controller_refcount_new_list),
9793         (gst_controller_suite):
9794           Unit test for the above.
9795
9796 2006-10-10  Wim Taymans  <wim@fluendo.com>
9797
9798         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
9799
9800         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
9801         (gst_pad_save_thyself):
9802         Update some docs.
9803         Write pad direction in XML output. Fixes #345496.
9804
9805 2006-10-10  Wim Taymans  <wim@fluendo.com>
9806
9807         Patch by: René Stadler <mail at renestadler dot de>
9808
9809         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9810         (gst_controller_new_list), (_gst_controller_dispose),
9811         (_gst_controller_finalize), (_gst_controller_class_init):
9812         Take ref to controlled object so that it cannot disappear. 
9813         Fixes #357432.
9814
9815 2006-10-10  Wim Taymans  <wim@fluendo.com>
9816
9817         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9818         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9819         (gst_check_teardown_sink_pad):
9820         Activate/deactivate pads in setup/teardown respectively.
9821
9822 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9823
9824         Patch by: Josep Torra Valles <josep@fluendo.com>
9825
9826         * gst/Makefile.am:
9827         Cast values when making gstenumtypes.h.  This pacifies Forte
9828         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
9829         in the enumeration.
9830
9831 2006-10-09  Wim Taymans  <wim@fluendo.com>
9832
9833         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
9834         Rename some more @cur to @start to fix docs. 
9835
9836         * gst/gstsegment.c: (gst_segment_set_seek):
9837         Fix typo.
9838         time and start must always stay in sync as defined in design doc.
9839
9840         * gst/gsttaglist.c: (gst_tag_list_is_empty):
9841         Rename param to fix docs.
9842
9843         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9844         Check that start and time are in sync.
9845
9846         * tests/check/pipelines/parse-launch.c:
9847         (gst_parse_test_element_change_state):
9848         Activate pad before adding to the element.
9849
9850 2006-10-09  Wim Taymans  <wim@fluendo.com>
9851
9852         * docs/design/part-qos.txt:
9853         Fix typo.
9854
9855         * gst/gstevent.c:
9856         * gst/gstevent.h:
9857         Update seek event docs regarding negative rates.
9858         Rename @cur to @start. 
9859
9860         * gst/gstsegment.c: (gst_segment_set_seek):
9861         * gst/gstsegment.h:
9862         Update set_seek docs regarding negative rates.
9863         Correctly update last_stop to @stop when dealing with negative
9864         rates.
9865         Rename @cur to @start. 
9866
9867         * tests/check/gst/gstpad.c: (GST_START_TEST):
9868         Activate pads before trying to use them.
9869
9870         * tests/check/gst/gstsegment.c: (GST_START_TEST),
9871         (gst_segment_suite):
9872         Add simple check for segments and negative rates.
9873
9874 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
9875
9876         * gst/gsttaglist.c: (gst_tag_list_is_empty):
9877         * gst/gsttaglist.h:
9878         * docs/gst/gstreamer-sections.txt:
9879           API: add gst_tag_list_is_empty() (#360467).
9880
9881         * tests/check/gst/gsttag.c: (GST_START_TEST):
9882           And a test case.
9883
9884 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9885
9886         * gst/gstmessage.h:
9887         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
9888         a value that doesn't fit on enumeration.
9889
9890 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9891
9892         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9893         Remove local debugging system and use Gstreamer's instead.
9894
9895 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9896
9897         Patch by: Josep Torra Valles <josep@fluendo.com>
9898
9899         * common/m4/gst-error.m4:
9900         Disable warning of statement not reached on Forte.
9901         * gst/gstmessage.h:
9902         Fix warning on Forte (value doesn't fit on enumeration).
9903         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
9904         Fix warning on Forte (value doesn't fit on enumeration).
9905         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9906         DEBUG macro says it takes minimum of 2 args and so Forte
9907         complains about the use with just 1 arg.
9908         * plugins/elements/gstfdsink.c:
9909         * plugins/elements/gstfdsrc.c:
9910         * plugins/elements/gstfilesink.c:
9911         * plugins/elements/gstfilesrc.c:
9912         Use correct return type for the uri handler implementations.
9913
9914         All these fix warnings in Forte.  Fixes bug #360860.
9915
9916 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
9917
9918         * gst/gstelement.h:
9919           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
9920           format string, so don't use G_GNUC_PRINTF for those versions.
9921
9922 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
9923
9924         * gst/gsttaglist.c: (gst_is_tag_list):
9925         * gst/gsttaglist.h:
9926           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
9927
9928         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9929           Small test for the above.
9930
9931 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
9932
9933         * gst/gsttaglist.h:
9934           Less tabs, more spaces.
9935
9936 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
9937
9938         * gst/gstinfo.h:
9939           Those two function declarations do actually belong there, revert
9940           commit from yesterday that turned them intro macros.
9941
9942 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9943
9944         Patch by: Josep Torra Valles <josep@fluendo.com>
9945
9946         * gst/gst.c: (gst_init_get_option_group):
9947         Fix empty declaration and type mismatch.
9948         * gst/gstbin.c: (gst_bin_change_state_func):
9949         Fix type mismatch.
9950         * gst/gstelement.c: (gst_element_continue_state),
9951         (gst_element_set_state_func), (gst_element_change_state),
9952         (gst_element_change_state_func):
9953         Fix type mismatches.
9954         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
9955         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
9956         Cast as appropriate.
9957         * gst/gstobject.c: (gst_class_signal_connect):
9958         Cast as appropriate.  The function pointer parameter really
9959         has the wrong type but would break API if we change it.
9960         * gst/gstquery.c:
9961         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
9962         order of including string.h.
9963         * gst/gstutils.c: (gst_element_state_get_name):
9964         Remove unreachable line.
9965         * gst/gstxml.c: (gst_xml_parse_doc):
9966         Fix type mismatch.
9967         All these caught by Forte.
9968
9969 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9970
9971         Patch by: Josep Torra Valles <josep@fluendo.com>
9972
9973         * common/m4/gst-error.m4:
9974         Fixed bug #360151.
9975         We need to disable warnings on Forte for empty declarations
9976         due to gst-indent adding ;s to lines that just use macros
9977         where the macro actually doesn't need a ; at end to end
9978         statement.
9979
9980 2006-10-06  Wim Taymans  <wim@fluendo.com>
9981
9982         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
9983         (gst_file_sink_close_file), (gst_file_sink_event),
9984         (gst_file_sink_render):
9985         Add some FIXME for the NEWSEGMENT handling.
9986
9987 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9988
9989         * gst/parse/grammar.y:
9990         Remove static function gst_parse_element_lock as all it does
9991         is return.  Looks like cruft from 0.8.
9992
9993 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9994
9995         Patch by: Josep Torra Valles <josep@fluendo.com>
9996
9997         * common/m4/gst-error.m4:
9998         * configure.ac:
9999         * libs/gst/net/Makefile.am:
10000         Fix a compilation issue with Forte on Solaris.  inet_aton is in
10001         libresolv.
10002
10003 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
10004
10005         * gst/gstpad.c: (pre_activate):
10006         * gst/gstregistry.c: (gst_registry_scan_path_level):
10007         * gst/gstregistryxml.c: (load_plugin):
10008         * libs/gst/controller/gstcontroller.c:
10009         (gst_controlled_property_set_interpolation_mode):
10010         * libs/gst/dataprotocol/dataprotocol.c:
10011         (gst_dp_packet_from_event_1_0):
10012         * libs/gst/net/gstnetclientclock.c:
10013         (gst_net_client_clock_observe_times):
10014         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
10015           Printf fixes.
10016
10017 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
10018
10019         * configure.ac:
10020         * docs/gst/gstreamer-sections.txt:
10021         * gst/gstconfig.h.in:
10022         * gst/gstelement.h:
10023         * gst/gstinfo.h:
10024           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
10025           whether we can use G_GNUC_PRINTF in other header files and at
10026           least check the printf format/arguments of debug messages and
10027           GST_ELEMENT_ERROR messages when the printf extension is not
10028           being used.
10029           Replace more tabs with spaces in gstinfo.h and remove two spurious
10030           function declarations in GST_DISABLE_DEBUG part with macros.
10031
10032 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
10033
10034         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
10035           More docs for the sync-message signal (mention that it is not
10036           emitted by default); log message structures of messages posted on
10037           the bus as well.
10038
10039 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
10040
10041         * gst/gst.c: (ensure_current_registry_forking):
10042         Use a pipe pair to receive status results from the forked child, and
10043         ignore the result from waitpid. Fixes #355499
10044
10045 2006-10-02  Wim Taymans  <wim@fluendo.com>
10046
10047         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10048         (gst_ghost_pad_suite):
10049         Fix leak in check.
10050
10051 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
10052
10053         * gst/gstpad.c:
10054           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
10055
10056 2006-10-02  Edward Hervey  <edward@fluendo.com>
10057
10058         * docs/design/part-block.txt:
10059         Further explain the use of flushing on blocked pads.
10060         * docs/gst/gstreamer-sections.txt:
10061         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
10062         (gst_pad_push_event):
10063         * gst/gstpad.h:
10064         Added new GstPadFlag : GST_PAD_BLOCKING.
10065         Adds the notion of pads really blocking, which enables to properly
10066         handle FLUSH_START/FLUSH_STOP events on blocked pads.
10067         Fixes #358999
10068         API: gst_pad_is_blocking()
10069         API: GST_PAD_IS_BLOCKING() macro
10070         API: GST_PAD_BLOCKING GstPadFlag
10071         
10072 2006-10-02  Wim Taymans  <wim@fluendo.com>
10073
10074         Patch by: mrcgran <mrc.gran at gmail dot com>
10075
10076         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
10077         Filter the proxied caps against the padtemplate if we have one.
10078
10079         * gst/gstquery.c: (gst_query_new_segment):
10080         Add include for gstinfo.h so that compilation with
10081         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
10082
10083 2006-10-02  Wim Taymans  <wim@fluendo.com>
10084
10085         Patch by: Alessandro Decina  <alessandro at nnva org>
10086
10087         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
10088         (gst_file_sink_set_location), (gst_file_sink_open_file),
10089         (gst_file_sink_close_file), (gst_file_sink_event),
10090         (gst_file_sink_render):
10091         Set file to NULL when closing filesink so that we can set a new filename
10092         in READY. Fixes #358613.
10093
10094 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
10095
10096         Patch by: Alessandro Decina  <alessandro at nnva org>
10097
10098         * gst/gstevent.c: (_gst_event_copy):
10099           Fix gst_mini_object_make_writable() and gst_event_copy() for events
10100           with event structures by setting the parent refcount address of the
10101           copied structure to the address of the refcount member of the newly
10102           copied event rather than the address of the refcount member of the
10103           original event. Fixes #358737.
10104
10105         * tests/check/gst/gstevent.c: (GST_START_TEST):
10106           Unit test for the above.
10107
10108 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
10109
10110         * docs/design/Makefile.am:
10111           Dist some more files.
10112
10113 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10114
10115         * tests/check/libs/controller.c: (GST_START_TEST),
10116         (gst_controller_suite):
10117           Add test for the previous fix; add some more tests
10118           for correct refcounting behaviour; fix a few leaks
10119           in test cases; call gst_controller_init() at start
10120           of all tests.
10121
10122 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10123
10124         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10125         (gst_controller_set_from_list):
10126           Don't g_return_val_if_fail() on timed values with invalid timestamps
10127           inside a critical section without unlocking the mutex. Spotted by
10128           René Stadler. (#357617)
10129           Also, fix up refcounting properly: when returning an existing
10130           controller, we should increase the reference only once and not
10131           once per property and when trying to control a property again
10132           we should also increase the refcount.
10133
10134 2006-09-29  Wim Taymans  <wim@fluendo.com>
10135
10136         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10137         * libs/gst/net/gstnettimeprovider.c:
10138         (gst_net_time_provider_thread):
10139         Stop reading commands when EOF as well.
10140
10141         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
10142         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
10143         * plugins/elements/gstidentity.c: (gst_identity_class_init):
10144         Unify description of the dump property.
10145
10146 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10147
10148         * tests/examples/manual/.cvsignore:
10149         OK, so it's actually cvsignore that needs changing. Stop laughing.
10150
10151 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10152
10153         * tests/examples/manual/Makefile.am:
10154         Gah, declare vars *before* using them
10155
10156 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10157
10158         * gst/gst.c: (init_pre), (scan_and_update_registry),
10159         (ensure_current_registry_nonforking),
10160         (ensure_current_registry_forking), (ensure_current_registry),
10161         (init_post), (gst_debug_help), (gst_deinit):
10162         * gst/gst_private.h:
10163         * gst/gstregistry.c: (gst_registry_finalize),
10164         (gst_registry_remove_features_for_plugin_unlocked),
10165         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10166         (gst_registry_scan_path),
10167         (_priv_gst_registry_remove_cache_plugins),
10168         (_priv_gst_registry_cleanup):
10169         * gst/gstregistry.h:
10170         Re-commit the registry changes, along with an extra fix:
10171           When a cached plugin is encountered at a different file path,
10172           update the stored path in the registry cache so that the parent
10173           process knows where it actually is now when it re-reads the registry
10174           cache. Fixes the thing that broke distcheck with the previous commit.
10175
10176         * tests/check/Makefile.am:
10177         Clean up files named 'core' too when running make clean.
10178
10179         * tests/examples/manual/Makefile.am:
10180         Set up a registry path for running these tests, and clean it properly
10181         for distcheck.
10182
10183 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10184
10185         * configure.ac:
10186         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
10187         want gmodule-no-export-2.0.pc instead so that we don't drag in
10188         --export-dynamic on every project that links to GStreamer.
10189
10190         Also, make our export regex only match the start of symbols, rather 
10191         than any symbol that contains '_gst' somewhere.
10192
10193         * libs/gst/check/Makefile.am:
10194         The libgstcheck we build does however need export-dynamic, as it
10195         produces some symbols that don't match our _gst... style regex.
10196         Fixes: #318031
10197
10198 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
10199
10200         * gst/gst.c: (init_pre), (scan_and_update_registry),
10201         (ensure_current_registry_nonforking),
10202         (ensure_current_registry_forking), (ensure_current_registry),
10203         (init_post), (gst_debug_help), (gst_deinit):
10204         * gst/gst_private.h:
10205         * gst/gstregistry.c: (gst_registry_finalize),
10206         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10207         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
10208         (_gst_registry_cleanup):
10209         * gst/gstregistry.h:
10210           Revert previous change until I figure out why it breaks distcheck.
10211
10212 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
10213
10214         * gst/gst.c: (init_pre), (scan_and_update_registry),
10215         (ensure_current_registry_nonforking),
10216         (ensure_current_registry_forking), (ensure_current_registry),
10217         (init_post), (gst_debug_help), (gst_deinit):
10218
10219           Make init_pre and init_post take the full complement of GOptionFunc
10220           args so they can return useful GErrors. Make the registry updating
10221           functions do so.
10222
10223           Call _priv_gst_registry_remove_cache_plugins after scanning files to
10224           ensure that the registry we're about to write out doesn't contain
10225           stale information about old-deleted plugin files.
10226
10227           Make _priv_gst_registry_remove_cache_plugins return a boolean so
10228           that deletion of plugin files is considered a registry change.
10229
10230         * gst/gst_private.h:
10231         * gst/gstregistry.c: (gst_registry_finalize),
10232         (gst_registry_remove_features_for_plugin_unlocked),
10233         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10234         (gst_registry_scan_path),
10235         (_priv_gst_registry_remove_cache_plugins),
10236         (_priv_gst_registry_cleanup):
10237         * gst/gstregistry.h:
10238         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
10239         by adding _priv prefix, so that they won't appear in the global
10240         symbol table. They still do atm though because of #318031. Move the
10241         prototypes to gst_private.h
10242
10243         When removing a plugin, remove all features for that plugin too. 
10244         Fixes #340878.
10245
10246 2006-09-27  Wim Taymans  <wim@fluendo.com>
10247
10248         * docs/random/moving-plugins:
10249         Make it clear that the "compiled-in descriptions" really mean
10250         the element details.
10251
10252         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10253         (gst_base_sink_wait_preroll):
10254         Update docs.
10255
10256         * docs/libs/gstreamer-libs-sections.txt:
10257         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10258         (gst_base_src_get_range), (gst_base_src_activate_push):
10259         * libs/gst/base/gstbasesrc.h:
10260         Added function to block while waiting for PLAYING, this function
10261         is used by live sources that block on the clock.
10262         API: gst_base_src_wait_playing()
10263
10264 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10265
10266         Patch by: Peter Kjellerstedt <pkj at axis com>
10267
10268         * Makefile.am:
10269           gst-element-check.m4 is generated and should therefore be
10270           copied from the build dir rather than the source dir (#357593).
10271           'make distcheck' hasn't noticed this because we were disting
10272           the file as well, so stop doing that.
10273
10274 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10275
10276         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10277           Add some tests for gst_caps_intersect().
10278
10279         * tools/gst-launch.c: (event_loop):
10280           Print all buffering percentages we get, even the 100% one.
10281
10282 2006-09-26  Wim Taymans  <wim@fluendo.com>
10283
10284         * tools/gst-inspect.c: (print_element_properties_info),
10285         (print_signal_info):
10286         Fix printing of flags to match the look of enums.
10287
10288 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10289
10290         * gst/gstelementfactory.c:
10291           Fix typo in docs blurb.
10292
10293 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10294
10295         * gst/gsturi.c: (search_by_entry):
10296           Don't assert/crash here if a uri handler doesn't return any
10297           supported protocols. The list of protocols could be generated
10298           dynamically at runtime or at plugin registration, and an error
10299           in the underlying library shouldn't be fatal (#353301).
10300
10301 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10302
10303         * gst/gstinfo.c:
10304           Fix warning if HAVE_PRINTF_EXTENSION is undefined
10305           (spotted by Peter Kjellerstedt).
10306
10307 2006-09-23  Wim Taymans  <wim@fluendo.com>
10308
10309         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
10310
10311         * libs/gst/base/gstbasesrc.c:
10312         (gst_base_src_default_check_get_range), (gst_base_src_start),
10313         (gst_base_src_activate_push), (gst_base_src_activate_pull),
10314         (gst_base_src_change_state):
10315         Match _start/_stop calls in the activate functions. Remove redundant
10316         _stop call from the state change function. Fixes #356910.
10317         Turn failure DEBUG into ERROR. 
10318
10319 2006-09-22  Wim Taymans  <wim@fluendo.com>
10320
10321         * docs/design/part-buffering.txt:
10322         * gst/gstmessage.c: (gst_message_new_buffering),
10323         (gst_message_parse_buffering):
10324         Update docs about buffering.
10325
10326         * docs/design/part-trickmodes.txt:
10327         Fix typo.
10328
10329 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
10330
10331         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10332         (gst_controller_new_list):
10333           Ref instances when returning them again (fixes #357180)
10334
10335 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
10336
10337         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10338           Don't forget to release proxy lock when there's an error.
10339
10340 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
10341
10342         * gst/gstcaps.h:
10343           Add extra initialisers for Caps things, to fix some plugin warnings
10344           when using -Wextra
10345
10346 2006-09-18  Wim Taymans  <wim@fluendo.com>
10347
10348         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10349           Also set template on the internal pad so that a getcaps from the 
10350           target pad returns the template caps.
10351
10352 2006-09-18  Wim Taymans  <wim@fluendo.com>
10353
10354         * gst/gstelement.c: (gst_element_post_message),
10355         (gst_element_dispose):
10356         Use _DEBUG_OBJECT some more.
10357
10358         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10359         Avoid typechecks.
10360
10361         * tools/gst-launch.c: (main):
10362         If the toplevel element is not a GstPipeline, it must be put in a
10363         pipeline so that a bus and clock is selected.
10364
10365 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10366
10367         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10368           JITTER, RATE, and LATENCY query should be handled by the
10369           default case and not by the CONVERT query code.
10370
10371 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10372
10373         * gst/gstformat.c: (gst_format_register):
10374           Fix locking order (must take lock before using n_values).
10375
10376         * gst/gstvalue.c: (gst_value_serialize_enum),
10377         (gst_value_deserialize_enum_iter_cmp),
10378         (gst_value_deserialize_enum):
10379           Fix serialisation/deserialisation of custom registered GstFormats.
10380
10381         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10382           Unit test for custom format serialisation/deserialisation.
10383
10384 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
10385
10386         * docs/pwg/building-boiler.xml:
10387         * plugins/elements/gstcapsfilter.c:
10388         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10389         section.
10390
10391 2006-09-16  Edward Hervey  <edward@fluendo.com>
10392
10393         * libs/gst/base/gstbasetransform.c:
10394         (gst_base_transform_buffer_alloc):
10395         Check if requested caps are the same as the sinks caps IF
10396         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10397         is FALSE.
10398         This fixes the renegotiation issues stated in #352827.
10399
10400 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10401
10402         * configure.ac:
10403         * docs/manual/advanced-autoplugging.xml:
10404         * tests/examples/Makefile.am:
10405         * tests/examples/manual/.cvsignore:
10406         * tests/examples/manual/Makefile.am:
10407         * tests/examples/manual/extract.pl:
10408           Extract the manual examples again like we used to do.
10409           Fix one of them.
10410
10411 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10412
10413         * win32/common/config.h:
10414           update for version
10415
10416 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
10417
10418         * gst/gsterror.c:
10419           Documents how to receive errors.
10420
10421 2006-09-15  Wim Taymans  <wim@fluendo.com>
10422
10423         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10424         (event_loop), (main):
10425         Added some comments here and there.
10426         Post an application message when an interrupt is caught instead of doing
10427         an uncontrolled state change.
10428         Clean up the event loop.
10429         Handle buffering messages, pause/resume the pipeline.
10430         Make shutdown because of an interrupt more reliable.
10431
10432 2006-09-15  Wim Taymans  <wim@fluendo.com>
10433
10434         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10435         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10436         (gst_base_sink_preroll_object):
10437         Make sure that our internal state is correct when we commit our state
10438         asynchronously. This solves a race where a state change to PLAYING
10439         could cause the sink to remain blocked in preroll in some situations.
10440
10441 2006-09-15  Wim Taymans  <wim@fluendo.com>
10442
10443         * tools/gst-inspect.c: (print_element_properties_info),
10444         (print_signal_info):
10445         List flags as hex so it's easier to deal with.
10446
10447 2006-09-15  Wim Taymans  <wim@fluendo.com>
10448
10449         * docs/libs/gstreamer-libs-sections.txt:
10450         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10451         (gst_base_sink_do_sync):
10452         * libs/gst/base/gstbasesink.h:
10453         Expose logic to wait for preroll so that subclasses such as audiosink
10454         can also use this method.
10455         API: gst_base_sink_wait_preroll()
10456
10457 2006-09-15  Wim Taymans  <wim@fluendo.com>
10458
10459         * gst/gstobject.c: (gst_object_set_parent):
10460         * gst/gstpipeline.c: (do_pipeline_seek):
10461         Small cleanups in docs and code.
10462
10463         * gst/gstsegment.c: (gst_segment_clip):
10464         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10465         if stop == start and start is in the segment, no clipping should be
10466         done. Also add a test for this.
10467
10468 2006-09-15  Wim Taymans  <wim@fluendo.com>
10469
10470         * docs/design/part-buffering.txt:
10471         * docs/gst/gstreamer-sections.txt:
10472         * gst/gstmessage.c: (gst_message_new_buffering),
10473         (gst_message_parse_buffering):
10474         * gst/gstmessage.h:
10475         Added methods to create and parse BUFFERING messages.
10476         Added preliminary docs about buffering.
10477         API: gst_message_new_buffering
10478         API: gst_message_parse_buffering
10479
10480 2006-09-06  Wim Taymans  <wim@fluendo.com>
10481
10482         * gst/gstbin.c:
10483         Update documentation.
10484
10485         * gst/gstelement.c: (gst_element_class_init),
10486         (gst_element_release_request_pad), (gst_element_set_clock),
10487         (gst_element_get_index), (gst_element_add_pad),
10488         (gst_element_remove_pad), (gst_element_get_random_pad),
10489         (gst_element_send_event), (gst_element_get_query_types),
10490         (gst_element_query), (gst_element_post_message),
10491         (gst_element_message_full), (gst_element_continue_state),
10492         (gst_element_lost_state), (gst_element_save_thyself),
10493         (gst_element_restore_thyself):
10494         Documentation updates.
10495         Rename last bit of the new-pad -> pad-added signal rename.
10496         Fix the case where an element query would only work if the source
10497         pad was linked.
10498         Avoid some useless type checking in message handling.
10499
10500         * gst/gstevent.c:
10501         * gst/gstevent.h:
10502         * gst/gstutils.c:
10503         Documentation updates.
10504
10505 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10506
10507         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10508           add an INFO line for when we actually update the fd
10509
10510 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10511
10512         * configure.ac:
10513           back to TRUNK
10514
10515 === release 0.10.10 ===
10516
10517 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
10518
10519         * configure.ac:
10520           releasing 0.10.10, "Pais"
10521
10522 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
10523
10524         * docs/manual/advanced-position.xml:
10525           Fix typo in sample code.
10526
10527 2006-09-05  Wim Taymans  <wim@fluendo.com>
10528
10529         * libs/gst/net/gstnetclientclock.c: (inet_aton),
10530         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10531         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10532         * libs/gst/net/gstnetclientclock.h:
10533         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10534         * libs/gst/net/gstnettimepacket.h:
10535         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10536         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10537         (gst_net_time_provider_thread), (gst_net_time_provider_new):
10538         * libs/gst/net/gstnettimeprovider.h:
10539         Make stuff compile on windows. Fixes #345295.
10540
10541 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10542
10543         * gst/gst.c: (ensure_current_registry_forking):
10544           Print better details when child was terminated by signal.
10545
10546 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10547
10548         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10549           Print a warning rather than g_assert() if a plugin feature
10550           is a URI handler but returns no protocols (#353976).
10551
10552 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
10553
10554         * docs/random/moving-plugins:
10555         Fix two typos.         
10556
10557 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
10558
10559         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10560           Fix locking order, handle NULL function values properly.
10561
10562         * gst/gstinfo.h:
10563           Fix docs.
10564
10565         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10566           Initialise variable before using it and fix debug statement to
10567           print the address of the function rather than the address of the
10568           variable on the stack holding the address of the function.
10569
10570 2006-09-01  Wim Taymans  <wim@fluendo.com>
10571
10572         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10573         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10574         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10575         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
10576         (gst_ghost_pad_parent_unset),
10577         (gst_ghost_pad_internal_do_activate_push),
10578         (gst_ghost_pad_internal_do_activate_pull),
10579         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10580         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10581         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10582         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
10583         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
10584         (gst_ghost_pad_new_no_target_from_template),
10585         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10586         More cleanups.
10587         Avoid needless typechecking in macros.
10588         Since the internal pad is always present and never changes, there is
10589         no need to locking or ref when retrieving it.
10590         Improve debugging a bit.
10591         Handle link errors when setting the target. Fixes #341029.
10592
10593 2006-09-01  Wim Taymans  <wim@fluendo.com>
10594
10595         * docs/libs/gstreamer-libs-sections.txt:
10596         * docs/plugins/gstreamer-plugins-sections.txt:
10597         Fix docs some more.
10598
10599         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10600         (gst_collect_pads_event):
10601         * libs/gst/base/gstcollectpads.h:
10602         Documentation updates.
10603         Free queued buffer when removing a pad.
10604
10605 2006-08-31  Michael Smith  <msmith@fluendo.com>
10606
10607         * gst/gstutils.c: (gst_element_link_pads),
10608         (gst_element_link_pads_filtered):
10609           Ensure that we set a capsfilter to NULL if we failed to link it
10610           when doing filtered linking, to avoid criticals.
10611
10612           No need to check for unreffing srcpad, which is explicly NULLed
10613           above (a trivial code cleanup).
10614
10615 2006-08-31  Wim Taymans  <wim@fluendo.com>
10616
10617         * docs/design/part-gstghostpad.txt:
10618         Update ascii art in documentation.
10619
10620         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
10621         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
10622         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10623         (gst_ghost_pad_internal_do_activate_push),
10624         (gst_ghost_pad_internal_do_activate_pull),
10625         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10626         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10627         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
10628         (gst_ghost_pad_set_target):
10629         Small cleanups and leak fixes.
10630         Remove some checks now that the internal pad is never NULL.
10631         Fix the case where linking pads without a target would create nasty
10632         criticals. Fixes #341029.
10633         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
10634         value of _set_target().
10635
10636         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10637         (gst_ghost_pad_suite):
10638         Some more tests for creating and linking untargeted ghostpads.
10639
10640 2006-08-31  Edward Hervey  <edward@fluendo.com>
10641
10642         * docs/gst/gstreamer-sections.txt:
10643         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
10644         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10645         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
10646         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
10647         (gst_ghost_pad_new_from_template),
10648         (gst_ghost_pad_new_no_target_from_template):
10649         * gst/gstghostpad.h:
10650         Refactored *_new() functions.
10651         Templates are now used as a g_object_new() parameter.
10652         Use template in _do_getcaps() if we don't have a target.
10653         Small documentation cleanups.
10654         Added two new constructors:
10655         gst_ghost_pad_new_from_template()
10656         gst_ghost_pad_new_no_target_from_template()
10657         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10658         (gst_ghost_pad_suite):
10659         Added tests for new ghostpad instanciation functions.
10660
10661         API additions: gst_ghost_pad_new_from_template,
10662         gst_ghost_pad_new_no_target_from_template
10663
10664 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
10665
10666         * docs/random/ensonic/profiling.txt:
10667           Ideas about qos profiling.
10668
10669 2006-08-29  Wim Taymans  <wim@fluendo.com>
10670
10671         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
10672         Code cleanups.
10673         Fix memleak.
10674
10675 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
10676
10677         * gst/gstxml.c:
10678           Improve and detypofy docs.
10679
10680         * tests/check/Makefile.am:
10681         * tests/check/gst/.cvsignore:
10682         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
10683           Add a basic test suite for GstXML.
10684
10685 2006-08-29  Wim Taymans  <wim@fluendo.com>
10686
10687         * gst/gstelement.c: (activate_pads), (clear_caps),
10688         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10689         Clear the pad caps when the element shut down all of the pads and
10690         is not streaming data that could modify the caps. 
10691         Fixes #352958.
10692
10693 2006-08-28  Michael Smith  <msmith@fluendo.com>
10694
10695         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10696           Revert previous change; I misunderstood single-segment mode.
10697
10698 2006-08-28  Michael Smith  <msmith@fluendo.com>
10699
10700         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10701           Unset DISCONT on buffers when using single-segment mode.
10702
10703 2006-08-28  Wim Taymans  <wim@fluendo.com>
10704
10705         * gst/gstcaps.c: (gst_caps_merge_structure):
10706         * gst/gstcaps.h:
10707         Fix docs and indentation again.
10708
10709         * tests/check/gst/gstquery.c: (GST_START_TEST):
10710         Fix leak in tests and add some more tests.
10711
10712 2006-08-28  Edward Hervey  <edward@fluendo.com>
10713
10714         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10715         Inform GstSegment of the last stop position in order for the current
10716         segment to have a proper duration if it doesn't have a specific stop
10717         position from which a duration could be calculated.
10718         This bug was noticeable when a non-flushing, non-update new segment was
10719         followed by another segment (all buffers from the new segment were being
10720         dropped).
10721
10722 2006-08-28  Wim Taymans  <wim@fluendo.com>
10723
10724         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10725         Small comment update.
10726
10727         * plugins/elements/gstidentity.c: (gst_identity_class_init),
10728         (gst_identity_transform_ip):
10729         Drop-probability is broken, mention this in the code with a 
10730         FIXME and also in the property description.
10731         Make silent also be silent about the drop messages.
10732
10733 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
10734
10735         * docs/manual/appendix-win32.xml:
10736           Remove mention of popt, we don't depend on that any
10737           longer (#353136). Add some comments pointing out that
10738           this section is slightly outdated.
10739
10740 2006-08-28  Wim Taymans  <wim@fluendo.com>
10741
10742         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10743
10744         * gst/gstquery.c: (gst_query_new_segment):
10745         * tests/check/gst/gstquery.c: (GST_START_TEST):
10746         Initialize variables when creating a new segment query.
10747         Fixes #353121.
10748
10749 2006-08-28  Wim Taymans  <wim@fluendo.com>
10750
10751         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10752
10753         * gst/gstelement.c: (gst_element_get_bus):
10754         * tests/check/gst/gstelement.c: (GST_START_TEST):
10755         Check for NULL before _reffing the bus. Fixes #353122.
10756
10757 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
10758
10759         * docs/manual/basics-bus.xml:
10760           Docs update: fix wrong callback return value explanation; add
10761           some lines about the implicit relationship between main loop
10762           and main context; remove duplicate main loop variable declaration.
10763
10764 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
10765
10766         * tests/check/gst/gstcaps.c: (GST_START_TEST):
10767           Don't leak caps in unit test; add a few more simple
10768           checks. 
10769
10770 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
10771
10772         * docs/gst/gstreamer-sections.txt:
10773         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
10774         (gst_caps_structure_is_subset), (gst_caps_merge),
10775         (gst_caps_merge_structure):
10776         * gst/gstcaps.h:
10777         * libs/gst/base/gstbasetransform.c:
10778         (gst_base_transform_transform_caps):
10779         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10780           implement caps merging (fixes #352580)
10781
10782 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
10783
10784         * tools/Makefile.am:
10785         * tools/gst-plot-timeline.py:
10786           add debug-log plotting developer tool (#340674)
10787
10788 2006-08-23  Wim Taymans  <wim@fluendo.com>
10789
10790         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
10791         (gst_pad_stop_task):
10792         Improve debugging for task functions.
10793
10794         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
10795         (gst_task_start), (gst_task_pause), (gst_task_join):
10796         Make sure that the task function started and finished after a 
10797         join(). 
10798         Don't try to push the task function on the threadpool multiple
10799         times.
10800         Improve the g_warning message with some useful suggestions
10801         about how to fix the problem. 
10802
10803 2006-08-23  Wim Taymans  <wim@fluendo.com>
10804
10805         * gst/gstutils.c: (gst_pad_proxy_getcaps):
10806         Handle RESYNC correctly in _proxy_getcaps.
10807
10808 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
10809
10810         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
10811         (gst_xml_parse_memory), (gst_xml_get_element):
10812           Chain up to parent class in dispose function and also
10813           unref the elements in the toplevel_elements GList.
10814           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
10815           Always return a reference in gst_xml_get_element() rather
10816           than only sometimes.
10817
10818         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10819           Don't leak GstXml object.
10820
10821 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
10822
10823         * docs/gst/gstreamer-sections.txt:
10824         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
10825         (gst_caps_merge):
10826         * gst/gstcaps.h:
10827         * libs/gst/base/gstbasetransform.c:
10828         (gst_base_transform_transform_caps):
10829           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
10830           in a better way
10831
10832 2006-08-21  Edward Hervey  <edward@fluendo.com>
10833
10834         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
10835         Implement GObject::dispose virtual method in GstXML so we can free the
10836         top_elements GList.
10837
10838 2006-08-21  Wim Taymans  <wim@fluendo.com>
10839
10840         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
10841         (gst_buffer_create_sub):
10842         Copy duration/offset_end/caps when creating a subbuffer of the
10843         complete parent.
10844         Make the subbuffer read-only when we make the metadata writable for
10845         now. Fixes #351768.
10846
10847         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10848         Added check for metadata copy when creating subbuffers.
10849
10850 2006-08-21  Edward Hervey  <edward@fluendo.com>
10851
10852         * libs/gst/base/gstbasetransform.c:
10853         (gst_base_transform_buffer_alloc):
10854         Only call downstream buffer_alloc if transform element is passthrough
10855         or always_in_place. Closes #350449.
10856
10857 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10858
10859         * ChangeLog:
10860           ChangeLog surgery to add comments to previous changes
10861
10862 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10863
10864         * gst/gst.c:
10865           Add comments
10866
10867         * gst/gstpad.c: (gst_pad_set_active):
10868           Be more verbose in the log
10869
10870         * libs/gst/base/gstbasetransform.c:
10871         (gst_base_transform_transform_caps):
10872           Simplify caps to get rid of duplicates, fixes #345444
10873
10874 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10875
10876         * gst/gstvalue.c:
10877         * gst/gstvalue.h:
10878           Use these optimizations only internally.
10879
10880 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10881
10882         * gst/gstvalue.c: (gst_value_compare_list),
10883         (gst_value_compare_fraction_range),
10884         (gst_value_intersect_fraction_fraction_range),
10885         (gst_value_intersect_fraction_range_fraction_range),
10886         (gst_value_subtract_fraction_fraction_range),
10887         (gst_value_subtract_fraction_range_fraction_range),
10888         (gst_value_get_compare_func), (gst_value_compare),
10889         (gst_value_compare_with_func):
10890         * gst/gstvalue.h:
10891           Saves the expensive lookup of the compare function in many cases
10892          (#345444)
10893
10894 2006-08-18  Edward Hervey  <edward@fluendo.com>
10895
10896         * tests/check/gst/gstinfo.c: (gst_info_suite):
10897         Disable test that require gstdebug if it wasn't built in core.
10898
10899 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
10900
10901         * docs/random/ensonic/logging.txt:
10902           update ideas
10903           
10904         * gst/gstinfo.c: (gst_debug_log_default):
10905           reorder fields, save some columns, add optional color codes for log
10906           levels
10907
10908 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
10909
10910         * docs/random/ensonic/logging.txt:
10911           add ideas about making the logs a bit more useful
10912
10913 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
10914
10915         * docs/pwg/advanced-events.xml:
10916         * docs/pwg/titlepage.xml:
10917           Update for 0.10 API (#340627). Add myself
10918           to authors list.
10919
10920 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
10921
10922         * docs/libs/gstreamer-libs-docs.sgml:
10923         * docs/libs/gstreamer-libs-sections.txt:
10924         * libs/gst/check/gstbufferstraw.c:
10925           Make gstcheck stuff show up in docs (still needs to
10926           be documented properly though).
10927
10928 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
10929
10930         * docs/gst/gstreamer-sections.txt:
10931         * gst/Makefile.am:
10932         * gst/gst.c: (init_post):
10933         * gst/gst_private.h:
10934         * gst/gstquark.c: (_priv_gst_quarks_initialize):
10935         * gst/gstquark.h:
10936         * gst/gstquery.c: (gst_query_new_position),
10937         (gst_query_set_position), (gst_query_parse_position),
10938         (gst_query_new_duration), (gst_query_set_duration),
10939         (gst_query_parse_duration), (gst_query_new_convert),
10940         (gst_query_set_convert), (gst_query_parse_convert),
10941         (gst_query_new_segment), (gst_query_set_segment),
10942         (gst_query_parse_segment), (gst_query_new_seeking),
10943         (gst_query_set_seeking), (gst_query_parse_seeking):
10944         Add internal helpers for pre-registering quarks from static strings
10945         and using the quark values directly instead of looking them up when
10946         creating and parsing queries. Can be used for event construction too.
10947         Closes #350432.
10948
10949 2006-08-16  Wim Taymans  <wim@fluendo.com>
10950
10951         * gst/gstbin.c:
10952         Fix bogus docs.
10953
10954 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10955
10956         * gst/gstutils.c: (gst_util_set_value_from_string):
10957           Fix memleak (#351502).
10958
10959         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10960           Add unit test for most of gst_util_set_value_from_string()
10961           (not that one would want to encourage use of this function).
10962
10963 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10964
10965         * libs/gst/check/gstcheck.h:
10966           Use const gchar * variables in fail_unless_equals_string
10967           macro to avoid compiler warnings (and don't use tabs for
10968           indenting).
10969
10970 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10971
10972         * tools/gst-launch.c: (print_tag):
10973           More space on the left for the tag names, to cater
10974           for the 'extended comment' tag (not touching the
10975           string for the first line since it's translated).
10976
10977 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10978
10979         * libs/gst/check/gstcheck.h:
10980           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
10981           print something when they fail.
10982
10983 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
10984
10985         * docs/gst/gstreamer-sections.txt:
10986         * gst/gsttaglist.c: (_gst_tag_initialize):
10987         * gst/gsttaglist.h:
10988           API: add GST_TAG_EXTENDED_COMMENT (#350935).
10989           Also change merge function for GST_TAG_COMMENT to
10990           use_first.
10991
10992 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
10993
10994         * gst/gstinfo.c: (gst_debug_print_object):
10995           Make GST_PTR_FORMAT print messages as well.
10996
10997         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
10998         (GST_START_TEST), (gst_info_suite):
10999           More tests.
11000
11001 2006-08-14  Edward Hervey  <edward@fluendo.com>
11002
11003         * gst/gstelementfactory.c: (gst_element_register):
11004         If the GstElementClass doesn't have a GstElementDetails with all fields
11005         filled up correctly (longname, description AND author), then error out
11006         nicely instead of crashing.
11007
11008 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
11009
11010         * gst/gststructure.c:
11011           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
11012
11013         * gst/gstvalue.h:
11014           Expand on the difference between arrays and lists as we use them.
11015           
11016 2006-08-14  Wim Taymans  <wim@fluendo.com>
11017
11018         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11019         If the parent state change function failed, don't assume we can safely
11020         stop the source, this will be done when the pads are deactivated.
11021
11022 2006-08-14  Wim Taymans  <wim@fluendo.com>
11023
11024         * gst/gstbuffer.c:
11025         * gst/gsttask.c: (gst_task_join):
11026         Small doc updates.
11027
11028         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
11029         (gst_pad_stop_task):
11030         When pad (de)activation failed for some reason, restore the old
11031         activation mode and set the pad to flushing instead of assuming the
11032         pad is deactivated.
11033         If the _task_join() failed, reinstall the task on the pad so that it can
11034         be stopped later and return an error.
11035
11036 2006-08-11  Andy Wingo  <wingo@pobox.com>
11037
11038         * configure.ac:
11039         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11040         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
11041         is only for users of API that don't want to see deprecated
11042         functions in the headers; people that want to compile out
11043         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
11044         CFLAGS. Fixes the build of multifdsink, or will soon..
11045
11046 2006-08-11  Wim Taymans  <wim@fluendo.com>
11047
11048         * docs/gst/gstreamer-sections.txt:
11049         Add GstClockClass vmethod docs.
11050
11051         * gst/gstcaps.h:
11052         Mark #endif with comment for associated #if
11053
11054         * gst/gstclock.c: (gst_clock_id_wait):
11055         * gst/gstclock.h:
11056         Add vmethod wait_jitter to avoid an unneeded _get_time() for
11057         most clock implementations.
11058         Document vmethods.
11059         Flesh out docs about resolution methods.
11060         API: GstClockClass::wait_jitter
11061
11062         * gst/gstsystemclock.c: (gst_system_clock_class_init),
11063         (gst_system_clock_async_thread),
11064         (gst_system_clock_id_wait_jitter_unlocked),
11065         (gst_system_clock_id_wait_jitter):
11066         Use base class wait_jitter variant for improved performance
11067         due to less clock polling.
11068
11069 2006-08-11  Edward Hervey  <edward@fluendo.com>
11070
11071         * gst/gst.c: (gst_init_check), (init_post):
11072         Set gst as being initialized before scanning/updating the registry,
11073         since there might be my python plugin loader that calls gst_init() and
11074         we don't want to loop back in.
11075         Closes #350879
11076
11077 2006-08-11  Wim Taymans  <wim@fluendo.com>
11078
11079         * docs/design/part-qos.txt:
11080         Bring docs in line with the code. Mostly the sign of the jitter was
11081         wrong in the docs. Fixes #349943.
11082
11083         * gst/gstclock.c:
11084         Fix the docs for the jitter.
11085
11086         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
11087         (gst_event_parse_tag), (gst_event_new_buffer_size),
11088         (gst_event_parse_buffer_size), (gst_event_parse_qos),
11089         (gst_event_new_seek), (gst_event_parse_seek),
11090         (gst_event_new_navigation):
11091         Make sure the GstStructure has no parent when creating custom
11092         events.
11093         Add some more argument checking so that we avoid 0.0 rates.
11094         Flesh out the docs for the QoS event some more.
11095
11096 2006-08-11  Wim Taymans  <wim@fluendo.com>
11097
11098         * docs/gst/gstreamer-sections.txt:
11099         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11100         (ensure_current_registry_forking), (ensure_current_registry),
11101         (parse_one_option), (parse_goption_arg), (gst_deinit),
11102         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
11103         * gst/gst.h:
11104         Doc updates.
11105         Added API and command line option to disable registry forking in
11106         addition to the environment variable.
11107         Constify some static arrays.
11108         Added some more debug.
11109         Don't deinit twice.
11110         API: gst_registry_fork_is_enabled()
11111         API: gst_registry_fork_set_enabled()
11112         API: --gst-disable-registry-fork command line option
11113         Fixes #348918.
11114
11115 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
11116
11117         * gst/gst.c: (gst_init):
11118           Fix typo in error message.
11119
11120 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
11121
11122         * libs/gst/controller/gstcontroller.h:
11123           fix ABI size-correction
11124
11125         * tests/check/libs/gdp.c: (gst_dp_suite):
11126           make tests that use deprecated API conditional
11127
11128 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
11129
11130         * docs/libs/gstreamer-libs-sections.txt:
11131         * libs/gst/controller/gstcontroller.c:
11132         (_gst_controller_get_property), (_gst_controller_set_property),
11133         (_gst_controller_init), (_gst_controller_class_init):
11134         * libs/gst/controller/gstcontroller.h:
11135         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
11136         (gst_object_set_control_rate):
11137           API: add gst_object_{s,g}et_control_rate(), add private data section,
11138           fix docs
11139
11140         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11141         * libs/gst/dataprotocol/dataprotocol.h:
11142           add deprecation guards to make gtk-doc happy and allow disabling cruft
11143
11144 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
11145
11146         * tests/check/Makefile.am:
11147         * tests/check/gst/.cvsignore:
11148           Let's enable the new unit test as well.
11149
11150 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
11151
11152         * configure.ac:
11153         * docs/gst/gstreamer-sections.txt:
11154         * gst/gstconfig.h.in:
11155         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
11156         (_gst_info_printf_extension_ptr),
11157         (_gst_info_printf_extension_segment):
11158           API: add GST_SEGMENT_FORMAT, which is a printf extension we
11159           register that lets us easily dump GstSegments into debug
11160           logs (#350419).
11161
11162         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
11163         (info_segment_format_printf_extension), (gst_info_suite):
11164           Add simple unit test that logs a bunch of different segments (not
11165           valgrinded at the moment because of leaks in
11166           gst_debug_add_log_function).
11167
11168 2006-08-09  Edward Hervey  <edward@fluendo.com>
11169
11170         * libs/gst/base/gstbasetransform.c:
11171         (gst_base_transform_buffer_alloc):
11172         Even if we can't figure out the proper format to request downstream,
11173         call buffer_alloc() downstream with the input parameters without setting
11174         the caps on the srcpad. This will force negotiation in the chain
11175         function.
11176         Closes #350449
11177
11178 2006-08-08  Edward Hervey  <edward@fluendo.com>
11179
11180         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
11181         Unlinking from a pad without a target is now a perfectly valid case
11182         which should NOT raise an assertion.
11183         This case would happen if a linked ghostpad its target set to NULL after
11184         it was previously linked.
11185
11186 2006-08-08  Edward Hervey  <edward@fluendo.com>
11187
11188         * tests/check/libs/gdp.c:
11189         Also comment out the test (see below).
11190
11191 2006-08-08  Edward Hervey  <edward@fluendo.com>
11192
11193         * tests/check/libs/gdp.c: (gst_dp_suite):
11194         Use the architecture information from config.h and not gcc macros
11195         in order to properly disable a test that fails on PPC64.
11196
11197 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
11198
11199         * gst/gstelement.c: (gst_element_remove_pad):
11200           Don't crash printing the warning if the pad has no parent.
11201
11202 2006-08-02  Wim Taymans  <wim@fluendo.com>
11203
11204         * libs/gst/dataprotocol/dataprotocol.c:
11205         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
11206         (gst_dp_crc), (gst_dp_header_payload_length),
11207         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
11208         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
11209         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
11210         (gst_dp_event_from_packet), (gst_dp_validate_header),
11211         (gst_dp_validate_payload):
11212         Make debug category static
11213         Constify the crc table.
11214         Do some more arg checking in public functions.
11215         Fix some docs and do some small cleanups.
11216
11217         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
11218         Add some more checks to see if GDP deals with bogus input.
11219
11220 2006-07-31  Wim Taymans  <wim@fluendo.com>
11221
11222         * gst/gstvalue.c: (gst_value_compare_list):
11223         Fix GstValueList comparison code. Fixes #347293.
11224
11225         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11226         Check to test GstValueList comparison.
11227
11228 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
11229
11230         * gst/gstelementfactory.c: (gst_element_factory_create):
11231         Remove unnecessary ref/unref pair
11232
11233         * gst/parse/grammar.y:
11234         Make sure to free the parse buffer on all code paths.
11235         Move a g_free up to the error handler where it's easier to see.
11236
11237         * tests/check/gst/gstevent.c: (test_event):
11238         Extending timeout for downstream travelling events to 10 seconds to
11239         hopefully avoid intermittent failure on the buildbots.
11240
11241         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
11242         Don't manually set the state of the src element - it will happen as a
11243         natural consequence of the pipeline changing state, and that way it
11244         will do it in the right order too.
11245
11246 2006-07-31  Wim Taymans  <wim@fluendo.com>
11247
11248         * libs/gst/base/gstbasetransform.c:
11249         (gst_base_transform_buffer_alloc):
11250         Use OBJECT_LOCK and refcounting to get the pad caps in the
11251         buffer_alloc function because the caps could change while we are
11252         busy with them. Fixes #349105
11253
11254 2006-07-31  Wim Taymans  <wim@fluendo.com>
11255
11256         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
11257         Protect _PAD_CAPS with OBJECT_LOCK.
11258
11259 2006-07-31  Wim Taymans  <wim@fluendo.com>
11260
11261         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11262         (gst_pad_get_property), (gst_pad_activate_pull),
11263         (gst_pad_activate_push), (gst_pad_set_blocked_async),
11264         (gst_pad_set_activate_function),
11265         (gst_pad_set_activatepull_function),
11266         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
11267         (gst_pad_set_getrange_function),
11268         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
11269         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11270         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
11271         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
11272         (gst_pad_set_acceptcaps_function),
11273         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11274         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
11275         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
11276         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
11277         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
11278         (gst_pad_configure_sink), (gst_pad_configure_src),
11279         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
11280         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
11281         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
11282         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
11283         (gst_pad_send_event):
11284         Use _DEBUG_OBJECT when it makes sense.
11285         Protect GST_PAD_CAPS with the OBJECT_LOCK.
11286         Small cleanups and code reflows.
11287         Avoid caps refcounting in _accept_caps.
11288         Refactor alloc_buffer so that the code performed on the peer is in a
11289         separate function. Also if the pad does not implement a buffer alloc
11290         function, we should still check if the pad is flushing before falling
11291         back to the default allocator.
11292
11293 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
11294
11295         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11296         Make all uses of identity and fakesink have silent=true to avoid
11297         serialising every passing data structure, which is breaking tests
11298         on FC4 for some unknown reason.
11299
11300 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
11301
11302         * gst/parse/Makefile.am:
11303         * gst/parse/grammar.y:
11304         * gst/parse/parse.l:
11305           Reverted previous patch as it required to bump the flex dependency to
11306           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
11307
11308 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
11309
11310         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
11311
11312         * gst/parse/Makefile.am:
11313         * gst/parse/grammar.y:
11314         * gst/parse/parse.l:
11315           push & pop the state of the lexer for reentrant use case
11316           Fixes #349180
11317
11318 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
11319
11320         * libs/gst/base/gstbasesrc.h:
11321           Note in the docs that the ::newsegment vfunc is not actually used by
11322           GstBaseSrc.
11323
11324 2006-07-28  Wim Taymans  <wim@fluendo.com>
11325
11326         * libs/gst/base/gstcollectpads.c:
11327         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11328         (gst_collect_pads_clear), (gst_collect_pads_flush),
11329         (gst_collect_pads_event), (gst_collect_pads_chain):
11330         When flushing a pad, also clear the queued buffer so that we don't
11331         accidentally use it when we shouldn't.
11332         Fix leaks by inreffing incomming buffer.
11333         Flush out queued buffers in case of errors.
11334         Fixes #347452.
11335
11336 2006-07-28  Wim Taymans  <wim@fluendo.com>
11337
11338         * docs/random/phonon-gst:
11339         Random notes about a Phonon backend.
11340
11341 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11342
11343         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11344         Extra debug output
11345         * tests/check/libs/gdp.c: (gst_dp_suite):
11346         Take a whack at fixing the ppc compile using a different define to
11347         disable the broken test.
11348
11349         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11350         Remove excess g_print()
11351
11352 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11353
11354         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11355         Oops, meant to uncomment this line too to dampen the noise a bit.
11356
11357 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11358
11359         * gst/parse/grammar.y:
11360         * gst/parse/parse.l:
11361         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11362         (GST_START_TEST), (parse_suite):
11363         Fix some of the leaks exposed by extending the parse-launch testsuite,
11364         and move the 3 I can't figure out into a separate test that won't run
11365         the pipelines unless the appropriate line is uncommented.
11366
11367 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11368
11369         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11370           Requesting 0 bytes before the end of the file should result in
11371           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11372           unit test.
11373
11374 2006-07-27  Wim Taymans  <wim@fluendo.com>
11375
11376         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11377         Fix useless assert, a uint is always positive.
11378
11379         * gst/gststructure.c: (gst_structure_nth_field_name),
11380         (gst_structure_foreach), (gst_structure_map_in_place):
11381         Check input arguments for public functions to avoid obvious crashes.
11382
11383         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11384         * plugins/elements/gstfakesink.h:
11385         Do less useless typechecking.
11386
11387 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11388
11389         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11390           Do not use mmap() by default since there are a number of error
11391           conditions that we would like to handle in a non-fatal way that
11392           will result in a SIGBUS if we use mmap(). Examples: external
11393           devices (USB harddrive, portable music player) being unplugged
11394           while in use; file on mounted CD/DVD that can't be read because
11395           the medium is partly damaged. Fixes #348455 and #348475.
11396
11397 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11398
11399         * gst/gstquery.h:
11400         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11401         rates are a gdouble
11402
11403 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
11404
11405         * gst/gstregistry.c:
11406           Move big documentation comment into class section header, so that it
11407           appears in the API docs.
11408
11409 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11410
11411         * docs/gst/gstreamer-sections.txt:
11412         Oops. Commit the docs additions too for new API.
11413         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11414
11415 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11416
11417         * gst/gststructure.c: (gst_structure_id_set),
11418         (gst_structure_id_set_valist):
11419         * gst/gststructure.h:
11420         Add API for setting values into structures without performing
11421         a quark lookup, if the appropriate quark is already known.
11422
11423         API: gst_structure_id_set
11424         API: gst_structure_id_set_valist
11425
11426         * gst/parse/grammar.y:
11427         * gst/parse/parse.l:
11428         Remove some dead code shown by the coverage information.
11429         Don't throw a critical g_warning when encountering a syntax error,
11430         just warn and let the normal error path handle it.
11431
11432         * plugins/elements/gstelements.c:
11433         Bump the rank of filesink up to PRIMARY so that it is preferred over
11434         gnomevfssink for file:// sink uri's
11435
11436         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11437         (GST_START_TEST), (run_delayed_test),
11438         (gst_parse_test_element_base_init),
11439         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11440         (gst_parse_test_element_change_state),
11441         (gst_register_parse_element), (parse_suite):
11442         Beef up the tests for parse syntax to check that more error cases
11443         fail as they are supposed to. Increases the test coverage a bit.
11444
11445 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
11446
11447         * docs/manual/basics-elements.xml:
11448           Fix gst_element_link() example.
11449
11450         * gst/gstutils.c:
11451           Mention in API docs that one should usually gst_bin_add()
11452           elements to a bin or pipeline before doing the linking.
11453           
11454 2006-07-26  Wim Taymans  <wim@fluendo.com>
11455
11456         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11457         (gst_subbuffer_get_type), (gst_buffer_create_sub):
11458         Avoid function call for known types by keeping the buffer and
11459         subbuffer GType global.
11460
11461         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11462         Random silly optimisations in read() path.
11463
11464 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11465
11466         * tools/gst-launch.c: (main):
11467           If the top-level of the parse is a normal bin, it doesn't do the
11468           right logic to run as a top-level element, so place it inside a
11469           pipeline.
11470
11471 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
11472
11473         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11474           Remove superfluous g_object_notify() calls, GObject does
11475           that for us automatically.
11476
11477 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
11478
11479         * gst/gstinfo.h:
11480           on Win32, use dllspec to export the debug category symbols
11481
11482 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
11483
11484         * gst/gsttaglist.c: (_gst_tag_initialize):
11485           Allow more than one GST_TAG_IMAGE per taglist.
11486
11487 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11488
11489         * gst/gstminiobject.c:
11490           update docs
11491         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11492         (gst_fd_src_create):
11493           log recurring events at LOG level
11494           add more debug for when the fd gets set
11495
11496 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11497
11498         * gst/gstparse.c: (gst_parse_launch):
11499           Also remove reentrance checks if flex is MT safe (#348179)
11500          Fix my empty ChangeLog entry below
11501
11502 2006-07-21  Andy Wingo  <wingo@pobox.com>
11503
11504         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11505
11506         * libs/gst/check/Makefile.am
11507         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11508         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
11509         * libs/gst/check/gstbufferstraw.h:
11510         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11511         functions, thus proving I am still a GStreamer haxor. OK I wrote
11512         them a long time ago, but anyways.
11513
11514 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11515
11516         * configure.ac:
11517         * gst/gstparse.c: (gst_parse_launch):
11518           Check for flex version and omit mutex if we have a MT save flex
11519           (fixes #348179)
11520
11521 2006-07-21  Wim Taymans  <wim@fluendo.com>
11522
11523         * gst/gstparse.c: (gst_parse_launch):
11524         Protect recursive calls to _parse with a recursive mutex
11525         and busy flag.
11526
11527 2006-07-21  Wim Taymans  <wim@fluendo.com>
11528
11529         * tests/check/gst/gstpad.c: (GST_START_TEST):
11530         Fix leak in test.
11531
11532 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
11533
11534         * gst/gstparse.c: (gst_parse_launch):
11535           Do not hang on recursive usage of gst_parse_launch()
11536
11537 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11538
11539         * gst/gsttaglist.c:
11540           Add some more docs, comments and FIXME 0.11s here and there
11541           and also fix some typos.
11542
11543 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11544
11545         * gst/gstsegment.h:
11546           Convert tabs to spaces for better readability. 
11547
11548 2006-07-20  Edward Hervey  <edward@fluendo.com>
11549
11550         * tests/check/libs/gdp.c: (gst_dp_suite):
11551         the test_buffer test fails at line 140 on ppc64 at the following
11552         check:
11553         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11554                 GST_BUFFER_FLAG_IN_CAPS),
11555                 "GST_BUFFER_IN_CAPS flag should have been copied !");
11556         See bug #348114 for more details.
11557
11558 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
11559
11560         * docs/pwg/advanced-scheduling.xml:
11561         * gst/gstpad.c:
11562           Fix typos (#348000).
11563
11564 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
11565
11566         * docs/pwg/intro-basics.xml:
11567           Fix wrong links (#347927).
11568
11569 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
11570
11571         * gst/gstregistry.h:
11572         * gst/gstregistryxml.c: (load_feature),
11573         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11574         * win32/common/config.h:
11575           make --disable-index work (#342564)
11576
11577 2006-07-18  Wim Taymans  <wim@fluendo.com>
11578
11579         Patch by: Peter Kjellerstedt <pkj at axis dot com>
11580
11581         * gst/Makefile.am:
11582         * gst/gsttrace.h:
11583         The attached patch adds two missing defines to gsttrace.h when tracing
11584         is disabled.  It also corrects one existing define.
11585         Fixes #347756.
11586
11587 2006-07-17  Wim Taymans  <wim@fluendo.com>
11588
11589         * docs/gst/gstreamer-sections.txt:
11590         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
11591         * gst/gst.h:
11592         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
11593         Add two functions to check and change the SIGSEGV behaviour
11594         when loading plugins.
11595         Don't mess with the SIGSEGV handler when we were told not to.
11596         Fixes #347794.
11597         API: gst_segtrap_is_enabled
11598         API: gst_segtrap_set_enabled
11599
11600 2006-07-14  Wim Taymans  <wim@fluendo.com>
11601
11602         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11603         * tests/check/elements/filesrc.c: (GST_START_TEST):
11604         Revert fix for regression in #347408 after release.
11605
11606 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
11607
11608         Patch by: Antoine Tremblay <hexa00 at gmail com>
11609
11610         * gst/gstutils.c: (gst_element_unlink):
11611           Free iterator when done (#347311).
11612
11613         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11614           And add a test case for this.
11615
11616 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
11617
11618         * configure.ac:
11619         Bump nano back to CVS
11620
11621 === release 0.10.9 ===
11622
11623 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
11624
11625         * configure.ac:
11626           releasing 0.10.9, "On the road again"
11627
11628 2006-07-13  Wim Taymans  <wim@fluendo.com>
11629
11630         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11631         * tests/check/elements/filesrc.c: (GST_START_TEST):
11632         Revert pull-0 fix for release. Disable check. Fixes #347408.
11633
11634 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11635
11636         * libs/gst/dataprotocol/dataprotocol.c:
11637         (gst_dp_event_from_packet_1_0):
11638           Fixes #347337: failure to deserialize event packets with
11639           empty payload (only event type)
11640
11641 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11642
11643         * gst/Makefile.am:
11644           do not install a .c file in the header directory
11645
11646 2006-07-13  Edward Hervey  <edward@fluendo.com>
11647
11648         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11649         GhostPad no longer implicitely use the padtemplates of the targets.
11650         Fixes #347384
11651
11652 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
11653
11654         * gst/gstvalue.c: (gst_value_compare_list),
11655         (gst_value_compare_array), (_gst_value_initialize):
11656         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11657         Make GstValueArray comparison be order dependent as designed.
11658         Add checks for value lists and value array comparisons.
11659         Fixes #347221
11660
11661 2006-07-11  Edward Hervey  <edward@fluendo.com>
11662
11663         * gst/gstbin.c: (activate_pads),
11664         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
11665         (gst_bin_change_state_func):
11666         (de)activate src pads before calling state_change on the childs.
11667         This is to avoid the case where a src ghostpad is blocked (holding the
11668         stream lock), which would block the deactivation of the ghostpad's
11669         target pad.
11670         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
11671         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
11672         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
11673         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
11674         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
11675         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
11676         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11677         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
11678         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
11679         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11680         (gst_ghost_pad_class_init),
11681         (gst_ghost_pad_internal_do_activate_push),
11682         (gst_ghost_pad_internal_do_activate_pull),
11683         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11684         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11685         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
11686         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
11687         GhostPads now create their internal GstProxyPad at creation (and not
11688         when they're linked, as it was being done previously).
11689         The internal and target pads are linked straight away.
11690         The data will also travel through the other pad in order to make
11691         pad blocking and probes non-hackish (the probe/block now really happens
11692         on the GhostPad and not on the target).
11693         * gst/gstpad.c: (gst_pad_set_blocked_async),
11694         (gst_pad_link_prepare), (gst_pad_push_event):
11695         Remove previous ghostpad cruft.
11696         * gst/gstutils.c: (gst_pad_add_data_probe),
11697         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11698         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11699         (gst_pad_remove_buffer_probe):
11700         Remove previous ghost pad cruft.
11701         Added more detailed debug statements.
11702         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11703         Fix the testsuite for refcounting changes.
11704         The comments about who has references were correct, but the refcount
11705         being checked wasn't the same (!?!).
11706
11707         Fixes #341029
11708
11709 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
11710
11711         * docs/gst/gstreamer-sections.txt:
11712         * gst/gstconfig.h.in:
11713         More docs for configuration options, add docs to gtk-doc.
11714
11715 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
11716
11717         * gst/Makefile.am:
11718         * gst/gstconfig.h.in:
11719         * win32/common/config.h:
11720         Fix build when disabling tracing (fixes #344016). Also start to document
11721         the defines that disable the sub-systems.
11722
11723 2006-07-10  Edward Hervey  <edward@fluendo.com>
11724
11725         * gst/gst.c: (ensure_current_registry_forking):
11726         let's make valgrind happy...
11727
11728 2006-07-09  Wim Taymans  <wim@fluendo.com>
11729
11730         * gst/gstelement.c: (activate_pads),
11731         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11732         Better pad activation code: Reset the collect value too on resync.
11733         Add some comments.
11734
11735 2006-07-09  Wim Taymans  <wim@fluendo.com>
11736
11737         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
11738         (gst_pad_activate_push):
11739         Use some more macros where it makes sense.
11740         Allow pad mode switching instead of asserting. When a pad
11741         is activated in one mode and we activate it in another, 
11742         deactivate it first before activating it in a different mode.
11743         Fixes #329198.
11744
11745 2006-07-08  Andy Wingo  <wingo@pobox.com>
11746
11747         * tools/gst-launch.c (main): Handle err == NULL.
11748
11749         * gst/gst.c (init_post, ensure_current_registry)
11750         (ensure_current_registry_forking)
11751         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
11752         factoring out the registry scanning into separate functions. Don't
11753         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
11754         Better environment var name/interface suggestions accepted.
11755
11756 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11757
11758         * gst/gstobject.c: (gst_object_set_name_default),
11759         (gst_object_set_name):
11760           Random micro-optimisation: don't use a hash table
11761           with strings as keys and the usual strdup/strcmp
11762           involved, but rather just use the GQuark of the
11763           type name as key, since it needs to be looked up
11764           anyway to get the type name string.
11765
11766         * tests/check/gst/gstobject.c: (GST_START_TEST):
11767           Fix various leaks.
11768
11769 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11770
11771         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
11772         (gst_bin_iterate_all_by_interface):
11773           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
11774           GTypes are gulongs and thus the top 4 bytes might be cut
11775           off on some platforms when doing GPOINTER_TO_INT, leading
11776           to invalid GTypes and bad things happening (see RH bug #179654).
11777           Also add a check to make sure the type passed in is really
11778           an interface type.
11779
11780 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11781
11782         * .cvsignore:
11783           Ignore more.
11784
11785 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11786
11787         * Makefile.am:
11788         * configure.ac:
11789         * gst-element-check.m4:
11790         * gst-element-check.m4.in:
11791           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
11792           instead of the unversioned gst-inspect (#324176, #168659).
11793
11794 2006-07-06  Wim Taymans  <wim@fluendo.com>
11795
11796         * gst/gstmessage.h:
11797         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
11798         warnings.
11799
11800 2006-07-06  Wim Taymans  <wim@fluendo.com>
11801
11802         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11803         (gst_base_src_wait), (gst_base_src_update_length),
11804         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
11805         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
11806         (gst_base_src_loop), (gst_base_src_start),
11807         (gst_base_src_activate_pull):
11808         Update docs.
11809         blocksize == 0 now means the default blocksize when working in push
11810         based mode.
11811         Remove some pointless asserts in _wait function.
11812         Fix offset/length calculations and EOS handling. We can now pull 0
11813         bytes as well, which is allowed.
11814         use _check_get_range() to decide if we can operate in _pull based
11815         mode.
11816         Fix refcounting leak when check_get_range function was not 
11817         implemented.
11818         API GstBaseSrc::blocksize range can be 0 too now (default)
11819
11820         * tests/check/elements/filesrc.c: (GST_START_TEST),
11821         (filesrc_suite):
11822         Added check to test _get_range() behaviour.
11823
11824 2006-07-06  Wim Taymans  <wim@fluendo.com>
11825
11826         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
11827         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
11828         (gst_pad_pull_range):
11829         * gst/gstpad.h:
11830         Lots of comments and docs added to the pad functions.
11831         Flesh out the expected behaviour of the get_range() functions.
11832
11833 2006-07-06  Wim Taymans  <wim@fluendo.com>
11834
11835         * gst/gstbus.h:
11836         * gst/gstclock.h:
11837         * gst/gstevent.h:
11838         * gst/gstiterator.h:
11839         * gst/gstpad.h:
11840         * gst/gstplugin.h:
11841         * gst/gsttask.h:
11842         Remove comma at end of enumerator list. 
11843
11844 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
11845
11846         * win32/common/libgstbase.def:
11847         * win32/common/libgstdataprotocol.def:
11848         * win32/common/libsgtreamer.def:
11849         Add new exported functions.
11850
11851 2006-07-05  Wim Taymans  <wim@fluendo.com>
11852
11853         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
11854         Add some more docs here and there.
11855
11856 2006-07-05  Wim Taymans  <wim@fluendo.com>
11857
11858         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
11859         (gst_base_sink_loop), (gst_base_sink_get_position):
11860         When operating in pull mode update the offset so that we
11861         read sequentially.
11862
11863 2006-07-05  Wim Taymans  <wim@fluendo.com>
11864
11865         * gst/gstregistryxml.c: (read_string):
11866         Avoid strdup. (will happen in libxml, but hey!)
11867
11868         * gst/gsturi.c:
11869         Add some more docs.
11870
11871 2006-07-05  Wim Taymans  <wim@fluendo.com>
11872
11873         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
11874         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
11875         (gst_buffer_suite):
11876         No point in checking if the size of the subbuffer > 0, the
11877         code handles it correclty as demonstrated by unit test.
11878         Also add a unit test for the zero sized _new_and_alloc and
11879         _copy. Fixes #346663.
11880
11881 2006-07-05  Wim Taymans  <wim@fluendo.com>
11882
11883         * libs/gst/base/gstbasetransform.c:
11884         (gst_base_transform_prepare_output_buffer),
11885         (gst_base_transform_buffer_alloc),
11886         (gst_base_transform_handle_buffer):
11887         Make sure the buffer we pass to transform_ip has a refcount of
11888         1 and thus is writable. Fixes #343196
11889
11890 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
11891
11892         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11893         (gst_file_src_init), (gst_file_src_set_property),
11894         (gst_file_src_get_property), (gst_file_src_map_region):
11895         * plugins/elements/gstfilesrc.h:
11896         Add "sequential" property, off by default, to use madvise and hint
11897         to the kernel that sequential access is desired.
11898         Touch all retrieved pages by default to ensure they are pulled
11899         into memory. (Closes #345720)
11900
11901 2006-07-03  Wim Taymans  <wim@fluendo.com>
11902
11903         * docs/design/part-block.txt:
11904         * docs/design/part-dynamic.txt:
11905         Small docs updates.
11906
11907 2006-07-03  Wim Taymans  <wim@fluendo.com>
11908
11909         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
11910         (gst_caps_unref), (gst_static_caps_get),
11911         (gst_caps_append_structure):
11912         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
11913         Use GSlice when the glib we build against is >= 2.10
11914
11915 2006-07-03  Wim Taymans  <wim@fluendo.com>
11916
11917         * gst/gstelement.c: (gst_element_pads_activate):
11918         Small cleanup in pad activation code.
11919
11920 2006-07-03  Wim Taymans  <wim@fluendo.com>
11921
11922         Patch by: Peter Kjellerstedt <pkj at axis dot com>
11923
11924         * gst/gst-i18n-app.h:
11925         * gst/gst-i18n-lib.h:
11926         * tools/gst-inspect.c: (print_signal_info):
11927         The attached patch will make the inclusion of gettext.h unconditional in
11928         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
11929         libintl.h in tools/gst-inspect.c.
11930         This allows use of --disable-nls again and fixes #344642.
11931
11932 2006-07-03  Edward Hervey  <edward@fluendo.com>
11933
11934         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
11935         Implement pad blocking on events according to part-block.txt.
11936         More comments on behaviour.
11937         * tests/check/gst/gstevent.c: (test_event):
11938         Send event to peer pad of blocked pad (else it will block).
11939
11940 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11941
11942         * libs/gst/check/gstcheck.c: (gst_check_message_error),
11943         (gst_check_run_suite):
11944           if we get the wrong message, give us the types as string
11945         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11946           Fix a translatable
11947         * tests/check/elements/filesrc.c: (GST_START_TEST):
11948           add a test for trying to open a non-existing file
11949
11950 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11951
11952         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
11953           add a test for adding self
11954
11955 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11956
11957         * libs/gst/check/gstcheck.h:
11958           add some assert_ as alias for fail_unless_*
11959         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
11960           increase test coverage
11961
11962 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11963
11964         * Makefile.am:
11965           include lcov.mak for lcov coverage generation
11966         * tools/Makefile.am:
11967           add to CLEANFILES
11968
11969 2006-07-02  Edward Hervey  <edward@fluendo.com>
11970
11971         * tests/check/elements/.cvsignore:
11972         moaping
11973
11974 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11975
11976         * configure.ac:
11977           don't set CFLAGS and friends for gcov, done from GST_GCOV now
11978         * tests/check/Makefile.am:
11979           clean up gcov files
11980
11981 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11982
11983         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
11984           remove gst_caps_simplify; it was not declared and not used
11985           and deprecated in 0.8
11986
11987 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11988
11989         * docs/faq/gst-uninstalled:
11990           don't put empty paths on PYTHONPATH
11991         * docs/gst/gstreamer-sections.txt:
11992           remove some symbols that are not there
11993
11994 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11995
11996         * gst/gstcaps.c: (gst_caps_compare_structures):
11997           whitespace fixes
11998         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11999         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12000           add more tests
12001
12002 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12003
12004         * libs/gst/dataprotocol/Makefile.am:
12005           build dataprotocol test by linking to the lib, instead of
12006           compiling the source, so we get coverage
12007         * tests/check/Makefile.am:
12008         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
12009         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
12010           add a test for filesrc
12011
12012 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12013
12014         * tests/check/gst/gststructure.c: (GST_START_TEST),
12015         (gst_structure_suite):
12016           Push coverage from 59.04% to 70.00%
12017
12018 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12019
12020         * tests/check/Makefile.am:
12021           gst-inspect every element; this makes sure that we also get
12022           coverage on element's get/set functions
12023
12024 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12025
12026         * configure.ac:
12027           set CFLAGS and friends to -O0 if gcov is being used
12028           add GCOV LIBS
12029         * gst/Makefile.am:
12030         * libs/gst/base/Makefile.am:
12031         * libs/gst/check/Makefile.am:
12032         * libs/gst/controller/Makefile.am:
12033         * libs/gst/dataprotocol/Makefile.am:
12034         * libs/gst/net/Makefile.am:
12035         * plugins/elements/Makefile.am:
12036         * plugins/indexers/Makefile.am:
12037           add makefile rules to generate gcov data and clean up
12038         * tests/check/Makefile.am:
12039           add a coverage target that generates an html overview
12040           of coverage data
12041
12042 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12043
12044         * tests/check/elements/fakesink.c:
12045         * tests/check/elements/fakesrc.c:
12046         * tests/check/elements/fdsrc.c:
12047         * tests/check/elements/identity.c:
12048         * tests/check/generic/sinks.c: (gst_sinks_suite):
12049         * tests/check/generic/states.c:
12050         * tests/check/gst/gst.c:
12051         * tests/check/gst/gstabi.c:
12052         * tests/check/gst/gstbin.c:
12053         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
12054         * tests/check/gst/gstbus.c: (gst_bus_suite):
12055         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12056         * tests/check/gst/gstelement.c:
12057         * tests/check/gst/gstevent.c: (gst_event_suite):
12058         * tests/check/gst/gstghostpad.c:
12059         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
12060         * tests/check/gst/gstmessage.c: (gst_message_suite):
12061         * tests/check/gst/gstminiobject.c:
12062         * tests/check/gst/gstobject.c:
12063         * tests/check/gst/gstpad.c:
12064         * tests/check/gst/gstpipeline.c:
12065         * tests/check/gst/gstplugin.c:
12066         * tests/check/gst/gstquery.c: (gst_query_suite):
12067         * tests/check/gst/gstsegment.c: (gst_segment_suite):
12068         * tests/check/gst/gststructure.c:
12069         * tests/check/gst/gstsystemclock.c:
12070         * tests/check/gst/gsttag.c:
12071         * tests/check/gst/gsttask.c: (gst_task_suite):
12072         * tests/check/gst/gstutils.c:
12073         * tests/check/gst/gstvalue.c:
12074         * tests/check/libs/adapter.c:
12075         * tests/check/libs/basesrc.c:
12076         * tests/check/libs/collectpads.c:
12077         * tests/check/libs/controller.c:
12078         * tests/check/libs/gdp.c: (gst_dp_suite):
12079         * tests/check/libs/gstnetclientclock.c:
12080         * tests/check/libs/gstnettimeprovider.c:
12081         * tests/check/libs/libsabi.c: (libsabi_suite):
12082         * tests/check/libs/typefindhelper.c:
12083         * tests/check/pipelines/cleanup.c:
12084         * tests/check/pipelines/parse-launch.c:
12085         * tests/check/pipelines/simple-launch-lines.c:
12086         * tests/check/pipelines/stress.c: (stress_suite):
12087           use the new macro
12088
12089 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12090
12091         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
12092         * libs/gst/check/gstcheck.h:
12093           create a macro and function so that the simple unit test
12094           case can be just one macro to create main()
12095
12096 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
12097
12098         * gst/gstbin.c: (gst_bin_restore_thyself):
12099         * gst/gstxml.c: (gst_xml_make_element):
12100           Fix deserialisation from XML. Set parent manually
12101           instead of using gst_bin_add(), since gst_bin_add()
12102           will unlink all pads of the element being added.
12103           Fixes #341667.
12104
12105 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
12106
12107         Patch by: Peter Kjellerstedt <pkj at axis com>
12108
12109         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
12110           Fix missing g_strdup() and double free when using the
12111           --gst-plugin-load command line option (#346097).
12112
12113 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
12114
12115         * gst/gstinfo.c:
12116           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
12117
12118         * libs/gst/net/gstnetclientclock.c:
12119         * libs/gst/net/gstnettimeprovider.c:
12120           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
12121
12122 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
12123
12124         * docs/manual/advanced-dataaccess.xml:
12125           Fix buffer probe example compilation in
12126           ADM (#345708).
12127         
12128 2006-06-22  Edward Hervey  <edward@fluendo.com>
12129
12130         * gst/gstelement.c: (gst_element_pads_activate):
12131         We need to deactivate src pads first and then sink pads.
12132         The reason is the src pads might be blocking while holding the streaming
12133         lock, so we need to deactivate them first so that deactivating the sink
12134         pads doesn't block (since it will require the streaming lock).
12135
12136 2006-06-22  Wim Taymans  <wim@fluendo.com>
12137
12138         * libs/gst/base/gstbasetransform.c:
12139         (gst_base_transform_buffer_alloc):
12140         Forgot to remove two unneeded unrefs.
12141         Simplify a check _is_equal allready checks the obvious case.
12142
12143 2006-06-22  Wim Taymans  <wim@fluendo.com>
12144
12145         * docs/design/part-block.txt:
12146         Some docs about what pad_block should do.
12147
12148 2006-06-22  Wim Taymans  <wim@fluendo.com>
12149
12150         * gst/gstcaps.c: (gst_caps_replace):
12151         Fix crasher when passed NULL. Doc clarification.
12152         Optimize for the trivial case.
12153
12154         * gst/gstpipeline.c: (gst_pipeline_change_state):
12155         Small cleanups.
12156
12157         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12158         Small documentation cleanup.
12159
12160         * libs/gst/base/gstbasetransform.c:
12161         (gst_base_transform_buffer_alloc):
12162         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
12163         is what we need and it avoids a whole lot of redundant 
12164         refcount operations.
12165
12166 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
12167
12168         Patch by: Philip Jägenstedt  <philip at lysator liu se>
12169
12170         * docs/manual/advanced-dataaccess.xml:
12171           Fix 'Embedding static elements' section to use
12172           GST_PLUGIN_DEFINE_STATIC (#345607).
12173
12174 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12175
12176         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
12177           Attempt to 'fix' spuriously failing test case: it seems like the
12178           timeout of half a second is simply too small when the system is under
12179           load otherwise, and the timeout doesn't really seem to serve any
12180           particular purpose here. Give the pipeline a few seconds to preroll
12181           first, and then give it another half a second to go from PAUSED to
12182           PLAYING and marshal the message into the main thread.
12183
12184 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12185
12186         * tools/gst-feedback-m.m:
12187           Don't only use unversioned tools, try versioned tools as well
12188           (#345086).
12189
12190 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12191
12192         * gst/gstbus.c: (gst_bus_class_init):
12193           Fix some typos, make docs more explicit.
12194
12195 2006-06-20  Wim Taymans  <wim@fluendo.com>
12196
12197         * tests/check/gst/gstghostpad.c: (block_callback),
12198         (GST_START_TEST), (gst_ghost_pad_suite):
12199         Added some more ghostpad tests, mainly blocking
12200         and probes.
12201
12202 2006-06-16  Wim Taymans  <wim@fluendo.com>
12203
12204         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12205         (gst_file_sink_close_file), (gst_file_sink_do_seek),
12206         (gst_file_sink_event), (gst_file_sink_render):
12207         * plugins/elements/gstfilesink.h:
12208         Check if we can seek in the file instead of assuming
12209         we always can. Post an error when we are asked to seek in a
12210         non-seekable file (like a fifo). Fixes #343312.
12211         Some cleanups.
12212
12213 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
12214
12215         * tools/gst-launch.1.in:
12216           Un-garble (fourcc) bit in filtered caps section.
12217
12218 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
12219
12220         * docs/manual/advanced-autoplugging.xml:
12221         * docs/manual/basics-helloworld.xml:
12222         * docs/manual/highlevel-components.xml:
12223           Don't leak bus reference in sample code.
12224
12225 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
12226
12227         * autogen.sh:
12228           Add default for new --enable-plugin-docs switch.
12229
12230         * configure.ac:
12231           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
12232           Fixes #344039.
12233
12234         * docs/Makefile.am:
12235           Use new ENABLE_PLUGIN_DOCS conditional.
12236
12237 2006-06-14  Wim Taymans  <wim@fluendo.com>
12238
12239         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
12240         Make it clear with a FIXME and a real define what the #if 0
12241         previously disabled.
12242
12243 2006-06-14  Wim Taymans  <wim@fluendo.com>
12244
12245         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12246         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12247         * libs/gst/base/gstbasetransform.c:
12248         (gst_base_transform_sink_eventfunc):
12249         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12250         Don't randomly and silently reset a segment when the format 
12251         changes as this is a bug somewhere upstream. Fixes #330379.
12252
12253 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
12254
12255         Patch by: Wouter Paesen  <wouter at kangaroot net>
12256
12257         * libs/gst/controller/gstcontroller.c:
12258         (gst_controlled_property_new):
12259           Fix controlling of float properties (#344849).
12260
12261         * tests/check/libs/controller.c:
12262         (gst_test_mono_source_get_property),
12263         (gst_test_mono_source_set_property),
12264         (gst_test_mono_source_class_init), (GST_START_TEST):
12265           While we're at it, add some float stuff to unit test.
12266
12267 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12268
12269         * docs/README:
12270         * docs/images/gdp-header.svg:
12271           add a gdp image
12272         * docs/libs/Makefile.am:
12273         * docs/libs/gdp-header.png:
12274         * libs/gst/dataprotocol/dataprotocol.c:
12275           add it to the API docs
12276         * docs/manual/intro-motivation.xml:
12277           fix typo
12278
12279 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
12280
12281         * gst/gst.c: (scan_and_update_registry), (init_post):
12282           If the fork()'ed child process can't write the updated registry cache
12283           file to disk for some reason, make it exit with a failure exit code,
12284           so that the parent can then re-scan the plugins itself and update the
12285           registry structures in memory and work with that (rather than failing
12286           when creating elements because seemingly no plugins are available).
12287           Refactor registry scanning code into separate function for this and
12288           also separate fork() and non-fork() code paths. Fixes #344748.
12289
12290 2006-06-13  Wim Taymans  <wim@fluendo.com>
12291
12292         * docs/manual/advanced-dataaccess.xml:
12293         Fix wrong PluginDesc. Fixes #344755.
12294
12295 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
12296
12297         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12298           Fix silly bug that prevented us from creating
12299           ~/.gstreamer-0.10 and writing the registry in one
12300           go (the first call to g_mkstemp() would overwrite the
12301           placeholder in the template string, so the second call
12302           to g_mkstemp() after creating the missing directory
12303           would then error out with 'invalid argument').
12304
12305 2006-06-13  Edward Hervey  <edward@fluendo.com>
12306
12307         * gst/gst.c: (init_post):
12308         Free string.
12309
12310 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12311
12312         * gst/glib-compat-private.h:
12313         * gst/glib-compat.c:
12314         * gst/glib-compat.h:
12315         * gst/gstvalue.c: (gst_value_serialize_flags):
12316           remove GLib 2.6 compatibility code
12317
12318 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
12319
12320         * gst/parse/Makefile.am:
12321           Fix build with 'make -j N' even more (#340016).
12322
12323 2006-06-12  Wim Taymans  <wim@fluendo.com>
12324
12325         * docs/gst/gstreamer-sections.txt:
12326         Fix docs.
12327
12328 2006-06-12  Wim Taymans  <wim@fluendo.com>
12329
12330         * gst/gstsegment.c: (gst_segment_set_duration),
12331         (gst_segment_set_last_stop), (gst_segment_set_seek),
12332         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12333         (gst_segment_to_running_time), (gst_segment_clip):
12334         Use G_UNLIKELY to help the compiler a bit.
12335
12336 2006-06-12  Wim Taymans  <wim@fluendo.com>
12337
12338         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12339
12340         * gst/gstevent.c: (gst_event_get_type):
12341         * gst/gstmessage.c:
12342         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12343         (gst_pad_push):
12344         constify quark registration strings. Fixes #344115
12345         Avoid unneeded type checking is _pad_push() by internally
12346         calling gst_pad_chain_unchecked().
12347
12348 2006-06-12  Wim Taymans  <wim@fluendo.com>
12349
12350         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12351         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12352         (gst_subbuffer_finalize), (gst_buffer_create_sub),
12353         (gst_buffer_is_span_fast), (gst_buffer_span):
12354         Init _type for consistency.
12355         Use _FLAGS macro to avoid type check.
12356         Avoid unneeded type checks in subbufer code.
12357
12358 2006-06-12  Wim Taymans  <wim@fluendo.com>
12359
12360         * gst/gst.c: (gst_debug_help):
12361         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12362         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12363         (gst_plugin_feature_list_free):
12364         * gst/gstregistry.c: (gst_registry_add_plugin),
12365         (gst_registry_add_feature), (gst_registry_plugin_filter),
12366         (gst_registry_feature_filter), (gst_registry_find_plugin),
12367         (gst_registry_find_feature), (gst_registry_get_plugin_list),
12368         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12369         * gst/gstregistryxml.c: (load_feature),
12370         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12371         * gst/gstminiobject.c: (gst_mini_object_unref),
12372         (gst_mini_object_replace), (gst_value_mini_object_free),
12373         (gst_value_mini_object_copy):
12374         Use _CAST macros to avoid unneeded type checking.
12375         Added some more G_UNLIKELY.
12376
12377 2006-06-12  Wim Taymans  <wim@fluendo.com>
12378
12379         * gst/gstbuffer.h:
12380         Avoid unneeded type checking.
12381         API: GST_BUFFER_IS_DISCONT
12382
12383         * gst/gstminiobject.h:
12384         Avoid type check in flag accessor.
12385
12386         * gst/gstelementfactory.h:
12387         * gst/gstplugin.h:
12388         * gst/gstpluginfeature.h:
12389         Add _CAST macros.
12390         API: GST_ELEMENT_FACTORY_CAST
12391         API: GST_PLUGIN_CAST
12392         API: GST_PLUGIN_FEATURE_CAST
12393
12394 2006-06-12  Wim Taymans  <wim@fluendo.com>
12395
12396         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12397         (gst_object_unref):
12398         Add G_UNLIKELY in type registration.
12399         Avoid type check in _ref/_unref since that is also
12400         done in glib.
12401
12402 2006-06-12  Wim Taymans  <wim@fluendo.com>
12403
12404         * gst/gsterror.c: (gst_g_error_get_type):
12405         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12406         (gst_static_pad_template_get_type):
12407         * gst/gsttaglist.c: (gst_tag_list_get_type):
12408         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12409         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12410         * gst/gsturi.c: (gst_uri_handler_get_type):
12411         * gst/gstvalue.c: (gst_date_get_type):
12412         * gst/gstxml.c: (gst_xml_get_type):
12413         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12414         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12415         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12416         Add G_UNLIKELY in type registration.
12417
12418 2006-06-12  Wim Taymans  <wim@fluendo.com>
12419
12420         * tools/gst-inspect.c: (print_signal_info):
12421         Properly print enum values.
12422
12423 2006-06-12  Wim Taymans  <wim@fluendo.com>
12424
12425         * gst/gstinfo.c: (gst_debug_set_active),
12426         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12427         * gst/gstinfo.h:
12428         Add some G_[UN]LIKELY.
12429         Maintain __gst_debug_min to avoid formatting the arguments of
12430         debug messages that will be dropped anyway to avoid a lot of 
12431         overhead from the debugging system.
12432
12433 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12434
12435         * po/POTFILES.in:
12436         * po/POTFILES.skip:
12437           add missing files containing translatable strings, tell intltool about
12438           one exception
12439
12440 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12441
12442         * tests/check/libs/.cvsignore:
12443         add test-binary to ignore list
12444
12445 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12446
12447         * docs/libs/gstreamer-libs-docs.sgml:
12448         reorder (put dp into a chapter) and indent
12449
12450 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12451
12452         * configure.ac:
12453           back to HEAD
12454
12455 === release 0.10.8 ===
12456
12457 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
12458
12459         * configure.ac:
12460           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12461
12462 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12463
12464         * gst/gst.c: (init_post):
12465           move pid declaration to declaration block
12466
12467 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12468
12469         * gst/gst.c: (init_post):
12470           use _exit() instead of exit() in our forked child; this ensures
12471           that none of the registered exit handlers from whatever is using
12472           GStreamer get executed.  This fixes gnome-mixer-applet failing
12473           to load, because ORBit would shut down.
12474           Spotted by: Edward Hervey  <edward@fluendo.com>
12475           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
12476           Fixes #344474
12477
12478 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
12479
12480         * configure.ac:
12481           back to TRUNK
12482
12483 === release 0.10.7 ===
12484
12485 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
12486
12487         * configure.ac:
12488           releasing 0.10.7, "Soepeke, ik zie ou"
12489
12490 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12491
12492         * configure.ac:
12493         * po/af.po:
12494         * po/az.po:
12495         * po/bg.po:
12496         * po/ca.po:
12497         * po/cs.po:
12498         * po/de.po:
12499         * po/en_GB.po:
12500         * po/fr.po:
12501         * po/it.po:
12502         * po/nb.po:
12503         * po/nl.po:
12504         * po/ru.po:
12505         * po/sq.po:
12506         * po/sr.po:
12507         * po/sv.po:
12508         * po/tr.po:
12509         * po/uk.po:
12510         * po/vi.po:
12511         * po/zh_CN.po:
12512         * po/zh_TW.po:
12513         * win32/common/config.h:
12514           0.10.6.2 prerelease
12515
12516 2006-06-07  Wim Taymans  <wim@fluendo.com>
12517
12518         * gst/gstindex.c: (gst_index_gtype_resolver):
12519         * tools/gst-xmlinspect.c: (print_plugin_info):
12520         Fix leak spotted by coverity checker. Fixes #343827
12521         Fix another other leak found by paolo borelli.
12522
12523 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12524
12525         * libs/gst/dataprotocol/dataprotocol.c:
12526         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12527         (gst_dp_version_get_type), (gst_dp_init),
12528         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12529         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12530         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12531         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12532         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12533         (gst_dp_packetizer_free):
12534         * libs/gst/dataprotocol/dataprotocol.h:
12535           API: add a GstDPPacketizer object, and create/free functions
12536           API: add GstDPVersion enum
12537           Add 1.0 event function that uses the string serialization
12538           Serialize more useful buffer flags
12539           Fixes #343988
12540
12541 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12542
12543         * tests/check/Makefile.am:
12544         * tests/check/gst/gstabi.c:
12545         * tests/check/gst/struct_ppc64.h:
12546         * tests/check/libs/libsabi.c:
12547         * tests/check/libs/struct_ppc64.h:
12548           add ppc64 structure sizes
12549
12550 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12551
12552         * tests/check/Makefile.am:
12553         * tests/check/gst/gstabi.c:
12554         * tests/check/gst/struct_x86_64.h:
12555         * tests/check/libs/libsabi.c:
12556         * tests/check/libs/struct_x86_64.h:
12557           generate and add structure size lists for x86_64
12558
12559 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12560
12561         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12562         * libs/gst/check/gstcheck.h:
12563           factor out the method from tests that checks size of structures,
12564           and add code to generate the header containing these sizes
12565         * tests/check/gst/gstabi.c: (GST_START_TEST):
12566         * tests/check/gst/struct_i386.h:
12567         * tests/check/libs/libsabi.c: (GST_START_TEST):
12568         * tests/check/libs/struct_i386.h:
12569           use it
12570
12571 2006-06-06  Michael Smith  <msmith@fluendo.com>
12572
12573         * gst/gstsegment.h:
12574           Don't use c++-style comments, fixes #343929
12575
12576 2006-06-05  Edward Hervey  <edward@fluendo.com>
12577
12578         * gst/gst.c:
12579         plugin_paths is not used if we build without registry support.
12580
12581         * gst/gstsegment.c: (gst_segment_copy): 
12582         _copy() was always returning NULL...
12583
12584 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12585
12586         * libs/gst/dataprotocol/dataprotocol.c:
12587         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12588         (gst_dp_packet_from_event):
12589           factor out CRC code
12590
12591 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12592
12593         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
12594           make sure we unset caps
12595
12596 2006-06-02  Michael Smith  <msmith@fluendo.com>
12597
12598         * libs/gst/check/gstcheck.c: (gst_check_init),
12599         (gst_check_chain_func):
12600         * libs/gst/check/gstcheck.h:
12601           Add a cond/mutex to the check support lib, signal this whenever we
12602           add to the buffers list. This will allow tests to not busy-wait on
12603           the buffer-list.
12604
12605 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12606
12607         * libs/gst/dataprotocol/dataprotocol.c:
12608         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12609         (gst_dp_packet_from_event):
12610           factor out some common header init code
12611
12612 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12613
12614         * docs/libs/gstreamer-libs-sections.txt:
12615         * docs/libs/tmpl/gstdataprotocol.sgml:
12616         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
12617         * libs/gst/dataprotocol/dataprotocol.h:
12618           API: make gst_dp_crc() public
12619
12620 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
12621
12622         * plugins/indexers/gstindexers.c: (plugin_init):
12623         conditionally register fileindexer (fixes #343598)
12624
12625 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
12626
12627         * gst/gsttagsetter.h:
12628         Can't cast ifaces to a class
12629
12630         * libs/gst/net/gstnetclientclock.h:
12631         * libs/gst/net/gstnettimeprovider.h:
12632         * plugins/elements/gstfakesink.h:
12633         * plugins/elements/gstfakesrc.h:
12634         * plugins/elements/gstfdsink.h:
12635         * plugins/elements/gstfdsrc.h:
12636         * plugins/elements/gstfilesink.h:
12637         * plugins/elements/gstfilesrc.h:
12638         * plugins/elements/gstidentity.h:
12639         * plugins/elements/gstqueue.h:
12640         * plugins/elements/gsttee.h:
12641         * plugins/indexers/gstfileindex.c:
12642         * plugins/indexers/gstmemindex.c:
12643         * tests/old/examples/plugins/example.h:
12644         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
12645
12646 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12647
12648         * libs/gst/dataprotocol/dataprotocol.c:
12649         (gst_dp_header_from_buffer):
12650           make sure we zero the whole ABI-compatible area
12651
12652 2006-06-01  Wim Taymans  <wim@fluendo.com>
12653
12654         Patch by: Alessandro Decina <alessandro at nnva dot org>
12655
12656         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
12657         Make sure the EOS flag is cleared from pads after a flush
12658         or stop. Fixes #343538.
12659
12660         * tests/check/libs/collectpads.c: (GST_START_TEST),
12661         (gst_collect_pads_suite):
12662         Added test for collectpads reusage after EOS.
12663
12664 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
12665
12666         * gst/gst.c:
12667          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
12668         * win32/common/libgstbase.def:
12669          export gst_collect_pads_set_flushing
12670         * win32/common/libgstreamer.def:
12671          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
12672          gst_value_fraction_multiply
12673         * win32/vs6/gst_inspect.dsp:
12674          add a link to intl.lib
12675
12676 2006-05-30  Wim Taymans  <wim@fluendo.com>
12677
12678         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12679         (gst_collect_pads_chain):
12680         Handle the case where a pad is removed from the collection
12681         that could cause the other pads to become collectable.
12682
12683 2006-05-30  Wim Taymans  <wim@fluendo.com>
12684
12685         * gst/gstelement.c:
12686         Clarify the use of _release_request_pad() and
12687         _get_request_pad() a bit better.
12688
12689         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
12690         (gst_adapter_take_buffer):
12691         Fix some doc and comment typos.
12692
12693 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12694
12695         * docs/gst/gstreamer-sections.txt:
12696         * docs/libs/gstreamer-libs-sections.txt:
12697           add declared symbols
12698
12699 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
12700
12701         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12702         Add debug that can be enabled using a #define at the top of the file,
12703         for dumping stats about how late/early we were when waking up from
12704         waiting on the clock.
12705
12706 2006-05-30  Wim Taymans  <wim@fluendo.com>
12707
12708         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
12709         When rebuilding the pad list, don't leak the previous list.
12710
12711 2006-05-30  Wim Taymans  <wim@fluendo.com>
12712
12713         Patch by: Lutz Mueller <lutz at topfrose dot de>
12714
12715         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12716         (gst_base_src_get_query_types), (gst_base_src_update_length):
12717         Publish supported query types.
12718         Update last_stop field in get_range mode so the position
12719         query works. Fixes #342321.
12720
12721 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
12722
12723         * docs/gst/gstreamer-sections.txt:
12724         * gst/gsttaglist.c: (_gst_tag_initialize):
12725         * gst/gsttaglist.h:
12726           API: add GST_TAG_PREVIEW_IMAGE (#343341).
12727
12728 2006-05-30  Wim Taymans  <wim@fluendo.com>
12729
12730         Patch by: Alessandro Decina <alessandro at nnva dot org>
12731
12732         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
12733         Unlock mutex when removing an unknown pad.
12734         Fixes #343334.
12735
12736         * tests/check/Makefile.am:
12737         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
12738         (push_event), (setup), (teardown), (GST_START_TEST),
12739         (gst_collect_pads_suite), (main):
12740         Added collecpads check, disabled for now as check crashes for
12741         some reason.
12742
12743 2006-05-29  Wim Taymans  <wim@fluendo.com>
12744
12745         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
12746         Don't leak pads lists.
12747
12748 2006-05-29  Wim Taymans  <wim@fluendo.com>
12749
12750         * docs/libs/gstreamer-libs-sections.txt:
12751         * libs/gst/base/gstcollectpads.c:
12752         (gst_collect_pads_set_flushing_unlocked),
12753         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12754         (gst_collect_pads_stop):
12755         * libs/gst/base/gstcollectpads.h:
12756         API: gst_collect_pads_set_flushing()
12757         Added api to set the pads to flushing, useful for seeking
12758         code in elements using collectpads.
12759         Clear segment when receiving a flush.
12760
12761 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
12762
12763         * gst/gst.c: (add_path_func), (init_post):
12764           Don't scan registry paths passed via --gst-plugin-path immediately
12765           (will crash, because absolutely nothing is set up and no types are
12766           registered etc.); do this later in init_post(). Fixes #343057.
12767
12768 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12769
12770         * gst/gst.c: (init_post):
12771           if we have fork, fork while reading/rebuilding the registry
12772           so the parent doesn't take the hit of having all plugins loaded
12773           in memory.  Fixes #342777.
12774         * configure.ac:
12775           Check if we have fork()
12776         * win32/common/config.h.in:
12777           no fork() on win32
12778
12779 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
12780
12781         * plugins/elements/gstelements.c:
12782         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12783         (gst_file_src_init), (gst_file_src_set_property),
12784         (gst_file_src_get_property), (gst_file_src_start):
12785         * plugins/elements/gstfilesrc.h:
12786           API: GstFileSrc::use-mmap
12787
12788         Add a use-mmap property to enable easier testing of all code paths.
12789         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
12790         in the absence of gnomevfssrc. (Closes #340501)
12791
12792 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12793
12794         * tools/gst-inspect.c:
12795         Add missing include, removes warning of ngettext not being defined on
12796         some arches.
12797
12798 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
12799
12800         * gst/gstvalue.c: (gst_value_deserialize_fraction):
12801         Handle NULL input and output pointers silently as a failed conversion,
12802         rather than g_warnings.
12803
12804 2006-05-25  Wim Taymans  <wim@fluendo.com>
12805
12806         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
12807         Initialize variable before using. Fixes #342820.
12808
12809 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
12810
12811         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
12812           Fix off-by-one bug that would only allow peeks of N-1 bytes
12813           from the start even if the buffer to typefind on contains
12814           in fact N bytes of data (makes vorbis typefinding from a
12815           vorbis identification header buffer work).
12816
12817         * tests/check/Makefile.am:
12818         * tests/check/libs/.cvsignore:
12819         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
12820         (gst_typefindhelper_suite), (main), (foobar_typefind),
12821         (plugin_init):
12822           Add very basic unit test for gst_type_find_helper_for_buffer()
12823           that checks for the problem fixed above.
12824
12825 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12826
12827         * tools/gst-inspect.c: (print_interfaces),
12828         (print_element_properties_info), (print_element_list), (main):
12829           add more translatable strings
12830
12831 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
12832
12833         Patch by: Julien Moutte  <julien at moutte net>
12834
12835         * docs/gst/gstreamer-sections.txt:
12836           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
12837           
12838         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
12839         (gst_fake_sink_preroll):
12840         * plugins/elements/gstfakesink.h:
12841           API: Add new GstFakeSink::preroll-handoff signal (#337100).
12842
12843 2006-05-23  Wim Taymans  <wim@fluendo.com>
12844
12845         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
12846         * gst/gstpad.h:
12847         Added _CUSTOM error and success GstFlowReturn that can be
12848         used be elements internally. 
12849         Added macro to check for SUCCESS flowreturns.
12850         API: GST_FLOW_CUSTOM_SUCCESS
12851         API: GST_FLOW_CUSTOM_ERROR
12852         API: GST_FLOW_IS_SUCCESS
12853
12854         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
12855         Added check for GstFlowReturn sanity.
12856
12857 2006-05-23  Wim Taymans  <wim@fluendo.com>
12858
12859         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
12860
12861         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12862         (gst_collect_pads_event):
12863         clear/reset segment info in FLUSH_STOP.
12864         Fixes #336929.
12865
12866 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
12867
12868         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
12869         (gst_collect_pads_check_collected):
12870         Flush queued buffer on _stop(), fixes playing again (#342454)
12871
12872 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12873
12874         * tests/check/gst/gststructure.c: (GST_START_TEST),
12875         (gst_structure_suite):
12876           add a test for a complete structure
12877
12878 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
12879
12880         * docs/faq/developing.xml:
12881         * docs/faq/faq.xml:
12882         * docs/faq/troubleshooting.xml:
12883         * docs/faq/using.xml:
12884           Some minor FAQ updates that won't change the fact that
12885           our FAQ is badly structured, full of information hardly
12886           anyone new to GStreamer needs to know and lacking lots
12887           of information people constantly ask for.
12888           
12889 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
12890
12891         * gst/gstpad.c: (gst_pad_set_caps):
12892           Short-circuit gst_pad_set_caps if setting the existing
12893           caps pointer again, and avoid printing debug and 
12894           reffing/unreffing the caps.
12895
12896         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12897           There's actually no need to set the caps before pushing -
12898           the acceptcaps method will handle it anyway.
12899
12900 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
12901
12902         * docs/gst/gstreamer-sections.txt:
12903         * win32/common/libgstreamer.def:
12904         * gst/gstutils.c: (gst_element_seek_simple):
12905         * gst/gstutils.h:
12906           API: add gst_element_seek_simple() (#342238).
12907
12908 2006-05-18  Edward Hervey  <edward@fluendo.com>
12909
12910         * gst/gsttypefind.c: (gst_type_find_get_type):
12911         * gst/gsttypefind.h:
12912         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
12913         registered for GstTypeFind pointers. This allows wrapping the structure
12914         in bindings (i.e. gst-python).
12915
12916 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
12917
12918         * gst/gsttagsetter.c:
12919           Docs additions and fixes (see #339918).
12920
12921 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
12922
12923         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12924         The caps intersection algorithm can produce multiple copies of the
12925         caps. Until that is fixed, we need to simplify the result to be
12926         sure whether the allowed caps are fixed or not.
12927
12928         * plugins/elements/gstqueue.c: (gst_queue_init),
12929         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
12930         (gst_queue_push_one):
12931         Proxied buffer alloc should not set the caps on the source pad.
12932         When pushing buffers, we always accept the caps change that triggers.
12933         This prevents negotiation errors caused by caps changing mid-stream 
12934         and then being refused on our source pad (because upstream is now
12935         refusing those caps).
12936
12937 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
12938
12939         * tests/examples/helloworld/helloworld.c: (main):
12940           Must plug audioconvert and audioresample between decoder
12941           and audio sink.
12942
12943 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
12944
12945         * gst/gstregistryxml.c: (read_string), (load_pad_template),
12946         (load_feature), (load_plugin):
12947         Allow empty strings for some of the plugin fields so we don't 
12948         drop valid plugin entries that were written out correctly
12949         (Fixes #341479)
12950
12951 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
12952         
12953         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12954           Use g_remove and g_rename instead of remove and rename that don't 
12955           handle utf8 characters. rename was failing for users who had specific
12956           characters in their name then the registry was built at each 
12957           gstreamer init.
12958         * win32/vs6/gst_inspect.dsp:
12959         * win32/vs6/gst_launch.dsp:
12960         * win32/vs6/libgstbase.dsp:
12961         * win32/vs6/libgstcoreelements.dsp:
12962         * win32/vs6/libgstreamer.dsp:
12963           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
12964           build of libgstreamer and clean unused libraries in projects link 
12965           settings.
12966
12967 2006-05-17  Edward Hervey  <edward@fluendo.com>
12968
12969         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12970         The queue is not responsible for pushing an EOS when receiving a fatal
12971         flow error. It's up to the real element driving the pipeline to do that.
12972
12973 2006-05-16  Edward Hervey  <edward@fluendo.com>
12974
12975         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12976         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
12977         buffer returned a fatal error. It should just send an EOS and stop
12978         its task.
12979         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
12980         when pushing buffers on the queue and will be able to handle the event.
12981
12982 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
12983
12984         * docs/manual/basics-bins.xml:
12985         * docs/manual/basics-init.xml:
12986           Fix typos and minor errors in sample code (#341856).
12987
12988 2006-05-16  Wim Taymans  <wim@fluendo.com>
12989
12990         * docs/design/part-qos.txt:
12991         Fix indexes in formulas to make more sense.
12992
12993 2006-05-15  Wim Taymans  <wim@fluendo.com>
12994
12995         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12996         Don't report POSITION based on clock time if sync is
12997         disabled in a sink.
12998
12999 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
13000
13001         * gst/gstobject.h:
13002           Add cast to make compiler happy - refcount variable was a gint
13003           in GstObject but is a guint in GObject and g_atomic_int_get()
13004           wants a gint *.
13005
13006 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13007
13008         * gst/parse/Makefile.am:
13009           chain commands using &&, which also makes parallel make work
13010
13011 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
13012
13013         * docs/gst/gstreamer-sections.txt:
13014         * gst/gstevent.c:
13015         * gst/gstevent.h:
13016         * gst/gstmessage.h:
13017           Minor docs fixes.
13018
13019 === release 0.10.6 ===
13020
13021 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
13022
13023         * configure.ac:
13024           releasing 0.10.6, "Take the cannoli"
13025
13026 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
13027
13028         * tools/gst-launch.c: (print_tag):
13029           Fix use of uninitialized variable in the hypothetical
13030           case that some broken plugin creates a GST_TAG_IMAGE
13031           tag containing a NULL buffer (#341667).
13032
13033 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
13034
13035         * tools/gst-launch.c: (print_tag):
13036           Print something more intelligible for image tags when
13037           using the -t switch (#341556).
13038
13039 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13040
13041         * Makefile.am:
13042           updates for win32
13043         * configure.ac:
13044           define GST_MAJORMINOR so we have it available in win32/common/config.h
13045           Possibly remove it from our Makefile.am files later
13046         * win32/common/config.h:
13047         * win32/common/config.h.in:
13048           added GST_MAJORMINOR
13049         * win32/common/gstenumtypes.c: (register_gst_resource_error):
13050         * win32/common/gstversion.h:
13051           updated
13052
13053 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
13054
13055         * win32/MANIFEST:
13056           Update win32 files listing.
13057         * win32/common/gstversion.h:
13058           Add GST_MAJORMINOR definition.
13059         * win32/common/libgstreamer.def:
13060           Add new exported functions.
13061           
13062 2006-05-12  Michael Smith  <msmith@fluendo.com>
13063
13064         * gst/gstplugin.c: (gst_plugin_load_file):
13065           If an so file has no plugin entry point, unload the module.
13066
13067 2006-05-11  Wim Taymans  <wim@fluendo.com>
13068
13069         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
13070         (gst_queue_set_property):
13071         Don't forget to signal the _chain or _loop function 
13072         when the queue size or thresholds change since that might
13073         cause them to make progres again.
13074
13075 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
13076
13077         * gst/gstclock.c: (gst_clock_class_init):
13078         * gst/gstindex.c: (gst_index_class_init):
13079         * gst/gstobject.c: (gst_object_class_init):
13080         * gst/gstpad.c: (gst_pad_class_init):
13081         * gst/gstpipeline.c: (gst_pipeline_class_init):
13082         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13083         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
13084         * libs/gst/base/gstbasetransform.c:
13085         (gst_base_transform_class_init):
13086         * libs/gst/net/gstnetclientclock.c:
13087         (gst_net_client_clock_class_init):
13088         * libs/gst/net/gstnettimeprovider.c:
13089         (gst_net_time_provider_class_init):
13090         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
13091         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
13092         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
13093         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
13094         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13095         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
13096         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13097         * plugins/elements/gstidentity.c: (gst_identity_class_init):
13098         * plugins/elements/gsttee.c: (gst_tee_class_init):
13099         * tests/old/examples/plugins/example.c: (gst_example_class_init):
13100         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13101           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
13102
13103 2006-05-11  Wim Taymans  <wim@fluendo.com>
13104
13105         * gst/gstbuffer.c: (_gst_buffer_initialize):
13106         Register subbufer along with the buffer type so that
13107         it does not accidentally gets registered from N
13108         different streaming threads in a non threadsafe way.
13109
13110 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
13111
13112         * gst/gstbuffer.h:
13113         * gst/gstevent.h:
13114         * gst/gstmessage.h:
13115           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
13116           gst_event_ref() and gst_message_ref() functions again
13117           (ugly hack, please do fix if there's a better way besides
13118           overrides.txt, which doesn't seem to work).
13119
13120 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13121
13122         * libs/gst/check/gstcheck.h:
13123           add an assert for setting state to avoid lots of repetitive code
13124           in the future
13125
13126 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13127
13128         * gst/gstvalue.c: (gst_value_serialize_flags):
13129           fix a leak if no flags are set
13130         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13131           fix leak in tests
13132
13133 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
13134
13135         * docs/manual/basics-pads.xml:
13136           Expand a bit on caps and filtered links and update
13137           examples that were still using the no longer existing
13138           gst_pad_link_filtered() (#338206).
13139
13140 2006-05-10  Wim Taymans  <wim@fluendo.com>
13141
13142         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13143         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13144         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13145         (gst_collect_pads_stop):
13146         * libs/gst/base/gstcollectpads.h:
13147         No need to call _stop in _finalize.
13148         Iterate the main pad list in _finalize.
13149         Added some more debug.
13150         Free lists and data in the right order.
13151         Also free data whem doing _remove_pad when stopped for
13152         backward compatibility protect ::started with PAD_LOCK as
13153         well.
13154
13155 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13156
13157         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
13158         (gst_structure_parse_value):
13159           add some comments
13160           rename a method so that it actually says what it does better
13161
13162 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13163
13164         * gst/gstevent.c: (_gst_event_initialize):
13165         * gst/gstformat.c: (_gst_format_initialize):
13166           make sure some essential types used by events are registered
13167           as part of gst_init()
13168         * gst/gstvalue.c: (gst_value_serialize_flags):
13169           if no flags are set, serialize them to a value that represents NONE
13170           so that deserializing them works
13171         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13172           add tests for serialization and deserialization of flags
13173
13174 2006-05-10  Wim Taymans  <wim@fluendo.com>
13175
13176         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
13177         (gst_collect_pads_collect_range), (gst_collect_pads_available),
13178         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
13179         (gst_collect_pads_event), (gst_collect_pads_chain):
13180         Update docs.
13181         Better debug info.
13182         Catch and return errors from the collect function
13183         Refuse data on eos pads.
13184
13185 2006-05-10  Edward Hervey  <edward@fluendo.com>
13186
13187         * gst/gstinterface.h:
13188         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
13189         GInterface type checking.
13190         They were previously using non-defined macros.
13191
13192 2006-05-09  Wim Taymans  <wim@fluendo.com>
13193
13194         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
13195         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
13196         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
13197         (gst_collect_pads_start), (gst_collect_pads_stop),
13198         (gst_collect_pads_peek), (gst_collect_pads_pop),
13199         (gst_collect_pads_available), (gst_collect_pads_read),
13200         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
13201         (gst_collect_pads_is_collected), (gst_collect_pads_event),
13202         (gst_collect_pads_chain):
13203         * libs/gst/base/gstcollectpads.h:
13204         Clean up the mess that is collectpads, add comments and
13205         FIXMEs where needed.
13206         Maintain a separate pad list so we can add pads while
13207         collecting the other ones. For this we need a new separate 
13208         lock (see comics).
13209         Fix memory leak in finalize.
13210         Refactor some weird code to set/unset pad flushing flags, mark
13211         with comments.
13212         Don't crash in _available, _read, _flush when we're EOS.
13213
13214         * tests/check/libs/.cvsignore:
13215         Ignore adapter check binary.
13216
13217 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13218
13219         * gst/gstindex.c: (gst_index_resolver_get_type):
13220         * plugins/elements/gstfakesink.c:
13221         (gst_fake_sink_state_error_get_type):
13222         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13223         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
13224         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
13225           Const-ify GEnumValue arrays.
13226
13227 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13228
13229         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13230           Add test case for flags + gst_buffer_make_metadata_writable().
13231
13232 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13233
13234         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
13235           gst_buffer_make_metadata_writable() should maintain the
13236           buffer flags (those that make sense at least) (see #340859).
13237
13238 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13239
13240         * tools/gst-inspect.c:
13241         * tools/gst-launch.c:
13242         * tools/gst-typefind.c:
13243         * tools/gst-xmlinspect.c:
13244         * tools/tools.h:
13245           Fix up includes: need to include stdlib.h in tools.h for exit().
13246
13247 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13248
13249         * gst/gsttaglist.c: (_gst_tag_initialize):
13250         * gst/gsttaglist.h:
13251           API: add GST_TAG_IMAGE tag (#340721).
13252
13253 2006-05-08  Wim Taymans  <wim@fluendo.com>
13254
13255         * gst/gstquery.c:
13256         Added some docs for the segment query.
13257
13258 2006-05-08  Wim Taymans  <wim@fluendo.com>
13259
13260         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13261         (gst_base_src_loop), (gst_base_src_change_state):
13262         Always push non-flushing serialized events in the streaming 
13263         thread.
13264
13265 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
13266
13267         * gst/gsterror.c: (_gst_stream_errors_init):
13268           Add a missing error string.
13269
13270 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
13271
13272         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
13273         Add applied_rate to the debug
13274
13275         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13276         Copy applied_rate into the outgoing NEWSEGMENT event
13277
13278 2006-05-08  Wim Taymans  <wim@fluendo.com>
13279
13280         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
13281
13282         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
13283         (gst_base_sink_change_state):
13284         call ::unlock before taking the PREROLL_LOCK so we can safely
13285         handle elements that lock in ::render.
13286         Fixes #340174.
13287
13288 2006-05-08  Edward Hervey  <edward@fluendo.com>
13289
13290         * autogen.sh: (CONFIGURE_DEF_OPT): 
13291         Darwin's libtoolize is in fact called glibtoolize.
13292         Adding glibtoolize to the list of accepted names for libtoolize.
13293
13294 2006-05-08  Wim Taymans  <wim@fluendo.com>
13295
13296         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13297         Unify error handling, don't post an error message
13298         when a push() returns EOS but perform our normal EOS
13299         handling code. Fixes #340772.
13300
13301 2006-05-08  Wim Taymans  <wim@fluendo.com>
13302
13303         * docs/design/part-overview.txt:
13304         Make upsteam/downstream concepts more clear.
13305         Give an example of serialized/non-serialized events.
13306
13307         * docs/design/part-events.txt:
13308         * docs/design/part-streams.txt:
13309         Mention applied_rate.
13310
13311         * docs/design/part-trickmodes.txt:
13312         Mention applied rate, flesh out some more use cases.
13313
13314         * gst/gstevent.c: (gst_event_new_new_segment),
13315         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
13316         (gst_event_parse_new_segment_full), (gst_event_new_tag),
13317         (gst_event_parse_tag), (gst_event_new_buffer_size),
13318         (gst_event_parse_buffer_size), (gst_event_new_qos),
13319         (gst_event_parse_qos), (gst_event_parse_seek),
13320         (gst_event_new_navigation):
13321         * gst/gstevent.h:
13322         Add applied_rate field to NEWSEGMENT event.
13323         API: gst_event_new_new_segment_full()
13324         API: gst_event_parse_new_segment_full()
13325
13326         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13327         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13328         (gst_segment_to_stream_time), (gst_segment_to_running_time):
13329         * gst/gstsegment.h:
13330         Add applied_rate to GstSegment structure.
13331         Make calculation of stream_time and running_time more correct
13332         wrt rate/applied_rate.
13333         Add some more docs.
13334         API: GstSegment::applied_rate field
13335         API: gst_segment_set_newsegment_full();
13336
13337         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13338         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13339         * libs/gst/base/gstbasetransform.c:
13340         (gst_base_transform_sink_eventfunc),
13341         (gst_base_transform_handle_buffer):
13342         Parse and use applied_rate in the GstSegment field.
13343
13344         * tests/check/gst/gstevent.c: (GST_START_TEST):
13345         Add check for applied_rate field.
13346
13347         * tests/check/gst/gstsegment.c: (GST_START_TEST),
13348         (gstsegments_suite):
13349         Add more checks for various GstSegment operations.
13350
13351 2006-05-08  Wim Taymans  <wim@fluendo.com>
13352
13353         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13354         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13355         (gst_base_sink_get_position), (gst_base_sink_change_state):
13356         Store the sync time of the buffer end position separatly in a
13357         new variable eos_rtime so we can properly sync the EOS event.
13358         Fixes #340697.
13359         Fix the docs for gst_base_sink_set_qos_enabled().
13360         Don't set segment start to invalid value when we receive a 
13361         non TIME newsegment.
13362         get closer to handling position reporting for negative rates 
13363         correctly.
13364
13365 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13366
13367         * gst/gstcaps.c:
13368         Docs about how to print caps for debug purposes.
13369
13370         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13371         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13372
13373 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13374
13375         * gst/gstelement.c:
13376           use full enum names and preprend a '%' in docs strings to make recent 
13377           gtk-doc turn that into a link
13378
13379 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13380
13381         * docs/manual/basics-bins.xml:
13382         * docs/manual/basics-bus.xml:
13383         * docs/manual/basics-pads.xml:
13384           Some typo fixes, some additions, some clarifications. 
13385
13386 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13387
13388         * tools/gst-inspect.c: (main):
13389         * tools/gst-launch.c: (main):
13390         * tools/gst-run.c: (main):
13391         * tools/gst-typefind.c: (main):
13392         * tools/gst-xmlinspect.c: (main):
13393           Use the string passed to g_option_context_new() for
13394           what it's intended for - the program name is already
13395           printed elsewhere.
13396
13397 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13398
13399         * tools/Makefile.am:
13400         * tools/gst-inspect.c: (main):
13401         * tools/gst-launch.c: (main):
13402         * tools/gst-xmlinspect.c: (main):
13403         * tools/tools.h:
13404           Add back --version command line option (#340460).
13405
13406         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13407           Add --version option and use GOption for argument parsing; refactor a
13408           bit; accept directories as arguments and recurse into them; lastly,
13409           print a decent error message when things go wrong.
13410
13411 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13412
13413         * docs/manual/basics-bins.xml:
13414         Don't mention GstThread (#340611)
13415         * docs/manual/basics-elements.xml:
13416         Update link to GObject tutorial (#340607)
13417         
13418 2006-05-05  Wim Taymans  <wim@fluendo.com>
13419
13420         * gst/gstbuffer.h:
13421         * gst/gstminiobject.c:
13422         Add note about refcounting and miniobject/buffer writeability
13423         to docs. Fixes #340604
13424
13425         * gst/gstelementfactory.h:
13426         Added some explanation about @klass.
13427
13428 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13429
13430         * docs/manual/intro-motivation.xml:
13431         * docs/manual/manual.xml:
13432         Avoid CORBA & Bonobo references (#340598)
13433
13434 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13435
13436         * docs/manual/basics-bus.xml:
13437         * docs/manual/basics-pads.xml:
13438         Fix up some inaccuracies and omissions (#340609)
13439         
13440 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13441
13442         * gst/gstghostpad.c:
13443           Small typo in docs (#340625)
13444
13445 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13446
13447         * gst/parse/Makefile.am:
13448           Make 'make -j' proof (see #340698).
13449
13450 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13451
13452         * configure.ac:
13453           Require GLib-2.8 here as well.
13454
13455 2006-05-05  Wim Taymans  <wim@fluendo.com>
13456
13457         * gst/glib-compat.c:
13458         * gst/gst.c: (init_pre):
13459         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13460         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13461         (gst_object_dispatch_properties_changed):
13462         * gst/gstobject.h:
13463         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13464         * gst/gststructure.c: (gst_structure_set_valist):
13465         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13466         Remove pre glib2.8 compatibility, fixes #340508
13467
13468 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13469
13470         * gst/gsttaglist.h:
13471           Mention type of tags in doc blurbs.
13472
13473 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
13474
13475         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13476         (gst_pad_configure_src), (gst_pad_push):
13477         Restore acceptcaps checking behaviour now that good plugins have
13478         been released.
13479
13480 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13481
13482         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13483
13484         * gst/gst.c:
13485         * gst/gstbus.c:
13486         * gst/gstclock.c:
13487         * gst/gstevent.c:
13488         * gst/gstformat.c:
13489         * gst/gstmessage.c:
13490         * gst/gstparse.c:
13491         * gst/gstquery.c:
13492         * gst/gstutils.c:
13493         * gst/parse/Makefile.am:
13494         * libs/gst/base/gstadapter.c:
13495         * libs/gst/base/gstbasesrc.c:
13496         * libs/gst/base/gstpushsrc.c:
13497         * libs/gst/base/gsttypefindhelper.c:
13498         * plugins/elements/gstfakesrc.c:
13499         * plugins/elements/gstidentity.c:
13500           Make sure gstprivate.h and/or config.h are
13501           always included first, otherwise some of our
13502           defines (like _FILE_OFFSET_BITS) might be
13503           redefined in the system headers. Fixes build
13504           on opensolaris (#340016).
13505
13506 2006-05-04  Wim Taymans  <wim@fluendo.com>
13507
13508         * docs/libs/gstreamer-libs-sections.txt:
13509         API: addition: gst_adapter_take_buffer()
13510         
13511         * libs/gst/base/gstadapter.c: (gst_adapter_push),
13512         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13513         (gst_adapter_available_fast):
13514         * libs/gst/base/gstadapter.h:
13515         Prepare for optimizing the hell out of this hugely inefficient
13516         piece of code. 
13517         Added gst_adapter_take_buffer() so we can at least start thinking
13518         about subbuffering and merging.
13519         Added some comments.
13520
13521         * tests/check/Makefile.am:
13522         * tests/check/libs/adapter.c: (GST_START_TEST),
13523         (gst_adapter_suite), (main):
13524         Added GstAdapter check.
13525
13526 2006-05-04  Wim Taymans  <wim@fluendo.com>
13527
13528         * docs/design/part-overview.txt:
13529         Fix some typos, add blurb about buffer flags.
13530
13531 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13532
13533         * docs/libs/gstreamer-libs-sections.txt:
13534           make sure GstBaseTransformClass shows up in the docs
13535         * libs/gst/base/gstbasetransform.c:
13536         * libs/gst/base/gstbasetransform.h:
13537           move docs so gtk-doc picks it up now
13538
13539 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13540
13541         * docs/libs/gstreamer-libs-sections.txt:
13542           add missing symbols to docs
13543
13544 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13545
13546         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13547           back out the newsegment handling change, see #340060 for ongoing
13548           discussion
13549
13550 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
13551
13552         * tools/gst-run.c: (get_candidates), (main):
13553           Fix wrong g_file_test() usage (see glib docs for why it doesn't
13554           work); fix typo in error message. Fixes #340079.
13555
13556 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13557
13558         * common/Makefile.am:
13559         * docs/Makefile.am:
13560         * docs/faq/Makefile.am:
13561         * docs/gst/Makefile.am:
13562         * docs/libs/Makefile.am:
13563         * docs/manual/Makefile.am:
13564         * docs/plugins/Makefile.am:
13565         * docs/pwg/Makefile.am:
13566         * docs/slides/Makefile.am:
13567         * docs/upload.mak:
13568         * common/upload.mak:
13569           move upload.mak to common
13570
13571 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13572
13573         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13574           add more asserts on refcounts
13575           do more cleanup at end of tests
13576           fix test leaks showing in FC5
13577
13578 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
13579
13580         * plugins/elements/gsttypefindelement.c:
13581         (gst_type_find_element_handle_event):
13582         reverted wrong change and reflowed code to avoid others falling into
13583         this trap
13584
13585 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13586
13587         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13588           fix changelog entry about last collectpads change,
13589           add notes about proper fix
13590
13591 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13592
13593         * gst/gst.c:
13594         * gst/gstregistry.c: (gst_registry_scan_path_level),
13595         (gst_registry_scan_path):
13596         * gst/gstregistry.h:
13597           only write out registry if it has changed, fixes #338339
13598
13599 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13600
13601         * gst/gstbin.c:
13602         * gst/gstpipeline.c:
13603         * plugins/elements/gstcapsfilter.c:
13604         * plugins/elements/gstfakesink.c:
13605         * plugins/elements/gstfakesrc.c:
13606         * plugins/elements/gstfdsink.c:
13607         * plugins/elements/gstfdsrc.c:
13608         * plugins/elements/gstfilesink.c:
13609         * plugins/elements/gstfilesrc.c:
13610         * plugins/elements/gstidentity.c:
13611         * plugins/elements/gstqueue.c:
13612         * plugins/elements/gsttee.c:
13613         * plugins/elements/gsttypefindelement.c:
13614         (gst_type_find_element_handle_event):
13615           make GstElementDetails const
13616
13617 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13618
13619         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
13620         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13621         (gst_collect_pads_is_collected), (gst_collect_pads_event):
13622           more detailed debug and formatting cleanup,
13623           forward newsegments to src-pad (so that e.g. adder not eats them)
13624
13625 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13626
13627         * gst/gstutils.c: (gst_element_link_pads):
13628           cleanup double code
13629
13630 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13631
13632         * libs/gst/controller/gstcontroller.c:
13633         (gst_controller_sync_values):
13634           some little tuning
13635         * tests/check/libs/controller.c: (GST_START_TEST),
13636         (gst_controller_suite):
13637           a new test for live value handling
13638
13639 2006-04-28  Wim Taymans  <wim@fluendo.com>
13640
13641         * gst/gstutils.c: (push_and_ref):
13642         Added some more docs.
13643         Fix refcount issue whith gst_element_found_tags() helper 
13644         function. Fixes #338335
13645
13646         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13647         Added testsuite for gst_element_found_tags().
13648
13649 2006-04-28  Michael Smith  <msmith@fluendo.com>
13650
13651         * gst/gstvalue.c: (gst_value_serialize_flags):
13652           Avoid NULL dereference when trying to serialize flags containing
13653           invalid values.
13654
13655 2006-04-28  Michael Smith  <msmith@fluendo.com>
13656
13657         * plugins/elements/gsttypefindelement.c:
13658         (gst_type_find_element_handle_event):
13659           If we get EOS before any data is accumulated, don't use
13660           uninitialised local variables.
13661
13662 2006-04-28  Michael Smith  <msmith@fluendo.com>
13663
13664         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13665         (gst_dp_event_from_packet):
13666           Fixes in reading/writing events over GDP (not currently used?) - 
13667           dereferencing NULL events for unknown/invalid event types, memory
13668           leak, and change g_warning to GST_WARNING.
13669
13670 2006-04-28  Wim Taymans  <wim@fluendo.com>
13671
13672         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
13673         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13674         (gst_base_sink_get_position), (gst_base_sink_change_state):
13675         When frame dropping is enabled, we should not ignore frames
13676         without a duration.
13677         Update some documentation.
13678
13679 2006-04-28  Wim Taymans  <wim@fluendo.com>
13680
13681         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13682         (gst_base_src_send_event), (gst_base_src_change_state):
13683         Documentation updates.
13684
13685 2006-04-28  Wim Taymans  <wim@fluendo.com>
13686
13687         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
13688         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
13689         handle EAGAIN, EINTR and short writes correctly. Also clean
13690         up some error cases, avoid a deadlock on bad file descriptors and
13691         use GST_DEBUG_OBJECT.
13692         Fixes #339843
13693
13694 2006-04-28  Wim Taymans  <wim@fluendo.com>
13695
13696         * gst/gstvalue.c: (gst_value_serialize_buffer),
13697         (gst_value_deserialize_buffer):
13698         Don't try to serialize a GValue with a NULL buffer. 
13699         Fixes #339821.
13700
13701         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13702         Added check for serialisation of NULL buffers.
13703
13704 2006-04-28  Wim Taymans  <wim@fluendo.com>
13705
13706         * gst/gstminiobject.c: (gst_value_take_mini_object):
13707         Taking a NULL miniobject is valid, fix the case where
13708         we try to unref the NULL miniobject.
13709
13710 2006-04-28  Wim Taymans  <wim@fluendo.com>
13711
13712         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13713
13714         * gst/gstbin.c: (gst_bin_handle_message_func):
13715         Update docs.
13716         Don't leak bin refcount when a state recalc is
13717         in progress and we delay another one #339808.
13718
13719 2006-04-28  Wim Taymans  <wim@fluendo.com>
13720
13721         * docs/design/part-TODO.txt:
13722         Mention QoS as an ongoing work item.
13723
13724         * docs/design/part-buffering.txt:
13725         New doc about buffering that needs to be fleshed out
13726         at some point.
13727
13728         * docs/design/part-qos.txt:
13729         More QoS policy for decoders/demuxers/transforms
13730
13731         * docs/design/part-trickmodes.txt:
13732         Small update.
13733
13734 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13735
13736         * configure.ac:
13737           back to HEAD
13738
13739 === release 0.10.5 ===
13740
13741 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
13742
13743         * configure.ac:
13744           releasing 0.10.5, "Fogo"
13745
13746 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13747
13748         patch by: Wim Taymans
13749
13750         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13751         (gst_pad_configure_src), (gst_pad_push):
13752         * gst/gstpipeline.c: (gst_pipeline_init):
13753           Fix internal data flow errors.  Fixes #338711.
13754
13755 2006-04-12  Wim Taymans  <wim@fluendo.com>
13756
13757         * tests/check/gst/gstelement.c: (GST_START_TEST):
13758         Don't leak the factory.
13759
13760 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13761
13762         * configure.ac:
13763         * win32/common/config.h:
13764           prerelease
13765
13766 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
13767
13768         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13769         (gst_controller_unset_all):
13770           Free allocated GstTimedValues when freeing list nodes.
13771           Should fix leaks 'make check-valgrind' complains about.
13772
13773         * win32/common/libgstcontroller.def:
13774           Add gst_controller_unset_all.
13775
13776 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
13777
13778         * docs/libs/gstreamer-libs-sections.txt:
13779         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13780         (gst_controller_unset_all):
13781         * libs/gst/controller/gstcontroller.h:
13782         API: Added new method gst_controller_unset_all()
13783         fixed gst_controller_unset()
13784         * tests/check/libs/controller.c: (GST_START_TEST),
13785         (gst_controller_suite):
13786         Added two testcases for new and fixed method
13787
13788 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
13789
13790         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
13791           MSG_DONTWAIT is not defined on Cygwin, so work
13792           around that (fixes #317048).
13793           
13794 2006-04-11  Wim Taymans  <wim@fluendo.com>
13795
13796         * gst/gstelementfactory.c: (gst_element_register),
13797         (gst_element_factory_create), (gst_element_factory_make):
13798         Some cleanups.
13799         Fixed a FIXME.
13800         Updated docs (Fixes #131079)
13801
13802         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13803         Small cleanups.
13804
13805         * tests/check/gst/gstelement.c: (GST_START_TEST),
13806         (gst_element_suite):
13807         Added testcase for elementfactory class field.
13808
13809 2006-04-10  Wim Taymans  <wim@fluendo.com>
13810
13811         * gst/gstsegment.c:
13812         Added some more docs.
13813
13814         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
13815         (gst_base_sink_reset_qos):
13816         Calculate more accurate rate values.
13817
13818 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
13819
13820         * gst/gst_private.h:
13821           add a new #ifdef to use __declspec(dllimport) only for
13822           other modules and not for gstreamer core
13823         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
13824           use gst_guint64_to_gdouble for conversion
13825         * win32/common/libgstreamer.def:
13826           add new exported functions
13827         * win32/vs6/gst_inspect.dsp:
13828         * win32/vs6/gst_launch.dsp:
13829         * win32/vs6/libgstbase.dsp:
13830         * win32/vs6/libgstcontroller.dsp:
13831         * win32/vs6/libgstcoreelements.dsp:
13832         * win32/vs6/libgstdataprotocol.dsp:
13833         * win32/vs6/libgstnet.dsp:
13834           update project files
13835
13836 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
13837
13838         * gst/gstbuffer.c: (gst_subbuffer_class_init):
13839         * gst/gstclock.c: (gst_clock_class_init):
13840         * gst/gstelement.c: (gst_element_class_init):
13841         * gst/gstindex.c: (gst_index_class_init):
13842         * gst/gstindexfactory.c: (gst_index_factory_class_init):
13843         * gst/gstobject.c: (gst_object_class_init),
13844         (gst_signal_object_class_init):
13845         * gst/gstpad.c: (gst_pad_class_init):
13846         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
13847         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
13848         * gst/gstregistry.c: (gst_registry_class_init):
13849         * gst/gstsystemclock.c: (gst_system_clock_class_init):
13850         * gst/gsttask.c: (gst_task_class_init):
13851         * gst/gstxml.c: (gst_xml_class_init):
13852         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13853         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13854         (gst_base_src_loop):
13855         * libs/gst/controller/gstcontroller.c:/
13856         (_gst_controller_class_init):
13857         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13858         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
13859         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
13860         * tests/old/examples/plugins/example.c: (gst_example_class_init):
13861         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13862         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
13863
13864 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
13865
13866         * gst/gstpad.c: (gst_pad_link):
13867           Must set peer pads before calling the link function, otherwise
13868           a task started from a link function might get a flow-not-linked
13869           result when trying to push because the other thread where the
13870           linking happens hasn't had a chance to set the peers yet. This
13871           might happen for example when a queue gets linked to a downstream
13872           element, as queue starts a streaming task when its source pad
13873           gets linked. Happens in real life when playing back flac/musepack
13874           files in playbin (#332390).
13875           
13876 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
13877
13878         * gst/gstindex.h:
13879         * gst/gstxml.h:
13880         * libs/gst/base/gstadapter.h:
13881         * libs/gst/base/gstbasesink.h:
13882         * libs/gst/base/gstbasesrc.h:
13883         * libs/gst/base/gstbasetransform.h:
13884         * libs/gst/base/gstcollectpads.h:
13885         * libs/gst/base/gstpushsrc.h:
13886         Fix broken GObject macros
13887
13888 2006-04-07  Wim Taymans  <wim@fluendo.com>
13889
13890         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13891         Initialize start and stop times, thanks valgrind.
13892
13893 2006-04-07  Wim Taymans  <wim@fluendo.com>
13894
13895         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13896         Be a bit nicer to badly behaving upstream elements that expect
13897         us to deal with non TIME segments and timestamps (such as fakesrc
13898         in the testsuite).
13899
13900 2006-04-07  Wim Taymans  <wim@fluendo.com>
13901
13902         * gst/gstbus.c:
13903         Small documentation clarification about the signal watch.
13904
13905         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13906         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13907         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13908         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13909         (gst_base_sink_get_position_last),
13910         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
13911         Convert and store timestamps in stream time and running time, the
13912         raw timestamps are not useful, also document this better.
13913         Use different window sizes for good and bad QoS observations so
13914         we react to badness a little quicker.
13915         Keep track of the amount of rendered and dropped buffers.
13916         Send QoS timestamps in running time.
13917
13918         * libs/gst/base/gstbasetransform.c:
13919         (gst_base_transform_sink_eventfunc),
13920         (gst_base_transform_handle_buffer):
13921         Compare QoS timestamps against running time.
13922
13923 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
13924
13925         * gst/gstpad.c:
13926           Typo fixes in docs.
13927
13928 2006-04-06  Michael Smith  <msmith@fluendo.com>
13929
13930         * gst/gstpad.c: (gst_pad_set_property):
13931           Use g_value_get_object() instead of g_value_dup_gst_object(),
13932           to avoid double-reffing the pad template (which we then sink,
13933           so this worked previously if (and only if) the pad template
13934           was floating.
13935
13936         * gst/gstpadtemplate.c: (gst_pad_template_init),
13937         (gst_pad_template_pad_created):
13938           Never return floating references to pad templates, create
13939           them as initially-sunken.
13940
13941           Document an extra function (and make this stop sinking our
13942           pad template, since that is now guaranteed to do nothing,
13943           since we created it sunken).
13944
13945         * gst/gstghostpad.c:
13946           Fix docs typo.
13947
13948 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
13949
13950         * gst/gstinfo.c: (__gst_in_valgrind):
13951           Add some newlines.
13952
13953         * plugins/elements/gsttypefindelement.c:
13954         (gst_type_find_element_chain):
13955           Don't leak buffer caps.
13956
13957 2006-04-06  Michael Smith  <msmith@fluendo.com>
13958
13959         * gst/parse/grammar.y:
13960           Fix a leak in parse-launch for any source-or-sink named element 
13961           references used.
13962
13963         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13964           Unref the pipeline if it exists after we've failed parsing.
13965
13966 2006-04-05  Michael Smith  <msmith@fluendo.com>
13967
13968         * gst/gstpipeline.c: (gst_pipeline_init):
13969           When we create a pipeline bus, initially create it in flushing mode.
13970           Fixes leaks in at least one test, and makes a new pipeline work the
13971           same as one that has gone to READY and then back to NULL.
13972
13973         * gst/gstelement.c:
13974           Typo fix in docs.
13975
13976 2006-04-05  Michael Smith  <msmith@fluendo.com>
13977
13978         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13979           Unref a pad we reffed.
13980         * tests/check/gst/gstutils.c: (GST_START_TEST):
13981           Unref bins
13982
13983 2006-04-05  Michael Smith  <msmith@fluendo.com>
13984
13985         * gst/gstquery.c: (gst_query_set_formats),
13986         (gst_query_set_formatsv):
13987           Fix leaking GValues in queries, as shown by valgrind/testsuite.
13988
13989 2006-04-05  Michael Smith  <msmith@fluendo.com>
13990
13991         * tests/check/generic/sinks.c: (GST_START_TEST):
13992           Fix a variety of memleaks in sinks check, which are only sometimes 
13993           shown by running the tests under valgrind (weird?).
13994
13995 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
13996
13997         * docs/version.entities.in:
13998           Fix the substituted entity name after thomas' changes on the
13999           weekend.
14000
14001 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
14002
14003         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
14004         VALGRIND_PRINTF
14005         
14006 2006-04-05  Andy Wingo  <wingo@pobox.com>
14007
14008         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
14009
14010         * libs/gst/base/gstbasetransform.c
14011         (gst_base_transform_sink_eventfunc): When resetting our segment on
14012         FLUSH_STOP, also update the flag saying we haven't seen a
14013         newsegment.
14014
14015 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14016
14017         Patch by: Paolo Borelli  <pborelli at katamail dot com>
14018
14019         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
14020         (gst_plugin_check_license):
14021           minor clean-ups: G_DEFINE_TYPE already takes care of the
14022           parent_class stuff, no need to do it twice. Mark array of
14023           license strings as constant. (#337103)
14024           
14025 2006-04-04  Michael Smith  <msmith@fluendo.com>
14026
14027         * tools/gst-inspect.c: (print_element_list):
14028           Free the right plugin list; fixes a memory leak.
14029
14030 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14031
14032         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
14033
14034         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14035           Don't error out on empty buffers (#336945).
14036           
14037 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
14038
14039         * docs/libs/gstreamer-libs-sections.txt:
14040         * gst/gsttaglist.c:
14041         * libs/gst/base/gstbasesink.c:
14042         * libs/gst/base/gstbasesink.h:
14043         * libs/gst/base/gstbasesrc.c:
14044         * libs/gst/base/gstbasesrc.h:
14045           Documentation updates. Make BaseSink and BaseSrc docs contain the
14046           class structure so that people can actually see the prototypes for
14047           virtual functions they're supposed to be overriding.
14048
14049 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14050
14051         * plugins/elements/gsttypefindelement.c:
14052         (gst_type_find_element_chain):
14053           More debug info; when skipping typefinding, send cached
14054           events in all cases.
14055
14056 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14057
14058         * configure.ac:
14059           use new AS_VERSION and AS_NANO macros
14060         * gst/gst-i18n-lib.h:
14061         * gst/gst.c:
14062         * gst/gsterror.c:
14063         * gst/gstversion.h.in:
14064         * win32/common/config.h:
14065         * win32/common/config.h.in:
14066           update accordingly
14067
14068 2006-03-31  Michael Smith  <msmith@fluendo.com>
14069
14070         * plugins/elements/gsttypefindelement.c:
14071         (gst_type_find_element_chain):
14072           Do not typefind content if the buffers already have caps.
14073           Neccesary for icydemux (#333657), and the right thing to do anyway.
14074
14075 2006-03-30  Wim Taymans  <wim@fluendo.com>
14076
14077         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14078         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
14079         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
14080         (gst_base_sink_record_qos_observation),
14081         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14082         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14083         (gst_base_sink_change_state):
14084         More QoS measurements as described in the design doc.
14085         Get rid of ringbuffer with observations, running average is
14086         more simple and equally good.
14087         Calculates valid proportion now.
14088         Added beginning of flood measurement.
14089
14090 2006-03-29  Wim Taymans  <wim@fluendo.com>
14091
14092         * docs/design/part-qos.txt:
14093         * gst/gstclock.c:
14094         Small documentation updates and additions.
14095
14096 2006-03-29  Wim Taymans  <wim@fluendo.com>
14097
14098         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14099         (gst_base_src_send_event), (gst_base_src_loop),
14100         (gst_base_src_change_state):
14101         Perform the EOS logic when we reach the segment stop position.
14102         Fix compilation on gcc4.1
14103
14104 2006-03-29  Wim Taymans  <wim@fluendo.com>
14105
14106         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
14107
14108         * plugins/elements/gstqueue.c: (gst_queue_init),
14109         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
14110         (gst_queue_set_property):
14111         * plugins/elements/gstqueue.h:
14112         In queue, when EOS is received, if minimum threshold > max_size -
14113         current_level, there is chance that queue blocks forever in conditional
14114         item del wait. This is because the queue is not emptied completely due
14115         to minimum threshold.  Here is another approach. Instead of setting
14116         cur_levels to max in EOS, just zero all minimum threshold levels. This
14117         should make sure that queue gives out all data. When going to READY
14118         (stop) state, just reset the original minimum threshold levels.
14119         Fixes #336336.
14120
14121 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
14122
14123         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
14124         (gst_type_find_element_handle_event),
14125         (gst_type_find_element_send_cached_events),
14126         (gst_type_find_element_change_state):
14127         * plugins/elements/gsttypefindelement.h:
14128           When typefinding is done in push mode, we should cache
14129           events we receive during typefinding instead of just
14130           dropping them (e.g. newsegment, custom events from
14131           dvdreadsrc etc.) and then send them out once we've
14132           determined the type of the stream (and decodebin
14133           has had a chance to plug in a decoder/demuxer).
14134           
14135 2006-03-27  Wim Taymans  <wim@fluendo.com>
14136
14137         * docs/design/part-qos.txt:
14138         First QoS ideas.
14139
14140 2006-03-27  Wim Taymans  <wim@fluendo.com>
14141
14142         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
14143
14144         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14145         (gst_base_src_send_event), (gst_base_src_change_state):
14146         Handle element seek correctly when we are streaming.
14147         Fixes #326998.
14148
14149 2006-03-24  Michael Smith  <msmith@fluendo.com>
14150
14151         * docs/faq/gst-uninstalled:
14152           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
14153           allow you to correctly run intalled applications built against old 
14154           core, using plugins that require updated core (e.g. running
14155           installed totem against a full uninstalled gstreamer stack)
14156
14157 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14158
14159         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
14160         more debug details
14161
14162 2006-03-24  Wim Taymans  <wim@fluendo.com>
14163
14164         * docs/gst/gstreamer-sections.txt:
14165         Rearrange the order of the methods so that related methods
14166         are grouped together in sections.
14167
14168 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14169
14170         * gst/gstelement.c:
14171           Little clarification in the docs
14172
14173 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14174
14175         * docs/README:
14176         formatting fix
14177         * plugins/elements/gstidentity.c:
14178         * plugins/elements/gstqueue.c:
14179         * plugins/elements/gsttee.c:
14180         * plugins/elements/gsttypefindelement.c:
14181         GST_ELEMENT_DETAILS formatting
14182
14183 2006-03-24  Wim Taymans  <wim@fluendo.com>
14184
14185         * libs/gst/base/gstbasesink.h:
14186         Only add fields, not insert or we break ABI.
14187
14188 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14189
14190         * win32/common/libgstbase.def:
14191         * win32/common/libgstreamer.def:
14192           Update, add recently added functions.
14193
14194 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14195
14196         * docs/gst/gstreamer-sections.txt:
14197         * gst/gstutils.c: (gst_pad_query_peer_position),
14198         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
14199         * gst/gstutils.h:
14200           API: add some new utility functions:
14201            - gst_pad_query_peer_position()
14202            - gst_pad_query_peer_duration()
14203            - gst_pad_query_peer_convert()
14204           
14205 2006-03-23  Wim Taymans  <wim@fluendo.com>
14206
14207         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14208         (gst_base_sink_init), (gst_base_sink_finalize),
14209         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
14210         (gst_base_sink_set_property), (gst_base_sink_get_property),
14211         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
14212         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14213         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
14214         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14215         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14216         (gst_base_sink_preroll_object), (gst_base_sink_event),
14217         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
14218         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
14219         (gst_base_sink_query), (gst_base_sink_change_state):
14220         Decouple max-lateness and the fact that QoS messages are generated
14221         with a new property (qos).
14222         added API: GstBaseSink::async_play()
14223         Add vmethod so subclasses can be notified of ASYNC playing
14224         state changes.
14225         Collect timestamp start and stop to report better current
14226         position in EOS/PLAYING/PAUSED/READY/NULL.
14227         Refactor QoS/frame dropping and other measurements.
14228         API: GstBaseSrc::qos
14229         Fixes #326311
14230
14231         * libs/gst/base/gstbasesink.h:
14232         Added Private struct.
14233         API: gst_base_sink_set_qos_enabled()
14234         API: gst_base_sink_is_qos_enabled()
14235
14236 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14237
14238         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14239           If compiling against GLib-2.8 or newer, try to read the
14240           registry file using GMappedFile first before falling back
14241           to fopen() + fread() (#332151).
14242
14243 2006-03-22  Wim Taymans  <wim@fluendo.com>
14244
14245         * gst/gstinfo.c: (gst_debug_set_active),
14246         (gst_debug_category_set_threshold):
14247         Disable debugging unless explicitly activated.
14248         Fixes #335480.
14249
14250 2006-03-22  Wim Taymans  <wim@fluendo.com>
14251
14252         * gst/gstelement.c: (gst_element_set_locked_state),
14253         (gst_element_dispose):
14254         Cleanup the error case.
14255
14256         * gst/gstobject.c: (gst_object_dispose):
14257         print a critical when some object was disposed with
14258         a parent, also revive the object since it might
14259         crash the parent.
14260
14261 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
14262
14263         * tools/gst-launch.1.in:
14264           Fix another typo.
14265
14266 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14267
14268         * configure.ac:
14269         * tests/check/Makefile.am:
14270           disable some tests when we don't have a registry
14271         * tests/check/gst/gstutils.c: (gst_utils_suite):
14272           don't build the part that needs parsing
14273
14274 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14275
14276         * gst/Makefile.am
14277         * tests/examples/Makefile.am:
14278           fix --disable-parse build
14279
14280 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14281
14282         * tools/gst-feedback.1.in:
14283           Fix typo: s/feeback/feedback/ (#133494).
14284
14285 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14286
14287         * tools/Makefile.am:
14288         * tools/gst-launch.1.in:
14289           Add FILES section and correct entry about GST_REGISTRY_PATH
14290           environment variable (#133495; #133494).
14291
14292 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14293
14294         * tools/Makefile.am:
14295         * tools/gst-md5sum.1.in:
14296         * tools/gst-md5sum.c:
14297           Remove gst-md5sum and man page (the md5sink element
14298           required was removed ages ago)
14299
14300 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14301
14302         * gst/gststructure.c: (gst_structure_id_set_value):
14303           Make sure that string fields in structures/taglists
14304           contain valid UTF-8 - we don't want to pass rubbish to
14305           applications because of a buggy plugin (cp. #334167).
14306
14307 2006-03-21  Edward Hervey  <edward@fluendo.com>
14308
14309         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14310         (gst_bin_handle_message_func):
14311         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
14312         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
14313         (gst_element_set_bus_func):
14314         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
14315         * gst/gstminiobject.c: (gst_value_set_mini_object),
14316         (gst_value_take_mini_object):
14317         * gst/gstpad.c: (gst_pad_set_pad_template):
14318         * gst/gstpipeline.c: (gst_pipeline_dispose),
14319         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14320         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
14321         (gst_collect_pads_chain):
14322         * libs/gst/net/gstnettimeprovider.c:
14323         (gst_net_time_provider_set_property):
14324         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
14325         It's in fact all issues with gst_*object_replace().
14326
14327 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14328
14329         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
14330         
14331         * pkgconfig/gstreamer-check-uninstalled.pc.in:
14332         * pkgconfig/gstreamer-check.pc.in:
14333           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14334
14335 2006-03-21  Edward Hervey  <edward@fluendo.com>
14336
14337         * gst/gstbuffer.h:
14338         * gst/gstevent.h:
14339         * gst/gstmessage.h:
14340         gst_[buffer|event|message]_ref() macros are replaced by a static
14341         inline functions because gcc-4.1 will about if the return value
14342         isn't used.
14343         * tests/check/gst/gstevent.c: (event_probe):
14344         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14345
14346 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
14347
14348         * gst/gstutils.h:
14349         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14350         the type' case. (Closes: #335195 for now). In the future, when we
14351         depend on GLib 2.10, we could also intern the type name using
14352         g_intern_static_string()
14353
14354 2006-03-20  Wim Taymans  <wim@fluendo.com>
14355
14356         * gst/gstbin.c: (gst_bin_handle_message_func),
14357         (bin_query_max_init), (bin_query_position_fold),
14358         (bin_query_position_done), (gst_bin_query):
14359         Position query should also take max of all streams.
14360
14361 2006-03-20  Wim Taymans  <wim@fluendo.com>
14362
14363         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14364         (gst_fake_src_finalize):
14365         Fix leaks in fakesrc.
14366
14367         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14368         Fix leaks in the testcase.
14369
14370 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
14371
14372         * gst/gst_private.h:
14373           add win32 specific import decoration(__declspec(dllimport)) 
14374           for all extern GstDebugCategory * variables
14375         * win32/common/libgstbase.def:
14376         * win32/common/libgstcontroller.def:
14377         * win32/common/libgstreamer.def:
14378           Add some exports, remove empty lines
14379         * win32/common/libgstdataprotocol.def:
14380         * win32/common/libgstdataprotocol.dsp:
14381         * win32/common/libgstnet.def:
14382         * win32/common/libgstnet.dsp:
14383           new project files and exportation files added
14384         
14385 2006-03-19  Wim Taymans  <wim@fluendo.com>
14386
14387         * tests/check/libs/basesrc.c: (eos_event_counter):
14388         Use proper return value for probe.
14389
14390 2006-03-17  Wim Taymans  <wim@fluendo.com>
14391
14392         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14393         (gst_pad_push):
14394         Don't leak buffers, caps and pads on negotiation errors.
14395
14396 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
14397
14398         * docs/faq/cvs.xml:
14399         * docs/faq/dependencies.xml:
14400         * docs/faq/developing.xml:
14401         * docs/faq/faq.xml:
14402         * docs/faq/general.xml:
14403         * docs/faq/getting.xml:
14404         * docs/faq/legal.xml:
14405         * docs/faq/troubleshooting.xml:
14406         * docs/faq/using.xml:
14407         Faq review and update.
14408
14409 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
14410
14411         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14412         (gst_pad_push):
14413         Don't pound the cpu to pieces by checking get_caps when accept_caps
14414         is called with the same caps as the pad already has.
14415         Use GST_DEBUG_OBJECT when outputting caps change information.
14416
14417 2006-03-15  Wim Taymans  <wim@fluendo.com>
14418
14419         * gst/gstclock.c: (gst_clock_class_init):
14420         Fix docs.
14421
14422 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
14423
14424         * gst/gstbuffer.h:
14425         Documentation fix.
14426
14427         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14428         (gst_pad_accept_caps), (gst_pad_configure_sink),
14429         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14430         Make the default acceptcaps behaviour be to check the requested 
14431         caps against the gst_pad_get_caps output. 
14432
14433         Ensure that gst_pad_accept_caps is used to check caps when a pad
14434         doesn't have a setcaps function, so that pads automatically refuse 
14435         caps that they don't allow in their pad template. (Fixes #332986)
14436
14437         When a buffer with attached caps is pushed, ensure that the source 
14438         pad receives those caps even if the element didn't call
14439         gst_pad_set_caps first.
14440
14441 2006-03-15  Wim Taymans  <wim@fluendo.com>
14442
14443         * libs/gst/base/gstadapter.c:
14444         Add some docs.
14445
14446 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
14447
14448         * win32/common/libgstbase.def:
14449         * win32/common/libgstcontroller.def:
14450         * win32/common/libgstreamer.def:
14451           Add a whole bunch of missing functions (#334434).
14452
14453 2006-03-14  Wim Taymans  <wim@fluendo.com>
14454
14455         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14456         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14457         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14458         Better debug info when we receive a segment event.
14459         Reorganize a bit so we can pass the get_times() results around.
14460         Use the segment format when calculating the running time.
14461         Don't do QoS is sync is disabled or we have no clock or the
14462         element does not want us to sync to the clock.
14463         Don't drop buffers if QoS is disabled for now.
14464
14465 2006-03-14  Wim Taymans  <wim@fluendo.com>
14466
14467         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14468         Marked the stats property as unimplemented so people don't get
14469         wild ideas.
14470         Add debug message when regression goes wrong.
14471         Added some more docs.
14472
14473 2006-03-14  Wim Taymans  <wim@fluendo.com>
14474
14475         * gst/gstsegment.c: (gst_segment_to_stream_time):
14476         Return correct return type in case of errors.
14477
14478 2006-03-14  Wim Taymans  <wim@fluendo.com>
14479
14480         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14481           Don't segfault on invalid formats.
14482
14483 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14484
14485         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14486           Can't use gst_segment_to_running_time() when the segment
14487           is not in GST_TIME_FORMAT (like with filesink, for example).
14488           Stops flac encoding pipelines from spewing critical warnings
14489           at EOS (#331248).
14490           
14491 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14492
14493         * gst/gstpipeline.c: (gst_pipeline_class_init):
14494           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14495
14496         * plugins/elements/gsttypefindelement.c:
14497         (gst_type_find_element_handle_event):
14498           Don't try to typefind empty streams.
14499
14500 2006-03-14  Wim Taymans  <wim@fluendo.com>
14501
14502         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14503         (gst_base_sink_do_qos):
14504         Separate QoS calculation.
14505         Only drop buffers when lateness is bigger than the 
14506         duration of the buffer.
14507
14508 2006-03-13  Wim Taymans  <wim@fluendo.com>
14509
14510         * gst/gstpipeline.c: (gst_pipeline_set_property),
14511         (gst_pipeline_get_property), (do_pipeline_seek),
14512         (gst_pipeline_change_state), (gst_pipeline_set_delay),
14513         (gst_pipeline_get_delay):
14514         Don't deadlock when reading properties.
14515
14516 2006-03-13  Wim Taymans  <wim@fluendo.com>
14517
14518         * libs/gst/base/gstbasetransform.c:
14519         (gst_base_transform_class_init), (gst_base_transform_init),
14520         (gst_base_transform_sink_event),
14521         (gst_base_transform_sink_eventfunc),
14522         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14523         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14524         (gst_base_transform_set_property),
14525         (gst_base_transform_get_property),
14526         (gst_base_transform_change_state), (gst_base_transform_update_qos),
14527         (gst_base_transform_set_qos_enabled),
14528         (gst_base_transform_is_qos_enabled):
14529         * libs/gst/base/gstbasetransform.h:
14530         Make basetransform virtual method for src events too.
14531         Handle QOS in basetransform.
14532         API: gst_base_transform_update_qos()
14533         API: gst_base_transform_set_qos_enabled()
14534         API: gst_base_transform_is_qos_enabled()
14535
14536 2006-03-13  Wim Taymans  <wim@fluendo.com>
14537
14538         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14539         (gst_base_sink_do_sync):
14540         Small cleanups.
14541         Use QOS debug category.
14542
14543 2006-03-13  Wim Taymans  <wim@fluendo.com>
14544
14545         * plugins/elements/gstqueue.c:
14546         Very small doc update.
14547
14548 2006-03-13  Wim Taymans  <wim@fluendo.com>
14549
14550         * gst/gst_private.h:
14551         * gst/gstinfo.c: (_gst_debug_init):
14552         Added QOS debug category
14553
14554 2006-03-13  Wim Taymans  <wim@fluendo.com>
14555
14556         * docs/gst/gstreamer-sections.txt:
14557         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14558         * gst/gstbin.h:
14559         * gst/gstbus.c: (gst_bus_class_init):
14560         * gst/gstbus.h:
14561         * gst/gstclock.c:
14562         * gst/gstelement.c: (gst_element_set_locked_state):
14563         * gst/gstsegment.c:
14564         Documentation updates.
14565
14566         * gst/gstpipeline.c: (gst_pipeline_get_type),
14567         (gst_pipeline_class_init), (gst_pipeline_init),
14568         (gst_pipeline_dispose), (gst_pipeline_set_property),
14569         (gst_pipeline_get_property), (do_pipeline_seek),
14570         (gst_pipeline_send_event), (gst_pipeline_change_state),
14571         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14572         (gst_pipeline_get_delay):
14573         * gst/gstpipeline.h:
14574         Added methods for setting the delay.
14575         API: gst_pipeline_set_delay()
14576         API: gst_pipeline_get_delay()
14577         Add pipeline debug category
14578         Various cleanups.
14579         Updated docs.
14580         Don't reset stream time when seek failed.
14581
14582 2006-03-13  Wim Taymans  <wim@fluendo.com>
14583
14584         * docs/design/draft-klass.txt:
14585         * docs/design/part-clocks.txt:
14586         * docs/design/part-events.txt:
14587         * docs/design/part-gstbin.txt:
14588         * docs/design/part-gstpipeline.txt:
14589         * docs/design/part-messages.txt:
14590         * docs/design/part-negotiation.txt:
14591         * docs/design/part-overview.txt:
14592         * docs/design/part-preroll.txt:
14593         * docs/design/part-seeking.txt:
14594         * docs/design/part-states.txt:
14595         * docs/design/part-streams.txt:
14596         Documentation updates.
14597
14598 2006-03-12  Julien MOUTTE  <julien@moutte.net>
14599
14600         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
14601         us to leak strings...
14602
14603 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14604
14605         * libs/gst/net/gstnettimeprovider.c:
14606           fix docs
14607         * win32/common/config.h:
14608           update
14609
14610 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
14611
14612         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
14613
14614         * configure.ac:
14615           Don't check for libgnomeui (leftover from old examples
14616           that aren't built or disted any longer) (#334303).
14617           
14618 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
14619
14620         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
14621         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14622           Emit RESOURCE_NO_SPACE_LEFT error here as well when
14623           there's no space left on the device.
14624
14625 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
14626
14627         * gst/gstclock.h:
14628           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
14629           to cast the input to GstClockTime before comparing with
14630           another GstClockTime value.
14631
14632 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14633
14634         * configure.ac:
14635           back to trunk
14636
14637 === release 0.10.4 ===
14638
14639 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
14640
14641         * configure.ac:
14642           releasing 0.10.4, "Light"
14643
14644 2006-03-10  Michael Smith  <msmith@fluendo.com>
14645
14646         * libs/gst/dataprotocol/dataprotocol.c:
14647           Fix docs for dataprocotol to not get the return types completely
14648           wrong for a few functions.
14649
14650 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14651
14652         * docs/gst/gstreamer-sections.txt:
14653         * gst/gstpipeline.c: (gst_pipeline_class_init),
14654         (gst_pipeline_init), (gst_pipeline_set_property),
14655         (gst_pipeline_get_property), (gst_pipeline_change_state),
14656         (gst_pipeline_set_auto_flush_bus),
14657         (gst_pipeline_get_auto_flush_bus):
14658         * gst/gstpipeline.h:
14659           Add new API: gst_pipeline_set_auto_flush_bus() and
14660           gst_pipeline_get_auto_flush_bus() to disable automatic
14661           flushing of the pipeline's GstBus when going from READY
14662           to NULL state (#332045).
14663
14664 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14665
14666         * docs/gst/gstreamer-sections.txt:
14667         * gst/gsturi.c: (gst_uri_has_protocol):
14668         * gst/gsturi.h:
14669            Add new API: gst_uri_has_protocol() (#333779).
14670
14671 2006-03-09  Wim Taymans  <wim@fluendo.com>
14672
14673         * gst/gstclock.c: (gst_clock_entry_new),
14674         (gst_clock_id_compare_func), (gst_clock_id_wait),
14675         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
14676         (gst_clock_init), (gst_clock_get_internal_time),
14677         (gst_clock_set_master), (do_linear_regression),
14678         (gst_clock_add_observation), (gst_clock_set_property):
14679         * gst/gstclock.h:
14680         Review docs.
14681         Small cleanups.
14682         Fix a possible segfault when the window-size is made smaller.
14683         Calculate jitter before performing the clock wait. Ideally
14684         the clock implementation should calculate jitter but we need
14685         API breakage for that.
14686
14687         * gst/gstsystemclock.c: (gst_system_clock_init):
14688         Docs review.
14689         
14690         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14691         Remove leftover else
14692
14693         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
14694         (gst_systemclock_suite):
14695         Added check to test GST_CLOCK_DIFF.
14696
14697 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14698
14699         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
14700         (gst_type_find_helper_get_range):
14701           If we are provided with the size, we should implement
14702           GstTypeFind::get_length, so that typefind functions who
14703           want to can actually peek at the middle of a file.
14704
14705 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
14706
14707         * docs/manual/advanced-dataaccess.xml:
14708           Add some very very basic error checking.
14709
14710         * docs/pwg/appendix-checklist.xml:
14711           Some updates to the list of things to check when writing an element.
14712
14713 2006-03-08  Wim Taymans  <wim@fluendo.com>
14714
14715         * docs/design/part-element-transform.txt:
14716         Added some docs about the design of tranform elements.
14717
14718         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14719         (gst_base_src_loop), (gst_base_src_change_state):
14720         Mark buffers with the DISCONT flag.
14721
14722 2006-03-08  Michael Smith  <msmith@fluendo.com>
14723
14724         * gst/gstregistry.h:
14725         * gst/gstregistryxml.c: (gst_registry_save),
14726         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
14727         (gst_registry_xml_save_pad_template),
14728         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
14729         (gst_registry_xml_write_cache):
14730           Rewrite registry-saving to avoid race conditions and check for
14731           failed writes.
14732
14733 2006-03-08  Wim Taymans  <wim@fluendo.com>
14734
14735         * libs/gst/base/gstbasetransform.c:
14736         (gst_base_transform_transform_caps),
14737         (gst_base_transform_transform_size),
14738         (gst_base_transform_prepare_output_buffer),
14739         (gst_base_transform_get_unit_size),
14740         (gst_base_transform_buffer_alloc),
14741         (gst_base_transform_handle_buffer),
14742         (gst_base_transform_change_state):
14743         Cleanups, separate normal flow from errors, add sensible
14744         DEBUG lines.
14745         Don't try to renegotiate when allocating an output buffer.
14746         Also copy DISCONT buffer flag when copying a buffer.
14747         Reset the transform after we finish streaming, not during.
14748
14749 2006-03-08  Wim Taymans  <wim@fluendo.com>
14750
14751         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14752         Use last buffer timestamp in qos message.
14753
14754 2006-03-07  Wim Taymans  <wim@fluendo.com>
14755
14756         Patch by: Christophe Fergeau
14757
14758         * docs/pwg/advanced-tagging.xml:
14759         * docs/pwg/building-pads.xml:
14760           fixes #333416
14761
14762 2006-03-07  Wim Taymans  <wim@fluendo.com>
14763
14764         * docs/libs/gstreamer-libs-sections.txt:
14765         Added basesink new methods.
14766
14767         * gst/gstevent.c:
14768         * gst/gstevent.h:
14769         Docs updates. Flesh out the QoS docs.
14770
14771         * libs/gst/base/gstadapter.c:
14772         Small doc clarification about ownership and flushing.
14773
14774         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
14775         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
14776         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
14777         (gst_base_sink_get_property), (gst_base_sink_do_sync):
14778         * libs/gst/base/gstbasesink.h:
14779         API additions: 
14780         Added new methods to allow subclass to control max-lateness 
14781         and sync.
14782         Generate very basic QoS events based on last sync observation.
14783         Updated docs, fix typo, added some QoS blurb.
14784
14785         * libs/gst/base/gstbasesrc.c:
14786         Remove obsolete _get_state() calls from docs.
14787
14788 2006-03-07  Wim Taymans  <wim@fluendo.com>
14789
14790         * docs/libs/gstreamer-libs-sections.txt:
14791         * libs/gst/base/gstbasetransform.h:
14792         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
14793         Fix docs for GstBaseSrc.
14794
14795 2006-03-07  Wim Taymans  <wim@fluendo.com>
14796
14797         * docs/gst/gstreamer-sections.txt:
14798         * gst/gstbuffer.h:
14799         * gst/gstvalue.c:
14800         * libs/gst/base/gstbasetransform.h:
14801         Small documentation fixes.
14802
14803 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
14804
14805         * gst/gstvalue.c:
14806           Document thread-unsafety of gst_value_register_foo_func()
14807           when used at the same time as gst_value_foo() (#322628).
14808
14809 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
14810
14811         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
14812         (gst_push_src_check_get_range):
14813           Push sources don't support pull mode by default.
14814
14815 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
14816
14817         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14818         (gst_base_src_init), (gst_base_src_pad_check_get_range),
14819         (gst_base_src_default_check_get_range):
14820         * libs/gst/base/gstbasesrc.h:
14821           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
14822           provide default implementation, and rename
14823           gst_base_src_check_get_range() to
14824           gst_base_src_pad_check_get_range() for clarity.
14825
14826 2006-03-06  Wim Taymans  <wim@fluendo.com>
14827
14828         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14829         Make property overridable.
14830
14831 2006-03-06  Wim Taymans  <wim@fluendo.com>
14832
14833         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14834         (gst_base_sink_init), (gst_base_sink_set_property),
14835         (gst_base_sink_get_property), (gst_base_sink_do_sync):
14836         * libs/gst/base/gstbasesink.h:
14837         API addition: Make max-lateness a property.
14838
14839 2006-03-06  Wim Taymans  <wim@fluendo.com>
14840
14841         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
14842         (gst_base_sink_do_sync), (gst_base_sink_render_object):
14843         Don't ever draw a frame that is >10ms late.
14844
14845 2006-03-06  Michael Smith  <msmith@fluendo.com>
14846
14847         * gst/gstmessage.c: (_gst_message_copy):
14848           When copying a message, set the parent_refcount of the enclosed
14849           structure to point at the copy, not the original message.
14850
14851 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
14852
14853         Patch by: Christophe Fergeau
14854
14855         * gst/gstutils.h:
14856           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
14857           usable in c++ code (#333417)
14858
14859 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14860
14861         * gst/gstclock.h:
14862           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
14863
14864 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
14865
14866         * libs/gst/base/gstbasetransform.c:
14867         (gst_base_transform_transform_caps):
14868           Make sure caps are writable before passing them to
14869           gst_caps_append().
14870
14871 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
14872
14873         * gst/gsterror.h:
14874           Fix some minor docs errors.
14875
14876 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
14877
14878           Patch by: Ross Burton <ross at burtonini dot com>
14879
14880         * gst/gsterror.c: (_gst_resource_errors_init):
14881         * gst/gsterror.h:
14882           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
14883
14884 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
14885
14886         * gst/gst.c:
14887         Add a check and output a g_warning when GStreamer is built
14888         against GLib 2.6 but running against 2.8 or higher, and vice 
14889         versa. (Closes: #323542)
14890
14891 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
14892
14893         * gst/parse/parse.l:
14894           Commit patch for parse_launch syntax from #331255. Removes 
14895           support for quoted strings and mimetypes when writing filtered 
14896           caps. See the bug report for more details - I'm pretty sure this
14897           obscure feature is not in use by _anyone_ anywhere.
14898
14899           With this simple change, the size of the gstreamer.so here 
14900           drops from 2193KB to 1565KB.
14901
14902 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14903
14904         * plugins/elements/gsttypefindelement.h:
14905         * plugins/elements/gsttypefindelement.c:
14906         (gst_type_find_element_src_event), (start_typefinding),
14907         (stop_typefinding), (gst_type_find_element_handle_event),
14908         (gst_type_find_element_chain),
14909         (gst_type_find_element_chain_do_typefinding):
14910           Use gst_type_find_helper_for_buffer() for chain-based
14911           typefinding.
14912
14913 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14914
14915         * plugins/elements/gsttypefindelement.c:
14916         (gst_type_find_element_class_init),
14917         (gst_type_find_element_set_property),
14918         (gst_type_find_element_get_property):
14919           Deprecate "maximum" property (not only was it only taken into
14920           account for typefinding in push-mode anyway, it also was never
14921           actually possible to set it in the first place because the
14922           property was registered with the numeric property ID for the
14923           "minimum" property). Register "maximum" property correctly,
14924           for the sake of future copy'n'pasters. Remove some cruft
14925           from property get/set functions.
14926
14927 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14928
14929         * plugins/elements/gsttypefindelement.c:
14930         (gst_type_find_element_activate):
14931           Use gst_type_find_helper_get_range() here, so we
14932           can honour the "minimum" property and also emit
14933           the signal with the correct probability of the found caps.
14934
14935 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
14936
14937         * docs/libs/gstreamer-libs-sections.txt:
14938         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
14939         (helper_find_suggest), (gst_type_find_helper_get_range),
14940         (gst_type_find_helper):
14941         * libs/gst/base/gsttypefindhelper.h:
14942           New API: gst_type_find_helper_get_range() (#333042).
14943
14944 2006-03-02  Michael Smith  <msmith@fluendo.com>
14945
14946         * gst/gstregistryxml.c: (load_feature):
14947           Asserting on a failure to read part of the registry is Not Cool.
14948           Just log a warning and return NULL (which is already handled)
14949
14950 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
14951
14952         * win32/common/libgstbase.def:
14953           added export of gst_type_find_helper_for_buffer
14954         * win32/common/libgstbase.def:
14955           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
14956           gst_ghost_pad_get_target
14957
14958 2006-02-28  Wim Taymans  <wim@fluendo.com>
14959
14960         * docs/design/draft-klass.txt:
14961         We use Filter now.
14962         Added Connector to mark elements that are only used to
14963         allow pipeline connections.
14964         Moved Debug to extra feature since most of them are 
14965         functionally something else.
14966
14967 2006-02-28  Wim Taymans  <wim@fluendo.com>
14968
14969         * docs/design/draft-klass.txt:
14970         Some updates and clarifications.
14971
14972 2006-02-28  Wim Taymans  <wim@fluendo.com>
14973
14974         * docs/design/draft-klass.txt:
14975         Proposal for klass field values.
14976
14977         * docs/design/part-streams.txt:
14978         Start of a doc describing stream anatomy.
14979
14980 2006-02-28  Wim Taymans  <wim@fluendo.com>
14981
14982         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
14983         Help the compiler a bit with type registration.
14984         Use existing forward cod path instead of duplicating it when 
14985         handling a message.
14986         
14987         * gst/gstbus.c: (gst_bus_get_type):
14988         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
14989         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
14990         * gst/gstclock.c: (gst_clock_get_type):
14991         * gst/gstelement.c: (gst_element_get_type),
14992         * gst/gstelementfactory.c: (gst_element_factory_get_type):
14993         * gst/gstindexfactory.c: (gst_index_factory_get_type):
14994         * gst/gstminiobject.c: (gst_mini_object_get_type):
14995         * gst/gstpad.c: (gst_pad_get_type):
14996         * gst/gstsegment.c: (gst_segment_get_type):
14997         * gst/gststructure.c: (gst_structure_get_type):
14998         * gst/gstsystemclock.c: (gst_system_clock_get_type):
14999         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
15000         * gst/gstvalue.c:
15001         Help compiler with type registration.
15002
15003         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
15004         Small doc update.
15005
15006 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15007
15008         * plugins/elements/gsttypefindelement.c:
15009         (gst_type_find_element_handle_event):
15010           When we get an EOS event and have not found a type yet
15011           (most likely because we had not yet accumulated
15012           TYPE_FIND_MIN_SIZE of data yet), try to determine the
15013           type given the data we have so far. Fixes typefinding
15014           for very short streams again, most notably quicktime
15015           redirections as used on Apple's trailer site (#331701).
15016
15017 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15018
15019         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
15020         (gst_type_find_helper):
15021           Try typefinding factories with the highest rank first.
15022
15023 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15024
15025         * docs/libs/gstreamer-libs-docs.sgml:
15026         * docs/libs/gstreamer-libs-sections.txt:
15027         * libs/gst/base/gsttypefindhelper.c:
15028           Add section for typefind helper and add documentation
15029           for the old and the new function.
15030
15031 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15032
15033         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
15034         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
15035         (gst_type_find_helper_for_buffer):
15036         * libs/gst/base/gsttypefindhelper.h:
15037           New API: gst_type_find_helper_for_buffer() (#332723).
15038           
15039 2006-02-27  Michael Smith  <msmith@fluendo.com>
15040
15041         Patch by: Loïc Minier
15042
15043         * configure.ac:
15044         * docs/Makefile.am:
15045         * docs/slides/Makefile.am:
15046           prevent CVS directories getting disted.
15047
15048 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15049
15050         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
15051           Use the REFCOUNTING category for caps refcounting.
15052           
15053 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
15054
15055         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
15056           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
15057
15058 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
15059
15060         * plugins/elements/gsttypefindelement.c:
15061         (gst_type_find_element_activate):
15062           Use gst_pad_check_pull_range() before _activate_pull()
15063           to avoid unnecessary open/close (see #331690).
15064
15065 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
15066
15067         * gst/gstutils.c:
15068           Docs enhancement: make it crystal clear what the
15069           gst_pad_add_*_probe() callbacks should look like.
15070
15071 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
15072
15073         * libs/gst/base/gstbasesrc.c:
15074           Document how applications can stop recording from
15075           live sources (see #330996).
15076
15077 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15078
15079         * tests/check/Makefile.am:
15080         * tests/check/libs/basesrc.c: (eos_event_counter),
15081         (basesrc_eos_events_pull), (basesrc_eos_events_push),
15082         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
15083         (gst_basesrc_suite), (main):
15084           ... and add some tests for the base source EOS stuff.
15085
15086 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15087
15088         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
15089           Test case originally showed the problem fixed below,
15090           but was then amended. Add checks back at the place
15091           where they used to be.
15092
15093 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15094
15095         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15096         (gst_base_src_init), (gst_base_src_loop),
15097         (gst_base_src_activate_push), (gst_base_src_activate_pull),
15098         (gst_base_src_change_state):
15099         * libs/gst/base/gstbasesrc.h:
15100           Don't unconditionally send EOS when going from PAUSED to
15101           READY state, esp. make sure we don't send two EOS events
15102           in some cases (e.g. one when reaching EOS and one when
15103           going from PAUSED to READY). Also, we don't want to send
15104           EOS events when operating in pull mode. However, we do
15105           want to send an EOS event when shutting down a live
15106           source explicitly, for example (fixes #330996).
15107           
15108 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15109
15110         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
15111           Update src->read_position after a seek when not using mmap.
15112           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
15113
15114 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
15115
15116         * gst/Makefile.am:
15117         * gst/gstparse.h:
15118         * gst/gstutils.c:
15119         * gst/gstutils.h:
15120         Make things work with --disable-parse as they do with 
15121         --disable-load-save - the symbols involved disappear, but the
15122         header is still installed and GST_DISABLE_PARSE is included via
15123         gstconfig.h
15124
15125 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15126
15127         * libs/gst/base/gstbasetransform.c:
15128         (gst_base_transform_change_state): Fix a stupid bug. I was 
15129         sure I compiled that.
15130
15131 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15132
15133         * gst/gstpad.c: (gst_pad_set_blocked_async):
15134         * gst/gstutils.c: (gst_pad_add_data_probe),
15135         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15136         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15137         (gst_pad_remove_buffer_probe): Make those function act on the
15138         ghostpad target when it's a ghostpad. (Closes #331727)
15139
15140 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15141
15142         * libs/gst/base/gstbasetransform.c:
15143         (gst_base_transform_change_state): Make basetransform reusable.
15144         (Closes #331898)
15145
15146 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
15147
15148         * docs/random/release:
15149         Move the current documentation of how to do a release to the top
15150         of the file.
15151
15152         * gst/gstbin.c: (gst_bin_class_init),
15153         (gst_bin_handle_message_func):
15154         Allow multiple state-recalculation threads. (Closes #328873)
15155
15156 2006-02-19  Julien MOUTTE  <julien@moutte.net>
15157
15158         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
15159         * gst/gstpad.c: (gst_pad_set_event_function),
15160         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15161         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
15162         2 strings. You can't use the STR_NULL macro on that.
15163
15164 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
15165
15166         * gst/gstpad.c: (gst_pad_set_event_function),
15167         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15168         (gst_pad_set_getcaps_function)
15169         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
15170           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
15171           So now, we can use --gst-debug-level=5 on Windows
15172         * win32/common/libgstcontroller.def:
15173           Added export of gst_controller_init
15174         * win32/vs6/libgstcontroller.dsp:
15175           Fixed Release post build configuration
15176
15177 2006-02-17  Wim Taymans  <wim@fluendo.com>
15178
15179         * tests/check/gst/gstquery.c: (GST_START_TEST):
15180         Added another check.
15181
15182 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
15183
15184         * plugins/elements/gsttypefindelement.c: (find_peek):
15185           We can do peeks at non-zero offsets, as long as they
15186           fall within the buffer we have.
15187
15188 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
15189
15190         * tests/check/Makefile.am:
15191         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
15192         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
15193         (parse_suite), (main):
15194           Add testsuite for parse launch syntax
15195
15196 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
15197
15198         * plugins/elements/gsttypefindelement.c:
15199         (gst_type_find_element_chain):
15200           When typefinding is unsuccessful in the chain function, don't
15201           error out immediately. Only error out with NO_CAPS_FOUND if
15202           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
15203           otherwise simply wait for more data so we can try typefinding
15204           again with more data later. Also, don't attempt to typefind
15205           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
15206           this should improve typefinding from network sources where the
15207           size of the first buffer can be somewhat random.
15208
15209 2006-02-14  Wim Taymans  <wim@fluendo.com>
15210
15211         * docs/gst/gstreamer-sections.txt:
15212         * gst/gstpadtemplate.c:
15213         * gst/gstpadtemplate.h:
15214         Fix padtemplate docs, fixes #328805.
15215
15216 2006-02-14  Wim Taymans  <wim@fluendo.com>
15217
15218         * tools/gst-launch.c: (main):
15219         NO_PREROLL is not an ERROR so don't send confusing messages
15220         to the user.
15221
15222 2006-02-14  Wim Taymans  <wim@fluendo.com>
15223
15224         Patch by: Torsten Schoenfeld
15225
15226         * gst/gstregistry.c: (gst_registry_get_default),
15227         (_gst_registry_cleanup):
15228         Protect default registry with lock and ref/sink it.
15229         Fixes #324818
15230
15231 2006-02-14  Wim Taymans  <wim@fluendo.com>
15232
15233         * gst/gstbuffer.c:
15234         * gst/gstquery.c: (gst_query_list_add_format),
15235         (gst_query_set_formatsv), (gst_query_parse_formats_length),
15236         (gst_query_parse_formats_nth):
15237         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15238         Docs fixes.
15239
15240 2006-02-14  Wim Taymans  <wim@fluendo.com>
15241
15242         * docs/gst/gstreamer-sections.txt:
15243         Reworked query docs.
15244
15245         * gst/gstquery.c: (gst_query_new_formats),
15246         (gst_query_list_add_format), (gst_query_set_formats),
15247         (gst_query_set_formatsv), (gst_query_parse_formats_length),
15248         (gst_query_parse_formats_nth):
15249         * gst/gstquery.h:
15250         Flesh out formats query, added some new methods.
15251         Fix part of #324398.
15252
15253         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
15254         Added query creation tests.
15255
15256 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
15257
15258         * gst/gstpad.c: (fixate_value):
15259         Add a default fixation for fraction lists.
15260
15261 2006-02-13  Wim Taymans  <wim@fluendo.com>
15262
15263         * gst/gsttask.c: (gst_task_init), (gst_task_func),
15264         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
15265         (gst_task_join):
15266         * gst/gsttask.h:
15267         Detect and warn for obvious deadlocks. fixes #320340
15268         Fix error case where lock was not released.
15269
15270         * tests/check/Makefile.am:
15271         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
15272         (task_func), (gst_element_suite), (main):
15273         Add task check.
15274
15275 2006-02-13  Wim Taymans  <wim@fluendo.com>
15276
15277         * docs/gst/gstreamer-sections.txt:
15278         * gst/gstbus.c:
15279         Add new functions to docs.
15280
15281 2006-02-13  Wim Taymans  <wim@fluendo.com>
15282
15283         * docs/design/part-TODO.txt:
15284         Updated TODO list, basesrc supports seeking to non-bytes
15285         formats.
15286
15287         * docs/design/part-element-sink.txt:
15288         Update docs.
15289
15290         * gst/gstbin.c: (bin_replace_message),
15291         (gst_bin_handle_message_func):
15292         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
15293         * gst/gstevent.c: (gst_event_finalize):
15294         * gst/gstpad.c: (gst_pad_event_default_dispatch),
15295         (gst_pad_send_event):
15296         Use shiny new _TYPE_NAME macros.
15297
15298         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15299         Move debug statement up.
15300
15301         * gst/gstelement.c: (gst_element_set_locked_state):
15302         Add some debugging.
15303
15304 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
15305
15306         * docs/gst/gstreamer-sections.txt:
15307         * gst/gstmessage.h:
15308         * gst/gstquery.h:
15309           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
15310           macros (#330906). Also, document the already existing
15311           GST_QUERY_TYPE macro.
15312
15313 2006-02-13  Wim Taymans  <wim@fluendo.com>
15314
15315         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
15316         (event_probe), (GST_START_TEST):
15317         Only events up to the pipeline EOS are counted, there are
15318         some more when going to NULL currently which we don't care
15319         about for now.
15320
15321 2006-02-13  Wim Taymans  <wim@fluendo.com>
15322
15323         * gst/gstpad.c: (gst_pad_send_event):
15324         Correctly check flushing and emit probes. fixes #330125
15325
15326 2006-02-10  Andy Wingo  <wingo@pobox.com>
15327
15328         * gst/gstbus.c (gst_bus_class_init): Declare our private data
15329         structure.
15330         (gst_bus_init): Cache the location of the private data in the
15331         instance structure.
15332         (gst_bus_enable_sync_message_emission) 
15333         (gst_bus_disable_sync_message_emission): Implement new public
15334         functions.
15335         (gst_bus_post): Emit the sync-message signal if the user asked for
15336         it. Fixes #330684.
15337
15338         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15339         location of the bus-private structure.
15340         (gst_bus_enable_sync_message_emission)
15341         (gst_bus_disable_sync_message_emission): API addition
15342
15343 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
15344
15345         Patch by: Vincent Torri
15346
15347         * docs/pwg/building-boiler.xml:
15348         PWG patch from #326800
15349
15350 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
15351
15352         * configure.ac:
15353         * docs/Makefile.am:
15354         * docs/design/Makefile.am:
15355           Dist design docs.
15356
15357 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15358
15359         * configure.ac:
15360           back to CVS
15361
15362 === release 0.10.3 ===
15363
15364 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
15365
15366         * configure.ac:
15367           releasing 0.10.3, "Like a virgin"
15368
15369 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15370
15371         * configure.ac:
15372           2nd prerelease of 0.10.3
15373           Bump libtool versioning.
15374
15375 2006-02-07  Andy Wingo  <wingo@pobox.com>
15376
15377         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15378         update last_stop if we're in TIME format and the timestamp is
15379         valid.
15380
15381         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
15382         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
15383         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15384         If we get a new newsegment with a different format, adapt
15385         accordingly.
15386
15387         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15388         of 0. Not a problem, really.
15389
15390         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15391         warn if sync=true.
15392
15393 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
15394
15395         * configure.ac:
15396           Prelease of 0.10.3
15397
15398 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
15399
15400         * win32/vs7:
15401           project files updated to the default vs7 configuration
15402         * win32/common/libgstbase.def:
15403         * win32/common/libgstreamer.def:
15404           added new symbols,
15405           removed empty lines,
15406           sorted all exported symbols alphabetically
15407         * win32/common/dirent.c:
15408         * win32/common/dirent.h:
15409         * win32/common/gchar.h:
15410           use windows line end.
15411           
15412 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15413
15414         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15415           Send EOS event when stopping.
15416
15417 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15418
15419         * docs/README:
15420           Tell folks what to do if the plugin-foobar.xml file
15421           hasn't been generated for a newly-added plugin.
15422
15423 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15424
15425         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15426         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15427         (gst_collect_pads_start), (gst_collect_pads_stop),
15428         (gst_collect_pads_event): Collectpads now holds a reference
15429         to the GstPad that was added. Indeed we don't want to look
15430         at pads that might just go away with no warning...
15431
15432 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15433
15434         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15435         (gst_collect_pads_start), (gst_collect_pads_stop),
15436         (gst_collect_pads_event), (gst_collect_pads_chain):
15437         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15438         Mark Nauwelaerts's patch on bug #328491.
15439
15440 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15441
15442         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15443         (gst_utils_suite):
15444           Add some simple tests for gst_parse_bin_from_description() and
15445           gst_bin_find_unconnected_pad() (#329069).
15446
15447 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15448
15449         * tools/gst-launch.c: (event_loop), (main):
15450           Catch errors during preroll (#320084).
15451
15452 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
15453
15454         * plugins/elements/gsttypefindelement.c:
15455         (gst_type_find_element_activate):
15456           Post TYPE_NOT_FOUND error message when typefinding
15457           is unsuccessful in the activate function as well.
15458
15459 2006-02-02  Wim Taymans  <wim@fluendo.com>
15460
15461         * docs/design/part-element-sink.txt:
15462         Updated doc.
15463
15464 2006-02-02  Wim Taymans  <wim@fluendo.com>
15465
15466         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15467         (gst_base_sink_render_object),
15468         (gst_base_sink_queue_object_unlocked):
15469         Only keep track of prerollable items when we are 
15470         prerolling.
15471         Before rendering after preroll, always check if we
15472         have queued items.
15473         Added some more debugging.
15474
15475 2006-02-02  Wim Taymans  <wim@fluendo.com>
15476
15477         * gst/gstelement.c: (gst_element_continue_state),
15478         (gst_element_set_state_func), (gst_element_change_state):
15479         Fixed #326576, been running this for quite some time with
15480         no regressions at all.
15481
15482 2006-02-02  Wim Taymans  <wim@fluendo.com>
15483
15484         * common/gst.supp:
15485         Added more suppressions
15486
15487 2006-02-02  Wim Taymans  <wim@fluendo.com>
15488
15489         * docs/design/part-element-sink.txt:
15490         Updated document.
15491
15492         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15493         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15494         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15495         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15496         (gst_base_sink_do_sync), (gst_base_sink_render_object),
15497         (gst_base_sink_preroll_object),
15498         (gst_base_sink_queue_object_unlocked),
15499         (gst_base_sink_queue_object), (gst_base_sink_event),
15500         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15501         (gst_base_sink_loop), (gst_base_sink_activate_pull),
15502         (gst_base_sink_get_position), (gst_base_sink_change_state):
15503         * libs/gst/base/gstbasesink.h:
15504         Totally refactored matching the design doc.
15505         Use two segments, one to clip incomming buffers and another to
15506         perform sync.
15507         Handle queueing correctly, bypass the queue when playing.
15508         Make EOS cancelable.
15509         Handle errors correctly when operating in pull based mode.
15510
15511         * tests/check/elements/fakesink.c: (GST_START_TEST),
15512         (fakesink_suite):
15513         Added new check for sinks.
15514
15515 2006-02-02  Wim Taymans  <wim@fluendo.com>
15516
15517         * gst/gstsegment.c: (gst_segment_clip):
15518         No reason to refuse to clip when start == -1
15519
15520 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
15521
15522         * docs/README:
15523         * docs/manual/intro-basics.xml:
15524         * docs/manual/intro-preface.xml:
15525         * docs/manual/manual.xml:
15526         * docs/pwg/advanced-dparams.xml:
15527         * docs/pwg/intro-basics.xml:
15528         * docs/pwg/intro-preface.xml:
15529         * docs/pwg/pwg.xml:
15530           describe dparams (controller) for plugins
15531           unify docs a little more
15532
15533 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
15534
15535         * docs/gst/gstreamer-sections.txt:
15536         * gst/gstutils.c: (element_find_unconnected_pad),
15537         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15538         * gst/gstutils.h:
15539           Add new API: gst_parse_bin_from_description() and
15540           gst_bin_find_unconnected_pad() (#329069).
15541
15542 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
15543
15544         * docs/manual/README:
15545           uncover a nasty detail of the docs build
15546
15547 2006-01-31  Wim Taymans  <wim@fluendo.com>
15548
15549         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15550         Don't cache duration messages if we're not going to use or
15551         free them.
15552
15553 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
15554
15555         * docs/manual/advanced-dparams.xml:
15556         * docs/pwg/advanced-dparams.xml:
15557           more dparam docs
15558         * gst/gstindex.c:
15559           fix docs
15560         * libs/gst/controller/lib.c: (gst_controller_init):
15561           init just once
15562
15563 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
15564
15565         * gst/gstelement.c: (gst_element_message_full):
15566           also show file/line/func if no additional debug was given
15567
15568 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
15569         
15570         * win32/vs7/grammar.vcproj:
15571           activate copy of autogenerated files for Release mode
15572
15573 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
15574         
15575         * win32/common/libgstreamer.def:
15576           export gst_value_compare
15577
15578 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
15579
15580         * plugins/elements/Makefile.am:
15581         * plugins/elements/gstelements.c:
15582         * plugins/elements/gstfdsink.c: (_do_init),
15583         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
15584         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
15585         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
15586         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
15587         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
15588         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
15589         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
15590         * plugins/elements/gstfdsink.h:
15591         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
15592
15593 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
15594
15595         * docs/manual/advanced-dparams.xml:
15596           describe controller
15597         * docs/manual/advanced-position.xml:
15598         * docs/manual/basics-init.xml:
15599         * docs/manual/manual.xml:
15600         * docs/manual/titlepage.xml:
15601         * docs/pwg/pwg.xml:
15602         * docs/pwg/titlepage.xml:
15603           cleanup xml (more to come)
15604         * libs/gst/controller/gstcontroller.c:
15605           fix typo
15606
15607 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
15608         
15609         * win32/vs6/grammar.dsp:
15610           add autogen of gstmarshal.c,h for Release mode
15611                 
15612 2006-01-30  Wim Taymans  <wim@fluendo.com>
15613
15614         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15615         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
15616         (gst_base_sink_handle_object), (gst_base_sink_event),
15617         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
15618         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15619         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
15620         (gst_base_sink_deactivate), (gst_base_sink_activate),
15621         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15622         (gst_base_sink_query), (gst_base_sink_change_state):
15623         Basesink cleanups, remove some old code.
15624         Handle the case where a subclass can preroll in the render
15625         method (mostly audiosinks).
15626         Handle more events.
15627         Remove some locks around variables that are now protected
15628         with the PREROLL_LOCK (clock_id, flushing, ..).
15629         Optimize position query some more, do correct locking.
15630         Remove old code to push queue in state change, this is not
15631         needed anymore since preroll blocks on all prerollable items 
15632         now.
15633         Almost implemented as described in design doc.
15634
15635 2006-01-30  Wim Taymans  <wim@fluendo.com>
15636
15637         * tests/check/gst/gstbin.c: (GST_START_TEST):
15638         Wait for refcount to settle down before checking.
15639
15640 2006-01-30  Wim Taymans  <wim@fluendo.com>
15641
15642         * docs/design/part-element-sink.txt:
15643         Pseudo code overview of desired sink behaviour regarding
15644         preroll.
15645
15646 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15647         * win32/vs6/grammar.dsp:
15648           fix some bugs in Release mode for autogenerated files
15649                 
15650 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15651         * win32/common/libgstbase.def:
15652         * win32/common/libgstreamer.def:
15653           export some new symbols: gst_base_src_set_format,
15654           gst_iterator_next, gst_structure_set_valist
15655
15656 2006-01-29  Julien MOUTTE  <julien@moutte.net>
15657
15658         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
15659         Set pad functions unconditionally. Fixes #329105.
15660
15661 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15662         * win32/vs8:
15663           add vs8 project files created by Sergey Scobich
15664
15665 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
15666
15667         * gst/gstutils.c: (gst_element_unlink_pads):
15668         Don't leak pad references.
15669
15670         * tests/check/elements/fakesink.c: (GST_START_TEST):
15671         * tests/check/generic/sinks.c: (GST_START_TEST):
15672         * tests/check/generic/states.c: (GST_START_TEST):
15673         * tests/check/gst/gstbin.c: (GST_START_TEST):
15674         * tests/check/gst/gstcaps.c: (GST_START_TEST):
15675         * tests/check/gst/gstelement.c: (GST_START_TEST):
15676         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15677         * tests/check/gst/gstiterator.c: (GST_START_TEST):
15678         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15679         Fix a bunch of leaks. Make generic/sinks.c
15680         use a bit less cpu by slowing the buffer rate
15681         between fakesrc and fakesink.
15682         
15683 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
15684         * gst/gstcaps.c:
15685         * gst/gstelement.c: (gst_element_send_event):
15686         * gst/gstevent.c:
15687         * gst/gstinfo.c:
15688         * gst/gstiterator.c:
15689         * gst/gstiterator.h:
15690         * gst/gstpad.c: (gst_pad_send_event):
15691         * gst/gststructure.c:
15692         * gst/gsturi.c:
15693         * gst/gstutils.c:
15694         * gst/gstvalue.c:
15695         * libs/gst/base/gstadapter.c:
15696           doc fixes, to link to function, just write gst_cool_function(), don't
15697           prefix with '#'
15698
15699 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15700
15701         * plugins/elements/gsttee.c: (gst_tee_do_push),
15702         (gst_tee_handle_buffer):
15703         Always prefer an actual return value from a src
15704         pad in place of NOT_LINKED. This means we return
15705         WRONG_STATE when all src pads are WRONG_STATE
15706         instead of NOT_LINKED.
15707
15708         Lock when replacing the last message to prevent
15709         racing with the get_property method.
15710
15711         Add debug output
15712
15713 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15714
15715         * tests/check/Makefile.am:
15716         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
15717         (main):
15718         Add a very simple check that should have caught the memleak I fixed
15719         last night (if not for the slice allocator hiding it)
15720
15721 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15722
15723         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15724         (gst_bin_remove_func), (gst_bin_handle_message_func),
15725         (bin_query_duration_fold), (bin_query_generic_fold):
15726         Clean up references to the clock provider when disposed or when
15727         handling a clock-lost message from it.
15728
15729         Unref sinks when performing a query via gst_iterator_fold, as the
15730         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
15731
15732         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
15733         (gst_clock_set_master):
15734         Drop our reference to the master clock, if any, when we are disposed.
15735
15736         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
15737         Chain up in dispose. 
15738
15739 2006-01-26  Wim Taymans  <wim@fluendo.com>
15740
15741         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15742         Add some debugging.
15743
15744 2006-01-26  Julien MOUTTE  <julien@moutte.net>
15745
15746         * plugins/elements/gsttee.c: (gst_tee_do_push),
15747         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
15748         handles pad being NOT_LINKED or in WRONG_STATE.
15749
15750 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15751
15752         * win32/MANIFEST:
15753           more updating
15754
15755 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15756
15757         * win32/MANIFEST:
15758           remove obsolete entry
15759
15760 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15761
15762         * docs/gst/gstreamer-sections.txt:
15763         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
15764         (gst_bin_iterate_sources), (gst_bin_send_event):
15765         * gst/gstbin.h:
15766         * gst/gstelement.c: (gst_element_send_event):
15767         * gst/gstevent.c:
15768         * gst/gstpad.c: (gst_pad_send_event):
15769           added code for downstream events, reviewed docs in gstevent.c
15770
15771 2006-01-25  Julien MOUTTE  <julien@moutte.net>
15772
15773         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15774         We only query position using the clock in the playing state.
15775         Query peer in the other cases.
15776         * win32/common/config.h: Updates.
15777
15778 2006-01-24  Wim Taymans  <wim@fluendo.com>
15779
15780         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15781         A clock entry that is scheduled for the exact time of the
15782         clock is still in time.
15783
15784         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15785         (gst_base_sink_do_sync):
15786         Add some more debug info.
15787
15788 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
15789
15790         * win32/vs7:
15791           Add new vs7 project files and solution.
15792
15793 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
15794
15795         * win32/vs7:
15796           all files removed as they were out-dated.
15797
15798 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15799
15800         * docs/random/release:
15801           update notes
15802         * gst/gstbin.c: (gst_bin_init):
15803         * gst/gstbus.c: (gst_bus_new):
15804         * gst/gstbus.h:
15805         * gst/gstpipeline.c: (gst_pipeline_init):
15806           use gst_bus_new(), improve logging, fix docs
15807         * win32/common/config.h:
15808           update for cvs build
15809
15810 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15811
15812         * autogen.sh:
15813           up required version of automake to 1.7
15814
15815 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
15816
15817         * win32/common/libgstreamer.def:
15818           export gst_buffer_is_metadata_writable
15819
15820 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
15821
15822         * docs/gst/gstreamer-sections.txt:
15823         * gst/gstevent.h:
15824           Add gst_event_replace() (#327001)
15825
15826 2006-01-20  Wim Taymans  <wim@fluendo.com>
15827
15828         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15829         Make it actually compile too..
15830
15831 2006-01-20  Wim Taymans  <wim@fluendo.com>
15832
15833         * gst/gstcaps.c:
15834         Clarify behaviour of _is_equal() when passing NULL parameters.
15835
15836         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15837         (gst_pad_set_caps):
15838         Cleanups. Don't unref NULL caps.
15839         When setting the same caps, protect caps of the pad with
15840         proper lock.
15841         Use full functionality of _is_equal() when comparing caps.
15842
15843 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
15844
15845         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15846         Don't loop infinitely if there are no buffers to present. Partially
15847         fixes #327197, but collectpads is just broken for reusing elements
15848         to do multiple encodes atm.
15849
15850 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
15851
15852         * tools/gst-inspect.c: (print_element_features):
15853         * tools/gst-xmlinspect.c: (main):
15854         URL_HANDLER is not a plugin feature we can search for in
15855         the registry.
15856
15857 2006-01-19  Edward Hervey  <edward@fluendo.com>
15858
15859         * gst/gstelement.c: (gst_element_pads_activate): 
15860         When activating, do src pads first, then sink pads.
15861         When de-activating, do sink pads first, then src pads.
15862
15863 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15864
15865         * docs/gst/gstreamer-sections.txt:
15866         Add gst_index_add_associationv to the docs
15867
15868 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15869
15870         * gst/gstevent.c:
15871           Fix docs typo
15872
15873         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
15874         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
15875           Do some refactoring. Doesn't actually change functionality,
15876           but makes landing the DRAIN event easier later.
15877
15878 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
15879
15880         * docs/pwg/advanced-scheduling.xml:
15881           Update from 0.9.x to 0.10 API and make example a bit
15882           clearer.
15883
15884 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15885
15886         * docs/gst/gstreamer-sections.txt:
15887         Add gst_buffer_(is|make)_metadata_writable methods.
15888
15889 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15890
15891         * docs/design/part-sparsestreams.txt:
15892         Update sparse streams doc, hopefully for greater clarity
15893
15894 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
15895
15896         * docs/design/part-events.txt:
15897         Remove mention of FILLER events.
15898         Add DRAIN event.
15899
15900         * docs/design/part-sparsestreams.txt:
15901         Write some things about using NEWSEGMENT to keep sparse streams
15902         flowing.
15903
15904 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
15905
15906         * gst/gstbin.c: (gst_bin_dispose):
15907           Guard gst_object_unref call against a NULL object (dispose
15908           can theoretically be called multiple times).
15909           
15910 2006-01-18  Wim Taymans  <wim@fluendo.com>
15911
15912         * gst/gstbin.c: (gst_bin_element_set_state):
15913         * gst/gstclock.c: (gst_clock_id_wait):
15914         Added some more debug info.
15915
15916         * libs/gst/base/gstadapter.c:
15917         Added more docs.
15918
15919         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15920         (gst_base_sink_do_sync), (gst_base_sink_chain):
15921         Added some comments.
15922
15923 2006-01-18  Wim Taymans  <wim@fluendo.com>
15924
15925         * tests/check/Makefile.am:
15926         * tests/check/elements/fakesink.c: (chain_async_buffer),
15927         (chain_async), (chain_async_return), (GST_START_TEST),
15928         (fakesink_suite), (main):
15929         Added fakesink test that checks prerolling and clipping
15930         behaviour.
15931
15932         * tests/check/gst/gstutils.c: (GST_START_TEST):
15933         Make check run faster so that buildbots don't timeout.
15934
15935 2006-01-18  Wim Taymans  <wim@fluendo.com>
15936
15937         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15938         (gst_base_sink_do_sync):
15939         Some cleanups.
15940         When the sink finishes blocking on the preroll buffer, it can
15941         immediatly render it instead of rendering when the next buffer
15942         arrives.
15943
15944 2006-01-18  Wim Taymans  <wim@fluendo.com>
15945
15946         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
15947         (gst_base_sink_get_property), (gst_base_sink_do_sync),
15948         (gst_base_sink_chain):
15949         Small cleanups.
15950         GST_ELEMENT_CLOCK and sync are protected with LOCK.
15951         Don't store _last_stop if the buffer is dropped.
15952
15953 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
15954
15955         * plugins/elements/gsttypefindelement.c:
15956         (gst_type_find_element_class_init):
15957           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
15958           object method handler that sets the caps on the pad and we want
15959           that to happen before we emit the signal (fixes e.g. feeding a
15960           plain text file to decodebin).
15961
15962 2006-01-18  Christian Schaller  <Christian@fluendo.com>
15963
15964         * gst/gstplugin.c: Add MPL and Proprietary as license options
15965
15966 2006-01-18  Andy Wingo  <wingo@pobox.com>
15967
15968         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
15969         symbol was exported before, it appears this was just an oversight.
15970         Fixes #168703.
15971         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
15972
15973         * gst/gstindex.c (gst_index_add_associationv): Changed int in
15974         prototype to gint. OK since this prototype was not in the header.
15975
15976 2006-01-17  Andy Wingo  <wingo@pobox.com>
15977
15978         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
15979         registry while we remove plugins.
15980
15981         * tools/gst-inspect.c (print_element_info): Don't unref the
15982         factory arg, that should be the responsibility of whatever code
15983         received the ref. Fixes a double-free when called from
15984         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
15985         (main): Unref the factory if we have one.
15986         (print_element_list): No change -- relies on the
15987         plugin_feature_list_free to free the list of features.
15988
15989 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
15990
15991         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15992         (gst_buffer_make_metadata_writable):
15993         * gst/gstbuffer.h:
15994         * libs/gst/base/gstbasetransform.c:
15995         (gst_base_transform_prepare_output_buf):
15996         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15997         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15998           Replace gst_buffer_(make|is)_metadata_writable patch now
15999           that the release is out.
16000
16001 2006-01-17  Andy Wingo  <wingo@pobox.com>
16002
16003         * gst/gstregistry.c: Reflow design comment. Update so as to speak
16004         in the present tense without reference to versions.
16005
16006         * gst/gstregistry.c (gst_registry_add_plugin)
16007         (gst_registry_remove_plugin, gst_registry_remove_feature)
16008         (gst_registry_find_feature, gst_registry_get_feature_list)
16009         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
16010         (gst_registry_lookup, gst_registry_scan_path)
16011         (_gst_registry_remove_cache_plugins)
16012         (gst_registry_get_feature_list_by_plugin): Add argument
16013         validation.
16014
16015 === release 0.10.2 ===
16016
16017 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
16018
16019         * configure.ac:
16020           releasing 0.10.2, "If man is five"
16021
16022 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16023
16024         * gst/gstbuffer.c:
16025         * gst/gstbuffer.h:
16026         * libs/gst/base/gstbasetransform.c:
16027         (gst_base_transform_prepare_output_buf):
16028         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16029         * tests/check/gst/gstbuffer.c: (gst_test_suite):
16030           Back out patch until after the release.
16031
16032 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16033
16034         * gst/gstminiobject.c:
16035           Spelling fix in docs.
16036         * ChangeLog - remove conflict indicator
16037
16038 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16039
16040         Reviewed By: Andy Wingo
16041
16042         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16043         (gst_buffer_make_metadata_writable):
16044         * gst/gstbuffer.h:
16045           Add gst_buffer_(is|make)_metadata_writable as analogues of
16046           gst_buffer_(is|make)_writable.
16047
16048         * libs/gst/base/gstbasetransform.c:
16049         (gst_base_transform_prepare_output_buf):
16050         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16051           Use name gst_buffer_(is|make)_metadata_writable functions.
16052
16053         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16054           Test gst_buffer_(is|make)_metadata_writable
16055         
16056           (Closes: #324162)
16057
16058 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
16059
16060         * docs/manual/Makefile.am:
16061           don't do parallel make
16062         * configure.ac:
16063           AC_SUBST HOST_CPU
16064         * win32/common/config.h.in:
16065           add generations for HOST_CPU and GST_MAJORMINOR
16066         * win32/common/config.h:
16067           commit generated result
16068
16069 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
16070
16071         * docs/manual/appendix-integration.xml:
16072           Update GNOME integration section to use gst_init_get_option_group()
16073           instead of the old popt stuff (#322911). Also, GNOME applications
16074           should  now use gconf*sink and gconf*src instead of the old gconf
16075           helper lib we had.
16076
16077 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
16078
16079
16080         * docs/gst/gstreamer-docs.sgml:
16081         * docs/gst/gstreamer-sections.txt:
16082         * docs/libs/gstreamer-libs-sections.txt:
16083           add new API entries to the docs
16084         * libs/gst/controller/Makefile.am:
16085         * libs/gst/controller/gstcontroller.c:
16086         * libs/gst/controller/gstcontroller.h:
16087         * libs/gst/controller/gstcontrollerprivate.h:
16088         * libs/gst/controller/gsthelper.c:
16089         * libs/gst/controller/gstinterpolation.c:
16090           move private structs to private header
16091         * po/README:
16092           gstreamer-0.7 -> gstreamer-0.10
16093         * tests/check/libs/struct_i386.h:
16094           remove private structs
16095
16096 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16097
16098         * plugins/indexers/Makefile.am:
16099           Fixes as part of #317048
16100
16101 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16102
16103         * plugins/indexers/Makefile.am:
16104           fix #316086 - compilation when mmap is missing
16105
16106 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
16107
16108         * libs/gst/base/gstbasesink.c:
16109           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
16110           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
16111         * win32/common/config.h:
16112           added some defines GST_MAJORMINOR and HOST_CPU
16113         * win32/common/libgstbase.def:
16114         * win32/common/libgstreamer.def:
16115           added some exported functions.
16116
16117 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
16118
16119         * libs/gst/controller/gstcontroller.c:
16120         (gst_controlled_property_set_interpolation_mode),
16121         (gst_controlled_property_new):
16122         * libs/gst/controller/gstcontroller.h:
16123         * libs/gst/controller/gstinterpolation.c:
16124         (interpolate_none_get_string_value_array):
16125           make G_TYPE_STRING controlable
16126
16127 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
16128
16129         * tools/README:
16130         * tools/gst-feedback.1.in:
16131         * tools/gst-inspect.1.in:
16132         * tools/gst-launch.1.in:
16133         * tools/gst-md5sum.1.in:
16134         * tools/gst-typefind.1.in:
16135         * tools/gst-xmlinspect.1.in:
16136         * tools/gst-xmllaunch.1.in:
16137           cleanup man-pages, remove reference to gst-register, document env-vars
16138
16139 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
16140
16141         * gst/gstbuffer.c: (gst_buffer_span):
16142           gst_buffer_span should copy the timestamp of the first buffer
16143           if they were both originally overlapping subbuffers of the 
16144           same parent, using the same logic as the 'slow copy' case.
16145
16146 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
16147
16148         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
16149           Need to awaken ALL the pads when we pop a buffer, otherwise
16150           collectpads only works when there is 2 input streams.
16151
16152 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
16153
16154         * docs/random/ensonic/media-device-daemon.txt:
16155           more ideas (dbus)
16156         * gst/gstbuffer.c:
16157           fix doc example, add clarification
16158         * tools/gst-launch.1.in:
16159           add initial info about GST_PLUGIN_PATH, needs more work
16160
16161 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
16162
16163         * docs/manual/basics-bins.xml:
16164         * docs/manual/basics-elements.xml:
16165         * docs/manual/intro-basics.xml:
16166           Some more minor docs additions and updates.
16167
16168 2006-01-11  Wim Taymans  <wim@fluendo.com>
16169
16170         * docs/manual/basics-bins.xml:
16171         * docs/manual/basics-elements.xml:
16172         Some small fixes as pointed out by Ser-ver on IRC.
16173
16174 2006-01-10  Edward Hervey  <edward@fluendo.com>
16175
16176         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
16177         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
16178         the single-segment mode.
16179
16180 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
16181
16182         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16183
16184         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
16185         (gst_base_src_perform_seek), (gst_base_src_send_event),
16186         (gst_base_src_set_property), (gst_base_src_get_property),
16187         (gst_base_src_loop), (gst_base_src_start),
16188         (gst_base_src_activate_push):
16189         * libs/gst/base/gstbasesrc.h:
16190           Name (private) union; makes Sun's Forte compiler happy (#324900).
16191
16192 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
16193
16194         * README:
16195           gst-register is gone.
16196
16197 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16198
16199         * gst/gstvalue.c: (_gst_value_initialize):
16200           make the G_TYPE_DATE instantiation work if debug is disabled
16201
16202 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
16203
16204         * gst/gstmessage.c: (gst_message_parse_tag),
16205         (gst_message_parse_error), (gst_message_parse_warning):
16206           Don't crash when return location for error/warning debug
16207           string is NULL; add fact that return locations can be
16208           NULL to docs where appropriate.
16209
16210 2006-01-05  Wim Taymans  <wim@fluendo.com>
16211
16212         * gst/gstplugin.c: (gst_plugin_load_file):
16213         Replace strdup by g_strdup.
16214
16215 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16216
16217         * docs/pwg/advanced-types.xml:
16218           fix doc borkage
16219
16220 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16221
16222         submitted by: Abel Cheung
16223
16224         * po/LINGUAS:
16225         * po/zh_TW.po:
16226           Added Chinese (traditional) translation
16227
16228 2006-01-04  Wim Taymans  <wim@fluendo.com>
16229
16230         * docs/manual/basics-pads.xml:
16231         * docs/plugins/Makefile.am:
16232         * docs/plugins/gstreamer-plugins-docs.sgml:
16233         * docs/plugins/gstreamer-plugins-sections.txt:
16234         * docs/pwg/advanced-clock.xml:
16235         * docs/pwg/advanced-scheduling.xml:
16236         * docs/pwg/advanced-types.xml:
16237         * plugins/elements/gstfdsink.c:
16238         * plugins/elements/gstfdsrc.c:
16239         * plugins/elements/gstfdsrc.h:
16240         * plugins/elements/gstidentity.c: (gst_identity_class_init):
16241         * plugins/elements/gstidentity.h:
16242         * plugins/elements/gstqueue.h:
16243         * plugins/elements/gsttee.c:
16244         * plugins/elements/gsttee.h:
16245         * plugins/elements/gsttypefindelement.c:
16246         (gst_type_find_element_class_init):
16247         * plugins/elements/gsttypefindelement.h:
16248         Small updates to various docs.
16249         Added core plugins to docs.
16250
16251 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16252
16253         * common/gst.supp:
16254           add a suppression for liboil's uninitialized variable
16255
16256 2006-01-02  James Livingston  <jrl at ids dot org dot au>
16257
16258         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16259
16260         * gst/gstutils.h:
16261           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
16262           macro, so that gcc doesn't complain if the -Wmissing-prototypes
16263           compiler switch is being used (#325429).
16264
16265 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
16266
16267         * gst/gstbin.c: (gst_bin_query):
16268           Disable duration query caching in bins until it gets
16269           fixed (see #324807).
16270
16271 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
16272
16273         * tools/gst-inspect.c: (print_element_properties_info):
16274           Handle properties of POINTER and BOXED type.
16275
16276 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
16277
16278         * gst/gst.c: (init_post):
16279           Init tags stuff and some other things before loading
16280           any static plugins (there may be other static plugins
16281           than just the GStreamer ones, and they may want to
16282           register their own tags or formats or whatever, and
16283           preferably without segfaulting).
16284
16285         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
16286           Print at least a warning in the debug logs if we drop a
16287           query just because we don't know how to adjust the value
16288           in the particular format.
16289
16290 2005-12-24  David Schleef  <ds@schleef.org>
16291
16292         * tools/gstreamer-completion:
16293           Replacement for gst-complete written in sh and sed.  Only
16294           completes names of features, but that's 90% of what I want
16295           it for.  Properties are not available in registry.xml.  (Maybe
16296           they should be...)
16297
16298 === release 0.10.1 ===
16299
16300 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
16301
16302         * configure.ac:
16303           releasing 0.10.1, "Nollaig chridheil"
16304
16305 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
16306
16307         * docs/faq/cvs.xml:
16308           Add missing quote, should be make ERROR_CFLAGS="".
16309
16310 2005-12-20  Wim Taymans  <wim@fluendo.com>
16311
16312         * docs/design/part-trickmodes.txt:
16313         More documentation on trickmodes.
16314
16315 2005-12-20  Edward Hervey  <edward@fluendo.com>
16316
16317         * gst/gstcaps.c: (gst_static_caps_get_type):
16318         * gst/gstcaps.h:
16319           API addition: GST_TYPE_STATIC_CAPS
16320         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
16321         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
16322         * gst/gstpadtemplate.h:
16323           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
16324         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
16325         bindings.
16326
16327 2005-12-18  Wim Taymans  <wim@fluendo.com>
16328
16329         * libs/gst/base/gstadapter.c:
16330         * libs/gst/base/gstadapter.h:
16331         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16332         (gst_base_sink_get_position):
16333         * libs/gst/base/gstbasesink.h:
16334         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16335         (gst_base_src_default_query), (gst_base_src_default_do_seek),
16336         (gst_base_src_do_seek), (gst_base_src_perform_seek),
16337         (gst_base_src_send_event), (gst_base_src_update_length),
16338         (gst_base_src_get_range), (gst_base_src_loop),
16339         (gst_base_src_start):
16340         * libs/gst/base/gstbasesrc.h:
16341         * libs/gst/base/gstbasetransform.h:
16342         * libs/gst/base/gstcollectpads.h:
16343         * libs/gst/base/gstpushsrc.c:
16344         * libs/gst/base/gstpushsrc.h:
16345         * libs/gst/dataprotocol/dataprotocol.c:
16346         * libs/gst/dataprotocol/dataprotocol.h:
16347         * libs/gst/net/gstnetclientclock.h:
16348         * libs/gst/net/gstnettimeprovider.h:
16349         Documentation updates.
16350
16351 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
16352
16353         * docs/manual/basics-helloworld.xml:
16354           Remove superfluous closing bracket in helloworld example.
16355
16356 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
16357
16358         * tools/gst-launch.1.in:
16359           Update gst-launch man page; add a section with useful
16360           environment variables. Fixes #323882.
16361
16362 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
16363
16364         * gst/gst.c:
16365         * gst/gst_private.h:
16366           change some char* into char[]
16367
16368 2005-12-16  Wim Taymans  <wim@fluendo.com>
16369
16370         * gst/gstregistryxml.c: (load_feature):
16371         Cleanups.
16372         Don't use g_object_unref on GstObjects so that we avoid
16373         leaks on unsafe glibs.
16374
16375 2005-12-16  Wim Taymans  <wim@fluendo.com>
16376
16377         * gst/gstbin.c: (gst_bin_recalc_state):
16378         Small doc updates.
16379
16380 2005-12-16  Wim Taymans  <wim@fluendo.com>
16381
16382         * common/check.mak:
16383         Added make forever target for check.
16384
16385 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16386
16387         * gst/gst.c: (init_post):
16388           make the registry cache file HOST_CPU-dependent
16389
16390 2005-12-16  Andy Wingo  <wingo@pobox.com>
16391
16392         * plugins/elements/gstbufferstore.c
16393         (gst_buffer_store_cleared_func): Pay attention to g_list_append
16394         return value.
16395
16396         * tests/check/gst/gstobject.c
16397         (test_fake_object_name_threaded_unique): Pay attention to
16398         g_list_sort return value.
16399
16400 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
16401
16402         * tools/gst-feedback-m.m:
16403           Update for 0.9/0.10 (fixes #323870).
16404
16405 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
16406
16407         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16408           Fix lcopy for mini objects, the mini object needs to be ref'ed.
16409           
16410         * tests/check/gst/gstminiobject.c: (my_foo_init),
16411         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16412         (test_value_collection), (gst_mini_object_suite):
16413           Add test to ensure refcounts end up as expected when passing
16414           GstMiniObjects through g_object_get() and g_object_set().
16415
16416 2005-12-14  Julien MOUTTE  <julien@moutte.net>
16417
16418         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16419         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16420         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16421         of collectpads. This version removes a lot of races without
16422         touching API/ABI. Yay !
16423
16424 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
16425
16426         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16427           Don't allow activation of a srcpad in pull_range if it has no
16428           getrange function.
16429           Change some debug statements to be a little clearer
16430
16431         * plugins/elements/gsttypefindelement.c:
16432         (gst_type_find_handle_src_query):
16433           Check that we have a peer before executing queries thereupon.
16434
16435         * tests/examples/metadata/read-metadata.c: (message_loop):
16436           Use gst_bus_pop instead of gst_bus_poll when we just want it to
16437           immediately return us any available message with 0 timeout.
16438
16439 2005-12-12  Michael Smith  <msmith@fluendo.com>
16440
16441         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16442           Don't unref factories after calling them.
16443         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16444         * plugins/elements/gsttypefindelement.c:
16445         (gst_type_find_element_chain):
16446           Free lists of factories after using them. Fixing typefinding memory
16447           leaks.
16448
16449 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16450
16451         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16452         (gst_plugin_feature_load):
16453           more meaningful debug output
16454         * configure.ac:
16455         * tests/Makefile.am:
16456         * tests/old/examples/Makefile.am:
16457           make make distcheck happy again
16458
16459 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16460
16461         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16462           Catch the special case where we are operating chain-based,
16463           but the downstream peer pad has no chain function. Emit a
16464           custom error message in this case instead of letting the
16465           core generate one implying that this is some sort of core
16466           bug. It's not, it just means that whatever got plugged
16467           into the pipeline downstream when we announced the type
16468           can only operate pull-based, while our source can only
16469           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16470           Error string has not been marked for translation yet, as
16471           it probably needs some more work first.
16472
16473         (gst_type_find_element_get_best_possibility):
16474           Add helper function to find the best of all available
16475           found possibilities that qualify given the min. threshold.
16476
16477         (gst_type_find_element_handle_event):
16478           Fix the case where we get an EOS while still in TYPEFIND
16479           mode (we want to chose the best of all possible types,
16480           not just the first type that happens to be in our unsorted
16481           list of possible types).
16482
16483         (gst_type_find_element_chain):
16484           Make sure we return GST_FLOW_ERROR when we errored out
16485           in stop_typefinding(); also, don't just find the best of
16486           all found type entries and then use the last examined
16487           type entry, but actually use the best entry.
16488
16489 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16490
16491         * tests/examples/typefind/typefind.c: (type_found):
16492         * tests/examples/xml/runxml.c: (xml_loaded):
16493           More gcc4 fixes and a mem leak fix.
16494
16495 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16496
16497         * tests/examples/xml/createxml.c: (object_saved):
16498           gcc 4 fixes
16499
16500 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16501
16502         * tests/Makefile.am:
16503           enable the examples even more
16504
16505 2005-12-12  Andy Wingo  <wingo@pobox.com>
16506
16507         * libs/gst/net/gstnettimeprovider.c
16508         (gst_net_time_provider_class_init, gst_net_time_provider_init)
16509         (gst_net_time_provider_set_property)
16510         (gst_net_time_provider_get_property):
16511         API addition: Export "active" as a GObject property.
16512         (gst_net_time_provider_thread): Only respond to time queries if
16513         the time provider is active.
16514
16515         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16516         NetTimeProvider, preserving binary compat.
16517
16518 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16519
16520         * tests/examples/controller/audio-example.c: (main):
16521         * tests/examples/launch/Makefile.am:
16522           convert comments again
16523
16524 2005-12-12  Wim Taymans  <wim@fluendo.com>
16525
16526         * libs/gst/base/gstpushsrc.c:
16527         Fix typo.
16528
16529 2005-12-12  Wim Taymans  <wim@fluendo.com>
16530
16531         * docs/libs/gstreamer-libs-sections.txt:
16532         Added new symbol to docs.
16533
16534         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16535         (gst_base_src_init), (gst_base_src_set_format),
16536         (gst_base_src_default_query), (gst_base_src_query),
16537         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16538         (gst_base_src_perform_seek), (gst_base_src_send_event),
16539         (gst_base_src_default_event), (gst_base_src_event_handler),
16540         (gst_base_src_set_property), (gst_base_src_get_property),
16541         (gst_base_src_wait), (gst_base_src_do_sync),
16542         (gst_base_src_update_length), (gst_base_src_get_range),
16543         (gst_base_src_check_get_range), (gst_base_src_loop),
16544         (gst_base_src_default_negotiate), (gst_base_src_start),
16545         (gst_base_src_activate_push), (gst_base_src_activate_pull),
16546         (gst_base_src_change_state):
16547         * libs/gst/base/gstbasesrc.h:
16548         Implement seeking to other formats than _BYTES.
16549         Implement more seeking methods correctly.
16550         Doc updates.
16551         Added query vmethod.
16552         Added do_seek vmethod to make life easier for subclasses
16553         when seeking.
16554         API addition: gst_base_src_set_format()
16555
16556 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16557
16558         * tests/examples/Makefile.am:
16559           added that too
16560
16561 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16562
16563         * configure.ac:
16564         * docs/random/ensonic/media-device-daemon.txt:
16565         * tests/examples/controller/.cvsignore:
16566         * tests/examples/controller/Makefile.am:
16567         * tests/examples/controller/audio-example.c: (main):
16568         * tests/examples/helloworld/.cvsignore:
16569         * tests/examples/helloworld/Makefile.am:
16570         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16571         * tests/examples/launch/.cvsignore:
16572         * tests/examples/launch/Makefile.am:
16573         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16574         * tests/examples/metadata/.cvsignore:
16575         * tests/examples/metadata/Makefile.am:
16576         * tests/examples/metadata/read-metadata.c: (message_loop),
16577         (make_pipeline), (print_tag), (main):
16578         * tests/examples/queue/.cvsignore:
16579         * tests/examples/queue/Makefile.am:
16580         * tests/examples/queue/queue.c: (event_loop), (main):
16581         * tests/examples/typefind/.cvsignore:
16582         * tests/examples/typefind/Makefile.am:
16583         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
16584         (main):
16585         * tests/examples/xml/.cvsignore:
16586         * tests/examples/xml/Makefile.am:
16587         * tests/examples/xml/createxml.c: (object_saved), (main):
16588         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
16589         * tests/old/examples/Makefile.am:
16590         * tests/old/examples/TODO:
16591         * tests/old/examples/controller/.cvsignore:
16592         * tests/old/examples/controller/Makefile.am:
16593         * tests/old/examples/controller/audio-example.c:
16594         * tests/old/examples/helloworld/.cvsignore:
16595         * tests/old/examples/helloworld/Makefile.am:
16596         * tests/old/examples/helloworld/helloworld.c:
16597         * tests/old/examples/launch/.cvsignore:
16598         * tests/old/examples/launch/Makefile.am:
16599         * tests/old/examples/launch/mp3parselaunch.c:
16600         * tests/old/examples/launch/mp3play:
16601         * tests/old/examples/manual/Makefile.am:
16602         * tests/old/examples/metadata/Makefile.am:
16603         * tests/old/examples/metadata/read-metadata.c:
16604         * tests/old/examples/queue/.cvsignore:
16605         * tests/old/examples/queue/Makefile.am:
16606         * tests/old/examples/queue/queue.c:
16607         * tests/old/examples/typefind/.cvsignore:
16608         * tests/old/examples/typefind/Makefile.am:
16609         * tests/old/examples/typefind/typefind.c:
16610         * tests/old/examples/xml/.cvsignore:
16611         * tests/old/examples/xml/Makefile.am:
16612         * tests/old/examples/xml/createxml.c:
16613         * tests/old/examples/xml/runxml.c:
16614           applied some simple fixing to some examples
16615           re-enabled the working examples
16616
16617 2005-12-12  Wim Taymans  <wim@fluendo.com>
16618
16619         * gst/gstsegment.c: (gst_segment_init),
16620         (gst_segment_set_last_stop), (gst_segment_set_seek),
16621         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16622         (gst_segment_to_running_time):
16623         Added more documentation.
16624         Make sure the last_pos value is updated properly.
16625         Make sure to_stream_time and to_running_time don't
16626         operate on wrong values.
16627
16628         * tests/check/gst/gstsegment.c: (GST_START_TEST):
16629         Update check.
16630
16631 2005-12-12  Michael Smith  <msmith@fluendo.com>
16632
16633         * plugins/elements/gsttypefindelement.c: (free_entry),
16634         (gst_type_find_element_chain):
16635           Now that we're not leaking factories, make sure we keep references
16636           to them while we need them.
16637
16638 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16639
16640         * tests/check/gst/struct_i386.h:
16641           ifdef out the XML structs
16642
16643 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16644
16645         * gst/gstvalue.c: (gst_value_transform_double_fraction):
16646           floor is not needed, F is always positive; this obviates the
16647           need for adding -lm when building without libxml
16648
16649 2005-12-12  Wim Taymans  <wim@fluendo.com>
16650
16651         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16652         Take current playback rate into account when reporting
16653         the position.
16654
16655 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16656
16657         * docs/manual/mime-world.fig:
16658           Let's try this again, this time with a file that is
16659           actually in XFig format.
16660
16661 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16662
16663         * docs/manual/mime-world.fig:
16664           Add audioconvert element to diagram so that it
16665           matches the text and the code (fixes #319526).
16666
16667 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16668
16669         * docs/pwg/building-chainfn.xml:
16670         * docs/pwg/building-pads.xml:
16671         * docs/pwg/building-state.xml:
16672         * docs/pwg/other-source.xml:
16673           Update state change stuff for 0.10 (fixes #322969).
16674
16675 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16676
16677         * docs/manual/advanced-dataaccess.xml:
16678         * docs/manual/appendix-checklist.xml:
16679         * docs/manual/appendix-programs.xml:
16680         * docs/manual/basics-pads.xml:
16681         * docs/manual/highlevel-components.xml:
16682         * docs/manual/manual.xml:
16683           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
16684           add converters in front of pipelines; remove curly
16685           brackets for threads stuff, they no longer exist; use
16686           GST_TYPE_FRACTION for framerates; update some pieces of
16687           code to 0.10, but there's plenty more to do.
16688
16689         * docs/manual/appendix-porting.xml:
16690           Expand on asynchroneous state changes; s/0.9/0.10/;
16691           mention disappearance of gst_init_get_popt_table()
16692           (fixes #322916).
16693
16694 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16695
16696         * docs/faq/using.xml:
16697           Spider no longer exists, and neither does gst-launch-ext.
16698           Update examples to use decodebin and playbin and put
16699           converters in front of sinks (fixes #323726).
16700
16701 2005-12-09  Michael Smith  <msmith@fluendo.com>
16702
16703         * plugins/elements/gsttypefindelement.c: (find_peek),
16704         (gst_type_find_element_chain):
16705           Fix leaking element factories in typefinding.
16706           Fix problem where we forgot about a probable type on non-seekable
16707           files, and thus later mis-typefound it.
16708
16709 2005-12-09  Michael Smith  <msmith@fluendo.com>
16710
16711         * common/m4/gst-makecontext.m4:
16712         * common/m4/gst-mcsc.m4:
16713         * configure.ac:
16714         * win32/common/config.h:
16715         * win32/common/config.h.in:
16716           Remove makecontext stuff; not used in 0.10 and causes problems on
16717           HPUX according to bug #322441
16718
16719 2005-12-07  Wim Taymans  <wim@fluendo.com>
16720
16721         * tests/check/Makefile.am:
16722         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
16723         (main):
16724         * tests/check/libs/struct_i386.h:
16725         Added ABI check for libs
16726
16727 2005-12-07  Wim Taymans  <wim@fluendo.com>
16728
16729         * tests/check/Makefile.am:
16730         And add the struct_i386.h to dist.
16731
16732 2005-12-07  Wim Taymans  <wim@fluendo.com>
16733
16734         * tests/check/Makefile.am:
16735         * tests/check/gst/.cvsignore:
16736         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
16737         (main):
16738         * tests/check/gst/struct_i386.h:
16739         Added check for ABI compatibility.
16740
16741 2005-12-07  Wim Taymans  <wim@fluendo.com>
16742
16743         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16744         (gst_fake_src_get_times), (gst_fake_src_create):
16745         Fix broken sync option, fixes #323259
16746
16747 2005-12-07  Wim Taymans  <wim@fluendo.com>
16748
16749         * gst/gstbuffer.c:
16750         Small docs update.
16751
16752         * gst/gstcaps.c: (gst_caps_is_equal):
16753         Don't assert on NULL <--> X. Fixes #323260
16754
16755         * gst/gstminiobject.c: (gst_mini_object_replace):
16756         If we're doing atomic operations, we might just as well use
16757         the proper way to get an atomic pointer.
16758
16759         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16760         Clean up debugging.
16761
16762 2005-12-07  Michael Smith  <msmith@fluendo.com>
16763
16764         * gst/parse/grammar.y:
16765           Remove handling of { } for threads.
16766
16767 2005-12-06  David Schleef  <ds@schleef.org>
16768
16769         * libs/gst/base/gstbasetransform.c: speling fix.
16770
16771 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16772
16773         * docs/libs/tmpl/gstdataprotocol.sgml:
16774         * docs/random/omega/testing/gstobject.c:
16775         * gst/gst.c:
16776         * gst/gstclock.c:
16777         * gst/gstelement.c:
16778         * gst/gstelementfactory.c:
16779         * gst/gsterror.c:
16780         * gst/gstevent.c:
16781         * gst/gstghostpad.c:
16782         * gst/gstinfo.c:
16783         * gst/gstpadtemplate.c:
16784         * gst/gstregistryxml.c:
16785         * gst/gsttaglist.c:
16786         * gst/gsttagsetter.c:
16787         * gst/gsttypefind.c:
16788         * gst/gstvalue.c:
16789         * libs/gst/base/gstbasesrc.c:
16790         * libs/gst/net/gstnetclientclock.c:
16791         * libs/gst/net/gstnettimeprovider.c:
16792         * plugins/elements/gstfakesrc.c:
16793         * plugins/elements/gstfdsrc.c:
16794         * plugins/elements/gstfilesrc.c:
16795         * plugins/elements/gstidentity.c:
16796         * plugins/elements/gstqueue.c:
16797         * plugins/elements/gsttypefindelement.c:
16798         * plugins/indexers/gstfileindex.c:
16799         * plugins/indexers/gstmemindex.c:
16800         * tests/check/gst/gsttag.c:
16801         * tests/old/examples/cutter/cutter.c:
16802         * tests/old/examples/mixer/mixer.c:
16803         * tests/old/examples/xml/runxml.c: (main):
16804         * tests/old/testsuite/caps/normalisation.c:
16805         * tests/old/testsuite/debug/global.c:
16806         * tests/old/testsuite/parse/parse1.c:
16807         * tools/gst-xmlinspect.c:
16808         * win32/common/dirent.c:
16809           expand tabs
16810
16811 === release 0.10.0 ===
16812
16813 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16814
16815         * configure.ac:
16816           releasing 0.10.0, "Maroilles"
16817
16818 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16819
16820         submitted by: Funda Wang <fundawang@linux.net.cn>
16821
16822         * po/LINGUAS:
16823         * po/zh_CN.po:
16824           added Chinese (Traditional) translation
16825
16826 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16827
16828         * docs/gst/gstreamer-sections.txt:
16829         * docs/libs/tmpl/gstdataprotocol.sgml:
16830         * docs/random/thomasvs/TODO:
16831         * gst/gstutils.c:
16832         * gst/gstutils.h:
16833           fix docs
16834
16835 2005-12-05  Andy Wingo  <wingo@pobox.com>
16836
16837         patch by: Wim Taymans <wim@fluendo.com>
16838
16839         * libs/gst/base/gstbasetransform.c
16840         (gst_base_transform_prepare_output_buf)
16841         (gst_base_transform_buffer_alloc):
16842         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
16843         alloc_buffer_and_set_caps.
16844
16845         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
16846         set_caps on the source pad.
16847         (gst_pad_alloc_buffer_and_set_caps): New function, does what
16848         alloc_buffer used to do. Fixes #322874.
16849
16850         * docs/gst/gstreamer-sections.txt: 
16851         * docs/design/part-negotiation.txt: 
16852         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
16853         changes.
16854
16855 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16856
16857         patch by: Sebastien Moutte
16858
16859         * win32/MANIFEST:
16860         * win32/common/config.h.in:
16861         * win32/vs6/libgstcontroller.dsp:
16862           win32 build fixes
16863
16864 2005-12-05  Wim Taymans  <wim@fluendo.com>
16865
16866         * gst/gstcaps.c: (gst_caps_is_equal):
16867         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16868         (gst_fake_src_create):
16869         Back out previous code changes, leave doc updates, file bugs 
16870         instead. 
16871
16872 2005-12-05  Wim Taymans  <wim@fluendo.com>
16873
16874         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16875         (gst_fake_src_get_times), (gst_fake_src_create):
16876         * plugins/elements/gstfakesrc.h:
16877         Fix broken sync code.
16878
16879 2005-12-05  Wim Taymans  <wim@fluendo.com>
16880
16881         * gst/gstcaps.c: (gst_caps_is_equal):
16882         Comparing NULL against !NULL yields different caps, not a
16883         failure.
16884
16885 2005-12-05  Wim Taymans  <wim@fluendo.com>
16886
16887         * gst/gstpipeline.c:
16888         Fix small typo in docs.
16889
16890 2005-12-05  Andy Wingo  <wingo@pobox.com>
16891
16892         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
16893
16894         * gst/gst.c (init_post): remove hard-coded 0.9 location for
16895         registries/plugins with a MAJORMINOR one.
16896         (plugin_desc): Rename library from gstcoreleements to
16897         staticelements. Fixes #323222.
16898
16899 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
16900
16901         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
16902           Change debug category to 'collectpads' from 'collect_pads'
16903           (fixes #323250).
16904
16905 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
16906
16907         patch by: Sebastien Moutte
16908
16909         * libs/gst/controller/gstinterpolation.c:
16910           use convert function for uint64/double
16911         * win32/vs6/libgstcontroller.dsp:
16912           link to GLib
16913
16914 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
16915
16916         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
16917         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
16918         * gst/gstutils.h:
16919         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16920           add tests that seem to show that the guint64/gdouble conversions
16921           are correct.
16922
16923 2005-12-02  Wim Taymans  <wim@fluendo.com>
16924
16925         * gst/gstregistry.c: (gst_registry_add_path):
16926         * gst/gstregistry.h:
16927         * gst/gstregistryxml.c:
16928         Fix docs again.
16929
16930 2005-12-02  Wim Taymans  <wim@fluendo.com>
16931
16932         * gst/gstutils.c: (gst_util_uint64_scale_int64),
16933         (gst_util_uint64_scale_int):
16934         Small cleanup.
16935
16936         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16937         Add debug log line.
16938
16939         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
16940         Add FIXME.
16941
16942 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16943
16944         * win32/MANIFEST:
16945         * win32/common/config.h:
16946         * win32/vs6/gstreamer.dsw:
16947         * win32/vs6/libgstcoreelements.dsp:
16948         * win32/vs6/libgstelements.dsp:
16949           renamed core elements plugin
16950
16951 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16952
16953         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
16954         (get_candidates):
16955           do piece-wise major/minor comparison so 0.9 < 0.10
16956           also allow .exe extensions for tools
16957
16958 2005-12-02  Michael Smith  <msmith@fluendo.com>
16959
16960         * gst/gst.c:
16961           Escape a % to make gtkdoc happier; bug 322958.
16962
16963 === release 0.9.7 ===
16964
16965 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16966
16967         * configure.ac:
16968           releasing 0.9.7, "My Dog Has No Nose"
16969
16970 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16971
16972         * common/gst-xmlinspect.py:
16973         * configure.ac:
16974         * docs/libs/tmpl/gstdataprotocol.sgml:
16975         * docs/random/release:
16976         * po/af.po:
16977         * po/az.po:
16978         * po/bg.po:
16979         * po/ca.po:
16980         * po/cs.po:
16981         * po/de.po:
16982         * po/en_GB.po:
16983         * po/fr.po:
16984         * po/it.po:
16985         * po/nb.po:
16986         * po/nl.po:
16987         * po/ru.po:
16988         * po/sq.po:
16989         * po/sr.po:
16990         * po/sv.po:
16991         * po/tr.po:
16992         * po/uk.po:
16993         * po/vi.po:
16994         * win32/common/config.h:
16995         * win32/common/config.h.in:
16996         * win32/vs6/gst_inspect.dsp:
16997         * win32/vs6/gst_launch.dsp:
16998         * win32/vs6/libgstbase.dsp:
16999         * win32/vs6/libgstelements.dsp:
17000         * win32/vs6/libgstreamer.dsp:
17001         * win32/vs7/GStreamer.vcproj:
17002         * win32/vs7/gst-inspect.vcproj:
17003         * win32/vs7/gst-launch.vcproj:
17004         * win32/vs7/libgstbase.vcproj:
17005           bump GST_MAJORMINOR to 0.10
17006           reset libtool version
17007
17008 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17009
17010         * po/LINGUAS:
17011         * po/bg.po:
17012           Added Bulgarian translation by (Alexander Shopov)
17013
17014 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17015
17016         * tests/check/gst/gstplugin.c:
17017           fix test
17018
17019 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17020
17021         * common/gst-xmlinspect.py:
17022         * common/gtk-doc-plugins.mak:
17023         * configure.ac:
17024         * docs/Makefile.am:
17025         * docs/gst/Makefile.am:
17026         * docs/gst/gstreamer-docs.sgml:
17027         * docs/gst/gstreamer-sections.txt:
17028         * docs/gst/gstreamer.types:
17029         * docs/gst/gstreamer.types.in:
17030         * docs/plugins/Makefile.am:
17031         * docs/plugins/gstreamer-plugins-docs.sgml:
17032         * docs/plugins/gstreamer-plugins-sections.txt:
17033         * docs/plugins/gstreamer-plugins.types:
17034         * docs/plugins/inspect.stamp:
17035         * docs/plugins/inspect/plugin-coreelements.xml:
17036         * docs/plugins/inspect/plugin-coreindexers.xml:
17037         * docs/plugins/scanobj-build.stamp:
17038         * gstreamer.spec.in:
17039         * plugins/elements/Makefile.am:
17040         * plugins/elements/gstelements.c:
17041         * plugins/elements/gstfakesink.c:
17042         * plugins/elements/gstfakesrc.c:
17043         * plugins/elements/gstfilesink.c:
17044         * plugins/elements/gstfilesrc.c:
17045         * plugins/elements/gstqueue.c:
17046         * plugins/indexers/Makefile.am:
17047         * plugins/indexers/gstindexers.c:
17048           document core plugins in a separate document just like all the
17049           others
17050           rename these plugins to something starting with core
17051
17052 2005-12-01  Andy Wingo  <wingo@pobox.com>
17053
17054         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
17055         padding here before, but it missed the commit.
17056
17057 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17058
17059         * libs/gst/controller/gstinterpolation.c:
17060           whitespace prices have crashed, we should feel free to use some now
17061           use gst_guint64_to_gdouble
17062
17063 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17064
17065         * libs/gst/controller/gstcontroller.c:
17066         * libs/gst/controller/gsthelper.c:
17067         * libs/gst/controller/gstinterpolation.c:
17068         * libs/gst/controller/lib.c:
17069           wrap config.h include
17070
17071 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17072
17073         * docs/gst/gstreamer-sections.txt:
17074           update docs
17075
17076 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17077
17078         * plugins/elements/gstelements.c:
17079         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
17080         (gst_fd_sink__class_init), (gst_fd_sink__init),
17081         (gst_fd_sink__chain), (gst_fd_sink__set_property),
17082         (gst_fd_sink__get_property):
17083         * plugins/elements/gstfdsink.h:
17084         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
17085         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
17086         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
17087         (gst_fd_src_unlock), (gst_fd_src_set_property),
17088         (gst_fd_src_get_property), (gst_fd_src_create),
17089         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
17090         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
17091         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
17092         (gst_fd_src_uri_handler_init):
17093         * plugins/elements/gstfdsrc.h:
17094         * plugins/elements/gstqueue.c: (gst_queue_get_type):
17095           more anal cleanup
17096
17097 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17098
17099         * docs/gst/Makefile.am:
17100         * docs/gst/gstreamer.types.in:
17101         * gst/Makefile.am:
17102           fix the docs build
17103
17104 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17105
17106         * configure.ac:
17107         * gst/Makefile.am:
17108         * gst/gst.c:
17109         * gst/gstplugin.h:
17110         * gst/gstregistry.h:
17111         * tests/benchmarks/complexity.c:
17112         * tests/benchmarks/mass-elements.c:
17113         * tests/check/Makefile.am:
17114         * tools/Makefile.am:
17115         * tools/gst-inspect.c:
17116         * tools/gst-xmlinspect.c:
17117           various fixes to make
17118           --disable-nls --disable-registry --disable-loadsave
17119           --disable-parse --disable-gst-debug
17120           work and get the core .so down to 360444 bytes after stripping
17121
17122 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17123
17124         * Makefile.am:
17125         * configure.ac:
17126           descend into tests
17127         * docs/random/thomasvs/TODO:
17128         * tests/Makefile.am:
17129         * tests/README:
17130           add a README
17131
17132 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17133
17134         * win32/GStreamer.vcproj:
17135         * win32/MANIFEST:
17136         * win32/Makefile:
17137         * win32/Makefile.inspect:
17138         * win32/Makefile.launch:
17139         * win32/Makefile.register:
17140         * win32/README.txt:
17141         * win32/gst-inspect.vcproj:
17142         * win32/gst-launch.vcproj:
17143         * win32/gst-register.vcproj:
17144         * win32/gstelements.vcproj:
17145         * win32/gstgetbits.def:
17146         * win32/gstgetbits.vcproj:
17147         * win32/gstreamer-dbg.def:
17148         * win32/gstreamer.def:
17149         * win32/libgstbase.def:
17150         * win32/libgstbase.vcproj:
17151         * win32/link_oldruntime.c:
17152         * win32/mman.c:
17153         * win32/mman.h:
17154         * win32/mman.inl:
17155         * win32/msvc71.sln:
17156           move even more stuff, win32/ is nice and clean now
17157
17158 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17159
17160         * libs/gst/control/.cvsignore:
17161         * win32/MANIFEST:
17162         * win32/config.h:
17163         * win32/dirent.c:
17164         * win32/dirent.h:
17165         * win32/gstbytestream.def:
17166         * win32/gstbytestream.vcproj:
17167         * win32/gstconfig.h:
17168         * win32/gstenumtypes.c:
17169         * win32/gstenumtypes.h:
17170         * win32/gstoptimalscheduler.vcproj:
17171         * win32/gstversion.h:
17172         * win32/gtchar.h:
17173         * win32/testsuite/bins.vcproj:
17174         * win32/testsuite/bytestream.vcproj:
17175         * win32/testsuite/caps.vcproj:
17176         * win32/testsuite/cleanup.vcproj:
17177         * win32/testsuite/clock.vcproj:
17178         * win32/testsuite/debug.vcproj:
17179         * win32/testsuite/dlopen.vcproj:
17180         * win32/testsuite/dynparams.vcproj:
17181         * win32/testsuite/elements.vcproj:
17182         * win32/testsuite/ghostpads.vcproj:
17183         * win32/testsuite/indexers.vcproj:
17184         * win32/testsuite/negotiation.vcproj:
17185         * win32/testsuite/parse.vcproj:
17186         * win32/testsuite/plugin.vcproj:
17187         * win32/testsuite/refcounting.vcproj:
17188         * win32/testsuite/schedulers.vcproj:
17189         * win32/testsuite/states.vcproj:
17190         * win32/testsuite/tags.vcproj:
17191         * win32/testsuite/threads.vcproj:
17192           remove old win32 stuff that isn't maintained and should be
17193           reorganized
17194
17195 2005-11-30  Andy Wingo  <wingo@pobox.com>
17196
17197         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
17198         loading the gst.interfaces python module bork.
17199
17200         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
17201         available since GLib 2.2. Fixes #318031.
17202
17203 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17204
17205         * Makefile.am:
17206         * check/.cvsignore:
17207         * check/Makefile.am:
17208         * check/elements/.cvsignore:
17209         * check/elements/fakesrc.c:
17210         * check/elements/fdsrc.c:
17211         * check/elements/identity.c:
17212         * check/generic/.cvsignore:
17213         * check/generic/states.c:
17214         * check/gst-libs/.cvsignore:
17215         * check/gst-libs/controller.c:
17216         * check/gst-libs/gdp.c:
17217         * check/gst/.cvsignore:
17218         * check/gst/capslist.h:
17219         * check/gst/gst.c:
17220         * check/gst/gstbin.c:
17221         * check/gst/gstbuffer.c:
17222         * check/gst/gstbus.c:
17223         * check/gst/gstcaps.c:
17224         * check/gst/gstelement.c:
17225         * check/gst/gstevent.c:
17226         * check/gst/gstghostpad.c:
17227         * check/gst/gstiterator.c:
17228         * check/gst/gstmessage.c:
17229         * check/gst/gstminiobject.c:
17230         * check/gst/gstobject.c:
17231         * check/gst/gstpad.c:
17232         * check/gst/gstpipeline.c:
17233         * check/gst/gstplugin.c:
17234         * check/gst/gstsegment.c:
17235         * check/gst/gststructure.c:
17236         * check/gst/gstsystemclock.c:
17237         * check/gst/gsttag.c:
17238         * check/gst/gstutils.c:
17239         * check/gst/gstvalue.c:
17240         * check/net/.cvsignore:
17241         * check/net/gstnetclientclock.c:
17242         * check/net/gstnettimeprovider.c:
17243         * check/pipelines/.cvsignore:
17244         * check/pipelines/cleanup.c:
17245         * check/pipelines/simple_launch_lines.c:
17246         * check/pipelines/stress.c:
17247         * check/states/.cvsignore:
17248         * check/states/sinks.c:
17249         * configure.ac:
17250         * examples/Makefile.am:
17251         * examples/appreader/.cvsignore:
17252         * examples/appreader/Makefile.am:
17253         * examples/appreader/appreader.c:
17254         * examples/controller/.cvsignore:
17255         * examples/controller/Makefile.am:
17256         * examples/controller/audio-example.c:
17257         * examples/cutter/.cvsignore:
17258         * examples/cutter/Makefile.am:
17259         * examples/cutter/cutter.c:
17260         * examples/cutter/cutter.h:
17261         * examples/events/Makefile.am:
17262         * examples/events/seek.c:
17263         * examples/helloworld/.cvsignore:
17264         * examples/helloworld/Makefile.am:
17265         * examples/helloworld/helloworld.c:
17266         * examples/helloworld2/.cvsignore:
17267         * examples/helloworld2/Makefile.am:
17268         * examples/helloworld2/helloworld2.c:
17269         * examples/launch/.cvsignore:
17270         * examples/launch/Makefile.am:
17271         * examples/launch/mp3parselaunch.c:
17272         * examples/launch/mp3play:
17273         * examples/manual/.cvsignore:
17274         * examples/manual/Makefile.am:
17275         * examples/manual/extract.pl:
17276         * examples/metadata/Makefile.am:
17277         * examples/metadata/read-metadata.c:
17278         * examples/mixer/.cvsignore:
17279         * examples/mixer/Makefile.am:
17280         * examples/mixer/mixer.c:
17281         * examples/mixer/mixer.h:
17282         * examples/pingpong/.cvsignore:
17283         * examples/pingpong/Makefile.am:
17284         * examples/pingpong/pingpong.c:
17285         * examples/plugins/.cvsignore:
17286         * examples/plugins/Makefile.am:
17287         * examples/plugins/example.c:
17288         * examples/plugins/example.h:
17289         * examples/pwg/.cvsignore:
17290         * examples/pwg/Makefile.am:
17291         * examples/pwg/extract.pl:
17292         * examples/queue/.cvsignore:
17293         * examples/queue/Makefile.am:
17294         * examples/queue/queue.c:
17295         * examples/queue2/.cvsignore:
17296         * examples/queue2/Makefile.am:
17297         * examples/queue2/queue2.c:
17298         * examples/queue3/.cvsignore:
17299         * examples/queue3/Makefile.am:
17300         * examples/queue3/queue3.c:
17301         * examples/queue4/.cvsignore:
17302         * examples/queue4/Makefile.am:
17303         * examples/queue4/queue4.c:
17304         * examples/retag/.cvsignore:
17305         * examples/retag/Makefile.am:
17306         * examples/retag/retag.c:
17307         * examples/retag/transcode.c:
17308         * examples/thread/.cvsignore:
17309         * examples/thread/Makefile.am:
17310         * examples/thread/thread.c:
17311         * examples/typefind/.cvsignore:
17312         * examples/typefind/Makefile.am:
17313         * examples/typefind/typefind.c:
17314         * examples/xml/.cvsignore:
17315         * examples/xml/Makefile.am:
17316         * examples/xml/createxml.c:
17317         * examples/xml/runxml.c:
17318         * tests/Makefile.am:
17319         * tests/check/Makefile.am:
17320         * testsuite/.cvsignore:
17321         * testsuite/Makefile.am:
17322         * testsuite/Rules:
17323         * testsuite/caps/.cvsignore:
17324         * testsuite/caps/Makefile.am:
17325         * testsuite/caps/app_fixate.c:
17326         * testsuite/caps/audioscale.c:
17327         * testsuite/caps/caps.c:
17328         * testsuite/caps/caps.h:
17329         * testsuite/caps/caps_strings:
17330         * testsuite/caps/compatibility.c:
17331         * testsuite/caps/deserialize.c:
17332         * testsuite/caps/enumcaps.c:
17333         * testsuite/caps/eratosthenes.c:
17334         * testsuite/caps/filtercaps.c:
17335         * testsuite/caps/fixed.c:
17336         * testsuite/caps/fraction-convert.c:
17337         * testsuite/caps/fraction-multiply-and-zero.c:
17338         * testsuite/caps/intersect2.c:
17339         * testsuite/caps/intersection.c:
17340         * testsuite/caps/normalisation.c:
17341         * testsuite/caps/random.c:
17342         * testsuite/caps/renegotiate.c:
17343         * testsuite/caps/sets.c:
17344         * testsuite/caps/simplify.c:
17345         * testsuite/caps/string-conversions.c:
17346         * testsuite/caps/structure.c:
17347         * testsuite/caps/subtract.c:
17348         * testsuite/caps/union.c:
17349         * testsuite/debug/.cvsignore:
17350         * testsuite/debug/Makefile.am:
17351         * testsuite/debug/category.c:
17352         * testsuite/debug/commandline.c:
17353         * testsuite/debug/global.c:
17354         * testsuite/debug/output.c:
17355         * testsuite/debug/printf_extension.c:
17356         * testsuite/dlopen/.cvsignore:
17357         * testsuite/dlopen/Makefile.am:
17358         * testsuite/dlopen/dlopen_gst.c:
17359         * testsuite/dlopen/loadgst.c:
17360         * testsuite/elements/.cvsignore:
17361         * testsuite/elements/Makefile.am:
17362         * testsuite/elements/gst-inspect-check.in:
17363         * testsuite/elements/struct_i386.h:
17364         * testsuite/elements/struct_size.c:
17365         * testsuite/indexers/.cvsignore:
17366         * testsuite/indexers/Makefile.am:
17367         * testsuite/indexers/cache1.c:
17368         * testsuite/indexers/indexdump.c:
17369         * testsuite/parse/.cvsignore:
17370         * testsuite/parse/Makefile.am:
17371         * testsuite/parse/parse1.c:
17372         * testsuite/parse/parse2.c:
17373         * testsuite/plugin/.cvsignore:
17374         * testsuite/plugin/Makefile.am:
17375         * testsuite/plugin/README:
17376         * testsuite/plugin/dynamic.c:
17377         * testsuite/plugin/linked.c:
17378         * testsuite/plugin/loading.c:
17379         * testsuite/plugin/registry.c:
17380         * testsuite/plugin/static.c:
17381         * testsuite/plugin/static2.c:
17382         * testsuite/plugin/testplugin.c:
17383         * testsuite/plugin/testplugin2.c:
17384         * testsuite/plugin/testplugin2_s.c:
17385         * testsuite/plugin/testplugin_s.c:
17386         * testsuite/refcounting/.cvsignore:
17387         * testsuite/refcounting/Makefile.am:
17388         * testsuite/refcounting/bin.c:
17389         * testsuite/refcounting/element.c:
17390         * testsuite/refcounting/element_pad.c:
17391         * testsuite/refcounting/mainloop.c:
17392         * testsuite/refcounting/mem.c:
17393         * testsuite/refcounting/mem.h:
17394         * testsuite/refcounting/object.c:
17395         * testsuite/refcounting/pad.c:
17396         * testsuite/refcounting/sched.c:
17397         * testsuite/refcounting/thread.c:
17398         * testsuite/states/.cvsignore:
17399         * testsuite/states/Makefile.am:
17400         * testsuite/states/bin.c:
17401         * testsuite/states/locked.c:
17402         * testsuite/states/parent.c:
17403         * testsuite/threads/.cvsignore:
17404         * testsuite/threads/159566.c:
17405         * testsuite/threads/159852.c:
17406         * testsuite/threads/Makefile.am:
17407         * testsuite/threads/queue.c:
17408         * testsuite/threads/signals.c:
17409         * testsuite/threads/staticrec.c:
17410         * testsuite/threads/thread.c:
17411         * testsuite/threads/threadb.c:
17412         * testsuite/threads/threadc.c:
17413         * testsuite/threads/threadd.c:
17414         * testsuite/threads/threade.c:
17415         * testsuite/threads/threadf.c:
17416         * testsuite/threads/threadg.c:
17417         * testsuite/threads/threadh.c:
17418         * testsuite/threads/threadi.c:
17419           move all of these under tests
17420
17421 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17422
17423         * configure.ac:
17424         * tests/Makefile.am:
17425           fix distcheck
17426
17427 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17428
17429         * docs/gst/gstreamer-sections.txt:
17430         * tests/sched/.cvsignore:
17431         * tests/sched/Makefile.am:
17432         * tests/sched/cases/(fs-fs).xml:
17433         * tests/sched/cases/(fs-i-fs).xml:
17434         * tests/sched/cases/(fs-i-i-fs).xml:
17435         * tests/sched/cases/(fs-i-q[i-fs]).xml:
17436         * tests/sched/dynamic-pipeline.c:
17437         * tests/sched/interrupt1.c:
17438         * tests/sched/interrupt2.c:
17439         * tests/sched/interrupt3.c:
17440         * tests/sched/runtestcases:
17441         * tests/sched/runxml.c:
17442         * tests/sched/sched-stress.c:
17443         * tests/sched/sort.c:
17444         * tests/sched/testcases:
17445         * tests/sched/testcases1.tc:
17446         * tests/seeking/.cvsignore:
17447         * tests/seeking/Makefile.am:
17448         * tests/seeking/seeking1.c:
17449         * tests/threadstate/.cvsignore:
17450         * tests/threadstate/Makefile.am:
17451         * tests/threadstate/test1.c:
17452         * tests/threadstate/test2.c:
17453         * tests/threadstate/threadstate1.c:
17454         * tests/threadstate/threadstate2.c:
17455         * tests/threadstate/threadstate3.c:
17456         * tests/threadstate/threadstate4.c:
17457         * tests/threadstate/threadstate5.c:
17458           remove obsolete tests
17459         * configure.ac:
17460         * tests/bench-complexity.scm:
17461         * tests/bench-mass_elements.scm:
17462         * tests/complexity.c:
17463         * tests/complexity.gnuplot:
17464         * tests/instantiate/.cvsignore:
17465         * tests/instantiate/Makefile.am:
17466         * tests/instantiate/caps.c:
17467         * tests/mass_elements.c:
17468         * tests/network-clock-utils.scm:
17469         * tests/network-clock.scm:
17470         * tests/plot-data:
17471         First pass at cleaning up tests/ dir before moving the rest
17472         Combined with CVS surgery
17473
17474 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17475
17476         * po/POTFILES.in:
17477           queue has moved, update
17478
17479 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17480
17481         * docs/gst/gstreamer-sections.txt:
17482           remove double entries from the docs
17483         * gst/gst_private.h:
17484         * gst/gstinfo.c: (_gst_debug_init):
17485           remove the THREAD debug category
17486         * gst/Makefile.am:
17487         * gst/gstqueue.c:
17488         * gst/gstqueue.h:
17489         * docs/gst/gstreamer.types:
17490         * plugins/elements/gstqueue.c: (gst_queue_get_type),
17491         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17492           completely move queue and fix up debugging categories
17493
17494 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17495
17496         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17497           make initialization portable, using LL is not
17498
17499 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17500
17501         * win32/common/gstconfig.h:
17502           add large padding
17503
17504 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17505
17506         * win32/common/libgstreamer.def:
17507           rename symbols; sort base section
17508
17509 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17510
17511         * gst/gstclock.c: (do_linear_regression):
17512           remove crack non-portable handrolled DEBUG macro
17513
17514 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17515
17516         * docs/random/release:
17517           update notes
17518         * win32/common/gstenumtypes.c: (register_gst_object_flags),
17519         (gst_object_flags_get_type), (register_gst_bin_flags),
17520         (gst_bin_flags_get_type), (register_gst_buffer_flag),
17521         (gst_buffer_flag_get_type), (register_gst_bus_flags),
17522         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17523         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17524         (gst_caps_flags_get_type), (register_gst_clock_return),
17525         (gst_clock_return_get_type), (register_gst_clock_entry_type),
17526         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17527         (gst_clock_flags_get_type), (register_gst_state),
17528         (gst_state_get_type), (register_gst_state_change_return),
17529         (gst_state_change_return_get_type), (register_gst_state_change),
17530         (gst_state_change_get_type), (register_gst_element_flags),
17531         (gst_element_flags_get_type), (register_gst_core_error),
17532         (gst_core_error_get_type), (register_gst_library_error),
17533         (gst_library_error_get_type), (register_gst_resource_error),
17534         (gst_resource_error_get_type), (register_gst_stream_error),
17535         (gst_stream_error_get_type), (register_gst_event_type_flags),
17536         (gst_event_type_flags_get_type), (register_gst_event_type),
17537         (gst_event_type_get_type), (register_gst_seek_type),
17538         (gst_seek_type_get_type), (register_gst_seek_flags),
17539         (gst_seek_flags_get_type), (register_gst_format),
17540         (gst_format_get_type), (register_gst_index_certainty),
17541         (gst_index_certainty_get_type), (register_gst_index_entry_type),
17542         (gst_index_entry_type_get_type),
17543         (register_gst_index_lookup_method),
17544         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17545         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17546         (gst_index_resolver_method_get_type), (register_gst_index_flags),
17547         (gst_index_flags_get_type), (register_gst_debug_level),
17548         (gst_debug_level_get_type), (register_gst_debug_color_flags),
17549         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17550         (gst_iterator_result_get_type), (register_gst_iterator_item),
17551         (gst_iterator_item_get_type), (register_gst_message_type),
17552         (gst_message_type_get_type), (register_gst_mini_object_flags),
17553         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17554         (gst_pad_link_return_get_type), (register_gst_flow_return),
17555         (gst_flow_return_get_type), (register_gst_activate_mode),
17556         (gst_activate_mode_get_type), (register_gst_pad_direction),
17557         (gst_pad_direction_get_type), (register_gst_pad_flags),
17558         (gst_pad_flags_get_type), (register_gst_pad_presence),
17559         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17560         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17561         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17562         (gst_plugin_error_get_type), (register_gst_plugin_flags),
17563         (gst_plugin_flags_get_type), (register_gst_rank),
17564         (gst_rank_get_type), (register_gst_query_type),
17565         (gst_query_type_get_type), (register_gst_tag_merge_mode),
17566         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17567         (gst_tag_flag_get_type), (register_gst_task_state),
17568         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17569         (gst_alloc_trace_flags_get_type),
17570         (register_gst_type_find_probability),
17571         (gst_type_find_probability_get_type), (register_gst_uri_type),
17572         (gst_uri_type_get_type), (register_gst_parse_error),
17573         (gst_parse_error_get_type):
17574         * win32/common/gstenumtypes.h:
17575         * win32/common/gstversion.h:
17576           update visual studio generated files
17577
17578 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17579
17580         * win32/vs6/libgstbase.dsp:
17581         * win32/vs6/libgstelements.dsp:
17582           update project files for new locations
17583
17584 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17585
17586         * Makefile.am:
17587           remove some files
17588         * README:
17589           reinstate and update
17590         * DEVEL:
17591         * REQUIREMENTS:
17592           removed
17593         * LICENSE:
17594         * docs/random/LICENSE:
17595           moved to random
17596
17597 2005-11-30  Edward Hervey  <edward@fluendo.com>
17598
17599         * gst/gsttypefind.c: (gst_type_find_register):
17600         * gst/gsttypefind.h:
17601         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
17602         (gst_type_find_factory_dispose):
17603         * gst/gsttypefindfactory.h:
17604         Fix memory leak in GstTypeFindFactory.
17605
17606 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17607
17608         * gst/gst.c:
17609         * plugins/elements/Makefile.am:
17610         * plugins/elements/gstelements.c:
17611         * plugins/elements/gstqueue.c:
17612           move queue from core to the elements plugin
17613
17614 2005-11-29  Andy Wingo  <wingo@pobox.com>
17615
17616         * libs/gst/base/gstbasetransform.h: 
17617         * libs/gst/base/gstbasesrc.h: 
17618         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
17619
17620         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
17621         of pointers by which to pad very extensible base classes (like the
17622         ones in libs/gst/base).
17623
17624 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17625
17626         * docs/gst/gstreamer-docs.sgml:
17627         * docs/gst/gstreamer-sections.txt:
17628         * docs/libs/gstreamer-libs-docs.sgml:
17629         * docs/libs/gstreamer-libs-sections.txt:
17630           moving documentation from core to lib
17631
17632 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17633
17634         * check/Makefile.am:
17635         * configure.ac:
17636         * docs/gst/Makefile.am:
17637         * gst/Makefile.am:
17638         * gst/base/.cvsignore:
17639         * gst/base/Makefile.am:
17640         * gst/base/README:
17641         * gst/base/gstadapter.c:
17642         * gst/base/gstadapter.h:
17643         * gst/base/gstbasesink.c:
17644         * gst/base/gstbasesink.h:
17645         * gst/base/gstbasesrc.c:
17646         * gst/base/gstbasesrc.h:
17647         * gst/base/gstbasetransform.c:
17648         * gst/base/gstbasetransform.h:
17649         * gst/base/gstcollectpads.c:
17650         * gst/base/gstcollectpads.h:
17651         * gst/base/gstpushsrc.c:
17652         * gst/base/gstpushsrc.h:
17653         * gst/base/gsttypefindhelper.c:
17654         * gst/base/gsttypefindhelper.h:
17655         * gst/check/Makefile.am:
17656         * gst/check/gstcheck.c:
17657         * gst/check/gstcheck.h:
17658         * gst/net/Makefile.am:
17659         * gst/net/gstnet.h:
17660         * gst/net/gstnetclientclock.c:
17661         * gst/net/gstnetclientclock.h:
17662         * gst/net/gstnettimepacket.c:
17663         * gst/net/gstnettimepacket.h:
17664         * gst/net/gstnettimeprovider.c:
17665         * gst/net/gstnettimeprovider.h:
17666         * libs/gst/Makefile.am:
17667         * libs/gst/base/Makefile.am:
17668         * libs/gst/base/gstbasetransform.c:
17669         * libs/gst/check/Makefile.am:
17670         * plugins/elements/Makefile.am:
17671         * po/POTFILES.in:
17672           CVS surgery + support to move base, check, and net out of gst
17673           and into libs/gst
17674
17675 2005-11-29  Andy Wingo  <wingo@pobox.com>
17676
17677         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
17678
17679         * gst/gststructure.h (struct _GstStructure): Only one pointer of
17680         padding.
17681
17682         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
17683
17684         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
17685
17686         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
17687
17688         * gst/gstobject.h: (struct _GstObject): Only one pointer of
17689         padding; reduces object size by about 30%. We don't expect
17690         anything else to go into gstobject.
17691
17692         * gst/gstminiobject.h (struct _GstMiniObject)
17693         (struct _GstMiniObjectClass): Only one pointer of padding; the
17694         payload is only a pointer and two ints anyway. For the class there
17695         are only two methods as well.
17696         
17697         * gst/gstelement.h (struct _GstElementClass): Removed
17698         the state_changed signal callback, it is not used.
17699
17700 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17701
17702         * docs/gst/gstreamer.types:
17703           fix includes, though they are a little dinky
17704
17705 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17706
17707         * check/Makefile.am:
17708           look in the right place for elements, a lot more chance of
17709           success
17710         * gst/Makefile.am:
17711           remove indexers and elements subdirs
17712         * plugins/Makefile.am:
17713           make indexers conditional
17714
17715 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17716
17717         * Makefile.am:
17718         * configure.ac:
17719         * plugins/elements/Makefile.am:
17720         * plugins/elements/gstcapsfilter.c:
17721         * plugins/elements/gstfilesink.c:
17722         * plugins/elements/gstfilesrc.c:
17723         * plugins/elements/gstidentity.c:
17724         * plugins/indexers/Makefile.am:
17725           do CVS surgery and related build fixery to move elements
17726           and indexers in a new gstreamer/plugins directory, out of the
17727           gst/ directory
17728
17729 2005-11-29  Andy Wingo  <wingo@pobox.com>
17730
17731         * check/Makefile.am:
17732         * pkgconfig/gstreamer-net-uninstalled.pc.in:
17733         * pkgconfig/gstreamer-net.pc.in:
17734         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
17735         #322257.
17736
17737 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17738
17739         * tools/Makefile.am:
17740         * tools/gst-complete.1.in:
17741         * tools/gst-complete.c:
17742         * tools/gst-compprep.1.in:
17743         * tools/gst-compprep.c:
17744           removing -compprep and -complete
17745
17746 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17747
17748         * gst/gstevent.c: (gst_event_new_new_segment),
17749         (gst_event_parse_new_segment):
17750         * gst/gstevent.h:
17751           fix #320529 - clean up new_segment API and structure.
17752           Let's hope everyone was using the methods, and not the structure.
17753
17754 2005-11-29  Edward Hervey  <edward@fluendo.com>
17755
17756         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17757         (gst_base_sink_event), (gst_base_sink_do_sync),
17758         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
17759         Properly handle non GST_FORMAT_TIME segment
17760         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17761         Properly handle non GST_FORMAT_TIME segment
17762         * gst/gstsegment.c:
17763         This function is valid if the accumulator is 0 and the format
17764         is different from the requested format.
17765         
17766 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
17767
17768         * docs/gst/gstreamer-sections.txt:
17769         Add gst_query_new_seeking and gst_query_parse_seeking to the
17770         docs.
17771
17772 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
17773
17774         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17775           Treat a pad alloc with new caps the same as if we were not
17776           negotiated, in order to allow a changing upstream output
17777           to produce a new format of data.
17778
17779 2005-11-29  Edward Hervey  <edward@fluendo.com>
17780
17781         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17782         (gst_base_transform_event), (gst_base_transform_eventfunc):
17783         The event virtual method is now properly implemented, with a default
17784         handler
17785         Sub classes should call the parent_class event method. They should
17786         return FALSE if they had a problem handling the given event, or don't
17787         want GstBaseTransform to send that even downstream
17788         * gst/elements/gstidentity.c: (gst_identity_class_init),
17789         (gst_identity_init), (gst_identity_event),
17790         (gst_identity_transform_ip), (gst_identity_set_property),
17791         (gst_identity_get_property):
17792         * gst/elements/gstidentity.h:
17793         Added the single-segment boolean property.
17794         If set to TRUE, it will output a single segment of data, starting from
17795         0, will eat up all incoming newsegment, and modify the timestamp of the
17796         buffers accordingly
17797
17798 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
17799
17800         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
17801           Don't ref NULL target pad (#322751). Improve docs.
17802
17803 2005-11-29  Michael Smith  <msmith@fluendo.com>
17804
17805         * gst/gstregistryxml.c: (load_plugin):
17806           Don't crash if we failed to load a feature from a plugin. 
17807
17808 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17809
17810         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17811         (GST_START_TEST):
17812           use more check API and less GLib API
17813
17814 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17815
17816         * Makefile.am:
17817           don't run checks if we don't have check
17818         * common/check.mak:
17819           remove the registry when running make torture
17820         * docs/gst/gstreamer-sections.txt:
17821           remove second multiply
17822         * gst/gstqueue.c: (gst_queue_loop):
17823           fix a compile warning when disabling debug
17824
17825 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17826
17827         * gst/gstinfo.h:
17828         Hey! Let's print the pad name if the pointer != NULL instead
17829         of when it == NULL :-)
17830
17831 2005-11-28  Wim Taymans  <wim@fluendo.com>
17832
17833         * check/gst/gstutils.c: (GST_START_TEST):
17834         Updated check, add some scaling accuracy checking code.
17835
17836         * gst/gstutils.c: (gst_util_div128_64),
17837         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
17838         (gst_util_uint64_scale_int):
17839         Fix 6 times faster division code. Optimize for common 
17840         1/1 and less common X/1 cases.
17841
17842 2005-11-28  Wim Taymans  <wim@fluendo.com>
17843
17844         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17845         More checks.
17846
17847         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
17848         (do_linear_regression), (gst_clock_add_observation):
17849         Cleanups.
17850         Release lock when the clock cannot be slaved.
17851         Catch the case where the regression returned an invalid denominator.
17852
17853         * gst/gstutils.c: (gst_util_div128_64_iterate),
17854         (gst_util_div128_64), (gst_util_uint64_scale_int64),
17855         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17856         Add protentially more performant non-iterative 128/64 divide function
17857         that unfortunatly does not work yet.
17858         Shortcut the trivial 0/X = 0 case.
17859         Remove the warnings on overflow.
17860
17861 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17862
17863         * gst/gstplugin.c: (gst_plugin_register_func):
17864           everything causing a plugin not to load should be at least a WARNING
17865
17866 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
17867
17868         * docs/random/ensonic/dparams.txt:
17869           some TODOs for the next dev cycle
17870         * libs/gst/controller/gstcontroller.c:
17871         (gst_controlled_property_set_interpolation_mode),
17872         (gst_controlled_property_new):
17873         * libs/gst/controller/gstcontroller.h:
17874           use base type to assign acccessor functions
17875
17876 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17877
17878         * check/Makefile.am:
17879         Oops, that should have been top_srcdir
17880
17881 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17882
17883         * check/Makefile.am:
17884         * check/elements/fdsrc.c: (GST_START_TEST):
17885         Use a cmdline define to specify the location of a file to use for
17886         testing, to avoid breaking distcheck.
17887
17888 2005-11-28  Andy Wingo  <wingo@pobox.com>
17889
17890         * gst/gstpad.c (fixate_value): Use array functions for arrays.
17891
17892 2005-11-28  Edward Hervey  <edward@fluendo.com>
17893
17894         * tools/gst-launch.c: (main):
17895         Clarify the output strings, makes it easier to translate.
17896         Fixes #322626
17897
17898 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17899
17900         * gst/Makefile.am:
17901           don't try and build net if we don't even have <sys/socket.h>
17902
17903 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
17904
17905         * check/Makefile.am:
17906         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
17907         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
17908           Add tests for fdsrc seekability
17909
17910         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17911         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
17912         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
17913         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
17914         * gst/elements/gstfdsrc.h:
17915           fdsrc should not be a 'live' source.
17916           Implement seeking on seekable fd's.
17917
17918         * gst/gstquery.c: (gst_query_new_seeking),
17919         (gst_query_parse_seeking):
17920         * gst/gstquery.h:
17921           Implement SEEKING query functions: 
17922             *_new_seeking and *_parse_seeking
17923
17924 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
17925
17926         * gst/gstelement.c: (gst_element_dispose):
17927           don't loop forever
17928
17929         * gst/gstiterator.c:
17930         * gst/gststructure.c:
17931           doc fixes
17932
17933         * libs/gst/controller/gstcontroller.c:
17934         (gst_controlled_property_set_interpolation_mode):
17935         * libs/gst/controller/gstcontroller.h:
17936         * libs/gst/controller/gstinterpolation.c:
17937         (interpolate_none_get_enum_value_array):
17938           support controlling enums
17939
17940 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
17941
17942         * gst/gstvalue.c:
17943           Improve documentation for gst_value_union().
17944
17945         * gst/gstvalue.h:
17946           Change return value for union, intersect and subtract functions
17947           from gint to gboolean.
17948
17949 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
17950
17951         * gst/gstvalue.c: (gst_value_serialize_any_list),
17952         (gst_value_transform_any_list_string),
17953         (gst_value_deserialize_list), (gst_value_deserialize_array),
17954         (gst_value_set_int_range), (gst_value_deserialize_int_range),
17955         (gst_value_set_double_range), (gst_value_deserialize_double_range),
17956         (gst_value_set_fraction_range_full),
17957         (gst_value_deserialize_fraction_range),
17958         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
17959         (gst_value_deserialize_boolean),
17960         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
17961         (gst_value_serialize_float), (gst_value_deserialize_float),
17962         (gst_string_wrap), (gst_value_deserialize_string),
17963         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
17964         (gst_value_union_int_range_int_range),
17965         (gst_value_intersect_int_range_int_range),
17966         (gst_value_intersect_double_range_double_range),
17967         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
17968         (gst_value_subtract_int_range_int_range),
17969         (gst_value_subtract_double_double_range),
17970         (gst_value_subtract_double_range_double_range),
17971         (gst_value_deserialize_fraction):
17972         * gst/gstvalue.h:
17973           Use gint, gdouble and gchar in our API instead of int, double and
17974           char (and make usage in gstvalue.c more consistent).
17975
17976 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17977
17978         * check/Makefile.am:
17979         * libs/gst/controller/Makefile.am:
17980         * libs/gst/dataprotocol/Makefile.am:
17981           fix up Makefile.am and remove GST_ENABLE_NEW
17982
17983 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17984
17985         * configure.ac:
17986         * gst/Makefile.am:
17987         * gst/base/Makefile.am:
17988         * gst/check/Makefile.am:
17989         * gst/elements/Makefile.am:
17990         * gst/net/Makefile.am:
17991           update LDFLAGS use some more
17992
17993 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17994
17995         * common/m4/gst-doc.m4:
17996           Fixes #312589
17997
17998 2005-11-26  Edward Hervey  <edward@fluendo.com>
17999
18000         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18001         This shouldn't issue a g_warning since it returns NULL if it
18002         couldn't find the plugin, and all functions using this behave
18003         properly on a NULL return. Switching to a GST_WARNING.
18004
18005 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
18006
18007         * gst/gstbin.c: (gst_bin_handle_message_func):
18008         Don't leak clock messages.
18009
18010 2005-11-25  Wim Taymans  <wim@fluendo.com>
18011
18012         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18013         (gst_util_uint64_scale_int):
18014         Optimisations, remove unneeded vars.
18015
18016 2005-11-25  Wim Taymans  <wim@fluendo.com>
18017
18018         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18019         Added more checks for the high precision uint64 cases.
18020
18021         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18022         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18023         Implement high precision (guint64 * guint64) / guint64.
18024
18025 2005-11-24  Wim Taymans  <wim@fluendo.com>
18026
18027         * gst/base/gstbasesrc.c: (gst_base_src_query):
18028         Fix wrong percentage query.
18029
18030         * gst/gstutils.c: (gst_util_uint64_scale),
18031         (gst_util_uint64_scale_int):
18032         Add some more common cases that can be handled 
18033         efficiently to _scale.
18034
18035 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18036
18037         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
18038         (gst_mini_object_suite):
18039           don't use check calls from threads; check probably isn't
18040           threadsafe and using a lock to make it threadsafe would
18041           defeat the purpose of this check
18042         * gst/check/gstcheck.c:
18043         * gst/check/gstcheck.h:
18044           use GST_DEBUG some more
18045
18046 2005-11-24  Wim Taymans  <wim@fluendo.com>
18047
18048         * gst/gstutils.c: (gst_util_uint64_scale),
18049         (gst_util_uint64_scale_int):
18050         Chain trivial case to _scale_int.
18051
18052 2005-11-24  Wim Taymans  <wim@fluendo.com>
18053
18054         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18055         Added test for scaling.
18056
18057         * gst/gstclock.h:
18058         Small doc fix.
18059
18060         * gst/gstutils.c: (gst_util_uint64_scale_int):
18061         Implemented high precision scaling code.
18062
18063 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
18064
18065         * gst/gstinfo.h:
18066           do not crash on pad==NULL
18067
18068 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18069
18070         Patch by: Stefan Kost
18071
18072         * common/gtk-doc.mak:
18073         * docs/gst/Makefile.am:
18074         * docs/libs/Makefile.am:
18075           Fix distcheck issues for the libraries docs build
18076           Closes #319599.
18077
18078 2005-11-24  Michael Smith <msmith@fluendo.com>
18079
18080         * docs/manual/basics-helloworld.xml:
18081           Fix bug #315027: memory leak in example code in docs.
18082
18083 2005-11-24  Michael Smith <msmith@fluendo.com>
18084
18085         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18086           Unlock the PREROLL_LOCK in a failure case.
18087
18088 2005-11-24  Wim Taymans  <wim@fluendo.com>
18089
18090         * docs/gst/gstreamer-sections.txt:
18091         * gst/base/gstadapter.h:
18092         * gst/base/gstbasesink.h:
18093         * gst/base/gstbasesrc.h:
18094         * gst/base/gstbasetransform.h:
18095         * gst/base/gstpushsrc.h:
18096         * gst/elements/gstfakesink.h:
18097         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
18098         * gst/elements/gstfakesrc.h:
18099         * gst/elements/gstfilesink.h:
18100         * gst/elements/gstfilesrc.h:
18101         * gst/gst.c:
18102         * gst/gstbin.c:
18103         * gst/gstbuffer.c: (_gst_buffer_copy):
18104         * gst/gstbus.h:
18105         * gst/gstcaps.c:
18106         * gst/gstchildproxy.c:
18107         * gst/gstclock.c:
18108         * gst/gstelement.c:
18109         * gst/gstelementfactory.c:
18110         * gst/gstelementfactory.h:
18111         * gst/gstevent.c:
18112         * gst/gstghostpad.h:
18113         * gst/gstindex.h:
18114         * gst/gstinterface.h:
18115         * gst/gstminiobject.c:
18116         * gst/gstminiobject.h:
18117         * gst/gstpad.c:
18118         * gst/gstpad.h:
18119         * gst/gstpadtemplate.h:
18120         * gst/gstpipeline.h:
18121         * gst/gstpluginfeature.h:
18122         * gst/gstquery.h:
18123         * gst/gstqueue.h:
18124         * gst/gsttaglist.c:
18125         * gst/gsttaglist.h:
18126         * gst/gsttagsetter.c:
18127         * gst/gsttagsetter.h:
18128         * gst/gsttrace.c:
18129         * gst/gsttrace.h:
18130         * gst/gsttypefind.h:
18131         * gst/gsturi.h:
18132         * gst/gstvalue.c:
18133         * gst/net/gstnetclientclock.c:
18134         * gst/net/gstnetclientclock.h:
18135         * gst/net/gstnettimepacket.c:
18136         * gst/net/gstnettimeprovider.c:
18137         * gst/net/gstnettimeprovider.h:
18138         Doc fixes.
18139
18140 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18141
18142         * configure.ac: back to HEAD
18143
18144 === release 0.9.6 ===
18145
18146 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
18147
18148         * configure.ac:
18149           releasing 0.9.6, "Always On Time"
18150
18151 2005-11-23  Wim Taymans  <wim@fluendo.com>
18152
18153         * docs/gst/gstreamer-sections.txt:
18154         * gst/glib-compat.c:
18155         * gst/gsttagsetter.c:
18156         * gst/gstvalue.c:
18157         * gst/net/gstnetclientclock.c:
18158         * gst/net/gstnettimepacket.h:
18159         Doc updates.
18160
18161 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18162
18163         * docs/faq/using.xml:
18164         * docs/libs/tmpl/gstcontrol.sgml:
18165         * docs/manual/advanced-dparams.xml:
18166         * docs/manual/appendix-checklist.xml:
18167         * docs/manual/basics-elements.xml:
18168         * docs/pwg/other-source.xml:
18169         * docs/random/moving-plugins:
18170         * gst/gstpad.c:
18171         * tools/gst-launch.1.in:
18172           remove mentions of sinesrc
18173
18174 2005-11-23  Michael Smith <msmith@fluendo.com>
18175
18176         * docs/gst/gstreamer-sections.txt:
18177           Update for new API and API changes.
18178         * gst/gstobject.h:
18179           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
18180         * gst/gstvalue.c:
18181           Documentation typo fix.
18182         * gst/net/gstnettimepacket.c:
18183           Documentation fixes for arguments.
18184
18185 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
18186
18187         * gst/gststructure.c: (gst_structure_get_fraction),
18188         (gst_structure_parse_value),
18189         (gst_structure_fixate_field_nearest_fraction):
18190         * gst/gststructure.h:
18191         * gst/gstutils.c: (gst_util_uint64_scale_int):
18192         * gst/gstutils.h:
18193         * scripts/update-funcnames:
18194         API Changes. 
18195         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
18196         Make gst_structure_fixate_field_nearest_fraction take a numerator
18197         and denominator argument instead of a GValue
18198         add gst_structure_get_fraction helper function.
18199
18200 2005-11-23  Wim Taymans  <wim@fluendo.com>
18201
18202         * docs/design/part-TODO.txt:
18203         Update TODO.
18204
18205         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
18206         * gst/net/gstnetclientclock.h:
18207         Use parent fields for timeout and window_size.
18208
18209 2005-11-23  Andy Wingo  <wingo@pobox.com>
18210
18211         * check/net/gstnetclientclock.c (test_functioning): Adjust to
18212         rate_num/rate_denom change.
18213
18214         * gst/net/gstnetclientclock.c
18215         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
18216         OBJECT_LOCK. Don't call add_observation with the lock.
18217
18218         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
18219         fraction.
18220         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
18221         rate fraction.
18222         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
18223         deal with rate as a fraction whose numerator and denominator are
18224         GstClockTime values.
18225         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
18226         master; the other fields are protected by the SLAVE_LOCK.
18227         (do_linear_regression): Note that this must be called with the
18228         SLAVE_LOCK.
18229         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
18230         OBJECT_LOCK. Call set_calibration instead of touching the
18231         variables directly.
18232         (gst_clock_set_property, gst_clock_get_property): Protect
18233         master/slave parameters with the SLAVE_LOCK.
18234
18235         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
18236         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
18237         note that all of the instance variables that add_observation and
18238         the set_master functions use are protected by that lock and not
18239         the OBJECT_LOCK.
18240         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
18241
18242         * gst/gstclock.c (gst_clock_add_observation): No longer requires
18243         the caller to take the object lock.
18244
18245 2005-11-23  Wim Taymans  <wim@fluendo.com>
18246
18247         * gst/gsterror.c: (_gst_core_errors_init):
18248         * gst/gsterror.h:
18249         Add error for clock stuff.
18250
18251         * gst/gstpipeline.c: (gst_pipeline_change_state),
18252         (gst_pipeline_set_clock):
18253         Post clock error when clock cannot be used in a pipeline.
18254
18255 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
18256
18257         * docs/gst/gstreamer-sections.txt:
18258           make two symbols from gstinfo private for the docs
18259         * gst/base/gstcollectpads.h:
18260         * gst/gstutils.c:
18261           fix doc typos, update docs
18262
18263 2005-11-22  Wim Taymans  <wim@fluendo.com>
18264
18265         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18266         (gst_base_sink_wait), (gst_base_sink_do_sync),
18267         (gst_base_sink_handle_event):
18268         * gst/base/gstbasesink.h:
18269         No need to store the clock, the parent element class already
18270         has it.
18271
18272         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
18273         Updates for clock_set returning a gboolean
18274
18275         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
18276         (gst_clock_id_wait_async), (gst_clock_class_init),
18277         (gst_clock_init), (gst_clock_finalize),
18278         (gst_clock_get_internal_time), (gst_clock_get_time),
18279         (gst_clock_slave_callback), (gst_clock_set_master),
18280         (gst_clock_get_master), (do_linear_regression),
18281         (gst_clock_add_observation), (gst_clock_set_property),
18282         (gst_clock_get_property):
18283         * gst/gstclock.h:
18284         Implement master/slave. When setting a clock as a slave, a
18285         periodic timeout is scheduled to sample master and slave times.
18286         Then the slave clock is recalibrated to match offset and rate
18287         of the master clock.
18288         Update logging a bit.
18289         Add flag so that a clock can state that is cannot be slaved to
18290         another clock.
18291
18292         * gst/gstelement.c: (gst_element_set_clock):
18293         * gst/gstelement.h:
18294         The set clock returns a gboolean for when an element cannot
18295         deal with the selected clock in the pipeline. 
18296
18297         * gst/gstpipeline.c: (gst_pipeline_change_state),
18298         (gst_pipeline_set_clock):
18299         * gst/gstpipeline.h:
18300         Handle the case where the selected clock cannot be set on
18301         the pipeline.
18302
18303         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
18304         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
18305         (gst_net_client_clock_set_property),
18306         (gst_net_client_clock_get_property),
18307         (gst_net_client_clock_observe_times):
18308         * gst/net/gstnetclientclock.h:
18309         Use regression code in GstClock parent, remove duplicated
18310         functionality.
18311
18312 2005-11-22  Michael Smith <msmith@fluendo.com>
18313
18314         * gst/gstutils.c: (gst_util_clock_time_scale):
18315         * gst/gstutils.h:
18316         * docs/gst/gstreamer-sections.txt:
18317           Rename method to have extra underscore.
18318
18319 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
18320
18321         * gst/elements/Makefile.am:
18322         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
18323         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18324         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18325         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18326         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18327         * gst/elements/gstfakesrc.h:
18328         * gst/gstqueue.c: (queue_leaky_get_type):
18329           correctly fix GEnumValues so that nick is the short lowercase
18330           dashed tag
18331         * tools/gst-inspect.c: (print_element_properties_info):
18332           also show the nick, since it's useful to use from parse_launch
18333           syntax
18334           Fixes #322139
18335
18336 2005-11-22  Michael Smith <msmith@fluendo.com>
18337
18338         * gst/gstutils.c: (gst_util_clocktime_scale):
18339         * gst/gstutils.h:
18340         * docs/gst/gstreamer-sections.txt:
18341           Add util method for scaling a clocktime by a fraction. Useful 
18342           implementation is left as an exercise for the reader.
18343
18344 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18345
18346         * gst/gstvalue.c: (gst_value_collect_fraction_range):
18347         If needed, allocate storage in the destination value during
18348         collection.
18349
18350 2005-11-22  Edward Hervey  <edward@fluendo.com>
18351
18352         * docs/gst/gstreamer-sections.txt:
18353         * gst/Makefile.am:
18354         * gst/gst.h:
18355         * gst/gsturitype.c:
18356         * gst/gsturitype.h:
18357         * gst/gstutils.c: (gst_util_set_object_arg):
18358         * tools/gst-compprep.c: (main):
18359         * tools/gst-inspect.c: (print_element_properties_info):
18360         Removed GstURI, closes bug #321061
18361
18362 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18363
18364         * check/gst/gststructure.c: (GST_START_TEST):
18365         * gst/gststructure.c: (gst_structure_parse_value):
18366           Oops, broke automatic string type parsing.
18367           Add a test to catch it in future.
18368
18369 2005-11-22  Andy Wingo  <wingo@pobox.com>
18370
18371         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
18372         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18373         Actually rename the function implementations. Grr.
18374
18375 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18376
18377         * check/gst/capslist.h:
18378           Comment test cases
18379         * check/gst/gststructure.c: (GST_START_TEST),
18380         (gst_structure_suite):
18381           Test automatic value type detection in gst_structure_from_string.
18382         * gst/gststructure.c: (gst_structure_parse_value):
18383           Add fraction as a type we try and guess automatically in
18384           caps/structure strings.
18385
18386 2005-11-22  Andy Wingo  <wingo@pobox.com>
18387
18388         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18389
18390         * gst/gsttagsetter.h:
18391         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18392         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18393         (gst_tag_setter_add_tag_valist)
18394         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18395         _add_values, _add_valist, and _add_valist_values. Since this is an
18396         interface the function suffixes should be more explicit so
18397         language binding don't end up with element.add_valist ->
18398         gst_tag_setter_add_valist, for example. Fixes #322069.
18399
18400 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18401
18402         * check/gst/gstcaps.c: (GST_START_TEST):
18403           Extend caps string tests to check that a caps to string
18404           conversion is reversible and produces the same caps.
18405
18406         * gst/gststructure.c: (gst_structure_value_get_generic_type):
18407           Output "fraction" as the generic type fraction range, so caps
18408           serialisation and deserialisation works.
18409         * check/gst/capslist.h:
18410         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18411           Support 'MIN' and 'MAX' for deserialising fractions.
18412
18413 2005-11-22  Andy Wingo  <wingo@pobox.com>
18414
18415         * gst/gstevent.h (gst_event_new_new_segment)
18416         (gst_event_parse_new_segment, gst_event_new_buffer_size)
18417         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18418         Renamed from *_newsegment, *_buffersize, *_notarget.
18419
18420         * scripts/update-funcnames: New script, performs the changes
18421         listed above.
18422
18423 2005-11-22  Wim Taymans  <wim@fluendo.com>
18424
18425         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18426         Make sure the GstFlowReturn is returned.
18427
18428         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18429         (gst_bus_add_signal_watch):
18430         * gst/gstbus.h:
18431         add gst_bus_add_signal_watch_full.
18432
18433         * gst/gstplugin.c: (gst_plugin_load_file):
18434         Small style cleanup.
18435
18436 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18437
18438         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18439           Block the fakesrc srcpad when we send an event, to avoid
18440           contention on the stream_lock causing random test failures.
18441
18442 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18443
18444         * check/gst/gstvalue.c: (GST_START_TEST):
18445         * gst/gstvalue.c: (gst_value_fraction_subtract):
18446           Fix subtraction.
18447
18448 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
18449
18450         * gst/gst.h:
18451           include "gstchildproxy.h"
18452         * gst/gstchildproxy.h:
18453         * libs/gst/controller/gstcontroller.h:
18454           use G_GNUC_NULL_TERMINATED
18455
18456 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18457
18458         * check/gst/capslist.h:
18459         * check/gst/gstcaps.c: (GST_START_TEST):
18460         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18461         * gst/gststructure.c: (gst_structure_parse_range),
18462         (gst_structure_fixate_field_nearest_fraction):
18463         * gst/gststructure.h:
18464         * gst/gstvalue.c: (gst_value_init_fraction_range),
18465         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18466         (gst_value_collect_fraction_range),
18467         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18468         (gst_value_set_fraction_range_full),
18469         (gst_value_get_fraction_range_min),
18470         (gst_value_get_fraction_range_max),
18471         (gst_value_serialize_fraction_range),
18472         (gst_value_transform_fraction_range_string),
18473         (gst_value_compare_fraction_range),
18474         (gst_value_deserialize_fraction_range),
18475         (gst_value_intersect_fraction_fraction_range),
18476         (gst_value_intersect_fraction_range_fraction_range),
18477         (gst_value_subtract_fraction_fraction_range),
18478         (gst_value_subtract_fraction_range_fraction),
18479         (gst_value_subtract_fraction_range_fraction_range),
18480         (gst_value_collect_fraction), (gst_value_fraction_multiply),
18481         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18482         (gst_value_transform_string_fraction), (_gst_value_initialize):
18483         * gst/gstvalue.h:
18484           Implement fraction ranges and extend GstFraction to support
18485           arithmetic subtraction, as well as deserialization from integer
18486           strings such as "100"
18487           Add a testsuite as for int and double range set operations
18488
18489 2005-11-21  Andy Wingo  <wingo@pobox.com>
18490
18491         * gst/gsttaglist.h: 
18492         * gst/gstcaps.h: 
18493         * gst/gststructure.h: Add glib-compat.h.
18494
18495 2005-11-21  Wim Taymans  <wim@fluendo.com>
18496
18497         * gst/gstbin.c: (gst_bin_change_state_func):
18498         Fix for #321595
18499
18500 2005-11-21  Wim Taymans  <wim@fluendo.com>
18501
18502         * gst/gstsegment.h:
18503         And add a nice define too.
18504
18505 2005-11-21  Wim Taymans  <wim@fluendo.com>
18506
18507         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18508         (gst_segment_new), (gst_segment_free), (gst_segment_init),
18509         (gst_segment_set_duration), (gst_segment_set_last_stop),
18510         (gst_segment_set_seek), (gst_segment_set_newsegment),
18511         (gst_segment_to_stream_time), (gst_segment_to_running_time),
18512         (gst_segment_clip):
18513         * gst/gstsegment.h:
18514         Make binding friendly.
18515
18516 2005-11-21  Andy Wingo  <wingo@pobox.com>
18517
18518         * gst/gsttagsetter.h: 
18519         * gst/gsttaglist.h: 
18520         * gst/gststructure.h: 
18521         * gst/gstcaps.h: 
18522         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18523         #319940.
18524
18525         * gst/gsterror.c (_gst_core_errors_init):
18526         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18527         category.
18528
18529         * gst/Makefile.am (gst_headers): Add glib-compat.h.
18530         (noinst_HEADERS): noinst the -private.
18531
18532 2005-11-21  Michael Smith <msmith@fluendo.com>
18533
18534         * gst/gstplugin.h:
18535         * gst/gstregistry.h:
18536           Remove unimplemented declarations for which we can see no sensible
18537           use.
18538
18539 2005-11-21  Andy Wingo  <wingo@pobox.com>
18540
18541         * gst/gst.h: Include glib-compat.h.
18542
18543         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18544
18545         * gst/glib-compat.c: Include the public and the private header.
18546
18547         * gst/glib-compat-private.h: Copied here from glib-compat.h.
18548
18549         * gst/gstvalue.c: 
18550         * gst/gstpad.c: 
18551         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18552
18553         * check/gst/gstevent.c (create_custom_events): Check that
18554         FLUSH_STOP is serialized.
18555
18556         * check/elements/identity.c (event_func): 
18557         * check/elements/fakesrc.c (event_func): No stream lock, the core
18558         takes it.
18559
18560         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18561         stream lock taking, yay.
18562
18563         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18564         ensure that core takes the stream lock.
18565
18566         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18567         lock name change.
18568
18569         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18570         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18571         it already. For the flush start we do take it though so we get the
18572         right preroll state change messages.
18573
18574         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18575         the stream lock here, the core does it for us.
18576
18577         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
18578         GST_STREAM_GET_LOCK.
18579         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
18580         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
18581         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
18582         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
18583         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
18584         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
18585
18586         * gst/gstpad.c: Update for stream lock name change.
18587
18588         * gst/base/gstbasesink.c: Update for preroll lock name change.
18589
18590 2005-11-21  Wim Taymans  <wim@fluendo.com>
18591
18592         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
18593         (gst_clock_get_master):
18594         * gst/gstclock.h:
18595         * gst/gstsystemclock.c: (gst_system_clock_init):
18596         Convert Clock flags to object flags.
18597         Added methods to manage master/slave clocks.
18598
18599 2005-11-21  Wim Taymans  <wim@fluendo.com>
18600
18601         * check/gst/gstsegment.c: (GST_START_TEST):
18602         * docs/design/part-TODO.txt:
18603         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18604         (gst_base_sink_event), (gst_base_sink_do_sync),
18605         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
18606         (gst_base_sink_query), (gst_base_sink_change_state):
18607         * gst/base/gstbasesink.h:
18608         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18609         (gst_base_src_default_newsegment),
18610         (gst_base_src_configure_segment), (gst_base_src_do_seek),
18611         (gst_base_src_get_range), (gst_base_src_loop),
18612         (gst_base_src_change_state):
18613         * gst/base/gstbasesrc.h:
18614         * gst/base/gstbasetransform.c:
18615         (gst_base_transform_prepare_output_buf),
18616         (gst_base_transform_event), (gst_base_transform_change_state):
18617         * gst/base/gstbasetransform.h:
18618         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
18619         (gst_collect_pads_event):
18620         * gst/base/gstcollectpads.h:
18621         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
18622         (gst_fake_src_create):
18623         * gst/elements/gstfakesrc.h:
18624         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18625         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18626         (gst_segment_set_last_stop), (gst_segment_set_seek),
18627         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18628         (gst_segment_to_running_time), (gst_segment_clip):
18629         * gst/gstsegment.h:
18630         More segment updates, replace code in plugins with segment
18631         helper functions.
18632
18633 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18634
18635         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
18636         Don't ignore sscanf results
18637
18638 2005-11-21  Andy Wingo  <wingo@pobox.com>
18639
18640         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
18641
18642         * *.h:
18643         * *.c: Ran scripts/update-macros. Oh yes.
18644
18645         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
18646         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
18647         GST_GET_LOCK, etc.
18648
18649         * scripts/update-macros: New script. Run it on your files to
18650         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
18651         well.
18652
18653 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
18654
18655         * docs/gst/Makefile.am:
18656         * docs/gst/gstreamer-docs.sgml:
18657         * docs/gst/gstreamer-sections.txt:
18658         * docs/gst/gstreamer.types:
18659         * gst/gstinfo.h:
18660           more docs fixes, add new api to the docs
18661
18662 2005-11-21  Andy Wingo  <wingo@pobox.com>
18663
18664         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
18665         state_broadcast call.
18666
18667         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
18668
18669 2005-11-21  Julien MOUTTE  <julien@moutte.net>
18670
18671         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
18672         function calls for arrays.
18673
18674 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
18675
18676         * docs/random/ensonic/media-device-daemon.txt:
18677           wild idea, can this be done?
18678         * docs/gst/gstreamer-sections.txt:
18679         * gst/gsterror.h:
18680         * gst/gstfilter.c:
18681         * gst/gstfilter.h:
18682         * gst/gstplugin.h:
18683         * gst/gstpluginfeature.c:
18684         * gst/gsttrace.c:
18685         * gst/gstvalue.c:
18686         * gst/gstvalue.h:
18687           doc fixes and additions
18688
18689 2005-11-21  Andy Wingo  <wingo@pobox.com>
18690
18691         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
18692         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
18693         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
18694         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
18695         private to the basesrc implementation.
18696
18697         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
18698         behalf of event function if necessary. It should no longer be
18699         necessary to take the stream lock in pad's event functions. Fixes
18700         #320299.
18701
18702 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18703         * docs/gst/gstreamer-sections.txt:
18704         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
18705         (gst_structure_fixate_field_nearest_double),
18706         (gst_structure_fixate_field_boolean):
18707         * gst/gststructure.h:
18708         * win32/common/libgstreamer.def:
18709         * win32/gstreamer.def:
18710
18711         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
18712         (#322027)
18713
18714 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18715
18716         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
18717         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
18718         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
18719         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
18720         (gst_fdsrc_uri_handler_init):
18721         * gst/elements/gstfdsrc.h:
18722           Port fd:// URI handler from 0.8 to fdsrc
18723
18724 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18725
18726         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
18727         (gst_value_serialize_fourcc):
18728         * gst/gstvalue.h:
18729           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
18730           consistent with our other format defines (#320324).
18731
18732 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18733
18734         * gst/gstvalue.c: (gst_value_is_fixed):
18735           Revert previous commit. Value lists are by definition
18736           not fixed, as they are a list of possible values.
18737
18738 2005-11-21  Andy Wingo  <wingo@pobox.com>
18739
18740         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
18741         during the stable series if we need it. Fixes #319178.
18742
18743         * gst/gstevent.c (gst_event_new_filler): Removed.
18744
18745         * check/gst/gstevent.c: Update comment about filler events.
18746
18747 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18748
18749         * gst/gstvalue.c: (gst_value_is_fixed):
18750           Should handle both value arrays and value lists.
18751
18752 2005-11-21  Andy Wingo  <wingo@pobox.com>
18753
18754         patch by: Alessandro Dessina <alessandro nnva org>
18755
18756         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
18757         functions to access arrays. Fixes #321962.
18758
18759 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18760
18761         * docs/gst/gstreamer.types:
18762           gst_collectpads_get_type => gst_collect_pads_get_type.
18763           
18764         * gst/base/gstbasetransform.c:
18765           Remove unused SIGNAL_HANDOFF enum.
18766
18767 2005-11-21  Andy Wingo  <wingo@pobox.com>
18768
18769         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
18770         the event type (upstream, downstream, serialized). Renamed
18771         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
18772         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
18773         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
18774
18775         * gst/gstevent.c: Update for new CUSTOM event names.
18776
18777         * check/gst/gstevent.c: Update check for new CUSTOM event names.
18778
18779         * gst/gstevent.h:
18780         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
18781         bug #319392.
18782
18783 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18784
18785         * docs/gst/gstreamer-sections.txt:
18786         * win32/common/libgstbase.def:
18787         * win32/libgstbase.def:
18788         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18789         (gst_collect_pads_class_init), (gst_collect_pads_init),
18790         (gst_collect_pads_finalize), (gst_collect_pads_new),
18791         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
18792         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
18793         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
18794         (gst_collect_pads_start), (gst_collect_pads_stop),
18795         (gst_collect_pads_peek), (gst_collect_pads_pop),
18796         (gst_collect_pads_available), (gst_collect_pads_read),
18797         (gst_collect_pads_flush), (gst_collect_pads_event),
18798         (gst_collect_pads_chain):
18799         * gst/base/gstcollectpads.h:
18800           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
18801           unimplemented functions as unimplemented. Add padding to
18802           GstCollectData. (#320766, #320423)
18803
18804 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18805
18806         * gst/gstmessage.c:
18807           Improve docs for DURATION message (usage of duration parameter)
18808           (#320113)
18809
18810 2005-11-20  Wim Taymans  <wim@fluendo.com>
18811
18812         * check/Makefile.am:
18813         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
18814         (main):
18815         * gst/Makefile.am:
18816         * gst/gst.h:
18817         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18818         (gst_segment_set_seek), (gst_segment_set_newsegment),
18819         (gst_segment_to_stream_time), (gst_segment_to_running_time),
18820         (gst_segment_clip):
18821         * gst/gstsegment.h:
18822         Added segment helper structure and methods. Not fully implemented
18823         yet.
18824         Added segment check.
18825
18826 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
18827
18828         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18829           Add a deserialisation test for fractions
18830         * examples/metadata/read-metadata.c: (message_loop),
18831         (make_pipeline), (main):
18832           Fix up metadata reading sample.
18833         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18834           Debug format fix
18835         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18836           Don't try and fixate empty caps
18837         * gst/gst_private.h:
18838           Wrap in G_BEGIN_DECLS/G_END_DECLS
18839         * gst/gstvalue.c: (gst_value_collect_fraction),
18840         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
18841         (gst_value_transform_string_fraction),
18842         (gst_value_compare_fraction):
18843           Add some extra guards to ensure that we don't end up 
18844           with an invalid denominator of 0 in a gstfraction and
18845           that fractions always get reduced.
18846
18847 2005-11-20  Wim Taymans  <wim@fluendo.com>
18848
18849         * docs/gst/gstreamer-sections.txt:
18850         * gst/gstbuffer.h:
18851         * gst/gstelement.c:
18852         * gst/gstformat.c:
18853         * gst/gstformat.h:
18854         * gst/gstindex.h:
18855         * gst/gstquery.c:
18856         * gst/gstquery.h:
18857         * gst/gstvalue.c:
18858         Doc fixes.
18859
18860 2005-11-20  Wim Taymans  <wim@fluendo.com>
18861
18862         * docs/design/part-TODO.txt:
18863         * gst/gstcaps.h:
18864         Make a proper enum of the flag.
18865
18866 2005-11-19  Wim Taymans  <wim@fluendo.com>
18867
18868         * docs/design/part-TODO.txt:
18869         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
18870         (gst_format_to_quark), (gst_format_register):
18871         * gst/gstformat.h:
18872         * gst/gstquery.c: (_gst_query_initialize),
18873         (gst_query_type_get_name), (gst_query_type_to_quark),
18874         (gst_query_type_register):
18875         * gst/gstquery.h:
18876         Add type to quark and type to string conversions.
18877
18878 2005-11-19  Andy Wingo  <wingo@pobox.com>
18879
18880         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
18881         #320097.
18882
18883 2005-11-19  Wim Taymans  <wim@fluendo.com>
18884
18885         * docs/design/part-TODO.txt:
18886         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18887         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
18888         (gst_bin_handle_message_func):
18889         * gst/gstbin.h:
18890         Make message handling overridable.
18891
18892 2005-11-19  Andy Wingo  <wingo@pobox.com>
18893
18894         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
18895
18896         * gst/gstclock.h:
18897         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
18898         be a GstClockTime.
18899         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
18900         is a GstClockTime. Fixes #321710.
18901
18902         * gst/gstclock.h (GstClock): Remove offset property. Add
18903         internal_calibration and external_calibration. Fix padding. Pad
18904         also by GstClockTime so we don't run into problems.
18905
18906         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
18907         (gst_clock_get_rate_offset): Remove.
18908         (gst_clock_set_time_adjust): Remove. Fixes #321712.
18909
18910         * gst/gstutils.h:
18911         * gst/gstutils.c (g_static_rec_cond_wait)
18912         (g_static_rec_cond_timed_wait): Removed, no longer needed.
18913
18914         * gst/gstbin.c: Remove terrible continue_state prototype.
18915
18916         * gst/gstelement.h (gst_element_continue_state): Make public.
18917
18918         * gst/gstelement.h:
18919         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
18920         by continue_state. Fixes #319389.
18921
18922         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
18923         Really fixes #168438. However I don't see anywhere where the
18924         filter function is called... stupid GStreamer...
18925         
18926         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
18927         don't have a dispose function, so it won't get called when the
18928         object is unreffed, but oh well!
18929
18930         * gst/gstindex.c (gst_index_set_filter_full): New API function,
18931         allows a destroy function to be set so user_data can be freed.
18932         Fixes #168438.
18933         (gst_index_set_filter): Call gst_index_set_filter_full.
18934
18935         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
18936
18937         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
18938         string should produce an error, given the lack of a way to
18939         represent NULL strings. Fixes #165650.
18940         
18941         * gst/gstvalue.h: 
18942         * gst/gstvalue.c (gst_value_array_append_value) 
18943         (gst_value_array_prepend_value, gst_value_array_get_size) 
18944         (gst_value_array_get_value): New API, copied from
18945         gst_value_list_*, only operates on arrays.
18946         (gst_value_list_append_value, gst_value_list_prepend_value) 
18947         (gst_value_list_concat, gst_value_list_get_size) 
18948         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
18949
18950         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
18951         init_list, because it works on both.
18952         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
18953         (gst_value_copy_list_or_array): Renamed from copy_list.
18954         (gst_value_free_list_or_array): Renamed from free_list.
18955         (gst_value_collect_list_or_array): Renamed from collect_list.
18956         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
18957         (gst_value_list_or_array_peek_pointer): Renamed from
18958         list_peek_pointer.
18959         (_gst_value_array_value_table, _gst_value_list_value_table):
18960         Update value table functions.
18961         (gst_value_compare_list_or_array): Renamed from compare_list.
18962
18963         * gsttaglist.h: Whoops, foreach function returns void. Also fix
18964         some constness.
18965
18966         * gst/gsttaglist.c:
18967         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
18968         GstTagList*. Fixes #143472.
18969
18970         * gst/gststructure.h: Clarify what the foreach/map functions can
18971         or can't do to their arguments.
18972
18973 2005-11-18  Wim Taymans  <wim@fluendo.com>
18974
18975         * gst/gstclock.c: (gst_clock_set_calibration),
18976         (gst_clock_get_calibration):
18977         Doc and API fixes.
18978         Calibration can be set with internal time equal to current
18979         internal time too.
18980
18981 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
18982
18983         * gst/gsterror.c:
18984         * gst/gsterror.h:
18985           document
18986
18987 2005-11-18  Andy Wingo  <wingo@pobox.com>
18988
18989         * configure.ac: 
18990         * pkgconfig/gstreamer-net.pc.in:
18991         * pkgconfig/gstreamer-net-uninstalled.pc.in:
18992         * pkgconfig/Makefile.am: Add net pkgconfig files.
18993
18994 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
18995
18996         * gst/gstcaps.c:
18997         * gst/gstghostpad.c:
18998         * gst/gsttrace.c:
18999         * gst/gstvalue.c:
19000         * gst/gstvalue.h:
19001           docs fixes
19002
19003 2005-11-18  Andy Wingo  <wingo@pobox.com>
19004
19005         * gst/net/gstnetclientclock.c: Turn off debugging.
19006
19007         * check/net/gstnetclientclock.c (test_functioning): Assert that the
19008         times connverge somewhat. Can't make a real test.
19009
19010         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
19011         integer arithmetic. Return the minimum of the domain, which can be
19012         set as "internal" for gst_clock_set_calibration.
19013         (gst_net_client_clock_observe_times): Call _set_calibration.
19014         (gst_net_client_clock_new): Call _set_calibration instead of
19015         rate_offset.
19016
19017         * check/net/gstnetclientclock.c (test_functioning): Use the right
19018         adjustment api.
19019
19020         * gst/gstclock.h:
19021         * gst/gstclock.c (gst_clock_get_calibration) 
19022         (gst_clock_set_calibration): New functions, obsolete the ones I
19023         added yesterday. Doh. Precision issues mean we have to extrapolate
19024         from a point in the more recent past than 1970.
19025         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
19026         obsolete.
19027         (gst_clock_adjust_unlocked): Use the right calibration data.
19028
19029 2005-11-18  Edward Hervey  <edward@fluendo.com>
19030
19031         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
19032         Also reset the ->current_* values in READY->PAUSED
19033
19034 2005-11-18  Andy Wingo  <wingo@pobox.com>
19035
19036         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
19037         Whoops, check the right fd. Also add some debugging.
19038         (gst_net_client_clock_observe_times): Adjust for int64 offset.
19039         (do_linear_regression): Add a crapload of debugging. Subtract off
19040         the minimum values from the input series to discard unneeded bits.
19041         Use only int arithmetic. There is still double arithmetic when
19042         calculating the intercept that needs fixing. Return boolean to
19043         indicate success; FALSE would mean the domain or range is too
19044         great. Still needs fixes.
19045
19046 2005-11-18  Wim Taymans  <wim@fluendo.com>
19047
19048         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19049         For the current position in stream time, we need to subtract
19050         accumulated time.
19051         
19052         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
19053         Release lock before calling the callback function of async
19054         entries.
19055
19056 2005-11-18  Andy Wingo  <wingo@pobox.com>
19057
19058         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
19059         Port goes all the way to MAXUINT16.
19060
19061         * gst/net/gstnettimeprovider.c: Make the port range the same as
19062         for the kernel: 0 assigns, otherwise ports are less than
19063         MAXUINT16.
19064
19065         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
19066         port change.
19067
19068         * check/net/gstnetclientclock.c (test_functioning): Add the start
19069         of another test. 
19070
19071 2005-11-18  Wim Taymans  <wim@fluendo.com>
19072
19073         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19074         (gst_bin_remove_func), (bin_bus_handler):
19075         * gst/gstbin.h:
19076         Removing a clock provider from a bin, triggers a clock lost message
19077         so that a new clock will be selected.
19078         Adding a clock to a bin triggers a clock provider message.
19079         Make sure we reselect a clock when we received a clock lost message.
19080         Keep a reference to the element that provided the clock.
19081
19082 2005-11-18  Andy Wingo  <wingo@pobox.com>
19083
19084         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
19085         the clock initially so it produces values around the base time.
19086         (gst_net_client_clock_class_init): Typo fix.
19087         (gst_net_client_clock_thread): Add note on when the socket gets
19088         closed.
19089
19090 2005-11-17  Wim Taymans  <wim@fluendo.com>
19091
19092         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
19093         Free remote and local time arrays.
19094
19095 2005-11-17  Wim Taymans  <wim@fluendo.com>
19096
19097         * gst/net/gstnetclientclock.c: (do_linear_regression),
19098         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
19099         Fix compilation, uninitialized vars and a forgotten continue.
19100
19101 2005-11-17  Andy Wingo  <wingo@pobox.com>
19102
19103         * check/Makefile.am (check_PROGRAMS): 
19104         * check/net/gstnetclientclock.c: Add a most minimal test for the
19105         net client clock. More to come later.
19106
19107         * gst/net/gstnet.h: 
19108         * gst/net/Makefile.am: Add netclientclock.
19109
19110         * gst/net/gstnetclientclock.h:
19111         * gst/net/gstnetclientclock.c: New files, implement an untested
19112         GstClock that takes its time from a network time provider.
19113         Implements the algorithm in network-clock.scm.
19114
19115         * tests/network-clock.scm (*window-size*): Rename from
19116         *queue-length*.
19117         * tests/network-clock.scm (network-time): 
19118         * tests/network-clock-utils.scm (q-push): Update callers.
19119
19120 2005-11-17  Wim Taymans  <wim@fluendo.com>
19121
19122         * gst/gstbin.c: (gst_bin_provide_clock_func),
19123         (gst_bin_sort_iterator_new):
19124         And unref the child too..
19125
19126 2005-11-17  Wim Taymans  <wim@fluendo.com>
19127
19128         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
19129         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
19130         Refactor the sort iterator so it can be used while holding the
19131         LOCK too.
19132         Make clock selection select a clock closest to the source.
19133
19134 2005-11-17  Michael Smith <msmith@fluendo.com>
19135
19136         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
19137         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
19138         * gst/gstclock.h:
19139           Anonymous structs are a gcc (and some other compilers) extension, so
19140           don't use them. Since this is only for ABI-compatibility, and our
19141           API/ABI freeze is over in a few days, this whole thing will only
19142           last a few days, so don't bother trying to think up a meaningful
19143           name for the struct.
19144
19145 2005-11-17  Andy Wingo  <wingo@pobox.com>
19146
19147         * gst/gstclock.h (GstClock): Add rate and offset properties,
19148         preserving ABI stability. Add rate/offset accessors. Will file bug
19149         for the freeze break.
19150
19151         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
19152         and offset, trying to keep precision and avoiding
19153         underflow/overflow.
19154         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
19155         functions. Make gst_clock_set_time_adjust obsolete.
19156         (gst_clock_set_time_adjust): Note that this function is obsolete.
19157         Will file bug soon.
19158
19159         * gst/base/gstbasetransform.h: Make the ABI-stability hack
19160         greppable by using GST_PADDING-1+1.
19161
19162 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
19163
19164         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19165
19166         * gst/gstmessage.c: (gst_message_parse_clock_lost):
19167           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
19168
19169         * gst/gstpadtemplate.h:
19170         * gst/gstpluginfeature.h:
19171           Don't use c++ style comments in headers (#321638).
19172
19173 2005-11-16  Andy Wingo  <wingo@pobox.com>
19174
19175         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
19176         buffer.
19177
19178         * check/net/gstnettimeprovider.c: Check to see that the time
19179         provider actually provides times. Works, yo!
19180
19181 2005-11-16  Wim Taymans  <wim@fluendo.com>
19182
19183         * check/Makefile.am:
19184         Enable more tests.
19185
19186         * check/elements/fakesrc.c: (GST_START_TEST):
19187         Set element to NULL before disposing it.
19188
19189 2005-11-16  Andy Wingo  <wingo@pobox.com>
19190
19191         * gst/net/Makefile.am:
19192         * gst/net/gstnet.h:
19193         * gst/net/gstnettimeprovider.c: 
19194         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
19195         provider, include it from gstnet.h, and add it to the build.
19196
19197         * gst/net/gstnettimepacket.h: 
19198         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
19199         sending and receiving.
19200
19201 2005-11-16  Wim Taymans  <wim@fluendo.com>
19202
19203         * check/Makefile.am:
19204         Enable valgrind check.
19205
19206         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
19207         (gst_fake_src_alloc_buffer):
19208         Fix memleak.
19209
19210 2005-11-16  Wim Taymans  <wim@fluendo.com>
19211
19212         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
19213         Call parent finalize too.
19214
19215 2005-11-16  Wim Taymans  <wim@fluendo.com>
19216
19217         * check/Makefile.am:
19218         Enable valgrind check that should work fine now.
19219
19220         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19221         * gst/gstqueue.c: (gst_queue_init):
19222         Fix memleaks in pad allocation.
19223
19224 2005-11-16  Andy Wingo  <wingo@pobox.com>
19225
19226         * gst/net/Makefile.am:
19227         * gst/net/gstnet.h: New part of core to hold network elements and
19228         objects. Put in core because it exposes API that applications want
19229         to use. The library is named libgstnet-tempname right now because
19230         of the existing libgstnet in gst-plugins-base. Solution is
19231         probably to rename the one in plugins-base; will file a bug for
19232         the freeze break.
19233
19234         * gst/net/gstnettimeprovider.c: 
19235         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
19236         get_time call over the network.
19237
19238         * configure.ac: 
19239         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
19240
19241         * check/Makefile.am:
19242         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
19243         get additions shortly.
19244
19245 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19246
19247         * gst/gstpad.c: (gst_pad_new_from_static_template):
19248         * gst/gstpad.h:
19249           add gst_pad_new_from_static_template functions
19250         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
19251         (gst_check_setup_sink_pad):
19252         * gst/elements/gsttee.c: (gst_tee_init):
19253           and use them
19254
19255 2005-11-16  Wim Taymans  <wim@fluendo.com>
19256
19257         * gst/gstpad.c: (gst_pad_pause_task):
19258         Removed warning, it's not really an error either.
19259
19260 2005-11-16  Wim Taymans  <wim@fluendo.com>
19261
19262         * gst/base/gstbasetransform.c:
19263         (gst_base_transform_prepare_output_buf),
19264         (gst_base_transform_event):
19265         Check if the caps are NULL, this can happen if the element
19266         is shutting down and the pad caps are set to NULL.
19267
19268 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19269
19270         * gst/elements/gsttee.c: (gst_tee_init):
19271           fix pad template leak in tee
19272
19273 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19274
19275         * gst/glib-compat.c: (g_value_dup_gst_object):
19276         * gst/glib-compat.h:
19277         * gst/gstpad.c: (gst_pad_set_property):
19278           use gst_object_ref when setting the pad template; this will
19279           trigger the pad template leaks on GLib 2.6 and the slaves
19280
19281 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19282
19283         * gst/glib-compat.c: (gst_flags_get_first_value):
19284         * gst/glib-compat.h:
19285         * gst/gstregistryxml.c:
19286           remove functions copied from GLib 2.6
19287
19288 2005-11-16  Michael Smith <msmith@fluendo.com>
19289
19290         * gst/Makefile.am:
19291           Don't link against VALGRIND_LIBS. That was always the wrong thing to
19292           do, but only breaks with newer valgrind versions. We're not a
19293           valgrind tool, we have no link-time dependencies on libcoregrind.
19294
19295 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19296
19297         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19298           some debug changes
19299         * gst/gstmessage.h:
19300           typo fixes
19301
19302 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19303
19304         * gst/base/gstbasesrc.c: (gst_base_src_init):
19305         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19306         * gst/gstqueue.c: (gst_queue_init):
19307         * gst/gstregistryxml.c: (load_feature):
19308           Revert all these unrefs, they don't even pass make check !
19309
19310 2005-11-15  Johan Dahlin  <johan@gnome.org>
19311
19312         * gst/base/gstbasesrc.c: (gst_base_src_init):
19313         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19314         * gst/gstqueue.c: (gst_queue_init): 
19315         Free pad templates, fixes a couple of leaks.
19316
19317 2005-11-15  Daniel Fischer  <dan at f3c dot com>
19318
19319         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19320
19321         * gst/gstpad.c: (gst_pad_get_property):
19322           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
19323           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
19324           (#321452)
19325
19326 2005-11-15  Wim Taymans  <wim@fluendo.com>
19327
19328         * gst/gstevent.c:
19329         Small doc update.
19330
19331 2005-11-15  Andy Wingo  <wingo@pobox.com>
19332
19333         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19334
19335         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19336         using GST_CLOCK_TIME_NONE to disable base time management.
19337         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19338         time if it was NONE before.
19339         (gst_pipeline_change_state): Only munge the base time if
19340         stream_time != GST_CLOCK_TIME_NONE.
19341
19342         * check/gst/gstpipeline.c (test_base_time): Punt around the
19343         problem of the probe not being called, because that's not the
19344         issue I'm looking at. Add a check that setting stream_time to NONE
19345         disables base time management.
19346         
19347 2005-11-15  Wim Taymans  <wim@fluendo.com>
19348
19349         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19350         segment_stop == -1 at startup.
19351
19352         * gst/base/gstbasetransform.c: (gst_base_transform_event),
19353         (gst_base_transform_change_state):
19354         Init segment values at start.
19355
19356 2005-11-15  Wim Taymans  <wim@fluendo.com>
19357
19358         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19359         0 segment values are 0 in any format.
19360
19361         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19362         * gst/base/gstbasetransform.h:
19363         Parse newsegment correctly in basetransform
19364
19365         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19366         Sync to clock using updated segment values.
19367
19368 2005-11-15  Andy Wingo  <wingo@pobox.com>
19369
19370         * check/gst/gstpipeline.c (test_base_time): Add check that the
19371         base time and stream time are reset correctly.
19372
19373 2005-11-15  Wim Taymans  <wim@fluendo.com>
19374
19375         * docs/design/part-TODO.txt:
19376         Some more TODO items.
19377
19378 2005-11-15  Andy Wingo  <wingo@pobox.com>
19379
19380         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19381         error if the user selected "no clock" as the clocking method.
19382
19383         * check/gst/gstpipeline.c (test_base_time): New test for buffer
19384         timestamps with live capture.
19385
19386         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19387         is 0 but we are a live source, timestamp the buffers using the
19388         element's clock.
19389
19390 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
19391
19392         * docs/gst/gstreamer-sections.txt:
19393         * gst/gsterror.c:
19394         * gst/gstghostpad.c:
19395         * gst/gstobject.h:
19396         * gst/gstxml.c:
19397           more section docs
19398
19399 2005-11-14  Wim Taymans  <wim@fluendo.com>
19400
19401         * common/gst.supp:
19402           add suppressions from Wim's Debian machine
19403
19404 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
19405
19406         * common/gst.supp:
19407           add suppressions from Andy's AMD64 Ubuntu machine
19408
19409 2005-11-14  Andy Wingo  <wingo@pobox.com>
19410
19411         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19412         STATE_LOCK not necessary. Fixes #311489.
19413
19414         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19415         #305291.
19416
19417         * gst/gstindex.c (gst_index_add_object): Note in the docs that
19418         this function is not implemented.
19419
19420 2005-11-14  Julien MOUTTE  <julien@moutte.net>
19421
19422         * gst/base/gstbasetransform.c:
19423         (gst_base_transform_prepare_output_buf):
19424         Ref the source pad caps while we need them.
19425         Fixes (#321386)
19426
19427 2005-11-11  Wim Taymans  <wim@fluendo.com>
19428
19429         * docs/gst/gstreamer-sections.txt:
19430         Added some docs for GstCollectData.
19431
19432         * gst/base/gstadapter.c:
19433         Some small code example fix.
19434
19435         * gst/base/gstcollectpads.c:
19436         * gst/base/gstcollectpads.h:
19437         Document some more.
19438
19439 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19440
19441         * configure.ac: back to HEAD
19442
19443 === release 0.9.5 ===
19444
19445 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
19446
19447         * configure.ac:
19448           releasing 0.9.5, "Bike Lunch Day"
19449
19450 2005-11-11  Wim Taymans  <wim@fluendo.com>
19451
19452         * gst/gstbuffer.c: (_gst_buffer_copy):
19453         Copy more flags.
19454
19455         * gst/gstcaps.c: (gst_caps_is_equal):
19456         Fix some docs.
19457         Make _is_equal fast in the trivial cases.
19458
19459         * gst/gstminiobject.c:
19460         * gst/gstminiobject.h:
19461         More docs. Spifify .h file.
19462
19463         * gst/gstutils.c:
19464         Small doc update.
19465
19466 2005-11-11  Wim Taymans  <wim@fluendo.com>
19467
19468         * gst/base/gstbasetransform.c:
19469         (gst_base_transform_prepare_output_buf),
19470         (gst_base_transform_handle_buffer):
19471         Small cleanups.
19472         If we're processing a buffer and need to allocate an output
19473         buffer, we cannot accept a format change. If we did get a 
19474         format change, we have to alloc a buffer ourselves of the 
19475         right size.
19476
19477 2005-11-11  Wim Taymans  <wim@fluendo.com>
19478
19479         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19480         While checking the flag for reentrancy in the gstcaps function
19481         is nice to detect recursive invocations, it also makes it 
19482         impossible to call getcaps from multiple threads, which must be
19483         possible. So, checking for recursive calls has to go.
19484
19485 2005-11-11  Michael Smith <msmith@fluendo.com>
19486
19487         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19488           Don't sync on buffers that fall partially outside our current
19489           segment. Prevents an assertion failure/abort playing some files.
19490
19491 2005-11-10  Andy Wingo  <wingo@pobox.com>
19492
19493         * check/gst/gstbin.c (test_message_state_changed_children): Style
19494         fix..
19495
19496         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19497         gst_bus_poll with the signal watch. Ensures that poll and a signal
19498         watch see the same messages.
19499
19500         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19501         a poll and a watch at the same time get the same messages.
19502
19503 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19504
19505         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19506         * gst/gstcaps.c: (gst_caps_intersect):
19507           Don't call gst_caps_do_simplify - it doesn't respect order of caps
19508           and it's not needed.
19509
19510 2005-11-10  Wim Taymans  <wim@fluendo.com>
19511
19512         * docs/design/part-TODO.txt:
19513         Updated todo.
19514
19515 2005-11-10  Wim Taymans  <wim@fluendo.com>
19516
19517         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19518         * gst/base/gstbasesrc.c: (gst_base_src_wait),
19519         (gst_base_src_do_sync), (gst_base_src_get_range):
19520         Implement clock sync in base class.
19521
19522 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19523
19524         patch by: Tim-Philipp Müller <tim at centricular dot net>
19525
19526         * gst/gststructure.c: (gst_structure_parse_field),
19527         (gst_structure_from_string):
19528           Forward-port a 0.8 patch to handle escaped spaces in structure string,
19529           so that gst_parse_launch() can deal with spaces in filtered link
19530           caps (fixes #164479)
19531         * check/gst/capslist.h:
19532         * check/gst/gststructure.c: (GST_START_TEST):
19533           add unit tests for this change
19534
19535 2005-11-10  Wim Taymans  <wim@fluendo.com>
19536
19537         * docs/gst/gstreamer-sections.txt:
19538         * gst/gstelement.c:
19539         * gst/gstelement.h:
19540         Fix docs, move some STATE macros to private.
19541
19542 2005-11-10  Wim Taymans  <wim@fluendo.com>
19543
19544         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19545         Added check for bug #317341
19546
19547         * gst/gstbuffer.c:
19548         * gst/gstbuffer.h:
19549         Some more spiffifying.
19550
19551         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19552         Call peer linkfunction if we are a source pad. Totally fixes
19553         #317341
19554
19555         * gst/gstpad.c:
19556         Update docs, source pads should call the peer linkfunction
19557         so they can atomically perform the pad link.
19558
19559 2005-11-09  Wim Taymans  <wim@fluendo.com>
19560
19561         * gst/gstbuffer.c:
19562         * gst/gstbuffer.h:
19563         Uber-spiffy-spiffify some more.
19564
19565 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
19566
19567         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19568         * gst/elements/gstfilesink.c: (gst_file_sink_init):
19569         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19570         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19571         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19572         * gst/gstpad.c: (gst_pad_init):
19573           Use GST_DEBUG_FUNCPTR() more extensively.
19574
19575 2005-11-09  Wim Taymans  <wim@fluendo.com>
19576
19577         * gst/gstobject.c: (gst_object_class_init):
19578         * gst/gstobject.h:
19579         Documentation fixes.
19580
19581 2005-11-09  Edward Hervey  <edward@fluendo.com>
19582
19583         * gst/gsttypefindfactory.c:
19584         Fix docs.
19585         
19586 2005-11-09  Edward Hervey  <edward@fluendo.com>
19587
19588         * gst/base/gsttypefindhelper.c:
19589         * gst/gsttypefind.c:
19590         * gst/gsttypefind.h:
19591         Fix docs.
19592
19593 2005-11-09  Wim Taymans  <wim@fluendo.com>
19594
19595         * gst/gstiterator.c:
19596         Fix revision data.
19597
19598         * gst/gsttask.c:
19599         * gst/gsttask.h:
19600         Fix docs.
19601
19602 2005-11-09  Wim Taymans  <wim@fluendo.com>
19603
19604         * gst/gstevent.h:
19605         * gst/gsturi.h:
19606         Fix docs.
19607
19608 2005-11-09  Wim Taymans  <wim@fluendo.com>
19609
19610         * docs/gst/gstreamer-sections.txt:
19611         Moved the message async delivery private lock and cond
19612         to the private section.
19613
19614         * gst/gstmessage.c:
19615         * gst/gstmessage.h:
19616         Fixed docs.
19617
19618 2005-11-09  Edward Hervey  <edward@fluendo.com>
19619
19620         * docs/gst/gstreamer-sections.txt:
19621         * gst/gsturi.c:
19622         * gst/gsturi.h:
19623         Document GstURIHandler
19624
19625 2005-11-09  Wim Taymans  <wim@fluendo.com>
19626
19627         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
19628         (gst_iterator_find_custom):
19629         * gst/gstiterator.h:
19630         Fix iterator docs.
19631
19632 2005-11-09  Wim Taymans  <wim@fluendo.com>
19633
19634         * gst/gstbin.h:
19635         Document another field.
19636
19637         * gst/gststructure.c:
19638         * gst/gststructure.h:
19639         Document.
19640
19641 2005-11-09  Wim Taymans  <wim@fluendo.com>
19642
19643         * gst/gstbin.h:
19644         Documented structs.
19645
19646 2005-11-09  Wim Taymans  <wim@fluendo.com>
19647
19648         * docs/gst/gstreamer-sections.txt:
19649         Added some new macros.
19650
19651         * gst/gstclock.c:
19652         * gst/gstclock.h:
19653         * gst/gstobject.h:
19654         Docs updates.
19655
19656 2005-11-09  Wim Taymans  <wim@fluendo.com>
19657
19658         * docs/design/part-TODO.txt:
19659         Some more items for the TODO
19660
19661         * gst/gstcaps.c:
19662         * gst/gstcaps.h:
19663         Document GstCaps.
19664
19665 2005-11-09  Andy Wingo  <wingo@pobox.com>
19666
19667         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
19668         to work on something else now tho...
19669
19670         * gst/base/gstadapter.c: More adapter docs.
19671
19672         * gst/elements/gstfilesink.c (gst_file_sink_start) 
19673         (gst_file_sink_stop): New functions, replace the state change
19674         handler.
19675         (gst_file_sink_class_init): Hook up the start and stop functions.
19676         (gst_file_sink_base_init): Don't set the state change handler any
19677         more. It was a bit ugly too, being set from here...
19678         (gst_file_sink_get_property, gst_file_sink_set_property):
19679         Cleanups...
19680         (gst_file_sink_set_location): More robust check that doesn't call
19681         GST_STATE. Ugggggg.
19682
19683 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
19684
19685         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19686           Hold STREAM_LOCK while pushing newsegment or tag events as well.
19687
19688 2005-11-08  Wim Taymans  <wim@fluendo.com>
19689
19690         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19691         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19692         (gst_base_sink_chain), (gst_base_sink_change_state):
19693         * gst/base/gstbasesink.h:
19694         * gst/base/gstbasesrc.h:
19695         * gst/gstelement.h:
19696         * gst/gstevent.h:
19697         Avoid excessive typechecking in macros.
19698
19699         * gst/gstminiobject.c: (gst_mini_object_get_type),
19700         (gst_mini_object_init), (gst_mini_object_new),
19701         (gst_mini_object_free):
19702         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19703         (gst_object_finalize):
19704         Remove cruft code, optimize alloc_trace.
19705
19706 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19707
19708         * docs/faq/gst-uninstalled:
19709           fix up PS1 for systems that try to reset it
19710
19711 2005-11-07  Wim Taymans  <wim@fluendo.com>
19712
19713         * gst/base/gstbasesrc.c: (gst_base_src_init),
19714         (gst_base_src_get_range):
19715         Set the segment_end to -1 initially. Fixed typefind.
19716
19717 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
19718
19719         * gst/base/gstadapter.c:
19720           Debug category should be 'adapter', not 'GstAdapter'.
19721           
19722         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
19723         (gst_collectpads_class_init), (gst_collectpads_init),
19724         (gst_collectpads_peek), (gst_collectpads_pop),
19725         (gst_collectpads_event), (gst_collectpads_chain):
19726           Add debug category and some debugging output. Use boilerplate
19727           macros. Remove some extraneous words from docs.
19728
19729 2005-11-05  Andy Wingo  <wingo@pobox.com>
19730
19731         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
19732         macro.
19733
19734 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
19735
19736         * docs/gst/gstreamer-sections.txt:
19737         * gst/gstcaps.h:
19738         * gst/gstinfo.c:
19739         * gst/gstminiobject.h:
19740         * gst/gstobject.h:
19741         * gst/gstutils.h:
19742           more docs added
19743
19744 2005-11-04  Wim Taymans  <wim@fluendo.com>
19745
19746         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19747         Small update to stop at the configured segment_end
19748         position.
19749
19750 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
19751
19752         * gst/gstregistry.c:
19753         * gst/gstregistry.h:
19754           added missing docs
19755
19756 2005-11-04  Edward Hervey  <edward@fluendo.com>
19757
19758         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19759         Check if we are doing a segment seek and have arrived at the
19760         end of that segment.
19761
19762 2005-11-04  Wim Taymans  <wim@fluendo.com>
19763
19764         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
19765         Don't leak a mutex unlock in case of an error.
19766
19767         * gst/gstbus.h:
19768         Doc fixes.
19769
19770 2005-11-04  Wim Taymans  <wim@fluendo.com>
19771
19772         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
19773         (gst_bus_post):
19774         Get the context to wake up only once.
19775
19776 2005-11-03  Wim Taymans  <wim@fluendo.com>
19777
19778         * check/states/sinks.c: (GST_START_TEST):
19779         Uncomment fixed check.
19780
19781         * docs/design/part-TODO.txt:
19782         Updated TODO.
19783
19784         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19785         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19786         (gst_base_sink_get_position):
19787         If we are going to PLAYING, post the right pending state
19788         when we post the intermediate paused message.
19789
19790         * gst/gstelement.c: (gst_element_continue_state),
19791         (gst_element_set_state_func), (gst_element_change_state):
19792         Don't post state changes that were between the same state
19793         and were not ASYNC.
19794
19795 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
19796
19797         * docs/gst/gstreamer-sections.txt:
19798         * gst/gstcaps.h:
19799         * gst/gstinfo.c:
19800         * gst/gstminiobject.h:
19801         * gst/gstobject.h:
19802         * gst/gstutils.h:
19803           more docs and doc style fixes
19804
19805 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
19806
19807         * docs/gst/gstreamer-sections.txt:
19808         * gst/gstelement.c:
19809         * gst/gstminiobject.c:
19810         doc fixes
19811
19812 2005-11-03  Andy Wingo  <wingo@pobox.com>
19813
19814         * check/states/sinks.c (test_livesrc_sink): Add checks that the
19815         state-changed messages actually have the right order and the right
19816         values.
19817
19818 2005-11-03  Wim Taymans  <wim@fluendo.com>
19819
19820         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19821         Added some more checks. Specifically the case where NO_PREROLL
19822         elements are in the pipeline.
19823
19824         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19825         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19826         (gst_base_sink_get_position):
19827         Post READY->PAUSED state change messages too.
19828         Fix bug where VOID was posted as pending state...
19829
19830         * gst/gstbin.c: (gst_bin_recalc_state):
19831         use _element_continue_state() to continue the state change.
19832
19833         * gst/gstelement.c: (gst_element_continue_state),
19834         (gst_element_commit_state), (gst_element_set_state_func),
19835         (gst_element_change_state), (gst_element_change_state_func):
19836         Lots of state change cleanups, assign the STATE_RETURN in
19837         a new continue_state() function that also propagates the
19838         last return value from a state change to the app.
19839         Update some debug statements with proper category.
19840
19841 2005-11-03  Wim Taymans  <wim@fluendo.com>
19842
19843         * docs/design/part-events.txt:
19844         * docs/design/part-gstpipeline.txt:
19845         * docs/design/part-messages.txt:
19846         * docs/design/part-overview.txt:
19847         * docs/design/part-seeking.txt:
19848         * docs/design/part-states.txt:
19849         * docs/design/part-trickmodes.txt:
19850         * docs/manual/advanced-position.xml:
19851         Small docs updates.
19852
19853         * gst/gstobject.h:
19854         People think !! is ugly, this looks better.
19855
19856         * gst/gstpad.c: (gst_pad_set_blocked_async):
19857         Remove !! since it's fixed elsewhere now.
19858
19859 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19860
19861         * gst/gstminiobject.h:
19862         * gst/gstobject.h:
19863           Add !! to _FLAG_IS_SET macros to make the result boolean.
19864
19865 2005-11-03  Edward Hervey  <edward@fluendo.com>
19866
19867         * gst/gstpad.c: (gst_pad_set_blocked_async):
19868         comparing a flag and a gboolean rarely returns coherent results...
19869         Added two characters (!!) to make that work correctly.
19870         
19871 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19872
19873         * gst/gstbus.c: (gst_bus_class_init):
19874           Fix some typos.
19875           
19876         * gst/gstqueue.c: (gst_queue_loop):
19877           Don't assume a miniobject that isn't a buffer is an
19878           event (it could be that there is a refcounting
19879           problem somewhere and the pointer is stale and
19880           refers to an already destroyed miniobject).
19881
19882 2005-11-03  Julien MOUTTE  <julien@moutte.net>
19883
19884         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
19885
19886 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19887
19888         * docs/manual/advanced-position.xml:
19889           Update seek example and explanations to current 0.9 API.
19890
19891         * gst/elements/gsttypefindelement.c:
19892         (gst_type_find_element_activate):
19893           Remove FIXME comment now that the found caps
19894           are unreffed.
19895
19896 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19897
19898         * gst/gstregistryxml.c: (load_feature):
19899           Add another GST_STR_NULL instance
19900
19901 2005-11-02  Edward Hervey  <edward@fluendo.com>
19902
19903         * gst/gstpad.c: (handle_pad_block):
19904         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
19905         
19906 2005-11-02  Wim Taymans  <wim@fluendo.com>
19907
19908         * gst/gstbin.c:
19909         Fix typo in docs.
19910
19911         * gst/gstelement.c: (gst_element_commit_state):
19912         Remove unused value.
19913
19914         * gst/gstiterator.c:
19915         Mention that the returned element is reffed in the docs.
19916
19917 2005-11-02  Wim Taymans  <wim@fluendo.com>
19918
19919         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
19920         (gst_pad_push), (gst_pad_push_event):
19921         Unlock blocked pads when they are flushed.
19922
19923 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19924
19925         * docs/README:
19926         * docs/gst/gstreamer-sections.txt:
19927         * gst/gstbin.c:
19928           doc updates
19929         * gst/gstregistry.c: (gst_registry_scan_path_level):
19930           fix for a nasty little missed situation where an installed plug-in
19931           which was in the cache did not get overridden by an uninstalled one
19932           which was earlier in the plugin path because the newly created plugin
19933           for the uninstalled one (not in the registry) didn't get its
19934           ->registered set to TRUE
19935
19936 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
19937
19938         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
19939         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
19940         (gst_collectpads_is_active), (gst_collectpads_collect),
19941         (gst_collectpads_collect_range), (gst_collectpads_start),
19942         (gst_collectpads_stop), (gst_collectpads_peek),
19943         (gst_collectpads_pop), (gst_collectpads_available),
19944         (gst_collectpads_read), (gst_collectpads_flush):
19945           Guard public API with assertions.
19946         
19947         * gst/gstpad.c:
19948           Fix docs for gst_pad_set_link_function().
19949
19950 2005-11-02  Johan Dahlin  <johan@gnome.org>
19951
19952         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
19953         Unref found_caps after we used it.
19954
19955 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
19956
19957         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
19958           Don't try to ref NULL.
19959
19960 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19961
19962         * win32/common/config.h.in:
19963           provide a GST_FUNCTION that just gives a string for now
19964
19965 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19966
19967         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19968         (gst_object_flags_get_type), (register_gst_bin_flags),
19969         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19970         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19971         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19972         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
19973         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19974         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19975         (gst_clock_flags_get_type), (register_gst_state),
19976         (gst_state_get_type), (register_gst_state_change_return),
19977         (gst_state_change_return_get_type), (register_gst_state_change),
19978         (gst_state_change_get_type), (register_gst_element_flags),
19979         (gst_element_flags_get_type), (register_gst_core_error),
19980         (gst_core_error_get_type), (register_gst_library_error),
19981         (gst_library_error_get_type), (register_gst_resource_error),
19982         (gst_resource_error_get_type), (register_gst_stream_error),
19983         (gst_stream_error_get_type), (register_gst_event_type),
19984         (gst_event_type_get_type), (register_gst_seek_type),
19985         (gst_seek_type_get_type), (register_gst_seek_flags),
19986         (gst_seek_flags_get_type), (register_gst_format),
19987         (gst_format_get_type), (register_gst_index_certainty),
19988         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19989         (gst_index_entry_type_get_type),
19990         (register_gst_index_lookup_method),
19991         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19992         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19993         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19994         (gst_index_flags_get_type), (register_gst_debug_level),
19995         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19996         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19997         (gst_iterator_result_get_type), (register_gst_iterator_item),
19998         (gst_iterator_item_get_type), (register_gst_message_type),
19999         (gst_message_type_get_type), (register_gst_mini_object_flags),
20000         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
20001         (gst_pad_link_return_get_type), (register_gst_flow_return),
20002         (gst_flow_return_get_type), (register_gst_activate_mode),
20003         (gst_activate_mode_get_type), (register_gst_pad_direction),
20004         (gst_pad_direction_get_type), (register_gst_pad_flags),
20005         (gst_pad_flags_get_type), (register_gst_pad_presence),
20006         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
20007         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
20008         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
20009         (gst_plugin_error_get_type), (register_gst_plugin_flags),
20010         (gst_plugin_flags_get_type), (register_gst_rank),
20011         (gst_rank_get_type), (register_gst_query_type),
20012         (gst_query_type_get_type), (register_gst_tag_merge_mode),
20013         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
20014         (gst_tag_flag_get_type), (register_gst_task_state),
20015         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
20016         (gst_alloc_trace_flags_get_type),
20017         (register_gst_type_find_probability),
20018         (gst_type_find_probability_get_type), (register_gst_uri_type),
20019         (gst_uri_type_get_type), (register_gst_parse_error),
20020         (gst_parse_error_get_type):
20021         * win32/common/gstversion.h:
20022           update win32 copies
20023
20024 2005-11-01  Luca Ognibene  <luogni@tin.it>
20025
20026         * gst/gst.c:
20027           fix docs. popt is dead, long live GOption.
20028
20029 2005-10-31  Wim Taymans  <wim@fluendo.com>
20030
20031         * gst/gstbuffer.h:
20032         Small doc fix.
20033
20034 2005-10-31  Andy Wingo  <wingo@pobox.com>
20035
20036         * Boo!
20037
20038         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
20039
20040         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
20041         need to serialize property notifications on GLib 2.8. GLib 2.6 has
20042         the possibility of deadlocks here if code calling notify() or
20043         set() has a lock that can be taken in another notify handler (ABBA
20044         with class lock and e.g. python GIL state lock).
20045
20046 2005-10-28  Julien MOUTTE  <julien@moutte.net>
20047
20048         * gst/gstbus.c: Doc updates.
20049
20050 2005-10-28  Wim Taymans  <wim@fluendo.com>
20051
20052         * docs/design/part-TODO.txt:
20053         * gst/gstiterator.c:
20054         * gst/gstsystemclock.c:
20055         * gst/gstsystemclock.h:
20056         Doc updates.
20057
20058 2005-10-28  Edward Hervey  <edward@fluendo.com>
20059
20060         * docs/gst/gstreamer-docs.sgml:
20061         * docs/gst/gstreamer-sections.txt:
20062         the GstURIType documentation page is private, it only defines GstURIType
20063         which should be defined in the GstURIHandler page
20064         
20065 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20066
20067         * gst/gstbin.c: (gst_bin_class_init):
20068         * gst/gstbin.h:
20069         * gst/gstutils.c:
20070         Documentation updates.
20071
20072 2005-10-28  Wim Taymans  <wim@fluendo.com>
20073
20074         * docs/gst/gstreamer-sections.txt:
20075         * gst/gstclock.c:
20076         * gst/gstclock.h:
20077         Documented the clocks.
20078
20079 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
20080
20081         * docs/gst/gstreamer-sections.txt:
20082           move some macros to private sections
20083         * gst/gstminiobject.c:
20084         * gst/gstminiobject.h:
20085           add descriptions provided by ds and some more
20086         * gst/gstpad.h:
20087           mark macro as to be removed
20088
20089 2005-10-28  Wim Taymans  <wim@fluendo.com>
20090
20091         * docs/design/part-TODO.txt:
20092         Add an item to TODO.
20093
20094         * gst/gstiterator.c: (gst_iterator_fold),
20095         (gst_iterator_find_custom):
20096         * gst/gstiterator.h:
20097         Add iterator docs.
20098
20099 2005-10-28  Wim Taymans  <wim@fluendo.com>
20100
20101         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20102         (gst_base_transform_init):
20103         Don't leak class.
20104
20105         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
20106         An EOS event marks the queue as completely filled.
20107
20108 2005-10-27  Wim Taymans  <wim@fluendo.com>
20109
20110         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20111         (gst_base_sink_do_sync), (gst_base_sink_get_position):
20112         Some more debugging.
20113
20114         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
20115         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
20116         (gst_base_transform_event), (gst_base_transform_getrange),
20117         (gst_base_transform_chain):
20118         * gst/base/gstbasetransform.h:
20119         Fix debugging,
20120         Protect transform and concurrent buffer alloc with a new lock.
20121         Try not to break ABI/API.
20122
20123 2005-10-27  Wim Taymans  <wim@fluendo.com>
20124
20125         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20126         (gst_base_src_init), (gst_base_src_query),
20127         (gst_base_src_default_newsegment),
20128         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20129         (gst_base_src_send_event), (gst_base_src_event_handler),
20130         (gst_base_src_pad_get_range), (gst_base_src_loop),
20131         (gst_base_src_unlock), (gst_base_src_default_negotiate),
20132         (gst_base_src_start), (gst_base_src_deactivate),
20133         (gst_base_src_activate_push), (gst_base_src_change_state):
20134         Move some stuff around and cleanup things.
20135
20136 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
20137
20138         * gst/base/gstbasesrc.c: (gst_base_src_query):
20139           Add missing break statements.
20140
20141 2005-10-27  Wim Taymans  <wim@fluendo.com>
20142
20143         * check/gst/gstbin.c: (GST_START_TEST):
20144         An extra refcount is taken in basesrc.
20145
20146         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20147         (gst_base_src_get_range), (gst_base_src_pad_get_range),
20148         (gst_base_src_loop):
20149         Small cleanups, check for flushing after being unlocked from the 
20150         LIVE_LOCK. take refcounts correctly (not yet everywhere).
20151         Don't send out EOS when going to READY.
20152
20153 2005-10-27  Wim Taymans  <wim@fluendo.com>
20154
20155         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20156         (gst_base_sink_get_position):
20157         Some more debug.
20158
20159         * gst/gstbin.c: (message_check), (bin_replace_message),
20160         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20161         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20162         (bin_query_duration_init), (bin_query_duration_fold),
20163         (bin_query_duration_done), (bin_query_generic_fold),
20164         (gst_bin_query):
20165         * tools/gst-launch.c: (main):
20166         Remove old option.
20167
20168 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
20169
20170         * examples/controller/audio-example.c: (main):
20171         * examples/queue/queue.c: (event_loop):
20172         * gst/base/gstbasetransform.h:
20173         * gst/gstelement.c: (gst_element_send_event):
20174         * gst/gstevent.h:
20175         * gst/gstpad.c: (gst_pad_send_event):
20176           fixing examples
20177           fixing docs typos
20178           changing log priority in error situations
20179
20180 2005-10-25  Wim Taymans  <wim@fluendo.com>
20181
20182         * gst/gstbin.c: (message_check), (bin_replace_message),
20183         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20184         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20185         (bin_query_duration_init), (bin_query_duration_fold),
20186         (bin_query_duration_done), (bin_query_generic_fold),
20187         (gst_bin_query):
20188         Some doc and debug updates.
20189         Cache previously requested query DURATION for speed. invalidate
20190         cached duration if element posts a DURATION message.
20191
20192 2005-10-25  Wim Taymans  <wim@fluendo.com>
20193
20194         * docs/design/part-TODO.txt:
20195         Update TODO.
20196
20197         * gst/gstbin.c: (message_check), (bin_replace_message),
20198         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20199         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20200         (bin_query_duration_init), (bin_query_duration_fold),
20201         (bin_query_duration_done), (bin_query_generic_fold),
20202         (gst_bin_query):
20203         Handle SEGMENT_START/DONE messages correctly.
20204         More evolved query algorithm that handles duration queries
20205         correctly.
20206
20207         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
20208         (gst_element_get_state_func), (gst_element_abort_state),
20209         (gst_element_commit_state), (gst_element_lost_state):
20210         Some more debugging.
20211
20212         * gst/gstmessage.h:
20213         Added doc.
20214
20215 2005-10-25  Wim Taymans  <wim@fluendo.com>
20216
20217         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20218         Don't use invalid stream_time.
20219
20220         * gst/gstevent.c: (gst_event_new_newsegment):
20221         stream_time in newsegment cannot be undefined.
20222
20223 2005-10-24  Wim Taymans  <wim@fluendo.com>
20224
20225         * gst/gstbus.c:
20226         Doc fix.
20227
20228         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20229         (gst_queue_loop):
20230         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
20231
20232 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
20233
20234         * docs/libs/tmpl/gstdparam.sgml:
20235         * docs/libs/tmpl/gstdplinint.sgml:
20236         * docs/libs/tmpl/gstdpman.sgml:
20237         * docs/libs/tmpl/gstdpsmooth.sgml:
20238         * docs/libs/tmpl/gstunitconvert.sgml:
20239           these are obsolete
20240
20241 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20242
20243         * configure.ac:
20244           back to HEAD
20245
20246 === release 0.9.4 ===
20247
20248 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20249
20250         * configure.ac:
20251           releasing 0.9.4, "Tyrannosaurus Rex"
20252
20253 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
20254
20255         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20256         (gst_file_sink_get_current_offset):
20257           Use fseeko() and ftello() if available. When falling back on
20258           lseek() to get the current offset, fflush() first to make sure
20259           everything is up-to-date and we get the right offset.
20260
20261 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20262
20263         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20264         * gst/base/gstbasesrc.c: (gst_base_src_loop):
20265         * gst/gsterror.c: (_gst_stream_errors_init):
20266         * gst/gsterror.h:
20267         * gst/gstqueue.c: (gst_queue_loop):
20268         * po/POTFILES.in:
20269           remove prematurely added error category and clean up the instances
20270
20271 2005-10-21  Wim Taymans  <wim@fluendo.com>
20272
20273         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20274         (gst_base_sink_get_position), (gst_base_sink_query),
20275         (gst_base_sink_change_state):
20276         Simply set the right flag when going to playing, that's all
20277         we need to do instead of calling a function inside the object
20278         lock (that could take the lock as well and deadlock)
20279
20280 2005-10-21  Wim Taymans  <wim@fluendo.com>
20281
20282         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
20283         (gst_base_src_loop):
20284         Don't warn, the peer element knows what to do best when
20285         the seek failed, it might try something else.
20286
20287 2005-10-21  Wim Taymans  <wim@fluendo.com>
20288
20289         * gst/base/gstbasesrc.c: (gst_base_src_init),
20290         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20291         Fix seeking.
20292
20293 2005-10-21  Wim Taymans  <wim@fluendo.com>
20294
20295         * docs/design/part-segments.txt:
20296         More docs.
20297
20298         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
20299         Correctly set caps, even on the subbufer.
20300
20301 2005-10-21  Wim Taymans  <wim@fluendo.com>
20302
20303         * docs/gst/gstreamer-docs.sgml:
20304         * docs/gst/gstreamer-sections.txt:
20305         * gst/gstelement.h:
20306         * gst/gstevent.c:
20307         * gst/gstevent.h:
20308         * gst/gstmessage.h:
20309         * gst/gstpad.h:
20310         * gst/gstparse.h:
20311         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
20312         * gst/gsttask.h:
20313         * gst/gstutils.c:
20314         * gst/gstutils.h:
20315         And 2% more doc coverage.
20316
20317 2005-10-21  Andy Wingo  <wingo@pobox.com>
20318
20319         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
20320         position reporting.
20321
20322 2005-10-20  Wim Taymans  <wim@fluendo.com>
20323
20324         * gst/gsterror.c: (gst_error_get_message):
20325         * gst/gstparse.h:
20326         * gst/gstquery.h:
20327         * gst/gststructure.c:
20328         * gst/gsttrace.c:
20329         * gst/gstutils.c:
20330         More docs.
20331
20332 2005-10-20  Wim Taymans  <wim@fluendo.com>
20333
20334         * gst/gstbuffer.h:
20335         * gst/gstpad.c:
20336         * gst/gstparse.c:
20337         Another 1% more coverage.
20338
20339 2005-10-20  Wim Taymans  <wim@fluendo.com>
20340
20341         * docs/gst/gstreamer-sections.txt:
20342         * gst/gstelement.c: (gst_element_get_state_func),
20343         (gst_element_abort_state), (gst_element_commit_state),
20344         (gst_element_lost_state):
20345         * gst/gstevent.h:
20346         * gst/gstquery.c: (gst_query_set_position),
20347         (gst_query_parse_position), (gst_query_set_duration),
20348         (gst_query_parse_duration), (gst_query_new_convert):
20349         * gst/gstutils.c:
20350         Yay! 1% more docs coverage.
20351
20352 2005-10-20  Wim Taymans  <wim@fluendo.com>
20353
20354         * gst/gstpad.h:
20355         * gst/gstquery.c: (gst_query_set_position),
20356         (gst_query_parse_position), (gst_query_set_duration),
20357         (gst_query_parse_duration), (gst_query_new_convert):
20358         * gst/gstquery.h:
20359         * gst/gstutils.c: (gst_element_query_convert):
20360         * gst/gstutils.h:
20361         Docs and consistency fixes.
20362
20363 2005-10-20  Wim Taymans  <wim@fluendo.com>
20364
20365         * gst/gsttask.c:
20366         * gst/gsttask.h:
20367         More docs.
20368
20369 2005-10-20  Wim Taymans  <wim@fluendo.com>
20370
20371         * gst/gstbin.c: (message_check), (bin_replace_message),
20372         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20373         (update_degree), (gst_bin_sort_iterator_next),
20374         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20375         Reworked the message handling a bit, cache the messages instead of
20376         only the senders. alows us to do more in the future.
20377
20378 2005-10-20  Wim Taymans  <wim@fluendo.com>
20379
20380         * docs/design/part-TODO.txt:
20381         Update TODO
20382
20383         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20384         (gst_base_sink_query):
20385         Don't use clock time to report position when in EOS.
20386
20387 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
20388
20389         * tools/gst-inspect.c: (print_interfaces),
20390         (print_element_properties_info), (print_element_info):
20391           Fix interface output with gst-inspect -a; don't print
20392           newlines after double/float properties.
20393
20394 2005-10-20  Wim Taymans  <wim@fluendo.com>
20395
20396         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20397         (gst_base_sink_query):
20398         Speed up current position calculation.
20399
20400         * gst/base/gstbasesrc.c: (gst_base_src_query),
20401         (gst_base_src_default_newsegment):
20402         Correctly set stream position in newsegment.
20403
20404         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20405         (update_degree), (gst_bin_sort_iterator_next),
20406         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20407         * gst/gstmessage.c: (gst_message_new_custom):
20408         Clean up debugging info
20409
20410         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20411         (gst_queue_loop), (gst_queue_handle_src_query):
20412         Pause task faster.
20413
20414 2005-10-19  Wim Taymans  <wim@fluendo.com>
20415
20416         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20417         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20418         Fix query handling again.
20419
20420 2005-10-19  Wim Taymans  <wim@fluendo.com>
20421
20422         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20423         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20424         * gst/base/gstbasesrc.c: (gst_base_src_query):
20425         * gst/elements/gstfilesink.c: (gst_file_sink_query):
20426         * gst/elements/gsttypefindelement.c:
20427         (gst_type_find_handle_src_query), (find_element_get_length),
20428         (gst_type_find_element_activate):
20429         API change fix.
20430
20431         * gst/gstquery.c: (gst_query_new_position),
20432         (gst_query_set_position), (gst_query_parse_position),
20433         (gst_query_new_duration), (gst_query_set_duration),
20434         (gst_query_parse_duration), (gst_query_set_segment),
20435         (gst_query_parse_segment):
20436         * gst/gstquery.h:
20437         Bundling query position/duration is not a good idea since duration
20438         does not change much and we don't want to recalculate it for every
20439         position query, so they are separated again..
20440         Base value in segment query is not needed.
20441
20442         * gst/gstqueue.c: (gst_queue_handle_src_query):
20443         * gst/gstutils.c: (gst_element_query_position),
20444         (gst_element_query_duration), (gst_pad_query_position),
20445         (gst_pad_query_duration):
20446         * gst/gstutils.h:
20447         Updates for query API change.
20448         Added some docs here and there.
20449
20450 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20451
20452         * check/gst/gstbin.c: (GST_START_TEST):
20453         * check/gst/gstghostpad.c: (GST_START_TEST):
20454         * check/pipelines/cleanup.c: (GST_START_TEST):
20455           wait on thread to die so we can check refcount correctly
20456
20457 2005-10-18  Wim Taymans  <wim@fluendo.com>
20458
20459         * check/pipelines/stress.c: (GST_START_TEST):
20460         Make check a little more time consuming.
20461
20462 2005-10-18  Wim Taymans  <wim@fluendo.com>
20463
20464         * check/Makefile.am:
20465         * check/pipelines/stress.c: (GST_START_TEST),
20466         (simple_launch_lines_suite), (main):
20467         Small state change torture test.
20468
20469         * docs/design/part-states.txt:
20470         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20471         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20472         (gst_base_sink_change_state):
20473         Never take state lock from streaming thread, clean up ugly
20474         hacks. Unfortunatly core does not yet support nice ways to
20475         async commit state.
20476         
20477         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20478         (bin_bus_handler):
20479         Start state recalc if a STATE_DIRTY message is posted, but only
20480         on the toplevel bin.
20481
20482         * gst/gstelement.c: (gst_element_sync_state_with_parent),
20483         (gst_element_get_state_func), (gst_element_abort_state),
20484         (gst_element_commit_state), (gst_element_lost_state),
20485         (gst_element_set_state_func), (gst_element_change_state):
20486         * gst/gstelement.h:
20487         State variables are now protected with the LOCK, the state
20488         lock is only used to serialize _set_state().
20489
20490 2005-10-18  Wim Taymans  <wim@fluendo.com>
20491
20492         * check/gst/gstbin.c: (GST_START_TEST):
20493         * check/gst/gstmessage.c: (GST_START_TEST):
20494         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20495         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20496         (bin_bus_handler):
20497         * gst/gstelement.c: (gst_element_abort_state),
20498         (gst_element_commit_state), (gst_element_lost_state):
20499         * gst/gstmessage.c: (gst_message_new_state_changed),
20500         (gst_message_new_state_dirty), (gst_message_new_segment_start),
20501         (gst_message_new_segment_done), (gst_message_new_duration),
20502         (gst_message_parse_state_changed),
20503         (gst_message_parse_segment_start),
20504         (gst_message_parse_segment_done), (gst_message_parse_duration):
20505         * gst/gstmessage.h:
20506         * tools/gst-launch.c: (event_loop):
20507         Seriously, this is better than a previous commit as we only need
20508         to notify the fact that an element changed state in a streaming
20509         thread, marking the state of the parents dirty, hence the 
20510         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20511         message.
20512
20513 2005-10-18  Wim Taymans  <wim@fluendo.com>
20514
20515         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20516         (gst_bin_recalc_func):
20517         * gst/gstelement.c: (gst_element_set_clock),
20518         (gst_element_abort_state), (gst_element_lost_state):
20519         Cleanups, prepare for state change fixes.
20520
20521 2005-10-18  Wim Taymans  <wim@fluendo.com>
20522
20523         * gst/gstbin.h:
20524         * gst/gstelement.c: (gst_element_class_init),
20525         (gst_element_set_state), (gst_element_set_state_func):
20526         * gst/gstelement.h:
20527         Pending ABI changes.
20528         GThreadPool in GstBinClass to monitor async state changes.
20529         state_cookie in GstElement to detect concurrent gst/set state.
20530         set_state is now virtual too in case a very complicated element
20531         has to be constructed.
20532
20533 2005-10-18  Wim Taymans  <wim@fluendo.com>
20534
20535         * check/gst/gstbin.c: (GST_START_TEST):
20536         * check/gst/gstmessage.c: (GST_START_TEST):
20537         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20538         * gst/gstbin.c: (bin_bus_handler):
20539         * gst/gstelement.c: (gst_element_commit_state),
20540         (gst_element_lost_state):
20541         * gst/gstmessage.c: (gst_message_new_state_changed),
20542         (gst_message_new_segment_start), (gst_message_new_segment_done),
20543         (gst_message_new_duration), (gst_message_parse_state_changed),
20544         (gst_message_parse_segment_start),
20545         (gst_message_parse_segment_done), (gst_message_parse_duration):
20546         * gst/gstmessage.h:
20547         * tools/gst-launch.c: (event_loop):
20548         Make messages future proof.
20549         state-change gets a flag if it was a message comming from the
20550         streaming thread.
20551         segment-start/stop can also be specified in other formats.
20552         A message to notify an app that a pipeline changed playback 
20553         duration.
20554         Also fix a GstMessage leak in -launch
20555
20556 2005-10-18  Andy Wingo  <wingo@pobox.com>
20557
20558         * gst/gstelement.c (gst_element_dispose): More helpful message.
20559
20560 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20561
20562         reviewed by: <delete if not using a buddy>
20563
20564         * common/gtk-doc.mak:
20565
20566 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20567
20568         * gst/gstregistry.c: (gst_registry_scan_path_level):
20569           unref a plug-in we get that was already initialized
20570
20571 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
20572
20573         * docs/gst/gstreamer-sections.txt:
20574         * docs/libs/gstreamer-libs-sections.txt:
20575         * gst/gstelement.h:
20576           add new api entries
20577           hide internal macro
20578
20579 2005-10-17  Andy Wingo  <wingo@pobox.com>
20580
20581         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
20582         cleanup.
20583
20584         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
20585
20586         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
20587
20588         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
20589         (gst_element_get_state_func): Better debug message.
20590         (gst_element_commit_state): s/INFO/DEBUG/.
20591         (gst_element_lost_state, gst_element_change_state): 
20592
20593         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
20594         (gst_message_new_custom): s/INFO/LOG/.
20595
20596 2005-10-17  Michael Smith <msmith@fluendo.com>
20597
20598         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20599           Check if end time is valid using end time, not start time.
20600
20601 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
20602
20603         * check/gst-libs/controller.c: (GST_START_TEST),
20604         (gst_controller_suite):
20605         * libs/gst/controller/gstcontroller.c:
20606         (gst_controlled_property_set_interpolation_mode):
20607         * libs/gst/controller/gstcontroller.h:
20608         * libs/gst/controller/gstinterpolation.c:
20609         * testsuite/controller/.cvsignore:
20610         * testsuite/controller/Makefile.am:
20611         * testsuite/controller/interpolator.c:
20612           merge controller testsuites
20613           fix broken tests
20614           remove mem-chunk from docs
20615
20616 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20617
20618         * gst/gstmemchunk.c:
20619         * gst/gstmemchunk.h:
20620         * gst/gsttrashstack.c:
20621         * gst/gsttrashstack.h:
20622           out.  get out.  you're fired.  to the Attic !
20623
20624 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20625
20626         * gst/gstcaps.c: (gst_caps_intersect):
20627           fix signedness issues in a (hopefully) correct way
20628         * gst/gstelement.c: (gst_element_pads_activate):
20629           some debugging
20630         * gst/gstobject.c: (gst_object_set_parent):
20631           some debugging
20632
20633 2005-10-17  Julien MOUTTE  <julien@moutte.net>
20634
20635         * gst/gstvalue.h: Fix prototypes.
20636
20637 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20638
20639         * docs/gst/gstreamer-sections.txt:
20640         * gst/gst.c: (gst_version_string):
20641         * gst/gst.h:
20642         * gst/gstversion.h.in:
20643         * win32/common/libgstreamer.def:
20644           add gst_version_string ()
20645
20646 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20647
20648         * configure.ac:
20649           clean up further
20650         * gst/gst.c: (init_post):
20651         * win32/common/config.h.in:
20652           it's PLUGINDIR now
20653         * gst/gstcaps.c: (gst_caps_intersect):
20654           use gint64, the range could be bigger than a guint
20655
20656 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20657
20658         * gst/gstclock.h:
20659           document potential problem in 2038
20660
20661 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20662
20663         * gst/gstcaps.c: (gst_caps_intersect):
20664           Fix guint j diving under 0
20665
20666 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20667
20668         * configure.ac:
20669         * win32/common/config.h:
20670         * win32/common/config.h.in:
20671           check for process.h, declares getpid() on Windows
20672         * gst/gstinfo.c:
20673           include process.h if we have it
20674         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
20675         * gst/gstmemchunk.h:
20676           fix signedness issues
20677         * win32/common/libgstreamer.def:
20678           fix get_type's
20679
20680 2005-10-16  Julien MOUTTE  <julien@moutte.net>
20681
20682         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
20683         fix. Because of unsigned ints, caps intersection was going nuts and
20684         trying to access structures with G_MAXUINT index. That fixes
20685         videotestsrc ! ffmpegcolorspace ! fakesink
20686         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
20687         consistency.
20688
20689 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20690
20691         * configure.ac:
20692           use the gettext macro
20693         * gst/elements/gstelements.c:
20694         * gst/gst.c:
20695         * gst/indexers/gstindexers.c:
20696           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
20697         * win32/common/config.h:
20698           updated config.h
20699         * win32/common/config.h.in:
20700           add the template to generate config.h
20701         * win32/common/gstenumtypes.c:
20702         * win32/common/gstversion.h:
20703           updated copies
20704
20705 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20706
20707         * gst/gst.c: (gst_version):
20708         * gst/gstversion.h.in:
20709           add the nano
20710
20711 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
20712
20713         * gst/gstevent.h:
20714           Oops, add missing closing bracket.
20715
20716 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20717
20718         * configure.ac:
20719           use common m4's for argument checking
20720
20721 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
20722
20723         * docs/gst/gstreamer-sections.txt:
20724         * gst/gstevent.h:
20725           Add GST_EVENT_TYPE_NAME() macro.
20726
20727 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20728
20729         * gst/gstinfo.c:
20730         * gst/gstpluginfeature.c:
20731         * gst/gsttask.c:
20732           privatize more symbols
20733
20734 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20735
20736         * configure.ac:
20737           add srcdir, builddir includes to GST_ALL_CFLAGS, since
20738           everything that uses GStreamer API should have the includes
20739
20740 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20741
20742         * docs/gst/gstreamer-sections.txt:
20743         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
20744         * gst/gstvalue.h:
20745           give each value a _get_type, removes the DATA exports
20746
20747 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20748
20749         * gst/gst.c:
20750         * gst/gst.h:
20751           remove _gst_registry_auto_load, not used anymore
20752         * gst/gstbin.c: (gst_bin_get_type):
20753         * gst/gstbin.h:
20754         * gst/gstelement.c: (gst_element_get_type):
20755         * gst/gstelement.h:
20756         * gst/gstobject.c: (gst_object_get_type):
20757         * gst/gstobject.h:
20758         * gst/gstpad.c: (gst_pad_get_type):
20759         * gst/gstpad.h:
20760           make _get_type functions similar, fixes data export from library
20761
20762 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20763
20764         * configure.ac:
20765           correctly make conditionals
20766         * gst/elements/Makefile.am:
20767         * gst/elements/gstelements.c:
20768           fix typo causing fdsrc not to build
20769
20770 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20771
20772         * testsuite/Makefile.am:
20773         * testsuite/bytestream/.cvsignore:
20774         * testsuite/bytestream/Makefile.am:
20775         * testsuite/bytestream/filepadsink.c:
20776         * testsuite/bytestream/gstbstest.c:
20777         * testsuite/bytestream/test1.c:
20778         * testsuite/bytestream/testfile1:
20779         * testsuite/caps/normalisation.c:
20780         * testsuite/caps/random.c: (main):
20781         * testsuite/cleanup/.cvsignore:
20782         * testsuite/cleanup/Makefile.am:
20783         * testsuite/cleanup/cleanup1.c:
20784         * testsuite/cleanup/cleanup2.c:
20785         * testsuite/cleanup/cleanup3.c:
20786         * testsuite/cleanup/cleanup4.c:
20787         * testsuite/cleanup/cleanup5.c:
20788         * testsuite/controller/interpolator.c:
20789         * testsuite/debug/printf_extension.c: (main):
20790         * testsuite/elements/tee.c:
20791         * testsuite/negotiation/.cvsignore:
20792         * testsuite/negotiation/Makefile.am:
20793         * testsuite/negotiation/pad_link.c:
20794         * testsuite/pad/Makefile.am:
20795         * testsuite/pad/chainnopull.c:
20796         * testsuite/pad/getnopush.c:
20797         * testsuite/pad/link.c:
20798         * testsuite/refcounting/sched.c: (create_pipeline):
20799         * testsuite/registry/Makefile.am:
20800         * testsuite/registry/gst-print-formats.c:
20801         * testsuite/schedulers/.cvsignore:
20802         * testsuite/schedulers/142183-2.c:
20803         * testsuite/schedulers/142183.c:
20804         * testsuite/schedulers/143777-2.c:
20805         * testsuite/schedulers/143777.c:
20806         * testsuite/schedulers/147713.c:
20807         * testsuite/schedulers/147819.c:
20808         * testsuite/schedulers/147894-2.c:
20809         * testsuite/schedulers/147894.c:
20810         * testsuite/schedulers/Makefile.am:
20811         * testsuite/schedulers/group_link.c:
20812         * testsuite/schedulers/queue_link.c:
20813         * testsuite/schedulers/relink.c:
20814         * testsuite/schedulers/unlink.c:
20815         * testsuite/schedulers/unref.c:
20816         * testsuite/schedulers/useless_iteration.c:
20817         * testsuite/states/bin.c:
20818           clean out/remove some stuff from the testsuite directories
20819
20820 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20821
20822         * configure.ac:
20823           check for some headers
20824         * gst/elements/Makefile.am:
20825         * gst/elements/gstelements.c:
20826           don't compile fdsrc without sys/socket.h
20827         * gst/indexers/Makefile.am:
20828         * gst/indexers/gstindexers.c: (plugin_init):
20829           don't compile fileindex without mmap
20830
20831 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20832
20833         * configure.ac:
20834           reorganize
20835           clean up
20836           document more
20837           remove cruft
20838         * check/Makefile.am:
20839         * docs/gst/Makefile.am:
20840         * examples/helloworld/Makefile.am:
20841         * gst/Makefile.am:
20842         * gst/base/Makefile.am:
20843         * gst/check/Makefile.am:
20844         * gst/elements/Makefile.am:
20845         * gst/indexers/Makefile.am:
20846         * gst/parse/Makefile.am:
20847         * libs/gst/controller/Makefile.am:
20848         * libs/gst/dataprotocol/Makefile.am:
20849         * examples/helloworld/helloworld.c: (event_loop):
20850           compile fixes, though it's not being compiled currently
20851
20852 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20853
20854         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
20855           Add some simple tests for the new taglist date API.
20856
20857 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20858
20859         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
20860         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
20861           Beautify 'last-message' output: print 'none' for buffer timestamps
20862           and durations if none is set; improve alignment with next messages.
20863
20864 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20865
20866         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
20867         * gst/gstpluginfeature.h:
20868         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
20869         * gst/gstregistry.h:
20870         * docs/gst/gstreamer-sections.txt:
20871           Add new API to check plugin feature version requirements.
20872
20873         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
20874           Some basic tests for the above.         
20875
20876 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20877
20878         * gst/gststructure.c: (gst_structure_to_string):
20879           guard against NULL printf - happens when for example
20880           a message structure with GstClock gets serialized
20881
20882 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
20883
20884         * gst/base/gstcollectpads.c: (gst_collectpads_event):
20885           Fix presumable copy'n'pasto.
20886
20887 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20888
20889         * gst/elements/gstfakesrc.h:
20890         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
20891         * gst/elements/gsttypefindelement.c:
20892           fix some signedness
20893         * gst/elements/gstfilesink.c: (gst_file_sink_render):
20894           I wonder if this could actually write +2GB files before
20895
20896 2005-10-13  Andy Wingo  <wingo@pobox.com>
20897
20898         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
20899         Fix Timmeke Waymans bug.
20900         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
20901         string of the proper length to gst_caps_from_string. There's a
20902         potential for, before this fix, that this could cause someone
20903         connecting over the network to cause a segfault if the payload is
20904         not NUL-terminated.
20905
20906 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
20907
20908         * docs/design/draft-push-pull.txt:
20909         * docs/design/part-overview.txt:
20910         * docs/random/TODO-pre-0.9:
20911         * docs/random/old/ChangeLog.gstreamer:
20912         * gst/base/gstpushsrc.c:
20913         * gst/gstclock.c:
20914           fixed typos
20915
20916 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20917
20918         * gst/glib-compat.c: (gst_flags_get_first_value):
20919         * gst/glib-compat.h:
20920         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
20921         (gst_value_compare_double), (gst_value_serialize_flags):
20922           GLib 2.6 g_flags_get_first_value has a bug that triggers an
20923           infinite loop
20924
20925 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20926
20927         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20928         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20929           fix up debugging
20930         * tools/gst-launch.c: (event_loop):
20931           print out clock nicely
20932
20933 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
20934
20935         * docs/gst/gstreamer-sections.txt:
20936         * gst/gsttaglist.h:
20937         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
20938         (gst_tag_list_get_date_index):
20939           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
20940           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
20941
20942 2005-10-13  Julien MOUTTE  <julien@moutte.net>
20943
20944         * gst/base/gstcollectpads.c: (gst_collectpads_event),
20945         (gst_collectpads_chain):
20946         * gst/base/gstcollectpads.h: Handle newsegment and store informations
20947         in CollectData.
20948
20949 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
20950
20951         * docs/gst/gstreamer-sections.txt:
20952         * gst/gst.c:
20953         * gst/gsterror.h:
20954         * tools/gst-inspect.c: (main):
20955         * tools/gst-launch.c: (main):
20956         * tools/gst-run.c: (main):
20957         * tools/gst-xmlinspect.c: (main):
20958           fix GOption context leaks
20959           doc fixes
20960
20961 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20962
20963         * gst/gstbus.c:
20964           use HAVE_UNISTD_H
20965         * win32/common/config.h:
20966           update config
20967         * win32/vs6/grammar.dsp:
20968         * win32/vs6/libgstelements.dsp:
20969         * win32/vs6/libgstreamer.dsp:
20970           update vs6 files
20971
20972 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20973
20974         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20975         * gst/base/gstbasesrc.c: (gst_base_src_query):
20976           fix more guint64<->gdouble conversions
20977
20978 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20979
20980         * Makefile.am:
20981           add win32-update target
20982         * win32/common/gstconfig.h:
20983         * win32/common/gstenumtypes.c:
20984         * win32/common/gstenumtypes.h:
20985         * win32/common/gstversion.h:
20986           add files that visual studio can't generate
20987
20988 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20989
20990         * Makefile.am:
20991           add a win32-update target
20992         * configure.ac:
20993
20994 2005-10-12  Wim Taymans  <wim@fluendo.com>
20995
20996         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20997         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
20998         * gst/gstelement.c: (gst_element_commit_state),
20999         (gst_element_set_state):
21000         Protect flags with proper lock.
21001         unref provided cached clock in dispose.
21002
21003 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
21004
21005         * gst/gst.c:
21006         * gst/gstminiobject.h:
21007         * gst/gstpad.h:
21008         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
21009           removed unused flags from miniobject
21010           doc fixes
21011
21012 2005-10-12  Wim Taymans  <wim@fluendo.com>
21013
21014         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
21015         (gst_file_sink_event), (gst_file_sink_render):
21016         Flush before seeking.
21017
21018 2005-10-12  Andy Wingo  <wingo@pobox.com>
21019
21020         * gst/gst.c (gst_init_check): Ignore unknown options, as has
21021         always been the case.
21022
21023 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
21024
21025         * check/gst/gstbin.c: (GST_START_TEST):
21026         * docs/gst/gstreamer-sections.txt:
21027         * gst/base/gstbasesink.c: (gst_base_sink_init):
21028         * gst/base/gstbasesrc.c: (gst_base_src_init),
21029         (gst_base_src_get_range), (gst_base_src_check_get_range),
21030         (gst_base_src_start), (gst_base_src_stop):
21031         * gst/base/gstbasesrc.h:
21032         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
21033         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21034         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
21035         (bin_bus_handler):
21036         * gst/gstbin.h:
21037         * gst/gstbuffer.h:
21038         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
21039         * gst/gstbus.h:
21040         * gst/gstelement.c: (gst_element_is_locked_state),
21041         (gst_element_set_locked_state), (gst_element_commit_state),
21042         (gst_element_set_state):
21043         * gst/gstelement.h:
21044         * gst/gstindex.c: (gst_index_init):
21045         * gst/gstindex.h:
21046         * gst/gstminiobject.h:
21047         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
21048         (gst_object_set_parent):
21049         * gst/gstobject.h:
21050         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
21051         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
21052         * gst/gstpad.h:
21053         * gst/gstpadtemplate.h:
21054         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
21055         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
21056         * gst/gstpipeline.h:
21057         * gst/indexers/gstfileindex.c: (gst_file_index_load),
21058         (gst_file_index_commit):
21059         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
21060         * testsuite/pad/link.c: (gst_test_src_init),
21061         (gst_test_filter_init), (gst_test_sink_init):
21062         * testsuite/states/locked.c: (main):
21063           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
21064           moved bitshift from macro to enum definition
21065
21066 2005-10-12  Wim Taymans  <wim@fluendo.com>
21067
21068         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
21069         * gst/elements/gstfilesink.c: (gst_file_sink_event),
21070         (gst_file_sink_render):
21071         Some more debugging info.
21072
21073 2005-10-12  Wim Taymans  <wim@fluendo.com>
21074
21075         * docs/design/part-states.txt:
21076         * tools/gst-launch.c: (main):
21077         Some doc updates.
21078         Revert non-intentional change.
21079
21080 2005-10-12  Wim Taymans  <wim@fluendo.com>
21081
21082         * check/gst/gstbin.c: (GST_START_TEST):
21083         * check/gst/gstelement.c: (GST_START_TEST):
21084         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
21085         * check/gst/gstghostpad.c: (GST_START_TEST):
21086         * check/gst/gstpipeline.c: (GST_START_TEST):
21087         * check/pipelines/simple_launch_lines.c: (run_pipeline):
21088         * check/states/sinks.c: (GST_START_TEST):
21089         * gst/elements/gsttypefindelement.c: (stop_typefinding):
21090         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21091         (gst_bin_remove_func), (gst_bin_get_state_func),
21092         (gst_bin_recalc_state), (gst_bin_change_state_func),
21093         (bin_bus_handler):
21094         * gst/gstelement.c: (gst_element_get_state_func),
21095         (gst_element_get_state), (gst_element_abort_state),
21096         (gst_element_commit_state), (gst_element_set_state),
21097         (gst_element_change_state), (gst_element_change_state_func):
21098         * gst/gstelement.h:
21099         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
21100         (gst_pipeline_provide_clock_func):
21101         * gst/gstutils.c: (gst_element_link_pads_filtered):
21102         * tools/gst-launch.c: (main):
21103         * tools/gst-typefind.c: (main):
21104         Use GstClockTime in _get_state() instead of GTimeVal.
21105         Remove old code in gstutils.c
21106
21107 2005-10-12  Andy Wingo  <wingo@pobox.com>
21108
21109         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
21110         removed.
21111
21112         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
21113         there is no task. Shouldn't affect any code, as nothing in our
21114         plugins checks this return value.
21115         (gst_pad_stop_task): Also take the stream lock if the pad has no
21116         task. Docs updated.
21117
21118 2005-10-12  Wim Taymans  <wim@fluendo.com>
21119
21120         * gst/gstpad.c: (pre_activate), (post_activate),
21121         (gst_pad_activate_pull), (gst_pad_activate_push):
21122         Cleanup activation code. Reset old state if
21123         activation failed.
21124
21125 2005-10-12  Wim Taymans  <wim@fluendo.com>
21126
21127         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21128         (gst_base_sink_change_state):
21129         No need to prerol after receiving EOS.
21130
21131         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21132         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
21133         * gst/elements/gstidentity.c: (gst_identity_event):
21134         Print events more verbosely.
21135
21136 2005-10-12  Wim Taymans  <wim@fluendo.com>
21137
21138         * check/Makefile.am:
21139         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21140         * check/states/sinks2.c:
21141         Moved sinks2 testcode in sinks check.
21142
21143         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21144         (gst_bin_remove_func), (gst_bin_recalc_state),
21145         (gst_bin_change_state_func), (bin_bus_handler):
21146         Fix potential race condition when _get_state() iterated over an
21147         ASYNC element right before it posted a state completion.
21148
21149         * gst/gstclock.h:
21150         Do proper cast here.
21151
21152         * gst/gstevent.c: (gst_event_new_newsegment),
21153         (gst_event_parse_newsegment):
21154         A playback rate of 0.0 is not allowed.
21155
21156 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21157
21158         * win32/common/config.h:
21159         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
21160         (_trewinddir), (_ttelldir), (_tseekdir):
21161         * win32/common/dirent.h:
21162         * win32/common/gtchar.h:
21163         * win32/common/libgstbase.def:
21164         * win32/common/libgstreamer.def:
21165         * win32/vs6/grammar.dsp:
21166         * win32/vs6/gst_inspect.dsp:
21167         * win32/vs6/gst_launch.dsp:
21168         * win32/vs6/gstreamer.dsw:
21169         * win32/vs6/libgstbase.dsp:
21170         * win32/vs6/libgstelements.dsp:
21171         * win32/vs6/libgstreamer.dsp:
21172           Visual Studio 6 project files, and a new common directory.
21173           Phear.
21174
21175 2005-10-11  Wim Taymans  <wim@fluendo.com>
21176
21177         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21178         (gst_base_sink_do_sync), (gst_base_sink_query),
21179         (gst_base_sink_change_state):
21180         * gst/base/gstbasesink.h:
21181         Correctly parse newsegment info.
21182
21183 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21184
21185         * gst/gst.c: (init_post):
21186           split plugin paths correctly
21187
21188 2005-10-11  Wim Taymans  <wim@fluendo.com>
21189
21190         * check/gst/gstevent.c: (GST_START_TEST):
21191         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21192         (gst_base_sink_change_state):
21193         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
21194         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21195         * gst/elements/gstfilesink.c: (gst_file_sink_event):
21196         * gst/gstevent.c: (gst_event_new_newsegment),
21197         (gst_event_parse_newsegment):
21198         * gst/gstevent.h:
21199         Added extra flag to newsegment for future API freeze.
21200         Updated check and base elements.
21201
21202 2005-10-11  Julien MOUTTE  <julien@moutte.net>
21203
21204         * gst/base/gstcollectpads.c: (gst_collectpads_init),
21205         (gst_collectpads_add_pad), (gst_collectpads_pop),
21206         (gst_collectpads_event), (gst_collectpads_chain):
21207         * gst/base/gstcollectpads.h: Handle EOS correctly.
21208
21209 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21210
21211         * tools/gst-launch.c: (main):
21212           more null protecting
21213
21214 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21215
21216         * gst/gst-i18n-lib.h:
21217           check for ENABLE_NLS, not GETTEXT_PACKAGE
21218         * gst/gstregistry.c: (gst_registry_add_plugin),
21219         (gst_registry_scan_path_level),
21220         (_gst_registry_remove_cache_plugins):
21221           protect possibly NULL strings
21222         * gst/parse/types.h:
21223           config.h already included before
21224         * tools/gst-inspect.c: (main):
21225           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
21226           check for ENABLE_NLS, not GETTEXT_PACKAGE
21227         * tools/gst-launch.c: (main):
21228           check for ENABLE_NLS, not GETTEXT_PACKAGE
21229
21230 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21231
21232         * configure.ac:
21233           if we don't have glib, fail before testing 2.8
21234         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
21235           fix a leak, should fix plugins-base testsuite
21236
21237 2005-10-11  Andy Wingo  <wingo@pobox.com>
21238
21239         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
21240         take the mode we're going to as an arg. Go head and set the mode
21241         and flushing flags now, so that if the activate function starts a
21242         thread all the flags will be in the right state.
21243         (post_activate): Renamed also. Just handle making sure streaming
21244         finishes for the deactivation case, and setting the deactivated
21245         mode.
21246         (gst_pad_set_active): Complain loudly if deactivation fails.
21247         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
21248         (gst_pad_activate_push): Adapt to pre/post_activate changes,
21249         remove the terrible hack.
21250
21251 2005-10-11  Wim Taymans  <wim@fluendo.com>
21252
21253         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21254         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
21255         (gst_bin_recalc_state), (gst_bin_change_state_func),
21256         (gst_bin_dispose), (bin_bus_handler):
21257         * gst/gstbin.h:
21258         Prepare to make current EOS message queue more generic.
21259         Fix some typos.
21260
21261         * gst/gstevent.c: (gst_event_new_newsegment),
21262         (gst_event_parse_newsegment):
21263         * gst/gstevent.h:
21264         Rename base to stream_time.
21265
21266         * gst/gstmessage.h:
21267         Fix typo in docs.
21268
21269 2005-10-11  Wim Taymans  <wim@fluendo.com>
21270
21271         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21272         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
21273         (gst_bin_change_state_func), (bin_bus_handler):
21274         * gst/gstbin.h:
21275         Work on proper clock selection.
21276
21277 2005-10-11  Edward Hervey  <edward@fluendo.com>
21278
21279         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
21280         * libs/gst/controller/gstcontroller.h:
21281         Added GList* version of _remove_properties() in order to be able to wrap
21282         it in bindings.
21283
21284 2005-10-11  Wim Taymans  <wim@fluendo.com>
21285
21286         * docs/design/part-states.txt:
21287         Some more docs.
21288
21289         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
21290         (gst_bin_change_state_func), (bin_bus_handler):
21291         Doc updates. Don't distribute the same clock over and over again.
21292
21293         * gst/gstclock.c:
21294         * gst/gstclock.h:
21295         Doc updates.
21296
21297         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
21298         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
21299         (gst_pad_send_event):
21300         * gst/gstpad.h:
21301         Make probe emission threadsafe again.
21302         Register quarks and move _get_name() from utils.
21303         Doc updates.
21304
21305         * gst/gstpipeline.c: (gst_pipeline_class_init),
21306         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21307         Only redistribute the clock of it changed.
21308
21309         * gst/gstsystemclock.h:
21310         Doc updates. 
21311
21312         * gst/gstutils.c:
21313         * gst/gstutils.h:
21314         Moved the _flow_get_name() to GstPad.
21315
21316 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21317
21318         * check/gst-libs/gdp.c: (GST_START_TEST):
21319         * check/gst/gstcaps.c: (GST_START_TEST):
21320         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
21321         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
21322         (gst_dp_packet_from_caps):
21323           fix more valgrind warnings before turning up the heat
21324
21325 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21326
21327         * gst/parse/grammar.y:
21328           some cleanup before the hacking
21329
21330 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21331
21332         * gst/base/gstbasesrc.c: (gst_base_src_query):
21333           use conversions
21334         * gst/gstutils.c: (gst_guint64_to_gdouble),
21335         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21336         * gst/gstutils.h:
21337           externalize, basesrc uses it
21338           obviously the implementation needs testing
21339
21340 2005-10-10  Wim Taymans  <wim@fluendo.com>
21341
21342         * tests/sched/Makefile.am:
21343         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21344         (make_pipeline3), (make_pipeline4), (print_elem), (main):
21345
21346 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21347
21348         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21349           apparently converting from guint64 to double is not implemented
21350           on MSVC
21351
21352 2005-10-10  Wim Taymans  <wim@fluendo.com>
21353
21354         * check/Makefile.am:
21355         * check/generic/states.c: (GST_START_TEST):
21356         * check/gst/gstbin.c: (GST_START_TEST):
21357         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21358         * check/states/sinks.c: (GST_START_TEST):
21359         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21360         (main):
21361         Check fixes, use API as stated in design docs, remove hacks.
21362
21363         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21364         (gst_base_sink_change_state):
21365         Catch stopping our task while we're shutting down.
21366
21367         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21368         (gst_bin_remove_func), (gst_bin_get_state_func),
21369         (gst_bin_recalc_state), (gst_bin_change_state_func),
21370         (bin_bus_handler):
21371         * gst/gstbin.h:
21372         * gst/gstelement.c: (gst_element_init),
21373         (gst_element_get_state_func), (gst_element_abort_state),
21374         (gst_element_commit_state), (gst_element_lost_state),
21375         (gst_element_set_state), (gst_element_change_state),
21376         (gst_element_change_state_func):
21377         * gst/gstelement.h:
21378         New state change algorithm (see #318116)
21379
21380         * gst/gstpipeline.c: (gst_pipeline_class_init),
21381         (gst_pipeline_init), (gst_pipeline_set_property),
21382         (gst_pipeline_get_property), (do_pipeline_seek),
21383         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21384         * gst/gstpipeline.h:
21385         Remove crude state change hacks.
21386
21387         * gst/gstutils.h:
21388         Remove crude hacks.
21389
21390         * tools/gst-launch.c: (main):
21391         Fixes for state change. Needs some more work to fully use the
21392         new stuff.
21393
21394 2005-10-10  Andy Wingo  <wingo@pobox.com>
21395
21396         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21397
21398         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21399         this flag, but it's not even in GLib 2.6. Odd. Hack around the
21400         issue.
21401
21402 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21403
21404         * gst/gstiterator.c: (gst_iterator_new):
21405           Fix my previous commit: GTypes passed to gst_iterator_new()
21406           can be fundamental types.
21407
21408 2005-10-10  Wim Taymans  <wim@fluendo.com>
21409
21410         * gst/gstelement.c: (gst_element_iterate_pad_list),
21411         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21412         (gst_element_iterate_sink_pads):
21413         Use src/sink pads lists for the respective iterators instead
21414         of filtering.
21415
21416 2005-10-10  Andy Wingo  <wingo@pobox.com>
21417
21418         Merged in popt removal + GOption addition patch from Ronald, bug
21419         #169772.
21420
21421         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21422         GstElement macros around, remove popt-related symbols, add goption
21423         stuff.
21424
21425         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21426         
21427         * docs/gst/Makefile.am:
21428         * docs/libs/Makefile.am: No POPT_CFLAGS.
21429         
21430         * examples/manual/Makefile.am:
21431         * docs/manual/basics-init.xml: Doc updates with an example.
21432         
21433         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21434         (gst_init), (parse_one_option), (parse_goption_arg):
21435         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21436         bit of hand merging and debugging to get the GOption stuff working
21437         tho.
21438         
21439         * tests/Makefile.am:
21440         * tools/Makefile.am:
21441         * tools/gst-inspect.c: (main):
21442         * tools/gst-launch.c: (main):
21443         * tools/gst-run.c: (main):
21444         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21445
21446 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21447
21448         * gst/gstiterator.c: (gst_iterator_new):
21449           Add assertions to make sure passed GType is likely to really
21450           be a GType (as the compiler won't catch it if the size and
21451           GType arguments get mixed up, see #318447).
21452
21453 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
21454
21455         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21456
21457         * gst/gstbin.c: (gst_bin_iterate_sorted):
21458           Pass GType and size arguments to gst_iterator_new() in the right
21459           order (maybe we should make _new() take the GType as first argument
21460           just like _new_list()?) (#318447).
21461           
21462
21463 2005-10-10  Wim Taymans  <wim@fluendo.com>
21464
21465         * gst/gstelement.c: (gst_element_finalize):
21466         And free the GStaticRecMutex too
21467
21468 2005-10-10  Andy Wingo  <wingo@pobox.com>
21469
21470         * gst/gstelement.c (gst_element_init, gst_element_finalize):
21471         Allocate and free the mutex properly.
21472
21473         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21474         New macros.
21475         (GstElement): The state_lock is now recursive. Rebuild your
21476         plugins, suckers. Old macros adapted.
21477
21478         * docs/gst/gstreamer-sections.txt: Doc updates.
21479
21480         * gst/gstutils.h:
21481         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
21482         (g_static_rec_cond_wait): Ported from state changes patch, while
21483         we wait on bug #317802 to be solved in a well-distributed GLib.
21484
21485         * gst/gstelement.c (gst_element_change_state_func): Renamed from
21486         gst_element_change_state, variable name changes.
21487         (gst_element_change_state): Split out of gst_element_set_state in
21488         preparation for the state change merge. Doesn't pay attention to
21489         the 'transition' argument.
21490         (gst_element_set_state): Updates, hopefully purely cosmetic.
21491         (gst_element_sync_state_with_parent): MT-safety. Ported from the
21492         state change patch.
21493         (gst_element_get_state_func): Renamed from get_state, cosmetic
21494         changes.
21495
21496 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21497
21498         * gst/elements/gstelements.c:
21499         * win32/GStreamer.vcproj:
21500         * win32/config.h:
21501         * win32/dirent.c: (_tseekdir):
21502         * win32/gst-inspect.vcproj:
21503         * win32/gst-launch.vcproj:
21504         * win32/gstconfig.h:
21505         * win32/gstelements.vcproj:
21506         * win32/gstenumtypes.c: (gst_object_flags_get_type):
21507         * win32/gstreamer.def:
21508         * win32/msvc71.sln:
21509           updates for the win32 build (patch from Sebastien Moutte)
21510
21511 2005-10-10  Andy Wingo  <wingo@pobox.com>
21512
21513         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21514         gst_bin_get_state, cleaned up (but no logic changes).
21515         (bin_element_is_sink): Comment updates.
21516         (sink_iterator_filter): Remove needless cast.
21517         (gst_bin_iterate_sinks): Doc update.
21518         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21519         cleaned up (but no logic changes).
21520
21521         * check/states/sinks.c (test_src_sink): Cleanups from the state
21522         change patch.
21523         (test_livesrc_sink): Sync on the state.
21524
21525         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21526         the state change patch.
21527
21528         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21529         change patch.
21530
21531         * check/gst/gstbin.c: Merge in some style fixes and additional
21532         checks from Wim's state change patch.
21533
21534 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21535
21536         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21537         (gst_type_find_helper):
21538           Check whether we have the requested data already in our list of
21539           cached buffers before pulling a new buffer; also make the buffer
21540           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21541
21542 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21543
21544         * gst/gstcaps.c:
21545         * gst/gstevent.c:
21546           doc updates
21547         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21548           don't use long long, it's not portable.  Replacing with
21549           gint64 seems to work; let's hope no skeletons fall out of the closet.
21550
21551 2005-10-10  Andy Wingo  <wingo@pobox.com>
21552
21553         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21554
21555 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
21556
21557         * docs/gst/gstreamer-sections.txt:
21558         * gst/gstevent.c:
21559         * gst/gstevent.h:
21560         * gst/gstinfo.c:
21561         * gst/gstinfo.h:
21562         * gst/gstmessage.c: (gst_message_parse_state_changed):
21563         * gst/gstpad.c:
21564         * gst/gstpad.h:
21565           more docs, fix compilation
21566
21567 2005-10-09  Philippe Khalaf <burger@speedy.org>
21568         * gst/gstmessage.c:
21569           Fixed a few forgotten variables on previous commit
21570
21571 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
21572
21573         * gst/base/gsttypefindhelper.c: (helper_find_peek):
21574           Fix evil typefind crasher: getrange() might return a short
21575           buffer at the end of a file, but gst_type_find_peek() must
21576           either return the full data as requested or NULL, but
21577           never a short buffer.
21578
21579 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21580
21581         * gst/gstmessage.c: (gst_message_new_state_changed),
21582         (gst_message_parse_state_changed):
21583         * gst/gstmessage.h:
21584           don't use "new", it's a C++ keyword
21585
21586 2005-10-08  Wim Taymans  <wim@fluendo.com>
21587
21588         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
21589         * gst/gstelement.c: (gst_element_post_message):
21590         * gst/gstpipeline.c: (gst_pipeline_change_state):
21591         Small docs and debug updates.
21592
21593 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
21594
21595         * docs/gst/gstreamer-sections.txt:
21596         * gst/gstelementfactory.c:
21597         * gst/gstevent.c:
21598         * gst/gsttaglist.c:
21599           more docs
21600
21601 2005-10-08  Wim Taymans  <wim@fluendo.com>
21602
21603         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
21604         (gst_bin_dispose), (bin_bus_handler):
21605         Fix typos, add comments.
21606         Clear EOS list when going to PAUSED from any direction and do it
21607         in a threadsafe way.
21608         Get base time in a threadsafe way too.
21609         Fix confusing debug in the change_state function.
21610         Various other small cleanups.
21611         
21612         * gst/gstelement.c: (gst_element_post_message):
21613         Fix very verbose bus posting code.
21614
21615         * gst/gstpipeline.c: (gst_pipeline_class_init),
21616         (gst_pipeline_set_property), (gst_pipeline_get_property),
21617         (gst_pipeline_change_state):
21618         Small ARG_ -> PROP_ cleanup
21619
21620 2005-10-08  Wim Taymans  <wim@fluendo.com>
21621
21622         * gst/gstbin.c: (is_eos), (bin_bus_handler):
21623         Do a less CPU demanding EOS check because we can.
21624
21625 2005-10-08  Wim Taymans  <wim@fluendo.com>
21626
21627         * libs/gst/dataprotocol/dataprotocol.c:
21628         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
21629         (gst_dp_packet_from_event):
21630         * libs/gst/dataprotocol/dataprotocol.h:
21631         * libs/gst/dataprotocol/dp-private.h:
21632         It's about time we bump the version number.
21633         Since event types don't fit in the guint8 anymore describing
21634         the payload type, make payload type 16 bits wide.
21635
21636 2005-10-08  Wim Taymans  <wim@fluendo.com>
21637
21638         * docs/design/part-TODO.txt:
21639         * docs/design/part-clocks.txt:
21640         * docs/design/part-events.txt:
21641         * docs/design/part-gstbin.txt:
21642         * docs/design/part-gstelement.txt:
21643         * docs/design/part-gstpipeline.txt:
21644         * docs/design/part-live-source.txt:
21645         * docs/design/part-messages.txt:
21646         * docs/design/part-overview.txt:
21647         * docs/design/part-states.txt:
21648         Many doc updates.
21649
21650 2005-10-08  Wim Taymans  <wim@fluendo.com>
21651
21652         * gst/gstevent.c:
21653         * gst/gstevent.h:
21654         Fix event quark registration.
21655         Add some space between events so we can insert them in the
21656         right groups.
21657
21658 2005-10-08  Wim Taymans  <wim@fluendo.com>
21659
21660         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21661         (gst_base_sink_handle_buffer):
21662         Better log message.
21663
21664         * gst/gstbus.h:
21665         * gst/gstelement.h:
21666         More docs.
21667
21668         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21669         (gst_queue_set_property), (gst_queue_get_property):
21670         * gst/gstqueue.h:
21671         Remove old unused properties.
21672
21673 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
21674         * docs/gst/gstreamer-sections.txt:
21675         * gst/gstmessage.c:
21676         * gst/gstmessage.h:
21677         * gst/gstminiobject.c:
21678         * gst/gstminiobject.h:
21679         * gst/gstobject.h:
21680         * gst/gstpad.h:
21681         * gst/gstutils.h:
21682           lots of new docs and doc fixes
21683
21684 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21685
21686         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
21687         * gst/gstplugin.h:
21688         * gst/gstregistry.c: (gst_registry_lookup_locked),
21689         (gst_registry_scan_path_level):
21690         * gst/gstregistryxml.c: (load_plugin):
21691           Only ever load one plugin for a given plugin basename.
21692           This ensures correct overriding of GST_PLUGIN_PATH over
21693           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
21694           system installed plugins.
21695
21696 2005-10-08  Wim Taymans  <wim@fluendo.com>
21697
21698         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21699         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
21700         Prepare for doing QOS.
21701
21702 2005-10-08  Wim Taymans  <wim@fluendo.com>
21703
21704         * check/gst/gstbin.c: (GST_START_TEST):
21705         * check/pipelines/cleanup.c: (GST_START_TEST):
21706         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21707         Allow new clock message too.
21708
21709 2005-10-08  Wim Taymans  <wim@fluendo.com>
21710
21711         * gst/gstmessage.c: (gst_message_new_error),
21712         (gst_message_new_warning), (gst_message_new_tag),
21713         (gst_message_new_state_changed), (gst_message_new_clock_provide),
21714         (gst_message_new_clock_lost), (gst_message_new_new_clock),
21715         (gst_message_new_segment_start), (gst_message_new_segment_done),
21716         (gst_message_parse_state_changed),
21717         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
21718         (gst_message_parse_new_clock):
21719         * gst/gstmessage.h:
21720         Also carry the clock in question.
21721
21722 2005-10-08  Wim Taymans  <wim@fluendo.com>
21723
21724         * gst/gstmessage.c: (gst_message_new_custom),
21725         (gst_message_new_eos), (gst_message_new_error),
21726         (gst_message_new_warning), (gst_message_new_tag),
21727         (gst_message_new_state_changed), (gst_message_new_clock_provide),
21728         (gst_message_new_new_clock), (gst_message_new_segment_start),
21729         (gst_message_new_segment_done), (gst_message_parse_state_changed),
21730         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
21731         * gst/gstmessage.h:
21732         Clean up.
21733         Added clock related messages.
21734
21735         * gst/gstpipeline.c: (gst_pipeline_change_state):
21736         Post message when the clock changed.
21737
21738         * tools/gst-launch.c: (event_loop):
21739         Print new clock.
21740
21741 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
21742
21743         * tools/gst-inspect.c: (print_element_properties_info):
21744           Can't pass NULL strings to g_print() on windows.
21745
21746 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21747
21748         * docs/Makefile.am:
21749         * docs/gst/Makefile.am:
21750         * docs/gst/gstreamer-docs.sgml:
21751         * docs/gst/running.xml:
21752         * docs/version.entities.in:
21753           add a chapter on running GStreamer.
21754           document GST_DEBUG and GST_PLUGIN* env vars
21755
21756 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21757
21758         * Makefile.am:
21759           remove include dir
21760         * configure.ac:
21761           remove PLUGINS_BUILDDIR stuff
21762         * gst/gst.c: (init_post):
21763           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
21764         * idiottest.mak:
21765           remove, it was condescending and not needed
21766
21767 2005-10-08  Wim Taymans  <wim@fluendo.com>
21768
21769         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
21770         (gst_base_sink_handle_object), (gst_base_sink_event),
21771         (gst_base_sink_wait), (gst_base_sink_handle_event),
21772         (gst_base_sink_change_state):
21773         * gst/base/gstbasesink.h:
21774         Repost EOS message while going to PLAYING if still EOS.
21775         Make sure that when receiving a FLUSH_START we don't attempt
21776         to sync on the clock anymore.
21777
21778 2005-10-08  Wim Taymans  <wim@fluendo.com>
21779
21780         * tools/gst-launch.c: (event_loop):
21781         Better message printout.
21782
21783 2005-10-08  Wim Taymans  <wim@fluendo.com>
21784
21785         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
21786         (gst_bin_child_proxy_get_children_count):
21787         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21788         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
21789         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
21790         (gst_child_proxy_set_valist):
21791         * gst/parse/grammar.y:
21792         Make ChildProxy threadsafe and fix mem leaks.
21793
21794 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21795
21796         * gst/gst.c: (init_post):
21797           debug the GST_PLUGIN_ env vars
21798
21799 2005-10-08  Wim Taymans  <wim@fluendo.com>
21800
21801         * check/gst/gstbin.c: (GST_START_TEST):
21802         * check/gst/gstmessage.c: (GST_START_TEST):
21803         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21804         * gst/gstelement.c: (gst_element_commit_state),
21805         (gst_element_lost_state):
21806         * gst/gstmessage.c: (gst_message_new_state_changed),
21807         (gst_message_parse_state_changed):
21808         * gst/gstmessage.h:
21809         * tools/gst-launch.c: (event_loop):
21810         Added extra field to STATE_CHANGE message with the pending
21811         state, which will be different from the new state soon.
21812
21813 2005-10-08  Wim Taymans  <wim@fluendo.com>
21814
21815         * gst/gstbus.c: (gst_bus_pop):
21816         * gst/gstclock.c:
21817         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21818         Small cleanups and doc updates.
21819
21820 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21821
21822         * gst/gst.c: (init_pre):
21823         * gst/gstbin.c: (gst_bin_add_func):
21824           log distributing clocks and base time
21825         * gst/gstregistry.c: (gst_registry_add_plugin),
21826         (gst_registry_scan_path_level), (gst_registry_scan_path):
21827           clean up the debugging output a little
21828         * gst/gstutils.c: (gst_element_state_get_name):
21829           warn about a memleak (I've actually seen this be used, though
21830           it was probably a bug)
21831
21832 2005-10-07  Wim Taymans  <wim@fluendo.com>
21833
21834         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21835         (gst_base_src_init), (gst_base_src_default_newsegment),
21836         (gst_base_src_newsegment), (gst_base_src_do_seek),
21837         (gst_base_src_loop), (gst_base_src_start):
21838         * gst/base/gstbasesrc.h:
21839         Make the newsegment event customizable by subclasses.
21840
21841 2005-10-07  Wim Taymans  <wim@fluendo.com>
21842
21843         * gst/gstevent.c: (gst_event_new_buffersize),
21844         (gst_event_parse_buffersize):
21845         * gst/gstevent.h:
21846         New event for future idea.
21847
21848 2005-10-07  Andy Wingo  <wingo@pobox.com>
21849
21850         * gst/gstelement.c (gst_element_post_message): Doc update.
21851
21852         * docs/gst/gstreamer-sections.txt: Update.
21853
21854         * gst/gstmessage.c (gst_message_new_application): Made into a
21855         function like honest API calls.
21856         (gst_message_new_element): New message type.
21857
21858         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
21859
21860         * check/elements/fakesrc.c (test_no_preroll): New check, checks
21861         that setting a live fakesrc to PAUSED returns NO_PREROLL both
21862         times.
21863
21864         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
21865         NO_PREROLL from gst_element_change_state to fall through.
21866
21867 2005-10-07  Wim Taymans  <wim@fluendo.com>
21868
21869         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
21870         (gst_ghost_pad_do_activate_push):
21871         Activating a ghostpad with no internal pad in push mode
21872         is ok.
21873
21874 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21875
21876         * gst/gstobject.h:
21877           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
21878           Fixes compilation on Windows.
21879
21880 2005-10-07  Michael Smith <msmith@fluendo.com>
21881
21882         * tools/gst-inspect.c:
21883           Print out feature and plugin count at the end when printing out
21884           all features.
21885
21886 2005-10-04  Michael Smith <msmith@fluendo.com>
21887
21888         * gst/gsterror.c: (_gst_stream_errors_init):
21889           Add another error string used in a few existing plugins.
21890
21891         * gst/gstplugin.c:
21892         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
21893         * tools/gst-inspect.c: (print_element_info):
21894           When a feature disappears from a plugin (and the feature exists in
21895           the cached registry file), things went horribly wrong. This isn't a
21896           complete fix, we should actually be removing the 'missing' features
21897           from the features list when we load the actual plugin. That's not
21898           yet implemented. 
21899
21900 2005-10-04  Johan Dahlin  <johan@gnome.org>
21901
21902         * check/gst/gstiterator.c: (GST_START_TEST):
21903         * gst/gstbin.c: (gst_bin_iterate_elements),
21904         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
21905         * gst/gstelement.c: (gst_element_iterate_pads):
21906         * gst/gstformat.c: (gst_format_iterate_definitions):
21907         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
21908         (gst_iterator_new_list), (gst_iterator_filter):
21909         * gst/gstiterator.h:
21910         * gst/gstquery.c: (gst_query_type_iterate_definitions):
21911         Add a GType to GstIterator, update callsites and tests.
21912
21913 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21914
21915         * gst/gstpad.c: (gst_pad_event_default_dispatch):
21916           give events a chance to be handled by event probes when the pad
21917           is not linked
21918
21919 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21920
21921         * gst/gstevent.c: (gst_event_type_get_name),
21922         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
21923         * gst/gstevent.h:
21924           add string representations for event types
21925
21926 2005-10-06  Wim Taymans  <wim@fluendo.com>
21927
21928         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
21929         Don't use NULL pointers.
21930
21931 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21932
21933         * gst/gst_private.h:
21934         * gst/gstbus.c:
21935         * gst/gstelement.c:
21936         * gst/gstinfo.c:
21937         * gst/gstpluginfeature.c:
21938           widen the debug category in output to fit the biggest one we have
21939           add a bus category and use it
21940           play with the colors
21941           fix up some categories
21942
21943 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21944
21945         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
21946           add push activation of sink ghost pads.
21947           Andye, please verify
21948
21949 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21950
21951         * gst/gstutils.c: (gst_element_link_pads):
21952           fix a bug in the case where neither element has a pad
21953         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21954           add a test for that case
21955
21956 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21957
21958         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
21959           emit have-data before checking for peers.  This allows
21960           for probe handlers to connect elements.  This helps autopluggers.
21961         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
21962         (gst_pad_suite):
21963           add six checks, linked/unlinked with no/true/false probe
21964
21965 2005-10-04  Wim Taymans  <wim@fluendo.com>
21966
21967         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
21968         (gst_fake_sink_event), (gst_fake_sink_preroll),
21969         (gst_fake_sink_render), (gst_fake_sink_change_state):
21970         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
21971         (gst_fake_src_get_property), (gst_fake_src_create),
21972         (gst_fake_src_stop):
21973         * gst/elements/gstidentity.c: (gst_identity_stop):
21974         Protect last_message with lock.
21975
21976 2005-10-04  Edward Hervey  <edward@fluendo.com>
21977
21978         * gst/gstformat.h: 
21979         Added precision in the comments for GST_FORMAT_DEFAULT
21980
21981 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
21982
21983         * tools/gst-launch.c: (main):
21984           Don't try to run erroneous pipelines.
21985
21986 2005-10-04  Julien MOUTTE  <julien@moutte.net>
21987
21988         * gst/gstbus.c: We don't need this header.
21989
21990 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21991
21992         * configure.ac:
21993           back to development
21994
21995 === release 0.9.3 ===
21996
21997 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21998
21999         * README:
22000         * configure.ac:
22001           Releasing 0.9.3, "Unregistered"
22002
22003 2005-10-03  Andy Wingo  <wingo@pobox.com>
22004
22005         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
22006         whereby calling a pad's activatepush() function can start a thread
22007         that starts to push or pull before the pad gets the FLUSHING flag
22008         unset. Hack around it by holding the stream lock until the flag is
22009         set. Need to replace this with a proper solution. Together with
22010         the ghost pad fixes, this fixes mp3 playing/tagreading.
22011
22012         * docs/design/part-gstghostpad.txt: Add a note about activation of
22013         proxy pads outside of ghost pads.
22014
22015         * gst/gstghostpad.c: Implement the ghost pad activation design.
22016
22017 2005-10-02  Andy Wingo  <wingo@pobox.com>
22018
22019         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
22020         It is volatile, after all.
22021
22022         * docs/design/part-gstghostpad.txt: Flesh out activation with
22023         ghost pads.
22024
22025         * gst/base/gstbasesrc.c (gst_base_src_init): Use
22026         GST_DEBUG_FUNCPTR.
22027
22028 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
22029
22030         * configure.ac:
22031           Fix (unused) AM_CONDITIONAL tests.
22032
22033 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
22034
22035         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
22036
22037         * gst/gstutils.c: (gst_pad_query_convert):
22038           Add assertion that makes sure src_val is >=0, just like
22039           gst_query_new_convert() has. (#315895)
22040
22041 2005-09-30  Edward Hervey  <edward@fluendo.com>
22042
22043         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
22044         Let's not iterate pads we're not interested in, it avoids getting 
22045         sky-high refcounts on sinkpad.
22046
22047 2005-09-30  Wim Taymans  <wim@fluendo.com>
22048
22049         * gst/gstelement.c: (gst_element_set_state),
22050         (gst_element_change_state):
22051         Small tweak, element in ASYNC remains ASYNC.
22052
22053 2005-09-30  Wim Taymans  <wim@fluendo.com>
22054
22055         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
22056         Only error is an error.
22057
22058         * gst/gstbin.c: (gst_bin_change_state):
22059         Better debugging.
22060
22061         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
22062         Also call pad_block in pad alloc.
22063
22064         * gst/gstutils.c: (gst_flow_get_name):
22065         Better debugging.
22066
22067 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22068
22069         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22070         (gst_base_src_get_range):
22071           Fix documentation typos. Add some more debug info.
22072
22073 2005-09-29  David Schleef  <ds@schleef.org>
22074
22075         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
22076           more end-user friendly.
22077         * tools/gst-inspect.c: (main): Check if command-line argument is
22078           a file and attempt to load that file as a plugin.
22079
22080 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22081
22082         * check/gst/gstbin.c:
22083         * check/states/sinks.c:
22084           fix tests for the new warning
22085         * check/gst/gstpipeline.c:
22086           add a test for pipeline and bus interaction
22087         * gst/gstelement.c:
22088           elements should be NULL if they get disposed; add a warning if not
22089
22090 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22091
22092         * gst/gstobject.c:
22093           for 2.6 refcounting, make debug log more correct by printing
22094           the actual refcounts at the time of swap (Wim)
22095
22096 2005-09-29  Andy Wingo  <wingo@pobox.com>
22097
22098         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
22099         removes signal watches previously added via
22100         gst_bus_add_signal_watch.
22101         (gst_bus_add_signal_watch): Don't return the source id, just store
22102         it on the bus if there wasn't an id already.
22103
22104         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
22105         add_signal_watch and remove_signal_watch.
22106
22107 2005-09-29  Edward Hervey  <edward@fluendo.com>
22108
22109         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
22110         Better if we actually iterate the list :)
22111
22112 2005-09-29  Wim Taymans  <wim@fluendo.com>
22113
22114         * check/gst/gstbin.c: (GST_START_TEST):
22115         Change for new bus API.
22116
22117         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22118         (send_messages), (GST_START_TEST), (gstbus_suite):
22119         Change for new bus signal API.
22120
22121         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
22122         (gst_bus_source_prepare), (gst_bus_source_check),
22123         (gst_bus_create_watch), (gst_bus_add_watch_full),
22124         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
22125         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
22126         * gst/gstbus.h:
22127         Remove support for multiple GSources operating on different
22128         message types as it is too complex and unneeded when using
22129         signals.
22130         Added support for receiving signals from the bus.
22131
22132 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22133
22134         * docs/libs/tmpl/gstdataprotocol.sgml:
22135         * docs/manual/advanced-dataaccess.xml:
22136         * gst/elements/gstcapsfilter.c:
22137         * gst/gstutils.c:
22138           rename filter-caps to caps property
22139
22140 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22141
22142         * gst/gstvalue.c: (gst_value_deserialize_fraction):
22143           More robust fraction string parsing.
22144
22145         * docs/pwg/appendix-porting.xml:
22146           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
22147
22148 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22149
22150         * gst/gstcaps.c: (gst_caps_do_simplify):
22151           Thou shalt not free a structure and then continue using it
22152           in the next loop iteration.
22153
22154         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
22155         (gst_caps_suite):
22156           Add test case for caps simplification.
22157
22158 2005-09-29  Wim Taymans  <wim@fluendo.com>
22159
22160         * check/gst/gstbin.c: (GST_START_TEST):
22161         Oops.
22162
22163 2005-09-29  Wim Taymans  <wim@fluendo.com>
22164
22165         * check/gst/gstbin.c: (GST_START_TEST):
22166         Add bus to bin.
22167
22168         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
22169         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22170         (find_element), (gst_bin_sort_iterator_next),
22171         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22172         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22173         (gst_bin_change_state), (gst_bin_dispose):
22174         A bin does not have a bus, it gets the bus from the parent.
22175
22176         * gst/gstelement.c: (gst_element_requires_clock),
22177         (gst_element_provides_clock), (gst_element_is_indexable),
22178         (gst_element_is_locked_state), (gst_element_change_state),
22179         (gst_element_set_bus_func):
22180         Small cleanups.
22181
22182         * gst/gstpipeline.c: (gst_pipeline_class_init),
22183         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
22184         The pipeline provides a bus.
22185
22186 2005-09-28  Johan Dahlin  <johan@gnome.org>
22187
22188         * gst/gstmessage.c (gst_message_parse_state_changed): Use
22189         gst_structure_get_enum instead of gst_structure_get_int
22190
22191         * gst/gststructure.c (gst_structure_get_enum): Impl.
22192
22193         * gst/gststructure.h (gst_structure_get_enum): Add
22194
22195         * docs/gst/gstreamer-sections.txt: Ditto
22196
22197         * gst/gstmessage.c (gst_message_new_state_changed): Use
22198         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
22199         which does introspection.
22200         Reviewed by Christian Schaller
22201
22202 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
22203
22204         * gst/gstinfo.c: (gst_debug_log_default):
22205           don't do dummy g_strdup()s
22206         * libs/gst/controller/gstcontroller.c:
22207         (on_object_controlled_property_changed),
22208         (gst_controlled_property_new), (gst_controller_new_valist),
22209         (gst_controller_new_list),
22210         (gst_controller_remove_properties_valist), (gst_controller_set),
22211         (gst_controller_get), (gst_controller_sync_values),
22212         (gst_controller_get_value_array), (_gst_controller_class_init),
22213         (gst_controller_get_type):
22214         * libs/gst/controller/gstcontroller.h:
22215         * libs/gst/controller/gstinterpolation.c:
22216         (gst_controlled_property_find_timed_value_node):
22217           convert // to /**/ comments
22218
22219 2005-09-28  Wim Taymans  <wim@fluendo.com>
22220
22221         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
22222         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
22223         (gst_bus_sync_signal_handler):
22224         * gst/gstbus.h:
22225         Added async-message and sync-message signals to the bus.
22226         Added helper BusFunc to emit signals for all posted messages.
22227
22228         * gst/gstmessage.c: (gst_message_type_get_name),
22229         (gst_message_type_to_quark), (gst_message_get_type):
22230         * gst/gstmessage.h:
22231         Register quarks for message names.
22232
22233 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
22234
22235         * docs/libs/gstreamer-libs-sections.txt:
22236         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
22237         (gst_controller_new_list):
22238         * libs/gst/controller/gstcontroller.h:
22239           added another constructor for language bindings
22240
22241 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22242
22243         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22244           add another check
22245         * gst/gstbus.c:
22246           add some doc
22247         * gst/gstinfo.c: (_gst_debug_init):
22248           slightly more readable color for refcount debugging
22249
22250 2005-09-28  Wim Taymans  <wim@fluendo.com>
22251
22252         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
22253         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22254         (find_element), (gst_bin_sort_iterator_next),
22255         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22256         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22257         (gst_bin_change_state), (gst_bin_dispose):
22258         Small doc fixes. get_clock -> provide_clock.
22259
22260         * gst/gstelement.c: (gst_element_class_init),
22261         (gst_element_provides_clock), (gst_element_provide_clock),
22262         (gst_element_get_clock), (gst_element_commit_state),
22263         (gst_element_lost_state):
22264         * gst/gstelement.h:
22265         Make get/set_clock() symetric. Add provide_clock vmethod since
22266         that is actually what this function does.
22267
22268         * gst/gstpipeline.c: (gst_pipeline_class_init),
22269         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
22270         (gst_pipeline_get_clock):
22271         get_clock -> provide_clock.
22272
22273 2005-09-28  Andy Wingo  <wingo@pobox.com>
22274
22275         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
22276         lieu of real docs...
22277
22278         * gst/elements/gstfdsrc.c: Cleaned up a bit.
22279
22280 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
22281
22282         * gst/elements/gstcapsfilter.c:
22283         * gst/elements/gstfakesink.c:
22284         * gst/elements/gstfakesrc.c:
22285         * gst/elements/gstfdsink.c:
22286         * gst/elements/gstfdsrc.c:
22287         * gst/elements/gstfilesink.c:
22288         * gst/elements/gstfilesrc.c:
22289         * gst/elements/gstidentity.c:
22290         * gst/elements/gsttee.c:
22291         * gst/elements/gsttypefindelement.c:
22292           Make element details static.
22293
22294 2005-09-28  Wim Taymans  <wim@fluendo.com>
22295
22296         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22297         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22298         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22299         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22300         (gst_bin_change_state), (gst_bin_dispose):
22301         Some documentation updates.
22302         Clean up dispose handlers.
22303
22304         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
22305         * gst/gstpad.c: (gst_pad_dispose):
22306         Clean up dispose handler.
22307
22308         * gst/gstpipeline.c: (gst_pipeline_change_state):
22309         Removed spurious UNLOCK.
22310
22311 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
22312
22313         * docs/gst/gstreamer-sections.txt:
22314         * gst/base/gstbasesrc.h:
22315         * gst/gstelement.h:
22316         * gst/gstevent.h:
22317         * gst/gstobject.h:
22318         * gst/gstpad.h:
22319         * gst/gstpipeline.c:
22320         * gst/gstpipeline.h:
22321         * gst/gstutils.h:
22322         * gst/gstxml.h:
22323           added two new functions to the docs
22324                 documents all undocumented GstXXXFlags
22325                 completed some incomplete docs 
22326
22327 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
22328
22329         * gst/gstbin.c: (gst_bin_dispose):
22330         * gst/gstelement.c: (gst_element_dispose):
22331           remove now useless and leaky resurrection code in dispose
22332         * gst/base/gstbasesrc.c: (gst_base_src_init):
22333         * gst/gstelementfactory.c: (gst_element_factory_create):
22334         * gst/gstobject.c: (gst_object_set_parent):
22335           add some debugging
22336
22337 2005-09-27  Wim Taymans  <wim@fluendo.com>
22338
22339         * docs/design/part-TODO.txt:
22340         Update TODO.
22341
22342         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22343         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22344         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22345         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22346         (gst_bin_change_state):
22347         * gst/gstelement.h:
22348         Remove element variable, we keep element info in the iterator now.
22349
22350 2005-09-27  Andy Wingo  <wingo@pobox.com>
22351
22352         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22353         values.
22354
22355 2005-09-27  Wim Taymans  <wim@fluendo.com>
22356
22357         * check/gst/gstbin.c: (GST_START_TEST):
22358         Enable check that works now.
22359
22360         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22361         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22362         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22363         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22364         (gst_bin_change_state):
22365         * gst/gstbin.h:
22366         Redid the state change algorithm using a topological sort algo.
22367         Handles all cases correctly.
22368         Exposed iterator for state change order.
22369
22370         * gst/gstelement.h:
22371         Temp storage for state changes. Need to get rid of this soon.
22372
22373 2005-09-27  Wim Taymans  <wim@fluendo.com>
22374
22375         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22376         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22377         (link_fold_func), (gst_pad_proxy_setcaps):
22378         Leak fixes, the fold functions need to unref the passed object and
22379         _get_parent_*() returns ref to parent.
22380
22381 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22382
22383         * check/gst/gstbuffer.c: (test_make_writable):
22384           Plug leak in test case and fix 'make check-valgrind'
22385
22386 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22387
22388         * gst/gstbuffer.c: (gst_subbuffer_init):
22389           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22390           works correctly in all circumstances (we could have just copied
22391           the parent buffer's readonly flag, but conceptually it seems
22392           cleaner to mark all subbuffers as read-only). (based on patch
22393           by Alessandro Decina, #314710).
22394         
22395         * check/gst/gstbuffer.c: (create_read_only_buffer),
22396         (test_make_writable), (test_subbuffer_make_writable),
22397         (gst_test_suite):
22398           Add some tests for gst_buffer_make_writable().
22399
22400 2005-09-27  Wim Taymans  <wim@fluendo.com>
22401
22402         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22403         use gst_object_has_ancestor().
22404
22405         * gst/gstobject.c: (gst_object_has_ancestor):
22406         * gst/gstobject.h:
22407         gst_object_has_ancestor() copied from gstbin.c as it is a
22408         useful function.
22409
22410         * tests/instantiate/create.c: (create_all_elements):
22411         * tests/lat.c: (handoff_src), (handoff_sink):
22412         * tests/sched/runxml.c: (main):
22413         * tests/seeking/seeking1.c: (main):
22414         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22415         (main):
22416         Fix compilation of some tests.
22417
22418 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22419
22420         * gst/gsterror.h:
22421           Remove comment. GST_TYPE_G_ERROR is here to stay,
22422           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22423           (#316961, #300610).
22424
22425 2005-09-26  Wim Taymans  <wim@fluendo.com>
22426
22427         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22428         Added check that shows error in state change order.
22429
22430 2005-09-26  Wim Taymans  <wim@fluendo.com>
22431
22432         * gst/gstbin.c: (gst_bin_change_state):
22433         Make state change function use 3 queues again, we were
22434         adding elements in the wrong order.
22435
22436         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22437         Some debug info,
22438
22439         * gst/gstpad.c: (gst_pad_dispose):
22440         Added some debug info first.
22441
22442 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
22443
22444         * docs/design/draft-push-pull.txt:
22445         * docs/design/part-events.txt:
22446         * docs/design/part-overview.txt:
22447         * docs/design/part-scheduling.txt:
22448           Replace all _pull_region() with _pull_range()
22449           
22450 2005-09-26  Andy Wingo  <wingo@pobox.com>
22451
22452         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22453
22454         * check/gst-libs/controller.c: Update for controller api change.
22455
22456         * configure.ac: 
22457         * tests/Makefile.am:
22458         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22459         over by GLib bug 118439.
22460         
22461         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22462         routines to a function.
22463
22464         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22465
22466         * libs/gst/controller/gsthelper.c:
22467         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22468         (gst_object_sync_values): Renamed from sink_values. Ugh.
22469
22470         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22471
22472         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22473         Renamed from controller_key, as it is exported.
22474
22475         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22476
22477 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
22478
22479         * gst/Makefile.am:
22480         * gst/gst.h:
22481         * gst/gstpad.h:
22482         * gst/gstpadtemplate.h:
22483         * gst/gstquery.c:
22484         * gst/gstquery.h:
22485         * gst/gstqueryutils.c:
22486         * gst/gstqueryutils.h:
22487           remove queryutils headers after moving the two used functions
22488           to gstquery.  also fixes build problem for gstsiddec
22489
22490 2005-09-26  Michael Smith <msmith@fluendo.com>
22491
22492         * tools/gst-launch.1.in:
22493         Correct documentation in manpage of debug syntax
22494
22495 2005-09-26  Wim Taymans  <wim@fluendo.com>
22496
22497         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22498         (gst_base_src_is_seekable), (gst_base_src_change_state):
22499         Some more debugging info.
22500
22501 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22502
22503         * docs/gst/gstreamer-sections.txt:
22504         * gst/base/gstbasetransform.h:
22505         * gst/gstindex.h:
22506           added more docs
22507
22508 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22509
22510         * docs/gst/.cvsignore:
22511         * docs/gst/tmpl/.cvsignore:
22512         * docs/gst/tmpl/gstpipeline.sgml:
22513         * docs/gst/tmpl/gstplugin.sgml:
22514         * gst/gstpipeline.c:
22515         * gst/gstplugin.c:
22516         * gst/gstplugin.h:
22517           inlined the last two docs files
22518           removed the tmpl directory from cvs (no more conflicts here!)
22519
22520 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22521
22522         * docs/gst/gstreamer-sections.txt:
22523         * docs/gst/tmpl/.cvsignore:
22524         * docs/gst/tmpl/gstpad.sgml:
22525         * docs/gst/tmpl/gstpadtemplate.sgml:
22526         * gst/Makefile.am:
22527         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22528         (gst_pad_finalize), (gst_pad_set_pad_template):
22529         * gst/gstpad.h:
22530         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22531         (gst_pad_template_class_init), (gst_pad_template_init),
22532         (gst_pad_template_dispose), (name_is_valid),
22533         (gst_static_pad_template_get), (gst_pad_template_new),
22534         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22535         (gst_pad_template_pad_created):
22536         * gst/gstpadtemplate.h:
22537           inlined two more docs
22538           factored gstpadtemplate out of gstpad
22539
22540 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
22541
22542         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22543         (test_children_state_change_order_semi_sink):
22544           Fix test case: we can't rely on a fixed state change order when
22545           going from READY => PAUSED because the sink might commit its 
22546           new state first when the first buffer created by the source 
22547           reaches the sink before the source has finished its change state.
22548           (Test case still fails at times, see #316856, comment 5 onwards)
22549
22550 2005-09-24  Wim Taymans  <wim@fluendo.com>
22551
22552         * docs/design/part-events.txt:
22553         * docs/design/part-gstbus.txt:
22554         * docs/design/part-gstpipeline.txt:
22555         * docs/design/part-messages.txt:
22556         * docs/design/part-overview.txt:
22557         * docs/design/part-segments.txt:
22558         * gst/gstbin.c:
22559         * gst/gstbuffer.c:
22560         * gst/gstclock.c:
22561         * gst/gstelement.c:
22562         * gst/gstevent.c:
22563         * gst/gstfilter.c:
22564         * gst/gstiterator.c:
22565         Various documentation updates.
22566
22567 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22568
22569         * gst/gstclock.h:
22570           Well, that's embarassing.  Luckily we weren't using
22571           GST_CLOCK_DIFF anywhere.
22572
22573 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22574
22575         * common/gtk-doc.mak:
22576           don't fail on building XML, FC4 slave shows a bunch of doc
22577           missing bits that I don't get
22578         * gst/gstpad.c:
22579         * gst/gstpipeline.c:
22580         * gst/gststructure.c:
22581           some doc updates
22582
22583 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
22584
22585         * docs/design/part-gstbin.txt:
22586         * docs/design/part-gstbus.txt:
22587         * gst/gstbus.c:
22588           Add blurb about how the bus goes into flushing mode and
22589           drops all messages when its bin goes from READY into NULL 
22590           state.
22591
22592 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22593
22594         * docs/gst/gstreamer-sections.txt:
22595         * gst/gststructure.c: (gst_structure_get_clock_time):
22596         * gst/gststructure.h:
22597           add a method to get a GstClockTime out of a structure
22598
22599 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
22600
22601         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22602         (test_children_state_change_order_semi_sink), (gst_bin_suite):
22603           Added test to check state change order in bins (can still be made
22604           to fail here under heavy disk load; bails out with 'Push on pad
22605           fakesink:sink0, but it was not activated in push mode').
22606
22607         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
22608           Fix state change order when there is only a semi sink (#316856)
22609
22610         * gst/gstbus.c: (gst_bus_class_init):
22611           Use _class_peek_parent(), not _class_ref(); fix docs to say
22612           'default main context' instead of 'mainloop' where that is
22613           what's meant.
22614
22615         * gst/gstelement.c: (gst_element_commit_state),
22616         (gst_element_set_state):
22617           Fix typos in debug messages
22618
22619 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22620
22621         * docs/README:
22622         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
22623         * gst/gstpluginfeature.c:
22624         * gst/gstutils.c:
22625           various doc updates
22626         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22627           change an assert into an error until it gets fixed properly
22628
22629 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
22630
22631         * docs/gst/gstreamer-sections.txt:
22632         * docs/gst/tmpl/.cvsignore:
22633         * docs/gst/tmpl/gstelement.sgml:
22634         * docs/gst/tmpl/gstinfo.sgml:
22635         * docs/gst/tmpl/gstobject.sgml:
22636         * gst/gstelement.c:
22637         * gst/gstelement.h:
22638         * gst/gstinfo.c:
22639         * gst/gstinfo.h:
22640         * gst/gstobject.c: (gst_object_class_init):
22641         * gst/gstobject.h:
22642           inlined 3 more biiiig doc files and added some missing docs on the fly
22643
22644 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22645
22646         * check/gst/.cvsignore:
22647         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
22648         * gst/gstregistryxml.c: (load_plugin),
22649         (gst_registry_xml_save_plugin):
22650           put back source in registry.  add checks for find_plugin.
22651         * testsuite/states/bin.c: (assert_state), (empty_bin),
22652         (test_adding_one_element), (main):
22653         * testsuite/states/locked.c: (main):
22654           some compile/run fixes
22655
22656 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22657
22658         * check/gst/gstvalue.c: (GST_START_TEST):
22659           fix leaks in the test itself
22660
22661 2005-09-22  Wim Taymans  <wim@fluendo.com>
22662
22663         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22664         (gst_base_sink_send_event), (gst_base_sink_peer_query),
22665         (gst_base_sink_query):
22666         Prepare for more accurate position reporting and query
22667         handling.
22668
22669         * gst/gstelement.c: (gst_element_send_event),
22670         (gst_element_set_state):
22671         Add some comment.
22672
22673 2005-09-22  Wim Taymans  <wim@fluendo.com>
22674
22675         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
22676         (gst_query_parse_segment):
22677         * gst/gstquery.h:
22678         More documentation.
22679         Add segment query for future use.
22680
22681 2005-09-22  Wim Taymans  <wim@fluendo.com>
22682
22683         * gst/gstbin.c: (gst_bin_add_func):
22684         Some more debug info.
22685
22686         * gst/gstelement.c: (gst_element_send_event):
22687         Simplify send_event
22688
22689         * gst/gstelement.h:
22690         Don't know how flags got broken.
22691
22692         * gst/gstquery.h:
22693         Added new query.
22694
22695 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
22696
22697         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
22698           Add simplistic test suite for GST_TYPE_DATE serialisation and
22699           deserialisation.
22700
22701 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
22702
22703         * docs/gst/gstreamer-sections.txt:
22704         * gst/gststructure.c: (gst_structure_set_valist),
22705         (gst_structure_get_date):
22706         * gst/gststructure.h:
22707         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
22708         (gst_date_copy), (gst_value_compare_date),
22709         (gst_value_serialize_date), (gst_value_deserialize_date),
22710         (gst_value_transform_date_string),
22711         (gst_value_transform_string_date), (_gst_value_initialize):
22712         * gst/gstvalue.h:
22713           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
22714           bunch of utility functions along with a hack that checks that
22715           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
22716           is required. Part of the grand scheme in #170777.
22717
22718 2005-09-22  Andy Wingo  <wingo@pobox.com>
22719
22720         * gst/gstconfig.h.in: Psych out gtk-doc.
22721
22722         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
22723
22724         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
22725
22726         * tools/gst-inspect.c (print_element_list): Plug some
22727         inconsequential leaks.
22728
22729         * gst/gstregistry.c (gst_registry_get_default): Doc.
22730
22731         * check/gst/gstplugin.c: 
22732         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
22733         * gst/gstelementfactory.c (gst_element_factory_create): 
22734         * gst/gstindexfactory.c (gst_index_factory_create): Update for
22735         refcount changes.
22736
22737         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
22738         (gst_plugin_feature_load): Doc, don't eat refs.
22739
22740         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
22741         (gst_plugin_list_free): Doc.
22742         (gst_plugin_load_file): Doc updates.
22743
22744         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
22745         accessors returning refcounted objects, return a ref.
22746
22747         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
22748         accessor for caps. IDEMPOTENCE. Oh yes.
22749
22750 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
22751
22752         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
22753
22754         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22755         (_gst_debug_register_funcptr):
22756           Add mutex to serialise access to the hash table with
22757           the function pointer => function name string mapping;
22758           make that hash table static scope (#316809).
22759
22760         * gst/registries/.cvsignore:
22761           Remove left-over file.
22762
22763 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
22764
22765         * docs/pwg/appendix-porting.xml:
22766           And something about newsegment events and caps-on-buffers to
22767           the porting guide (feel free to improve).
22768
22769 2005-09-21  Andy Wingo  <wingo@pobox.com>
22770
22771         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
22772         data and event probes on the same pad.
22773         (test_buffer_probe_once): Test that removing probes from within
22774         the probe functions works.
22775
22776 2005-09-21  Andy Wingo  <wingo@pobox.com>
22777
22778         * check/gst/gstutils.c: New file.
22779         (test_buffer_probe_n_times): A simple buffer probe test. More to
22780         come, foolios.
22781
22782         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
22783         have-data::buffer, not have-data.
22784         (gst_pad_add_event_probe): Likewise for have-data::event.
22785         (gst_pad_add_data_probe): More docs. The part about 'resolving the
22786         peer' isn't quite right yet though.
22787         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
22788         (gst_pad_remove_data_probe): Change to take the guint handler_id
22789         as their arg, not the function+data, which is more glib-like.
22790
22791         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
22792         the signal emission to indicate if the data is a buffer or an
22793         event.
22794         (gst_pad_get_type): Initialize buffer and event quarks.
22795         (gst_pad_class_init): have-data is now a detailed signal, yes it
22796         is.
22797
22798 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
22799
22800         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22801         * gst/gstutils.c: (gst_util_set_value_from_string),
22802         (gst_util_set_object_arg):
22803           Don't put functional code in g_return_if_fail() or
22804           g_return_val_if_fail() statements, otherwise things will 
22805           break when G_DISABLE_CHECKS is defined during compilation.
22806
22807 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22808
22809         * docs/gst/tmpl/.cvsignore:
22810         * docs/gst/tmpl/gstvalue.sgml:
22811         * gst/gstvalue.c:
22812         * gst/gstvalue.h:
22813           inlied another one and added  some obvious docs
22814
22815 2005-09-21  Wim Taymans  <wim@fluendo.com>
22816
22817         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
22818         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
22819         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
22820         (gst_fdsrc_get_property), (gst_fdsrc_create):
22821         * gst/elements/gstfdsrc.h:
22822         Properly implement fdsrc. Removed signal and timeout,
22823         better implemented somewhere else.
22824
22825 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22826
22827         * docs/gst/tmpl/.cvsignore:
22828         * docs/gst/tmpl/gstimplementsinterface.sgml:
22829         * gst/gstinterface.c:
22830           inlined more docs
22831
22832 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22833
22834         * docs/gst/gstreamer-sections.txt:
22835         * docs/gst/tmpl/.cvsignore:
22836         * docs/gst/tmpl/gstenumtypes.sgml:
22837           remove obsolete doc file
22838
22839 2005-09-21  David Schleef  <ds@schleef.org>
22840
22841         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
22842         little beer, fix a little leak.
22843
22844 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22845
22846         * docs/gst/gstreamer-docs.sgml:
22847         * docs/gst/gstreamer-sections.txt:
22848         * docs/gst/tmpl/.cvsignore:
22849         * gst/Makefile.am:
22850         * gst/gst.h:
22851         * gst/gstbin.c:
22852         * gst/gstelement.h:
22853         * gst/gstindex.c: (gst_index_class_init):
22854         * gst/gstindex.h:
22855         * gst/gstindexfactory.c: (gst_index_factory_get_type),
22856         (gst_index_factory_class_init), (gst_index_factory_init),
22857         (gst_index_factory_finalize), (gst_index_factory_new),
22858         (gst_index_factory_destroy), (gst_index_factory_find),
22859         (gst_index_factory_create), (gst_index_factory_make):
22860         * gst/gstindexfactory.h:
22861         * gst/gstpluginfeature.c:
22862         * gst/gstpluginfeature.h:
22863         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22864           more docs inlined, splitted gstindex.{c,h}
22865
22866 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22867
22868         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22869           fix a leak
22870
22871 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
22872
22873         * gst/elements/gstfilesink.c: (gst_file_sink_init):
22874           Set sync to FALSE by default.
22875
22876 2005-09-20  Wim Taymans  <wim@fluendo.com>
22877
22878         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22879         (gst_base_sink_init):
22880         Make sync property settable from subclass.
22881
22882         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
22883         (gst_fake_sink_change_state):
22884         Set sync to FALSE by default.
22885
22886 2005-09-20  Wim Taymans  <wim@fluendo.com>
22887
22888         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
22889         * tools/gst-launch.c: (main):
22890         The timeout handler should have lower priority than the source
22891         so we don't timeout before popping a message with 0 timeout.
22892         Dump error messages after failed state change.
22893
22894 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
22895
22896         * tools/gst-inspect.c: (print_element_properties_info):
22897           Fix two typos.
22898
22899 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22900
22901         * check/gst/gstevent.c:
22902         * gst/elements/gstfakesink.c:
22903         * gst/elements/gstfakesink.h:
22904           remove the sync property from fakesink.
22905           has the side effect of setting sync TRUE
22906           for fakesink, which is a change.  Anyone who knows how
22907           to fix this nicely in a GObject-y way, feel free.
22908
22909 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22910
22911         * docs/gst/gstreamer-docs.sgml:
22912           remove probe refsection
22913
22914 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22915
22916         * check/Makefile.am:
22917           disable valgrinding the controller test again
22918         * docs/gst/gstreamer-sections.txt:
22919           update for api-changes
22920
22921 2005-09-20  Wim Taymans  <wim@fluendo.com>
22922
22923         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22924         (gst_base_sink_set_property), (gst_base_sink_get_property),
22925         (gst_base_sink_do_sync):
22926         * gst/base/gstbasesink.h:
22927         Added sync property to basesink to disable clock sync.
22928
22929 2005-09-20  Andy Wingo  <wingo@pobox.com>
22930
22931         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
22932         eating the caller's refcount.
22933
22934         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
22935         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
22936         refcount.
22937
22938         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
22939         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
22940         of GLib 2.8 public, so we can know which refcount to check in
22941         tests.
22942
22943         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
22944         (gst_object_init): Only set the gst refcount if we're going ahead
22945         with the refcount hack.
22946
22947 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22948
22949         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22950         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22951           more leaks plumbed, added more debug-logging
22952         * gst/gstmacros.h:
22953           whitespace fix
22954
22955 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22956
22957         * gst/gstmessage.c:
22958           remove include of gstmemchunk.h
22959
22960 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22961
22962         * gst/gstclock.c: (_gst_clock_id_free):
22963           Commit from the Political Party For More Atomic CVS Commits,
22964           so that people don't waste too much of their day fishing
22965           out obvious leaks out of massive commits.
22966           Oh, and fix a pretty damn obvious leak in the memchunk
22967           removal code.
22968
22969 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22970
22971         * check/Makefile.am:
22972         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22973           plug mem-leak, re-add to valgrindable tests
22974
22975 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22976
22977         * gst/gstplugin.h:
22978           unbreak the build for those who have chronic arthritis
22979           and typing "make check" is just too taxing on the hands
22980
22981 2005-09-20  Andy Wingo  <wingo@pobox.com>
22982
22983         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
22984         really want it out, you should fix plugins at the same time.
22985
22986 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
22987
22988         * configure.ac:
22989         * docs/gst/gstreamer-sections.txt:
22990         * gst/gstobject.c:
22991           added missing symbols to api docs
22992           disable ref-count hack if we have glib >= 2.8
22993
22994 2005-09-19  David Schleef  <ds@schleef.org>
22995
22996         * docs/gst/Makefile.am: Ignore a few more internal headers
22997         * docs/gst/gstreamer-docs.sgml: Remove old sections
22998         * docs/gst/gstreamer-sections.txt: Remove old sections
22999         * docs/gst/tmpl/gstobject.sgml: update
23000         * docs/gst/tmpl/gstplugin.sgml: update
23001         * docs/gst/tmpl/gstpluginfeature.sgml: update
23002         * docs/random/ds/0.9-suggested-changes: update.
23003         * gst/Makefile.am: remove memchunk and trashstack, since they're
23004           not used.
23005         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
23006         * gst/gst.h: don't include some headers
23007         * gst/gstchildproxy.c: add gstmarshal.h
23008         * gst/gstclock.c: Don't use memchunks
23009         * gst/gstminiobject.c: Add some docs
23010         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
23011         * gst/gstobject.h: same
23012         * gst/gstplugin.c: include gstmacros.h
23013         * gst/gstplugin.h: don't include gstmacros.h, since it's private
23014         * gst/gstquery.c: don't use memchunks
23015         * gst/gstregistry.c: rename gst_registry_deinit()
23016         * gst/gstregistry.h: same
23017
23018 2005-09-19  David Schleef  <ds@schleef.org>
23019
23020         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
23021         * docs/libs/gstreamer-libs-sections.txt:
23022         * docs/libs/tmpl/gstgetbits.sgml:
23023         * docs/libs/tmpl/gstputbits.sgml:
23024
23025 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
23026
23027         * win32/gstenumtypes.c:
23028         * win32/gstenumtypes.h:
23029           Update.
23030
23031 2005-09-19  Wim Taymans  <wim@fluendo.com>
23032
23033         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
23034         Automatically PAUSE and RESUME a pipeline when a flushing seek
23035         is performed.
23036
23037 2005-09-19  Andy Wingo  <wingo@pobox.com>
23038
23039         * gst/gstregistry.h: Spacing fixen.
23040
23041 2005-09-19  Wim Taymans  <wim@fluendo.com>
23042
23043         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
23044         Handle state change failure more correctly.
23045
23046 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23047
23048         * check/Makefile.am:
23049         * check/pipelines/cleanup.c: (run_pipeline):
23050         * check/pipelines/simple_launch_lines.c: (run_pipeline),
23051         (GST_START_TEST):
23052           enable cleanup again after fixing the leak
23053         * docs/README:
23054           some more info on docs
23055
23056 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23057
23058         * check/Makefile.am:
23059           re-enable tests now that leaks are plugged
23060         * check/gst/gst.c:
23061         * check/gst/gstbin.c:
23062         * check/gst/gstpipeline.c:
23063           add some more tests while fixing leaks
23064         * common/check.mak:
23065           make sure binaries are uptodate when valgrinding/gdbing
23066         * gst/gst.c:
23067         * gst/gstelementfactory.c:
23068           remove a ref too many, and add a FIXME for when we get
23069           round to disposing of classes
23070         * gst/gstplugin.c:
23071           fix the refcounting when loading a plugin from a file and
23072           the code pretends that the pointer is the same even though
23073           of course it can change
23074         * gst/gstpluginfeature.c:
23075           unref plugins marked cached (a bit confusing as a name)
23076           as the docs state should be done
23077           various doc additions to explain refcounting
23078         * gst/gstregistry.c:
23079         * gst/gstregistryxml.c:
23080           debugging
23081
23082 2005-09-19  Wim Taymans  <wim@fluendo.com>
23083
23084         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
23085         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23086         (send_messages), (GST_START_TEST), (gstbus_suite):
23087         * check/gst/gstpipeline.c: (GST_START_TEST):
23088         * check/pipelines/cleanup.c: (run_pipeline):
23089         * check/pipelines/simple_launch_lines.c: (run_pipeline),
23090         (GST_START_TEST):
23091         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
23092         (gst_bus_source_check), (gst_bus_source_dispatch),
23093         (gst_bus_create_watch), (gst_bus_add_watch_full),
23094         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
23095         * gst/gstbus.h:
23096         * tools/gst-launch.c: (event_loop):
23097         * tools/gst-md5sum.c: (event_loop):
23098         GstBusHandler -> GstBusFunc, return value has the same meaning as
23099         any other GSource (FALSE == remove source).
23100         _add_watch() and _add_watch_full() now take a MessageType mask to
23101         only handle specific types of messages.
23102         _poll() returns the GstMessage instead of the message type to avoid
23103         race conditions.
23104         _have_pending() takes a MessageType mask now too.
23105         Added testsuite for multiple bus watches.
23106         Fix testsuites and applications for new bus API.
23107
23108 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23109
23110         * check/Makefile.am:
23111           mark a bunch of the tests as to fix until we fix them
23112
23113 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23114
23115         * common/check.mak:
23116           use GST_PLUGIN settings for valgrind tests as well, so we're
23117           valgrinding the correct thing
23118         * gst/gst.c: (init_post):
23119           plug another leak
23120
23121 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23122
23123         * gst/gst.c: (init_post), (gst_deinit):
23124         * gst/gstelementfactory.c: (gst_element_factory_class_init),
23125         (gst_element_factory_finalize), (gst_element_factory_cleanup):
23126         * gst/gstindex.c: (gst_index_factory_class_init),
23127         (gst_index_factory_finalize):
23128         * gst/gstobject.c: (gst_object_dispose):
23129         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
23130         (gst_plugin_load_file), (gst_plugin_desc_free):
23131         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
23132         (gst_plugin_feature_finalize):
23133         * gst/gstregistry.c: (gst_registry_class_init),
23134         (gst_registry_init), (gst_registry_finalize),
23135         (gst_registry_get_default), (gst_registry_deinit):
23136         * gst/gstregistry.h:
23137         * gst/gstregistryxml.c: (load_feature), (load_plugin):
23138           various cleanups and memleak plugging.  make valgrind is happy now.
23139
23140 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23141
23142         * common/check.mak:
23143           add a check-valgrind target
23144
23145 2005-09-18  David Schleef  <ds@schleef.org>
23146
23147         * tools/gst-inspect.c: Revert the GOption code.
23148
23149 2005-09-17  David Schleef  <ds@schleef.org>
23150
23151         * check/Makefile.am: Fix environment variables.
23152         * check/gst/gstplugin.c: Fix for API changes.
23153         * tools/gst-inspect.c: Fix for API changes.
23154         * tools/gst-xmlinspect.c: Fix for API changes.
23155         * gst/gstelementfactory.c:
23156         * gst/gstplugin.c:
23157         * gst/gstplugin.h:
23158         * gst/gstpluginfeature.c:
23159         * gst/gstpluginfeature.h:
23160         * gst/gstregistry.c:
23161         * gst/gstregistry.h:
23162         * gst/gstregistryxml.c:
23163         * gst/gsttypefind.c:
23164         * gst/gsttypefindfactory.c:
23165         * gst/indexers/gstfileindex.c:
23166         * gst/indexers/gstmemindex.c:
23167         * gst/schedulers/Makefile.am:
23168           Change registry to keep track of both plugins and features,
23169           removing the feature tracking from plugins themselves.
23170
23171 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
23172
23173         * check/Makefile.am:
23174         * tools/gst-register.1.in:
23175           remove gst-register
23176
23177 2005-09-15  David Schleef  <ds@schleef.org>
23178
23179         * check/gst/gstplugin.c:
23180         * gst/gstelementfactory.c:
23181         * gst/gstplugin.c:
23182         * gst/gstpluginfeature.c:
23183         * gst/gstregistry.c:
23184           Getting tired of debugging.  Disabled all the unreffing of
23185           plugins and features, which fixes the segfaults, but of
23186           course leaks like crazy.  At least playbin works.
23187
23188 2005-09-15  David Schleef  <ds@schleef.org>
23189
23190         * check/gst/gstplugin.c: (register_check_elements),
23191         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
23192         More testing
23193         * gst/elements/gsttypefindelement.c: Fix refcounting.
23194         * gst/gsttypefind.c:
23195         * gst/gsttypefindfactory.c:
23196         * gst/gsttypefindfactory.h:
23197
23198 2005-09-15  David Schleef  <ds@schleef.org>
23199
23200         * gst/gstindex.c: get refcounting correct.
23201         * gst/gstregistry.c: Handle the case where a feature/plugin is
23202           not found.
23203
23204 2005-09-15  David Schleef  <ds@schleef.org>
23205
23206         * check/Makefile.am:
23207         * check/gst/gstplugin.c: Add test
23208         * gst/gstplugin.c: Fix problems noticed by testsuite
23209         * gst/gstplugin.h:
23210         * gst/gstregistry.c: 
23211         * gst/gstregistry.h:
23212
23213 2005-09-15  David Schleef  <ds@schleef.org>
23214
23215         * gst/gstplugin.c: Implement semi-decent recounting and locking
23216           in plugins and plugin features.
23217         * gst/gstplugin.h:
23218         * gst/gstpluginfeature.c:
23219         * gst/gstpluginfeature.h:
23220         * gst/gstregistry.c:
23221
23222 2005-09-15  Michael Smith <msmith@fluendo.com>
23223
23224         * gst/gstregistry.c: (gst_registry_get_feature_list):
23225           Implement this. Makes oggdemux work; decodebin still broken.
23226
23227 2005-09-14  David Schleef  <ds@schleef.org>
23228
23229         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
23230           #316076)
23231         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
23232         * gst/check/Makefile.am:
23233         * libs/gst/controller/Makefile.am:
23234         * libs/gst/dataprotocol/Makefile.am:
23235
23236 2005-09-14  David Schleef  <ds@schleef.org>
23237
23238         * configure.ac: Remove getbits library.  Nothing uses it, and
23239           it should be in something like liboil if someone did want
23240           to use it.
23241         * libs/gst/Makefile.am:
23242         * libs/gst/getbits/Makefile.am:
23243         * libs/gst/getbits/gbtest.c:
23244         * libs/gst/getbits/getbits.c:
23245         * libs/gst/getbits/getbits.h:
23246         * libs/gst/getbits/gstgetbits_generic.c:
23247         * libs/gst/getbits/gstgetbits_i386.s:
23248         * libs/gst/getbits/gstgetbits_inl.h:
23249
23250 2005-09-14  David Schleef  <ds@schleef.org>
23251
23252         * gst/Makefile.am: Dist glib-compat.h
23253
23254 2005-09-14  David Schleef  <ds@schleef.org>
23255
23256         * configure.ac: Remove gst/registries, since it's no longer used.
23257         * gst/registries/Makefile.am:
23258         * gst/registries/gstlibxmlregistry.c:
23259         * gst/registries/gstlibxmlregistry.h:
23260         * gst/registries/gstxmlregistry.c:
23261         * gst/registries/gstxmlregistry.h:
23262         * gst/registries/registrytest.c:
23263
23264 2005-09-14  David Schleef  <ds@schleef.org>
23265
23266         * gst/glib-compat.h:
23267         * gst/gstregistryxml.c:
23268           Convergence is near.  Seriously.
23269
23270 2005-09-14  David Schleef  <ds@schleef.org>
23271
23272         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23273         * gst/glib-compat.h:
23274           Attempt #4 to appease the buildbots.
23275
23276 2005-09-14  David Schleef  <ds@schleef.org>
23277
23278         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23279           Attempt #3.
23280
23281 2005-09-14  David Schleef  <ds@schleef.org>
23282
23283         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23284         Attempt #2.
23285
23286 2005-09-14  David Schleef  <ds@schleef.org>
23287
23288         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
23289           the new functions.
23290
23291 2005-09-14  David Schleef  <ds@schleef.org>
23292
23293         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23294         * gst/glib-compat.h: Add some functions that are in newer versions
23295           of glib than we care to require.
23296         * gst/gstregistryxml.c: Use them.
23297
23298 2005-09-14  David Schleef  <ds@schleef.org>
23299
23300         * po/POTFILES.in: remove gst-register.c
23301
23302 2005-09-14  David Schleef  <ds@schleef.org>
23303
23304         * docs/gst/gstreamer-docs.sgml:
23305         * docs/gst/gstreamer-sections.txt:
23306         * docs/gst/gstreamer.types:
23307         * docs/gst/tmpl/gstelement.sgml:
23308         * docs/gst/tmpl/gstplugin.sgml:
23309         * docs/gst/tmpl/gstpluginfeature.sgml:
23310           Documentation updates for registry changes.
23311
23312 2005-09-14  David Schleef  <ds@schleef.org>
23313
23314         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
23315           because we don't require glib-2.8.
23316
23317 2005-09-14  David Schleef  <ds@schleef.org>
23318
23319         * gst/gstregistryxml.c: Added.  Essentially moved out of the
23320           registries directory.
23321
23322 2005-09-14  David Schleef  <ds@schleef.org>
23323
23324         * check/Makefile.am:
23325         * check/generic/states.c:
23326         * gst/Makefile.am:
23327         * gst/gst.c:
23328         * gst/gst.h:
23329         * gst/gst_private.h:
23330         * gst/gstelementfactory.c:
23331         * gst/gstindex.c:
23332         * gst/gstinfo.c:
23333         * gst/gstplugin.c:
23334         * gst/gstplugin.h:
23335         * gst/gstpluginfeature.c:
23336         * gst/gstpluginfeature.h:
23337         * gst/gstregistry.c:
23338         * gst/gstregistry.h:
23339         * gst/gstregistrypool.c: remove
23340         * gst/gstregistrypool.h: remove
23341         * gst/gsttypefind.c:
23342         * gst/gsttypefindfactory.c:
23343         * gst/gsturi.c:
23344         * tools/Makefile.am:
23345         * tools/gst-compprep.c:
23346         * tools/gst-inspect.c:
23347         * tools/gst-register.c: remove
23348         * tools/gst-xmlinspect.c:
23349           Registry rewrite.  Changes registry from being a file created
23350           by a tool into a simple cache file created automatically by 
23351           libgstreamer.  Removed gst-register (because it's no longer
23352           needed).  Remove registry pools, because we only have one
23353           registry implementation (XML).  Fix up other subsystems as
23354           necessary.
23355
23356 2005-09-13  Michael Smith <msmith@fluendo.com>
23357
23358         * gst/gstconfig.h.in:
23359           Don't Use windows linking attributes for MinGW. Fixes #316157
23360
23361 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23362
23363         * gst/gstutils.c: (set_state_async_thread_func),
23364         (gst_element_set_state_async):
23365           Apparently people think it's better if this function doesn't
23366           try to set the state to whatever state was asked for on the first
23367           call to this function for any object.  Seriously.
23368
23369 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23370
23371         * check/gst/gstpipeline.c: (GST_START_TEST):
23372         * docs/gst/gstreamer-sections.txt:
23373         * gst/gstutils.c: (set_state_async_thread_func),
23374         (gst_element_set_state_async):
23375         * gst/gstutils.h:
23376           add a "gst_element_set_state_async" method that
23377           sets the state and starts a thread to make sure the state
23378           change completes as best as it can
23379
23380 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23381
23382         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23383           codify design+behaviour in testsuite after discussion
23384
23385 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23386
23387         * docs/gst/tmpl/gstelement.sgml:
23388         * docs/manual/appendix-quotes.xml:
23389           add a quote
23390         * gst/gstelement.c: (gst_element_set_state):
23391           add some debug
23392
23393 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
23394
23395         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23396         (gst_base_transform_prepare_output_buf),
23397         (gst_base_transform_handle_buffer):
23398         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23399         (gst_capsfilter_prepare_buf):
23400           Remove the requirement for sub-classes to call the parent
23401           implementation of prepare_output_buffer with a wrapper function.
23402           
23403         * gst/gsttaglist.h:
23404         * gst/gsttagsetter.h:
23405           Fix #define wrapper
23406
23407 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
23408
23409         * docs/gst/gstreamer-sections.txt:
23410           more doc cleanups
23411
23412 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23413
23414         * docs/gst/gstreamer-sections.txt:
23415         * docs/gst/tmpl/gstelement.sgml:
23416         * docs/gst/tmpl/gstplugin.sgml:
23417         * gst/gstminiobject.c:
23418         * gst/gstvalue.h:
23419           docs now stop throwing warnings
23420
23421 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23422
23423         * docs/gst/gstreamer-sections.txt:
23424         * docs/gst/gstreamer.types:
23425         * docs/gst/tmpl/gstpad.sgml:
23426         * docs/gst/tmpl/gsttypes.sgml:
23427         * gst/base/gstadapter.h:
23428         * gst/base/gstbasesink.h:
23429         * gst/base/gstbasesrc.h:
23430         * gst/gstbin.h:
23431         * gst/gstbuffer.h:
23432         * gst/gstbus.h:
23433         * gst/gstcaps.h:
23434         * gst/gstclock.h:
23435         * gst/gstelement.h:
23436         * gst/gstevent.h:
23437         * gst/gstmessage.h:
23438         * gst/gstpad.h:
23439         * gst/gststructure.c:
23440         * gst/registries/gstlibxmlregistry.h:
23441           various documentation fixes
23442
23443 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23444
23445         * docs/gst/gstreamer-sections.txt:
23446         * docs/gst/tmpl/gstvalue.sgml:
23447           rearrange gstvalue section
23448         * gst/gstutils.c: (gst_element_state_get_name):
23449           NONE -> VOID
23450         * gst/gstvalue.c: (_gst_value_initialize):
23451         * gst/gstvalue.h:
23452           doc updates
23453
23454 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
23455
23456         * check/gst-libs/controller.c:
23457           Header include fix.
23458         * gst/base/gstbasetransform.c:
23459         (gst_base_transform_default_prepare_buf),
23460         (gst_base_transform_handle_buffer):
23461         * gst/base/gstbasetransform.h:
23462           Some more basetransform changes and fixes to enable sub-classes
23463           that modify buffer metadata only.
23464         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23465         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23466         (gst_capsfilter_prepare_buf):
23467           If the output pad has fixed allowed caps and input buffers 
23468           don't have any, set the fixed caps on outgoing buffers.
23469
23470 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
23471         * check/elements/identity.c: (GST_START_TEST):
23472           Make the error a little clearer when the test fails because
23473           identity made a copy of the buffer.
23474         * docs/gst/gstreamer-sections.txt:
23475           New symbols in gstbasetransform.h
23476         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23477         (gst_base_transform_init), (gst_base_transform_transform_size),
23478         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23479         (gst_base_transform_default_prepare_buf),
23480         (gst_base_transform_get_unit_size),
23481         (gst_base_transform_buffer_alloc),
23482         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23483         (gst_base_transform_change_state),
23484         (gst_base_transform_set_passthrough),
23485         (gst_base_transform_set_in_place),
23486         (gst_base_transform_is_in_place):
23487         * gst/base/gstbasetransform.h:
23488           Change BaseTransform to separate in_place operate from same_caps
23489           output. in_place implies that the element can perform the transform
23490           on incoming buffers in-place, even if the caps on the output are
23491           different.
23492           Sub-class elements can now implement special buffer allocation
23493           methods for outgoing buffers if they wish to.
23494           Big documentation addition.
23495         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23496         * gst/elements/gstelements.c:
23497           Changes for basetransform modifications.
23498         * gst/elements/Makefile.am:
23499         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23500           Compile fix. Extra debug output.
23501
23502 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23503
23504         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23505         (gst_pad_suite):
23506           add tests for valid pad naming
23507         * gst/check/gstcheck.c: (gst_check_log_message_func),
23508         (gst_check_log_critical_func):
23509           add ASSERT_WARNING
23510           remove printing of code, it is fragile when the code contains
23511           % and the line number is enough info
23512         * gst/check/gstcheck.h:
23513         * gst/gstpad.c: (gst_pad_template_new):
23514           fix memleaks
23515
23516 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23517
23518         * configure.ac:
23519           say what CHECK flags we use
23520         * docs/libs/gstreamer-libs.types:
23521         * libs/gst/controller/Makefile.am:
23522         * libs/gst/controller/gst-controller.c:
23523         * libs/gst/controller/gst-controller.h:
23524         * libs/gst/controller/gst-helper.c:
23525         * libs/gst/controller/gst-interpolation.c:
23526         * libs/gst/controller/gstcontroller.c:
23527         * libs/gst/controller/gsthelper.c:
23528         * libs/gst/controller/gstinterpolation.c:
23529         * tools/gst-inspect.c: (print_plugin_info):
23530           we don't use dashes in header names
23531
23532 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23533
23534         * check/Makefile.am:
23535         * check/gst/.cvsignore:
23536         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23537         (gst_pipeline_suite), (main):
23538           adding a test for pipelines and state changes
23539         * gst/gstutils.c: (get_state_func):
23540           add some debugging
23541         * gstreamer.spec.in:
23542           fix up spec file
23543
23544 2005-09-08  Michael Smith <msmith@fluendo.com>
23545
23546         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23547         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23548         (gst_file_src_is_seekable), (gst_file_src_get_size),
23549         (gst_file_src_start):
23550         * gst/elements/gstfilesrc.h:
23551           Various fixes for unseekable, unmmapable, and non-normal files, so
23552           that fallback to read() rather than mmap() works.
23553         * gst/gstevent.c: (gst_event_new_newsegment):
23554           Allow newsegment events with segment_start == segment_end, as will
23555           correctly happen if you use filesrc on a zero-size file, for
23556           example.
23557
23558 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
23559
23560         * gst/gstplugin.c: (gst_plugin_load_file):
23561           Call g_module_close when we don't load the module
23562
23563         * gst/registries/gstlibxmlregistry.c:
23564         (gst_xml_registry_get_property):
23565           Port leak fix from 0.8
23566
23567 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23568
23569         * docs/gst/gstreamer-docs.sgml:
23570         * docs/gst/tmpl/.cvsignore:
23571         * docs/gst/tmpl/gsttrace.sgml:
23572         * docs/gst/tmpl/gsttrashstack.sgml:
23573         * gst/Makefile.am:
23574         * gst/gst.h:
23575         * gst/gstelement.h:
23576         * gst/gstevent.h:
23577         * gst/gstmessage.c:
23578         * gst/gstmessage.h:
23579         * gst/gsttag.c:
23580         * gst/gsttag.h:
23581         * gst/gsttaginterface.c:
23582         * gst/gsttaginterface.h:
23583         * gst/gsttaglist.c:
23584         * gst/gsttaglist.h:
23585         * gst/gsttagsetter.c:
23586         * gst/gsttagsetter.h:
23587         * gst/gsttrace.c:
23588         * gst/gsttrace.h:
23589         * gst/gsttrashstack.c:
23590           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
23591           inlined docs for gsttrace, gsttrashstack
23592
23593 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23594
23595         * gst/Makefile.am:
23596         * gst/elements/gstbufferstore.h:
23597         * gst/elements/gsttypefindelement.c:
23598         * gst/elements/gsttypefindelement.h:
23599         * gst/gst.h:
23600         * gst/gsttypefind.c:
23601         * gst/gsttypefind.h:
23602         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
23603         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
23604         (gst_type_find_factory_dispose),
23605         (gst_type_find_factory_unload_thyself),
23606         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
23607         (gst_type_find_factory_get_caps),
23608         (gst_type_find_factory_get_extensions),
23609         (gst_type_find_factory_call_function):
23610         * gst/gsttypefindfactory.h:
23611         * gst/registries/gstlibxmlregistry.c:
23612         * gst/registries/gstxmlregistry.c:
23613           splitted gsttypefind into gsttypefind, gsttypefindfactory
23614
23615 2005-09-07  Andy Wingo  <wingo@pobox.com>
23616
23617         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
23618         condition whereby the pad's task function is entered before the
23619         pad_mode variable was set.
23620
23621 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
23622
23623         * gst/gstpad.c: (gst_pad_alloc_buffer):
23624           Catch misbehaving pad_alloc functions that don't
23625           set up caps and do it for them.
23626
23627 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23628
23629         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23630           test for pipe!=NULL
23631         * docs/gst/tmpl/.cvsignore:
23632         * docs/gst/tmpl/gstmemchunk.sgml:
23633         * docs/gst/tmpl/gstparse.sgml:
23634         * docs/gst/tmpl/gsttaglist.sgml:
23635         * docs/gst/tmpl/gsttagsetter.sgml:
23636         * docs/gst/tmpl/gsttypefind.sgml:
23637         * docs/gst/tmpl/gsttypefindfactory.sgml:
23638         * gst/gstmemchunk.c:
23639         * gst/gstparse.c:
23640         * gst/gsttag.c:
23641         * gst/gsttaginterface.c:
23642         * gst/gsttypefind.c:
23643         * gst/gsttypefind.h:
23644           inlined more docs
23645
23646 === release 0.9.2 ===
23647
23648 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23649
23650         * NEWS:
23651         * RELEASE:
23652         * configure.ac:
23653           releasing 0.9.2, "South"
23654
23655 2005-09-05  Andy Wingo  <wingo@pobox.com>
23656
23657         * gst/registries/gstxmlregistry.h:
23658         * gst/registries/gstxmlregistry.c: Um... resurrect...
23659         
23660         * gst/registries/gstxmlregistry.h:
23661         * gst/registries/gstxmlregistry.c: and update to newer API.
23662         Incidentally they should be a bit faster now that they don't have
23663         to parse the caps.
23664         
23665 2005-09-05  Andy Wingo  <wingo@pobox.com>
23666
23667         * gst/registries/gstxmlregistry.h:
23668         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
23669         replaced by the libxml registry a while back
23670
23671 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23672
23673         * docs/gst/tmpl/gstplugin.sgml:
23674         * gst/elements/gstelements.c:
23675         * gst/gst.c:
23676         * gst/gstplugin.c: (gst_plugin_register_func),
23677         (gst_plugin_desc_copy), (gst_plugin_desc_free),
23678         (gst_plugin_get_source):
23679         * gst/gstplugin.h:
23680         * gst/registries/gstlibxmlregistry.c: (load_plugin),
23681         (gst_xml_registry_save_plugin):
23682         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
23683         (gst_xml_registry_save_plugin):
23684         * tools/gst-inspect.c: (print_plugin_info):
23685           add a "source" plugin description field, to represent the source
23686           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
23687           will set it to PACKAGE, which is automake's idea of the name of
23688           the source project.
23689
23690 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23691
23692         * Makefile.am:
23693         * autogen.sh:
23694         * configure.ac:
23695         * docs/Makefile.am:
23696         * docs/faq/Makefile.am:
23697         * docs/gst/tmpl/gstelement.sgml:
23698         * docs/gst/tmpl/gsttypes.sgml:
23699         * docs/htmlinstall.mak:
23700         * docs/manual/Makefile.am:
23701         * docs/pwg/Makefile.am:
23702           reorganize doc build a little
23703           split out docbook and gtk-doc stuff
23704           have two separate --enable's and enable them through autogen
23705           but disable by default in configure (to be similar to other
23706           projects)
23707         * gstreamer.spec.in:
23708           clean up docs install
23709         * po/af.po:
23710         * po/az.po:
23711         * po/ca.po:
23712         * po/cs.po:
23713         * po/de.po:
23714         * po/en_GB.po:
23715         * po/fr.po:
23716         * po/it.po:
23717         * po/nb.po:
23718         * po/nl.po:
23719         * po/ru.po:
23720         * po/sq.po:
23721         * po/sr.po:
23722         * po/sv.po:
23723         * po/tr.po:
23724         * po/uk.po:
23725         * po/vi.po:
23726           translation updates
23727
23728 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
23729
23730         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
23731           Add comment.
23732           
23733         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23734         (gst_fake_sink_change_state):
23735           Make state change function thread-safe.
23736           
23737         * gst/gstpad.c: (gst_pad_alloc_buffer):
23738           Set offset on generic buffer allocated by fallback.
23739
23740 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
23741
23742         * docs/gst/gstreamer-sections.txt:
23743         * docs/gst/tmpl/gstelement.sgml:
23744         * gst/gstpad.c:
23745         * libs/gst/controller/gst-controller.c:
23746         (gst_controlled_property_set_interpolation_mode),
23747         (gst_controlled_property_new),
23748         (gst_controller_find_controlled_property):
23749          run the wingo-magic script against the docs
23750
23751 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
23752
23753         * docs/gst/gstreamer-docs.sgml:
23754         * docs/gst/gstreamer-sections.txt:
23755         * docs/gst/tmpl/.cvsignore:
23756         * docs/gst/tmpl/gstelementdetails.sgml:
23757         * docs/gst/tmpl/gstelementfactory.sgml:
23758         * gst/gst.c:
23759         * gst/gstbus.c:
23760         * gst/gstelementfactory.c:
23761         * gst/gstelementfactory.h:
23762           merged elementdetails docs into elementfactory docs
23763           inlined both
23764
23765 2005-09-02  Andy Wingo  <wingo@pobox.com>
23766
23767         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
23768         consider this enum an enum and not a flags.
23769
23770 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
23771
23772         * docs/gst/gstreamer-docs.sgml:
23773         * docs/gst/tmpl/.cvsignore:
23774         * docs/gst/tmpl/gstghostpad.sgml:
23775         * docs/gst/tmpl/gstiterator.sgml:
23776         * docs/gst/tmpl/gstmacros.sgml:
23777         * docs/gst/tmpl/gstrealpad.sgml:
23778         * docs/gst/tmpl/gstregistry.sgml:
23779         * docs/gst/tmpl/gstregistrypool.sgml:
23780         * docs/gst/tmpl/gststructure.sgml:
23781         * docs/gst/tmpl/gstsystemclock.sgml:
23782         * docs/gst/tmpl/gsttrace.sgml:
23783         * gst/gstghostpad.c:
23784         * gst/gstmacros.h:
23785         * gst/gstmemchunk.c:
23786         * gst/gstmemchunk.h:
23787         * gst/gstqueue.c:
23788         * gst/gstregistry.c:
23789         * gst/gstregistrypool.c:
23790         * gst/gststructure.c:
23791         * gst/gstsystemclock.c:
23792           more docs inlined
23793
23794 2005-09-02  Andy Wingo  <wingo@pobox.com>
23795
23796         * gst/gstelement.h (GstState): Renamed from GstElementState,
23797         changed to be a normal enum instead of flags.
23798         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
23799         munged to be GST_STATE_CHANGE_*.
23800         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
23801         work with the new state representation.
23802         (GstStateChange): New enumeration of possible state transitions.
23803         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
23804         (GstElementClass::change_state): Pass the GstStateChange along as
23805         an argument. Helps language bindings, so they don't have to use
23806         tricky lock-needing macros like GST_STATE_CHANGE ().
23807
23808         * scripts/update-states (file): New script. Run it on a file to
23809         update it for state naming and API changes. Updates files in
23810         place.
23811
23812         * All files updated for the new API.
23813
23814 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
23815
23816         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
23817         * gst/gstutils.c: (gst_util_set_value_from_string),
23818         (gst_util_set_object_arg):
23819           fix a bunch of unchecked return values
23820         * tools/gst-complete.c: (main):
23821         * gstreamer.spec.in:
23822           clean up a little
23823
23824 2005-09-01  Wim Taymans  <wim@fluendo.com>
23825
23826         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23827         (gst_base_sink_event), (gst_base_sink_do_sync),
23828         (gst_base_sink_handle_event):
23829         * gst/base/gstbasesink.h:
23830         Handle newsegments more correctly.
23831
23832         * gst/gstbus.c:
23833         Fix docs.
23834
23835         * gst/gstevent.c: (gst_event_new_newsegment):
23836         A newsegment cannot have a start_time of -1
23837
23838 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
23839
23840         * win32/gstenumtypes.c:
23841         * win32/gstenumtypes.h:
23842           Update
23843
23844 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23845
23846         * libs/gst/controller/gst-controller.c:
23847         (gst_controlled_property_set_interpolation_mode),
23848         (gst_controlled_property_new):
23849          fixed boolean again
23850
23851 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
23852
23853         * docs/faq/gst-uninstalled:
23854           add -good
23855         * gst/gstevent.c:
23856         * gst/gstevent.h:
23857           remove wrong docs
23858         * gst/gstutils.c: (gst_element_link_filtered):
23859         * gst/gstutils.h:
23860           add gst_element_link_filtered
23861
23862 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23863
23864         * docs/gst/gstreamer-docs.sgml:
23865         * docs/gst/gstreamer-sections.txt:
23866         * docs/gst/tmpl/.cvsignore:
23867         * docs/gst/tmpl/gsterror.sgml:
23868         * docs/gst/tmpl/gstfilter.sgml:
23869         * docs/gst/tmpl/gsturihandler.sgml:
23870         * docs/gst/tmpl/gsturitype.sgml:
23871         * docs/gst/tmpl/gstutils.sgml:
23872         * docs/gst/tmpl/gstxml.sgml:
23873         * gst/gsterror.c:
23874         * gst/gsterror.h:
23875         * gst/gstfilter.c:
23876         * gst/gsturi.c:
23877         * gst/gsturitype.c:
23878         * gst/gstutils.c:
23879         * gst/gstxml.c:
23880           inlined more docs, fixed double id-ref
23881
23882 2005-08-31  Wim Taymans  <wim@fluendo.com>
23883
23884         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23885         (gst_base_transform_handle_buffer):
23886         Passthrough elements don't need the caps as they don't care.
23887
23888 2005-08-31  Wim Taymans  <wim@fluendo.com>
23889
23890         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23891         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
23892         Don't leak refcounts on buffers.
23893
23894 2005-08-31  Wim Taymans  <wim@fluendo.com>
23895
23896         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
23897         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23898         (gst_base_transform_chain), (gst_base_transform_change_state):
23899         * gst/base/gstbasetransform.h:
23900         Handle the case where we are not negotiated more gracefully.
23901
23902 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
23903
23904         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
23905         (gst_file_src_map_region):
23906           Set READONLY flag on mmap'ed buffers, otherwise
23907           gst_buffer_make_writable() won't work properly (#314708).
23908
23909 2005-08-31  Wim Taymans  <wim@fluendo.com>
23910
23911         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
23912         passthrough elements can even do inplace on non writable
23913         buffers (as they don't touch them).
23914
23915 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23916
23917         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
23918         (gst_test_mono_source_set_property),
23919         (gst_test_mono_source_class_init), (GST_START_TEST),
23920         (gst_controller_suite):
23921           more tests (hehe I have the most)
23922         * gst/gstbus.c:
23923           describe popping messages whenusing mulltiple sources
23924         * libs/gst/controller/gst-controller.c:
23925         (gst_controlled_property_set_interpolation_mode),
23926         (gst_controlled_property_new):
23927         * libs/gst/controller/gst-controller.h:
23928         * libs/gst/controller/gst-interpolation.c:
23929           implement boolean properties
23930
23931 2005-08-31  Wim Taymans  <wim@fluendo.com>
23932
23933         * gst/gstminiobject.c: (gst_mini_object_ref):
23934         Cannot assert that the refcount has to be positive
23935         since a disposed object can be resurrected.
23936
23937 2005-08-31  Wim Taymans  <wim@fluendo.com>
23938
23939         * gst/gstpad.c: (gst_pad_init):
23940         Revert change, need to first fix badly behaving 
23941         apps.
23942
23943 2005-08-30  Wim Taymans  <wim@fluendo.com>
23944
23945         * check/elements/fakesrc.c: (setup_fakesrc):
23946         * check/elements/identity.c: (setup_identity):
23947         Activate pads before using them.
23948
23949 2005-08-30  Wim Taymans  <wim@fluendo.com>
23950
23951         * gst/base/gstadapter.c: (gst_adapter_flush):
23952         Flushing out 0 bytes is ok for this function.
23953
23954         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23955         no newsegment gives a warning and sets the start/stop to 
23956         invalid.
23957
23958         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
23959         (gst_base_transform_set_passthrough):
23960         Some debug info.
23961
23962         * gst/gstminiobject.c: (gst_mini_object_ref):
23963         Check refcount here too.
23964
23965         * gst/gstpad.c: (gst_pad_init):
23966         Pads are initially flushing and refusing data.
23967
23968         * gst/gstutils.c: (gst_element_link_pads_filtered):
23969         When adding a capsfilter element make sure it has the
23970         same state as the parent bin.
23971
23972 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23973
23974         * docs/gst/tmpl/.cvsignore:
23975         * docs/gst/tmpl/gstformat.sgml:
23976         * docs/gst/tmpl/gstversion.sgml:
23977         * gst/gstbus.h:
23978         * gst/gstformat.c:
23979         * gst/gstformat.h:
23980         * gst/gstversion.h.in:
23981           more docs and two more inlined
23982
23983 2005-08-30  Wim Taymans  <wim@fluendo.com>
23984
23985         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
23986         Don't sync to clock.
23987
23988 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23989
23990         * docs/gst/gstreamer-sections.txt:
23991           ultral33t func10ns deserve to appear in the docs actually
23992         * docs/gst/tmpl/.cvsignore:
23993         * docs/gst/tmpl/gstcompat.sgml:
23994         * docs/gst/tmpl/gstconfig.sgml:
23995         * gst/check/gstcheck.c:
23996         * gst/gstcompat.h:
23997         * gst/gstconfig.h.in:
23998           inlined more docs
23999
24000 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24001
24002         * docs/gst/tmpl/.cvsignore:
24003         * docs/gst/tmpl/gstquery.sgml:
24004         * docs/gst/tmpl/gstutils.sgml:
24005         * gst/gstquery.c:
24006         * gst/gstquery.h:
24007           inlined and extended docs
24008
24009 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24010
24011         * check/gst-libs/controller.c: (GST_START_TEST),
24012         (gst_controller_suite):
24013           more tests
24014         * docs/gst/tmpl/gstutils.sgml:
24015         * docs/libs/gstreamer-libs-sections.txt:
24016         * docs/libs/tmpl/gstdataprotocol.sgml:
24017           include path fixes
24018         * examples/controller/audio-example.c: (main):
24019           controller example works now
24020         * gst/gstclock.h:
24021           doc fixes
24022         * tools/gst-inspect.c: (print_element_properties_info):
24023           show param spec flags
24024
24025 2005-08-29  Andy Wingo  <wingo@pobox.com>
24026
24027         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
24028
24029 2005-08-28  Andy Wingo  <wingo@pobox.com>
24030
24031         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
24032         as having two arguments instead of just one. Allows superclasses
24033         to access information on subclasses -- see the terrible for() loop
24034         in gtype.c:g_type_create_instance for the reason why. All callers
24035         changed.
24036
24037 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24038
24039         * docs/design/part-messages.txt:
24040           update info
24041         * docs/gst/tmpl/.cvsignore:
24042         * docs/gst/tmpl/gstcaps.sgml:
24043         * docs/gst/tmpl/gstclock.sgml:
24044         * gst/gstbus.c:
24045         * gst/gstcaps.c:
24046         * gst/gstcaps.h:
24047         * gst/gstclock.c:
24048         * gst/gstclock.h:
24049         * gst/gstmessage.c:
24050           added descriptions for bus and message
24051           inline caps and clock docs
24052
24053 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24054
24055         * gst/gstmessage.c:
24056         * gst/gstmessage.h:
24057           doc fixes
24058
24059 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24060
24061         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24062           fix div-by-zero
24063
24064 2005-08-26  Andy Wingo  <wingo@pobox.com>
24065
24066         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
24067         element_set_state's return val.
24068         (test_2_elements): Add test that's been disabled for months.
24069
24070         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
24071         can-activate-pull properties.
24072
24073         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
24074         can-activate-pull properties. Implement is_seekable so fakesrc can
24075         operate in pull mode.
24076
24077         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
24078         properties.
24079         (gst_base_sink_activate, gst_base_sink_activate_pull)
24080         (gst_base_sink_activate_push): Make activation mode choosing work.
24081         Cleanups.
24082         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
24083         is right. Make pull mode work. Post an eos before pausing in pull
24084         mode.
24085         (gst_base_sink_change_state): Pay attention to the core's
24086         change_state() return val.
24087         
24088         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
24089         has-getrange properties. Cleanups.
24090         
24091         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
24092         has_getrange and replace with can_activate_pull and
24093         can_activate_push.
24094
24095         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
24096         locking comments. Remove has_loop, has_chain and replace with
24097         can_activate_pull and can_activate_push.
24098
24099 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
24100
24101         * configure.ac:
24102         * examples/Makefile.am:
24103         * examples/metadata/Makefile.am:
24104         * examples/metadata/read-metadata.c: (message_loop),
24105         (have_pad_handler), (make_pipeline), (print_tag), (main):
24106           Add metadata reading example that loops over a list of filenames,
24107           dumping any tags found.
24108
24109         * gst/gstbus.c: (gst_bus_dispose):
24110         * gst/gstelement.c: (gst_element_dispose):
24111           Release a few potentially-held references in dispose.
24112
24113 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24114
24115         * docs/gst/tmpl/gstminiobject.sgml:
24116           do *not* add tmpl/*.sgml files to CVS!
24117
24118 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24119
24120         * libs/gst/bytestream/.cvsignore:
24121         * libs/gst/bytestream/Makefile.am:
24122         * libs/gst/bytestream/adapter.c:
24123         * libs/gst/bytestream/adapter.h:
24124         * libs/gst/bytestream/bytestream.c:
24125         * libs/gst/bytestream/bytestream.h:
24126         * libs/gst/bytestream/filepad.c:
24127         * libs/gst/bytestream/filepad.h:
24128           removing obsolete files
24129
24130 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24131
24132         * docs/gst/gstreamer-docs.sgml:
24133         * docs/libs/gstreamer-libs-docs.sgml:
24134           disabed additional index entries again, as this makes docs-gen just
24135           slow and they aren't useful yet
24136         * docs/libs/gstreamer-libs-sections.txt:
24137           little -section.txt cleanup for libs
24138
24139 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24140
24141         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24142         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
24143           fix up some debugging
24144         (gst_base_transform_get_unit_size),
24145         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
24146         (gst_base_transform_handle_buffer):
24147         * gst/base/gstbasetransform.h:
24148           handle and store timed NEWSEGMENT events so that subclasses that
24149           calculate time by counting samples have a segment_start time they
24150           need to add to their timestamps - see audioresample
24151
24152 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24153
24154         * gst/gstbin.h:
24155           removed ';' from the end of macro defs
24156         * docs/gst/gstreamer-docs.sgml:
24157         * docs/gst/gstreamer-sections.txt:
24158         * docs/gst/tmpl/.cvsignore:
24159         * gst/gstbus.h:
24160         * gst/gstelement.c: (gst_element_class_init),
24161         (gst_element_set_state), (activate_pads),
24162         (gst_element_save_thyself):
24163         * gst/gstevent.c: (gst_event_new_newsegment):
24164         * gst/gstevent.h:
24165         * gst/gstiterator.c:
24166         * gst/gstiterator.h:
24167         * gst/gstpad.c:
24168         * gst/gstprobe.h:
24169         * gst/gstutils.c: (gst_pad_query_convert):
24170         * gst/gstutils.h:
24171           fixed parameter name mismatches between source, header and docs
24172           added some more docs, resolved the last batch of unused elements in
24173           docs (now someone needs to doc them)
24174
24175 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24176
24177         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
24178         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
24179           don't walk through the plugins backwards.  Where is all this
24180           reversed logic coming from ?
24181
24182 2005-08-25  Wim Taymans  <wim@fluendo.com>
24183
24184         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24185         (gst_base_transform_transform_size),
24186         (gst_base_transform_configure_caps),
24187         (gst_base_transform_get_unit_size),
24188         (gst_base_transform_buffer_alloc),
24189         (gst_base_transform_change_state):
24190         * gst/base/gstbasetransform.h:
24191         Cache caps unit_size.
24192         Make sure we cannot negotiate up and downstream at the
24193         same time.
24194
24195 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24196
24197         * gst/gst.c: (init_pre), (init_post):
24198           register the installed plugin path after the env var
24199         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
24200         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
24201           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
24202           directories, so the tests can prefer uninstalled over installed
24203
24204 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24205
24206         * gst/base/gstbasetransform.h:
24207           comment
24208         * gst/gstpad.c:
24209           add to docs
24210
24211 2005-08-25  Wim Taymans  <wim@fluendo.com>
24212
24213         * gst/gstbin.c: (bin_bus_handler):
24214         Be a bit more conservative about the posted message.
24215         
24216         * gst/gstbus.c: (gst_bus_post):
24217         Some cleanups, warn wrong return values.
24218
24219 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
24220
24221         * check/gst/gstbin.c: (GST_START_TEST):
24222         * gst/gstbin.c: (bin_bus_handler):
24223         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24224         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24225         (gst_message_new_warning), (gst_message_new_tag),
24226         (gst_message_new_state_changed), (gst_message_new_segment_start),
24227         (gst_message_new_segment_done), (gst_message_new_custom):
24228         * gst/gstmessage.h:
24229         * tools/gst-launch.c: (event_loop):
24230         * tools/gst-md5sum.c: (event_loop):
24231           Revert unpopular change for GST_MESSAGE_SRC to GObject.
24232
24233 2005-08-25  Wim Taymans  <wim@fluendo.com>
24234
24235         * check/generic/states.c: (GST_START_TEST):
24236         Cleanup can be done at the end.
24237
24238         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
24239         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24240         (gst_task_get_state), (gst_task_start), (gst_task_pause):
24241         Oh boy.. Thanks for finding this, Thomas. 
24242
24243 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
24244
24245         * docs/gst/gstreamer.types:
24246           added missing types
24247
24248 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
24249
24250         * docs/gst/gstreamer-docs.sgml:
24251         * docs/gst/gstreamer-sections.txt:
24252         * docs/gst/tmpl/.cvsignore:
24253         * gst/gstbin.c:
24254         * gst/gstiterator.c:
24255         * gst/gstutils.c:
24256         * gst/registries/gstxmlregistry.h:
24257           added missing classes and symbols (123 more to go)
24258           removed removed symbols from section file
24259           fixed many doc-comments
24260
24261 2005-08-24  Wim Taymans  <wim@fluendo.com>
24262
24263         * check/generic/states.c: (GST_START_TEST):
24264         Make sure all tasks are stopped.
24265
24266         * check/gst/gstbin.c: (GST_START_TEST):
24267         Unref after usage for proper valgrinding.
24268
24269         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
24270         Really wait for the task to stop before destroying the
24271         mutex.
24272
24273         * gst/gstqueue.c: (gst_queue_sink_activate_push),
24274         (gst_queue_src_activate_push):
24275         Small cleanups. Don't stop the task when we did not start
24276         it.
24277
24278         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
24279         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24280         (gst_task_get_state), (gst_task_start), (gst_task_pause),
24281         (gst_task_join):
24282         * gst/gsttask.h:
24283         Protect the stream lock with the object lock.
24284         Disallow setting the stream lock when running.
24285         Add cleanup_all to wait for the threadpool to finish.
24286         Remove code to autoallocate a mutex if none was provided.
24287         Add _join() to wait for a task to stop.
24288         Protect the thread pool with a global lock.
24289
24290 2005-08-24  Wim Taymans  <wim@fluendo.com>
24291
24292         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24293         (gst_base_sink_get_times), (gst_base_sink_do_sync),
24294         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
24295         * gst/base/gstbasesink.h:
24296         Handle newsegment events correctly.
24297         Drop buffers out of the segment range.
24298
24299 2005-08-22  Andy Wingo  <wingo@pobox.com>
24300
24301         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
24302         macro, implements an interface and gstimplementsinterface for a
24303         new type.
24304
24305 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24306
24307         * check/Makefile.am:
24308         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
24309           add a test that does a bunch of state changes on elements
24310           needs some fixing for valgrind
24311         * check/states/sinks.c: (gst_object_suite):
24312           whitespace
24313         * gst/gstcaps.h:
24314           add prototype for gst_caps_is_equal_fixed
24315         * gst/gstplugin.c:
24316         * gst/gstregistrypool.c:
24317           doc fixes
24318
24319 2005-08-24  Andy Wingo  <wingo@pobox.com>
24320
24321         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
24322         convert a negative value. Doesn't make much sense. Mostly this is
24323         here to force callers to ensure -1 maps to -1.
24324
24325 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24326
24327         * docs/pwg/advanced-types.xml:
24328           Well done to Michael for catching my deliberate introduction
24329           of this spelling mistake. 
24330         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24331         * gst/gstelement.h:
24332           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24333           unlink pads before removing the element from the bin.
24334
24335 2005-08-24  Andy Wingo  <wingo@pobox.com>
24336
24337         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24338         the same thing as GST_DEBUG=*:4.
24339         (parse_debug_level, parse_debug_category): New helper parsers.
24340
24341 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24342
24343         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24344         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24345         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24346         (gst_base_transform_buffer_alloc),
24347         (gst_base_transform_handle_buffer):
24348           use gboolean return values and pointers to size so we can use the
24349           full GST_BUFFER_SIZE range (guint) for buffer sizes
24350           use GstPadDirection for transform_caps
24351         * gst/base/gstbasetransform.h:
24352           rename get_size to get_unit_size since that's what it is
24353         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24354           use GstPadDirection for transform_caps
24355         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24356         * gst/gstutils.h:
24357           cleanup and debugging
24358
24359 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24360
24361         * gst/gstelement.c: (gst_element_class_init),
24362         (gst_element_set_state), (activate_pads),
24363         (gst_element_save_thyself):
24364         * tools/gst-compprep.c: (main):
24365         * tools/gst-inspect.c: (print_element_properties_info):
24366         * tools/gst-xmlinspect.c: (print_element_properties):
24367           Fixed long standing mem-leak
24368
24369 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24370
24371         * check/gst/gstbin.c: (GST_START_TEST):
24372         * gst/gstbin.c: (bin_bus_handler):
24373         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24374         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24375         (gst_message_new_warning), (gst_message_new_tag),
24376         (gst_message_new_state_changed), (gst_message_new_segment_start),
24377         (gst_message_new_segment_done), (gst_message_new_custom):
24378         * gst/gstmessage.h:
24379         * tools/gst-launch.c: (event_loop):
24380         * tools/gst-md5sum.c: (event_loop):
24381           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24382           that applications can sensibly post custom messages with references
24383           to their own objects.
24384
24385 2005-08-24  Andy Wingo  <wingo@pobox.com>
24386
24387         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24388         already.
24389
24390 2005-08-24  Wim Taymans  <wim@fluendo.com>
24391
24392         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24393         (gst_base_transform_transform_caps),
24394         (gst_base_transform_transform_size),
24395         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24396         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24397         (gst_base_transform_handle_buffer):
24398         * gst/base/gstbasetransform.h:
24399         Many fixes and new features added by Thomas. Can now also do
24400         transforms with variable sizes and a custom fixate_caps function.
24401
24402 2005-08-24  Wim Taymans  <wim@fluendo.com>
24403
24404         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24405         Some debugging.
24406
24407         * gst/gstclock.h:
24408         Cast to ClockTime before formatting to time.
24409
24410         * gst/gstutils.h:
24411         Cleanups.
24412
24413 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24414
24415         * check/gst-libs/controller.c: (GST_START_TEST),
24416         (gst_controller_suite):
24417         * docs/gst/tmpl/gstcaps.sgml:
24418         * docs/gst/tmpl/gstghostpad.sgml:
24419         * docs/gst/tmpl/gstquery.sgml:
24420         * docs/gst/tmpl/gstutils.sgml:
24421         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24422         (gst_object_sink_values), (gst_object_get_value_arrays),
24423         (gst_object_get_value_array):
24424           gracefully handle helper method calls to objects that are not beeing
24425           controlled, added test case for that          
24426
24427 2005-08-23  Wim Taymans  <wim@fluendo.com>
24428
24429         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24430         (gst_event_new_newsegment), (gst_event_parse_newsegment),
24431         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24432         (gst_event_parse_qos), (gst_event_new_seek),
24433         (gst_event_parse_seek):
24434         * gst/gstevent.h:
24435         Some more debugging output and doc cleanups.
24436
24437         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24438         Fix possible deadlock.
24439
24440 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24441
24442         * docs/gst/gstreamer-docs.sgml:
24443         * docs/gst/gstreamer-sections.txt:
24444         * docs/gst/gstreamer.types:
24445         * docs/gst/tmpl/.cvsignore:
24446         * gst/gstbin.h:
24447         * gst/gstbus.c:
24448         * gst/gstelement.c:
24449         * gst/gstevent.h:
24450           added 100 symbols from gstreamer-unused.txt to the right sections
24451           fixed more broken comments
24452           added GstBus to docs
24453
24454 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24455
24456         * docs/gst/gstreamer-sections.txt:
24457         * docs/gst/tmpl/.cvsignore:
24458         * docs/gst/tmpl/gstbin.sgml:
24459         * docs/gst/tmpl/gstbuffer.sgml:
24460         * gst/base/gstbasesrc.c:
24461         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24462         * gst/gstbuffer.c:
24463         * gst/gstbuffer.h:
24464         * tools/gst-launch.1.in:
24465           inlined more doc comments, added missing comments and fixed comments
24466           fixed typos
24467
24468 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24469
24470         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24471           some debugging
24472         * gst/gstcaps.h:
24473           whitespace fixes
24474         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24475           more debugging
24476         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24477         * gst/gststructure.h:
24478           add a fixate function for booleans; add a FIXME that these func
24479           names should probably be gst_structure_fixate_*
24480
24481 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24482
24483         * docs/gst/gstreamer-docs.sgml:
24484         * docs/gst/gstreamer-sections.txt:
24485         * gst/Makefile.am:
24486         * gst/gstbin.c: (gst_bin_get_type),
24487         (gst_bin_child_proxy_get_child_by_index),
24488         (gst_bin_child_proxy_get_children_count),
24489         (gst_bin_child_proxy_init):
24490         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24491         (gst_child_proxy_get_child_by_index),
24492         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24493         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24494         (gst_child_proxy_get), (gst_child_proxy_set_property),
24495         (gst_child_proxy_set_valist), (gst_child_proxy_set),
24496         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24497         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24498         * gst/gstchildproxy.h:
24499         * gst/parse/grammar.y:
24500         * tools/gst-inspect.c: (print_interfaces),
24501         (print_element_properties_info), (print_element_info):
24502           ported gstchildproxy over from 0.8
24503           ported gst-inspect fixes and enhancements over from 0.8
24504
24505 2005-08-22  Wim Taymans  <wim@fluendo.com>
24506
24507         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24508         (gst_base_transform_handle_buffer):
24509         Also call the transform function if we have ANY caps.
24510
24511         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24512         Fix debug info.
24513
24514 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24515
24516         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24517           Don't pretend to handle seek events if the source is not seekable
24518
24519 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24520
24521         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24522           Remove extra parameter to debug output
24523
24524         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24525         (gst_base_src_do_seek), (gst_base_src_activate_push):
24526           Fix seek event handling.
24527
24528         * gst/gstpipeline.c: (gst_pipeline_change_state):
24529         * gst/gstqueue.c: (gst_queue_handle_sink_event),
24530         (gst_queue_src_activate_push):
24531           Don't start the src pad task on FLUSH_STOP if the pad
24532           isn't linked.
24533           Debug changes.
24534
24535 2005-08-22  Wim Taymans  <wim@fluendo.com>
24536
24537         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24538         Added check for gst_static_caps_get() refcounting.
24539
24540 2005-08-22  Wim Taymans  <wim@fluendo.com>
24541
24542         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24543         Make _static_caps_get() refcounting sane.
24544         
24545         * gst/gstelement.c: (gst_element_set_state):
24546         Add g_return_val_if_fail() to protect against segfaults.
24547
24548 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
24549
24550         * docs/gst/tmpl/gstevent.sgml:
24551         * gst/gstevent.c:
24552         * gst/gstevent.h:
24553           inlined remaining docs, added missing doc comments
24554
24555 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24556
24557         * check/gst/gstbin.c: (GST_START_TEST):
24558           since we don't know when preroll is done, use refcount range
24559           check for the sink
24560         * gst/check/gstcheck.h:
24561           add macro for checking refcount range
24562
24563 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24564
24565         * check/Makefile.am:
24566           clean up environment for when registry gets built versus
24567           when actual tests are run; valgrind seems to not report
24568           leaks if GST_PLUGIN_PATH is set to some specific values
24569         * check/gst/gstbin.c: (GST_START_TEST):
24570           add more refcounting checks; maybe this exposes a
24571           preroll lock bug ?
24572         * common/check.mak:
24573         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24574         * gst/check/gstcheck.h:
24575         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
24576         (gst_bin_change_state):
24577         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
24578           add/fix debugging/whitespace
24579
24580 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
24581
24582         * check/gst/gstevent.c: (event_probe), (test_event),
24583         (GST_START_TEST):
24584          Er, don't call gst_bin_watch_for_state_change you idiot.
24585
24586 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
24587
24588         * check/Makefile.am:
24589           Use CHECK_CFLAGS and CHECK_LIBS
24590         * check/gst/gstevent.c: (event_probe), (test_event),
24591         (GST_START_TEST):
24592           Don't leak events.
24593         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24594         (gst_base_src_start), (gst_base_src_stop),
24595         (gst_base_src_activate_push), (gst_base_src_activate_pull),
24596         (gst_base_src_change_state):
24597           Sprinkle gst_base_src_stop liberally around error paths to fix
24598           problems reusing a source after failed state changes.
24599         * gst/base/gsttypefindhelper.c: (helper_find_peek),
24600         (helper_find_suggest), (gst_type_find_helper):
24601           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
24602         * gst/gstevent.h:
24603         * docs/gst/tmpl/gstevent.sgml:
24604           Migrate part of the docs from the SGML file. Wait for ensonic to
24605           tell me how I did it wrong ;)
24606         * tools/gst-typefind.c: (main):
24607           Extra robustness to state changes between files.
24608
24609 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24610
24611         * check/Makefile.am:
24612           don't valgrind the controller test - it's leaking - Stefan, HELP
24613         * gst/check/gstcheck.c: (gst_check_message_error),
24614         (gst_check_chain_func), (gst_check_setup_element),
24615         (gst_check_teardown_element), (gst_check_setup_src_pad),
24616         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
24617         (gst_check_teardown_sink_pad):
24618         * gst/check/gstcheck.h:
24619           add a bunch of methods to set up elements, and src and sink pads
24620         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
24621         * check/elements/identity.c: (setup_identity), (cleanup_identity),
24622         (GST_START_TEST):
24623           use them
24624         * gst/gstmessage.c:
24625         * gst/gsttag.h:
24626           whitespace/doc fixes
24627
24628 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24629
24630         * gst/gstelement.h:
24631           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
24632           be handled by the application and not always printed as well
24633
24634 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24635
24636         * check/Makefile.am:
24637           set GST_TOOLS_DIR
24638         * gst/check/gstcheck.c: (gst_check_message_error):
24639         * gst/check/gstcheck.h:
24640           add a fail_unless_equals_int
24641           add fail_unless for error messages
24642
24643 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24644
24645         * check/Makefile.am:
24646         * check/gst.supp:
24647         * common/Makefile.am:
24648         * common/check.mak:
24649         * common/gst.supp:
24650           factor out some of the common stuff so we can use it
24651
24652 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24653
24654         * check/Makefile.am:
24655         * check/gst/gstiterator.c: (GST_START_TEST):
24656         * check/gst/gstsystemclock.c: (GST_START_TEST),
24657         (gst_systemclock_suite):
24658         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24659         * gst/gstclock.c:
24660           valgrind more tests
24661
24662 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24663
24664         * check/elements/.cvsignore:
24665         * check/elements/gstfakesrc.c:
24666           rename to name of element
24667         * check/elements/identity.c: (chain_func), (event_func),
24668         (setup_identity), (cleanup_identity), (GST_START_TEST),
24669         (identity_suite), (main):
24670           add a test for identity
24671         * check/Makefile.am:
24672         * pkgconfig/Makefile.am:
24673         * pkgconfig/gstreamer-check.pc.in:
24674         * pkgconfig/gstreamer-check-uninstalled.pc.in:
24675         * gst/check:
24676         * gst/Makefile.am:
24677         * configure.ac:
24678           move the check stuff to a library that gets installed
24679         * check/gst-libs/controller.c: (GST_START_TEST):
24680         * check/gst-libs/gdp.c:
24681         * check/gst/gst.c: (GST_START_TEST):
24682         * check/gst/gstbin.c:
24683         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24684         * check/gst/gstbus.c:
24685         * check/gst/gstcaps.c: (GST_START_TEST):
24686         * check/gst/gstelement.c:
24687         * check/gst/gstghostpad.c:
24688         * check/gst/gstiterator.c:
24689         * check/gst/gstmessage.c:
24690         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
24691         * check/gst/gstobject.c:
24692         * check/gst/gstpad.c: (GST_START_TEST):
24693         * check/gst/gststructure.c: (GST_START_TEST):
24694         * check/gst/gstsystemclock.c: (GST_START_TEST),
24695         (gst_systemclock_suite):
24696         * check/gst/gsttag.c: (gst_tag_suite):
24697         * check/gst/gstvalue.c:
24698         * check/pipelines/cleanup.c:
24699         * check/pipelines/simple_launch_lines.c:
24700         * check/states/sinks.c:
24701           change include statement
24702
24703         * docs/gst/gstreamer-sections.txt:
24704         * docs/gst/tmpl/gstpad.sgml:
24705           document more pad stuff
24706         * gst/gstminiobject.c: (gst_mini_object_ref),
24707         (gst_mini_object_unref):
24708           debug refcounting
24709
24710 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
24711
24712         * docs/gst/tmpl/gst.sgml:
24713         * gst/gst.c:
24714           eliminate another tmpl file, fix spelling in the long-description
24715
24716 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24717
24718         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24719         (test_event), (timediff), (gstevents_suite):
24720           Should fix build on 64-bit arch's
24721
24722 2005-08-18  Andy Wingo  <wingo@pobox.com>
24723
24724         Make sure that when a pipeline goes to PLAYING, that data has
24725         actually hit the sink.
24726
24727         * check/states/sinks.c (test_sink): A sink that doesn't get any
24728         data shouldn't return SUCCESS for going to either PLAYING or
24729         PAUSED. Test also the return values on the way back down.
24730
24731         * gst/gstelement.c (gst_element_set_state): When changing the
24732         state of an element currently changing state asynchronously, go to
24733         lost-state after commiting the pending state. Makes future calls
24734         to get_state continue to return ASYNC.
24735
24736         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
24737         ASYNC when going to PLAYING if we still don't have preroll, as can
24738         happen with live sources.
24739
24740 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24741
24742         * docs/pwg/advanced-types.xml:
24743           Hack long paragraph into 2 chunks as a workaround for buggy
24744           jadetex version in sid and breezy that loops infinitely and
24745           eats all RAM.
24746
24747 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24748
24749         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24750         (test_event), (timediff), (gstevents_suite):
24751           Provide more error margin in clock measurements to allow for 
24752           g_get_current_time inaccuracies.
24753
24754 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24755
24756         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24757         (test_event), (timediff), (gstevents_suite):
24758            Fix error message output so I might be able to tell why the
24759            test works here but fails on the build farm.
24760
24761 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24762
24763         * check/Makefile.am:
24764         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24765         (test_event), (timediff), (gstevents_suite), (main):
24766           I wrote a test!
24767
24768         * docs/design/part-seeking.txt:
24769           Spelling correction
24770
24771         * docs/gst/tmpl/gstevent.sgml:
24772         * docs/gst/tmpl/gstfakesrc.sgml:
24773           Docs updates.
24774
24775         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24776           Treat a buffer-without-newsegment the same as a receiving 
24777           a newsegment not in time format, and disable syncing to the clock
24778           with a warning.
24779
24780         * gst/gstbus.c: (gst_bus_set_sync_handler):
24781           Assert if anyone tries to replace the existing sync_handler for bus, 
24782           as only the owner should be setting it.
24783
24784         * gst/gstevent.h:
24785           Have a fixed set of custom event enums with events identified by
24786           their structure name (as in 0.8), rather than a free-for-all
24787           allowing collisions between enum values from different plugins.
24788
24789         * gst/gstpad.c: (gst_pad_class_init):
24790           Docs change.
24791           
24792         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24793           Handle out-of-band downstream events from the sending thread.
24794
24795 2005-08-17  Andy Wingo  <wingo@pobox.com>
24796
24797         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
24798         play-timeout==0 to mean no timeout at all. In that case, don't
24799         bother with a get_state or a warning, just return directly, even
24800         if it's ASYNC.
24801
24802         * gst/base/gstbasetransform.c: Debug changes.
24803
24804         * gst/gstutils.h:
24805         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
24806         ensure bins post state change messages. A bit of a hack but I can't
24807         think of a way to avoid it.
24808
24809         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
24810
24811 2005-08-16  Andy Wingo  <wingo@pobox.com>
24812
24813         * gst/base/gstadapter.h:
24814         * gst/base/gstadapter.c (gst_adapter_take): New function, like
24815         peek() but you own the data. Not terribly efficient atm.
24816
24817 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24818
24819         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
24820         (gst_element_found_tags):
24821         * gst/gstutils.h:
24822           Add two utility functions for tag handling.
24823
24824 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24825
24826         * docs/manual/advanced-dataaccess.xml:
24827         * docs/manual/basics-helloworld.xml:
24828           Fix docs to use _bin_add() before _link(), which fixes the examples
24829           with recent core versions (reported by Madhan Raj M
24830           <raj_madan@rediffmail.com>, #313199).
24831
24832 2005-08-16  Wim Taymans  <wim@fluendo.com>
24833
24834         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24835         Added subtract checks.
24836
24837         * docs/design/part-events.txt:
24838         Some more docs about newsegment
24839
24840         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24841         Fix FIXME
24842
24843         * gst/gstcaps.c: (gst_caps_to_string):
24844         Add comments, cleanups.
24845         
24846         * gst/gstelement.c: (gst_element_save_thyself):
24847         cleanups
24848         
24849         * gst/gstvalue.c: (gst_value_collect_int_range),
24850         (gst_string_unwrap), (gst_value_union_int_int_range),
24851         (gst_value_union_int_range_int_range),
24852         (gst_value_intersect_int_int_range),
24853         (gst_value_intersect_int_range_int_range),
24854         (gst_value_intersect_double_double_range),
24855         (gst_value_intersect_double_range_double_range),
24856         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
24857         (gst_value_subtract_int_range_int),
24858         (gst_value_subtract_double_range_double),
24859         (gst_value_subtract_double_range_double_range),
24860         (gst_value_subtract_from_list), (gst_value_subtract_list),
24861         (gst_value_can_compare), (gst_value_compare_fraction):
24862         Cleanups, add comments, remove unneeded asserts.
24863
24864 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
24865
24866         * tools/gst-launch.c: (event_loop):
24867           don't convert NULL structures to strings
24868
24869 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
24870
24871         * docs/gst/gstreamer-sections.txt:
24872           made some defines private
24873         * docs/gst/tmpl/gstconfig.sgml:
24874         * docs/gst/tmpl/gstqueue.sgml:
24875         * docs/gst/tmpl/gsttaglist.sgml:
24876         * docs/gst/tmpl/gsttypes.sgml:
24877         * docs/gst/tmpl/gstutils.sgml:
24878         * docs/pwg/appendix-porting.xml:
24879         * gst/base/gstbasesink.h:
24880         * gst/base/gstbasesrc.c:
24881         * gst/base/gstbasesrc.h:
24882         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
24883         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
24884         * gst/gstelement.c: (gst_element_class_init):
24885         * gst/gstpad.c: (gst_pad_class_init):
24886         * gst/gstqueue.c: (gst_queue_class_init):
24887         * gst/gstxml.c: (gst_xml_class_init):
24888           documented all undocumented signal inline
24889         * libs/gst/controller/gst-controller.h:
24890           added padding
24891
24892 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24893
24894         * docs/pwg/appendix-porting.xml:
24895           Document _set_link_function -> _set_setcaps_function.
24896
24897 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
24898
24899         * check/Makefile.am:
24900           add a .check target for running the check
24901         * check/gst-libs/controller.c: (GST_START_TEST):
24902           cosmetic fixups
24903         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24904           complete checks for gstbuffer; would be nice if I could get the
24905           gcov stuff to work so I can see if I actually completed gstbuffer.c
24906         * check/gstcheck.h:
24907           add ASSERT_BUFFER_REFCOUNT
24908
24909 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
24910
24911         * docs/gst/gstreamer-sections.txt:
24912         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
24913         * gst/gsttag.h:
24914           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
24915           spew out a warning if a tag that is already registered
24916           is re-registered, unless it is re-registered with a 
24917           different type (#308438).
24918
24919 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
24920
24921         * docs/pwg/appendix-porting.xml:
24922         * docs/pwg/building-state.xml:
24923           Add some paragraphs about state changes in 0.9 to the PWG
24924           and the porting guide, in particular about the new meaning
24925           of GST_STATE_PAUSED and how to write state change functions
24926           with concurrent access by multiple threads in mind.
24927
24928 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
24929
24930         * docs/gst/gstreamer-docs.sgml:
24931         * docs/libs/gstreamer-libs-docs.sgml:
24932           added deprecation and since indexes
24933         * libs/gst/controller/gst-controller.c:
24934         * libs/gst/controller/gst-helper.c:
24935           added since tags
24936
24937
24938 2005-08-11  Wim Taymans  <wim@fluendo.com>
24939
24940         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
24941         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
24942         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
24943         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
24944         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
24945         (gst_ghost_pad_set_target):
24946         Actually implement (re)setting the target on a ghostpad
24947         as described in the docs.
24948
24949 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
24950
24951         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
24952           Check whether GST_DEBUG_NO_COLOR environment variable is
24953           set and disable coloured debug output if that is the case.
24954
24955 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
24956
24957         * gst/base/gsttypefindhelper.c: (helper_find_peek),
24958         (gst_type_find_helper):
24959           The memory returned by gst_type_find_peek() needs to
24960           stay valid until the end of a typefind function, and
24961           typefind functions may keep results from different 
24962           offsets around, so we can't just unref the buffer from
24963           the previous _peek(), but have to save all buffers 
24964           returned by _peek() until typefinding is done and only
24965           free them then.
24966
24967 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
24968
24969         * docs/gst/gstreamer-sections.txt:
24970         * gst/gstutils.h:
24971           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
24972
24973 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24974
24975         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
24976           Fix a pretty good memleak.
24977
24978 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
24979
24980         * gst/gstiterator.h:
24981           Fix wrong include and 'make distcheck'.
24982
24983 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24984
24985         * gst/gstbin.c: (bin_bus_handler):
24986           Use gst_element_post_message() instead.
24987
24988 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
24989
24990         * gst/base/gstadapter.h:
24991         * gst/base/gstbasesink.h:
24992         * gst/base/gstbasesrc.h:
24993         * gst/base/gstbasetransform.h:
24994         * gst/base/gstcollectpads.h:
24995         * gst/base/gstpushsrc.h:
24996         * gst/gstiterator.h:
24997           Add padding to our base elements' class and instance structs and
24998           to GstIterator (you will need to rebuild all plugins and apps!)
24999
25000 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25001
25002         * gst/gstbin.c: (bin_bus_handler):
25003           Make default message forwarding from child->bus to bin->bus
25004           threadsafe and make it not emit warnings if the parent has no bus.
25005
25006 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25007
25008         * gst/gstelement.c: (activate_pads):
25009           On paused->ready, set pad->caps to NULL, as is the documented
25010           behaviour in this state change. Fixes playback of series of
25011           media files when visualization is enabled in Totem.
25012
25013 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25014
25015         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
25016           Allow NULL as filter-caps (which means "any").
25017
25018 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25019
25020         * docs/libs/gstreamer-libs-sections.txt:
25021         * libs/gst/controller/gst-controller.c:
25022         * libs/gst/controller/gst-controller.h:
25023         * libs/gst/controller/gst-helper.c:
25024           adding more entries to the docs and fix small doc-bugs
25025
25026 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25027
25028         * docs/gst/gstreamer-docs.sgml:
25029         * docs/gst/gstreamer-sections.txt:
25030         * docs/gst/gstreamer.types:
25031         * docs/gst/tmpl/gstbasesink.sgml:
25032         * docs/gst/tmpl/gstbasesrc.sgml:
25033         * docs/gst/tmpl/gstbasetransform.sgml:
25034         * docs/gst/tmpl/gstfakesrc.sgml:
25035         * gst/base/gstcollectpads.c:
25036         * gst/base/gstcollectpads.h:
25037         * libs/gst/controller/gst-controller.c:
25038         * libs/gst/controller/gst-controller.h:
25039         * libs/gst/controller/gst-helper.c:
25040         * libs/gst/controller/gst-interpolation.c:
25041         * libs/gst/controller/lib.c:
25042           added long/short desc for controller docs
25043           added collectpads base class docs
25044           added correct includes to base-class docs
25045
25046 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25047
25048         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25049         (gst_test_mono_source_set_property),
25050         (gst_test_mono_source_class_init), (GST_START_TEST),
25051         (gst_controller_suite):
25052         * docs/gst/gstreamer-docs.sgml:
25053         * docs/gst/gstreamer-sections.txt:
25054         * docs/gst/gstreamer.types:
25055         * docs/libs/gstreamer-libs-docs.sgml:
25056         * docs/libs/gstreamer-libs-sections.txt:
25057         * gst/base/gstadapter.c:
25058         * libs/gst/controller/gst-controller.c:
25059         (gst_controlled_property_new), (gst_controlled_property_free),
25060         (gst_controller_new_valist),
25061         (gst_controller_remove_properties_valist),
25062         (gst_controller_sink_values), (_gst_controller_finalize):
25063         * libs/gst/controller/gst-controller.h:
25064         * libs/gst/controller/gst-helper.c:
25065         (gst_object_control_properties), (gst_object_uncontrol_properties),
25066         (gst_object_get_controller), (gst_object_set_controller),
25067         (gst_object_sink_values), (gst_object_get_value_arrays),
25068         (gst_object_get_value_array):
25069           more tests (and fixes) for the controller
25070           more docs for the controller
25071           integrated companies docs for the adapter 
25072
25073 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
25074
25075         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
25076         (GST_START_TEST), (fakesrc_suite):
25077           add tests for sizetype
25078
25079 2005-08-04  Andy Wingo  <wingo@pobox.com>
25080
25081         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
25082         fixes buffer_alloc proxying among other things.
25083
25084         * gst/base/gstbasetransform.c:
25085         * gst/base/gstbasetransform.h:
25086         Revert patch to gstbasetransform from 7-28 removing
25087         delay_configure.
25088
25089         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
25090         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
25091         Semantics changed, should return not the size of the output buffer
25092         but the byte size of a buffer with a given caps.
25093
25094         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
25095         debug object.
25096         (gst_base_transform_configure_caps): Don't set out_size here: (in,
25097         out) are not the pad caps until setcaps finishes.
25098         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
25099         not-in-place case as well. Deal with changing from in-place to
25100         not-in-place within calling pad_alloc_buffer. Still a bit
25101         concerned about the overhead here...
25102
25103 2005-08-03  Andy Wingo  <wingo@pobox.com>
25104
25105         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
25106         fixating is an error.
25107
25108 2005-08-04  Edward Hervey  <edward@fluendo.com>
25109
25110         * gst/base/gstadapter.h: 
25111         Added gst_adapter_get_type() to the header
25112
25113 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25114
25115         * check/Makefile.am:
25116         * check/gst-libs/controller.c:
25117         * libs/gst/controller/gst-controller.c:
25118         (gst_controller_new_valist):
25119           added check test suite for the controller
25120         * gst/base/gstpushsrc.c:
25121           fixed a doc typo
25122
25123 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25124
25125         * docs/gst/Makefile.am:
25126         * docs/gst/gstreamer-docs.sgml:
25127         * docs/gst/gstreamer-sections.txt:
25128         * docs/gst/gstreamer.types:
25129         * docs/gst/tmpl/gstfakesrc.sgml:
25130         * gst/base/README:
25131         * gst/base/gstbasesink.c:
25132         * gst/base/gstbasesink.h:
25133         * gst/base/gstbasesrc.c:
25134         * gst/base/gstbasesrc.h:
25135         * gst/base/gstbasetransform.c:
25136         * gst/base/gstpushsrc.c:
25137         * gst/base/gstpushsrc.h:
25138           add short/long description docs to base classes
25139           add pushsrc to the docs
25140           remove consolidated doc fragments
25141
25142 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25143
25144         * configure.ac:
25145         * docs/libs/Makefile.am:
25146         * docs/libs/gstreamer-libs-docs.sgml:
25147         * docs/libs/gstreamer-libs-sections.txt:
25148         * docs/libs/gstreamer-libs.types:
25149         * examples/Makefile.am:
25150         * examples/controller/.cvsignore:
25151         * examples/controller/Makefile.am:
25152         * examples/controller/audio-example.c: (main):
25153         * libs/gst/Makefile.am:
25154         * libs/gst/controller/.cvsignore:
25155         * libs/gst/controller/Makefile.am:
25156         * libs/gst/controller/gst-controller.c:
25157         (on_object_controlled_property_changed), (gst_timed_value_compare),
25158         (gst_timed_value_find),
25159         (gst_controlled_property_set_interpolation_mode),
25160         (gst_controlled_property_new), (gst_controlled_property_free),
25161         (gst_controller_find_controlled_property),
25162         (gst_controller_new_valist), (gst_controller_new),
25163         (gst_controller_remove_properties_valist),
25164         (gst_controller_remove_properties), (gst_controller_set),
25165         (gst_controller_set_from_list), (gst_controller_unset),
25166         (gst_controller_get), (gst_controller_get_all),
25167         (gst_controller_sink_values), (gst_controller_get_value_arrays),
25168         (gst_controller_get_value_array),
25169         (gst_controller_set_interpolation_mode),
25170         (_gst_controller_finalize), (_gst_controller_init),
25171         (_gst_controller_class_init), (gst_controller_get_type):
25172         * libs/gst/controller/gst-controller.h:
25173         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
25174         (g_object_uncontrol_properties), (g_object_get_controller),
25175         (g_object_set_controller), (g_object_sink_values),
25176         (g_object_get_value_arrays), (g_object_get_value_array):
25177         * libs/gst/controller/gst-interpolation.c:
25178         (gst_controlled_property_find_timed_value_node),
25179         (interpolate_none_get), (interpolate_trigger_get),
25180         (interpolate_trigger_get_value_array):
25181         * libs/gst/controller/lib.c: (gst_controller_init):
25182         * pkgconfig/Makefile.am:
25183         * pkgconfig/gstreamer-control-uninstalled.pc.in:
25184         * pkgconfig/gstreamer-control.pc.in:
25185         * testsuite/Makefile.am:
25186         * testsuite/controller/.cvsignore:
25187         * testsuite/controller/Makefile.am:
25188         * testsuite/controller/interpolator.c: (main):
25189           added controller code
25190           removed dparam pc files
25191
25192 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
25193         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
25194         (gst_collectpads_stop):
25195           Broadcast the condition when shutting down, to make sure we wake all
25196           threads up. Shut down pads on finalize, for safety.
25197
25198 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
25199         * gst/base/gstbasetransform.c: (gst_base_transform_init),
25200         (gst_base_transform_handle_buffer),
25201         (gst_base_transform_change_state):
25202           Handle PAUSED->READY->PAUSED transition after negotiation
25203           occurred already.
25204         * gst/gstmessage.c: (gst_message_init):
25205           Extra piece of debug for new messages.
25206
25207 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
25208
25209         * configure.ac:
25210         * docs/gst/tmpl/gstbasesrc.sgml:
25211         * docs/gst/tmpl/gstelement.sgml:
25212         * docs/gst/tmpl/gstevent.sgml:
25213         * docs/gst/tmpl/gstfakesrc.sgml:
25214         * docs/gst/tmpl/gstformat.sgml:
25215         * docs/gst/tmpl/gstghostpad.sgml:
25216         * docs/gst/tmpl/gstpad.sgml:
25217         * docs/gst/tmpl/gstquery.sgml:
25218         * docs/gst/tmpl/gststructure.sgml:
25219         * docs/gst/tmpl/gsttaglist.sgml:
25220         * docs/gst/tmpl/gstvalue.sgml:
25221         * docs/libs/gstreamer-libs-docs.sgml:
25222         * docs/libs/gstreamer-libs-sections.txt:
25223         * docs/libs/gstreamer-libs.types:
25224         * libs/gst/Makefile.am:
25225         * libs/gst/control/.cvsignore:
25226         * libs/gst/control/Makefile.am:
25227         * libs/gst/control/control.c:
25228         * libs/gst/control/control.h:
25229         * libs/gst/control/dparam.c:
25230         * libs/gst/control/dparam.h:
25231         * libs/gst/control/dparam_smooth.c:
25232         * libs/gst/control/dparam_smooth.h:
25233         * libs/gst/control/dparamcommon.h:
25234         * libs/gst/control/dparammanager.c:
25235         * libs/gst/control/dparammanager.h:
25236         * libs/gst/control/dplinearinterp.c:
25237         * libs/gst/control/dplinearinterp.h:
25238         * libs/gst/control/unitconvert.c:
25239         * libs/gst/control/unitconvert.h:
25240         * testsuite/Makefile.am:
25241         * testsuite/dynparams/.cvsignore:
25242         * testsuite/dynparams/Makefile.am:
25243         * testsuite/dynparams/dparamstest.c:
25244         * tools/Makefile.am:
25245         * tools/gst-inspect.c: (print_element_info), (main):
25246         * tools/gst-xmlinspect.c: (print_element_info), (main):
25247           deactivate and remove dparams (libgstcontrol)
25248
25249 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25250
25251         * gst/elements/gsttypefindelement.c:
25252         (gst_type_find_element_have_type), (gst_type_find_element_init),
25253         (stop_typefinding), (gst_type_find_element_handle_event),
25254         (gst_type_find_element_chain), (gst_type_find_element_getrange):
25255         * gst/elements/gsttypefindelement.h:
25256           Set caps on all outgoing buffers, not just the first one.
25257
25258 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25259
25260         * gst/elements/gsttypefindelement.c:
25261         (gst_type_find_element_have_type),
25262         (gst_type_find_element_check_set_buffer_caps),
25263         (gst_type_find_element_init), (stop_typefinding),
25264         (gst_type_find_element_handle_event),
25265         (gst_type_find_element_chain), (gst_type_find_element_getrange):
25266         * gst/elements/gsttypefindelement.h:
25267           Set caps on first outgoing buffer when we've found the type.
25268
25269 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25270
25271         * docs/gst/gstreamer-docs.sgml:
25272         * docs/gst/gstreamer-sections.txt:
25273         * docs/gst/tmpl/gstscheduler.sgml:
25274         * docs/gst/tmpl/gstschedulerfactory.sgml:
25275           Remove some old cruft from docs.
25276
25277 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
25278
25279         * gst/gstpad.h:
25280           Fix inline docs for GstPadLinkReturn.
25281           
25282         * gst/gststructure.c: (gst_structure_has_name):
25283         * gst/gststructure.h:
25284         * docs/gst/gstreamer-sections.txt:
25285           New API: gst_structure_has_name().
25286
25287 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
25288
25289         * configure.ac:
25290           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
25291           and _LARGEFILE_SOURCE in config.h as required. Do not 
25292           export those flags in our .pc files any longer (#142209).
25293
25294           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
25295
25296         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
25297         (gst_file_sink_do_seek), (gst_file_sink_event),
25298         (gst_file_sink_get_current_offset), (gst_file_sink_render):
25299           Redo seek/tell calls with large file support in mind; add some
25300           debugging messages; add log message that tells us when large
25301           file support is unavailable or not enabled for some reason.
25302
25303         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
25304           Add log message that tells us when large file support 
25305           is unavailable or not enabled for some reason.
25306
25307 2005-07-29  Wim Taymans  <wim@fluendo.com>
25308
25309         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25310         Added test for removing an element with ghostpad from a bin.
25311         Fixed test as current implementation does the right thing.
25312
25313         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
25314         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
25315         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
25316         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
25317         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
25318         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
25319         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
25320         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25321         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
25322         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
25323         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
25324         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
25325         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25326         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25327         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25328         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25329         * gst/gstghostpad.h:
25330         Clean up ghostpads, remove properties for internal stuff.
25331         Make threadsafe.
25332         Fix refcounting.
25333         Prepare for switching targets, not all use cases work yet.
25334
25335 2005-07-29  Wim Taymans  <wim@fluendo.com>
25336
25337         * docs/design/part-gstghostpad.txt:
25338         Small update.
25339
25340         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25341         (gst_bin_remove_func):
25342         Unlinking pads while holding the bin LOCK is not a good
25343         idea.
25344
25345         * gst/gstpad.c: (gst_pad_class_init),
25346         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25347         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25348         No prob setting template after creating the pad.
25349
25350 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
25351
25352         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25353         (gst_bus_peek), (gst_bus_source_dispatch),
25354         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25355         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25356           gst_bus_poll may be called from other threads. Handle
25357           this nicely by not making poll_data disappear off the
25358           stack once gst_bus_poll returns.
25359           gst_bus_peek now increments the refcount on the returned
25360           message.
25361
25362 2005-07-29  Wim Taymans  <wim@fluendo.com>
25363
25364         * docs/design/part-gstghostpad.txt:
25365         Overview of current GhostPad datastructures and use
25366         cases for changing the target.
25367
25368 2005-07-28  Wim Taymans  <wim@fluendo.com>
25369
25370         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25371         Added checks for hierarchy consistency whan adding linked
25372         elements to bins.
25373
25374         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25375         Added check to test element scheduling without bin/pipeline.
25376
25377         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25378         First add elements to bin, then link.
25379         
25380         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25381         (gst_bin_remove_func):
25382         Unlink pads from elements added/removed from bin to maintain
25383         hierarchy consistency.
25384
25385 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25386
25387         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25388         (gst_base_transform_handle_buffer):
25389         * gst/base/gstbasetransform.h:
25390           Remove broken delay_configure (fixes renegotiation of software
25391           scaling pipelines); remove some leftover printf()s.
25392
25393 2005-07-28  Wim Taymans  <wim@fluendo.com>
25394
25395         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25396         Added some more tests for wrong hierarchy
25397
25398         * docs/design/part-overview.txt:
25399         Some updates.
25400
25401         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25402         Cleanups.
25403
25404         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25405         (gst_element_dispose):
25406         Some more cleanups.
25407
25408         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25409         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25410         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25411         (gst_pad_set_caps), (gst_pad_send_event):
25412         Check for correct hierarchy when linking pads. Moving to
25413         strict requirement for ghostpads when linking elements in
25414         different bins.
25415
25416         * gst/gstpad.h:
25417         Clean ups. Added WRONG_HIERARCHY return value.
25418
25419 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25420
25421         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25422           Better debug if no transform is possible.
25423
25424 2005-07-27  Wim Taymans  <wim@fluendo.com>
25425
25426         * docs/random/wtay/network-transp:
25427         Some old doc I had.
25428
25429 2005-07-27  Wim Taymans  <wim@fluendo.com>
25430
25431         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25432         (gst_dp_event_from_packet):
25433         Fix serialization of seek events.
25434
25435 2005-07-27  Wim Taymans  <wim@fluendo.com>
25436
25437         * check/gst-libs/gdp.c: (GST_START_TEST):
25438         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25439         Fix compilation and fix event serialization.
25440
25441 2005-07-27  Wim Taymans  <wim@fluendo.com>
25442
25443         * CHANGES-0.9:
25444         * docs/design/part-TODO.txt:
25445         * docs/design/part-events.txt:
25446         Some docs updates
25447
25448         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25449         (gst_base_sink_event), (gst_base_sink_do_sync),
25450         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25451         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25452         (gst_base_src_do_seek), (gst_base_src_event_handler),
25453         (gst_base_src_loop):
25454         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25455         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25456         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25457         (gst_base_transform_event), (gst_base_transform_handle_buffer),
25458         (gst_base_transform_set_passthrough),
25459         (gst_base_transform_is_passthrough):
25460         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25461         * gst/elements/gstfilesink.c: (gst_file_sink_event):
25462         Event updates.
25463
25464         * gst/gstbuffer.h:
25465         Use faster casts.
25466
25467         * gst/gstelement.c: (gst_element_seek):
25468         * gst/gstelement.h:
25469         Update gst_element_seek.
25470
25471         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25472         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25473         (gst_event_new_flush_start), (gst_event_new_flush_stop),
25474         (gst_event_new_eos), (gst_event_new_newsegment),
25475         (gst_event_parse_newsegment), (gst_event_new_tag),
25476         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25477         (gst_event_parse_qos), (gst_event_new_seek),
25478         (gst_event_parse_seek), (gst_event_new_navigation):
25479         * gst/gstevent.h:
25480         Make GstEvent use GstStructure. Add parsing code, make sure the
25481         API is sufficiently generic.
25482         Mark possible directions of events and serialization.
25483
25484         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25485         (_gst_message_copy), (gst_message_new_segment_start),
25486         (gst_message_new_segment_done), (gst_message_new_custom),
25487         (gst_message_parse_segment_start),
25488         (gst_message_parse_segment_done):
25489         Small cleanups.
25490
25491         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25492         (gst_pad_set_caps), (gst_pad_send_event):
25493         Update for new events. 
25494         Catch events sent in wrong directions.
25495
25496         * gst/gstqueue.c: (gst_queue_link_src),
25497         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25498         (gst_queue_handle_src_query):
25499         Event updates.
25500
25501         * gst/gsttag.c:
25502         * gst/gsttag.h:
25503         Remove event code from this file.
25504
25505         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25506         (gst_dp_event_from_packet):
25507         Event updates.
25508
25509 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25510
25511         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25512         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25513         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25514           Make debugging actually useful.
25515
25516 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25517
25518         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25519         (gst_pad_fixate_caps):
25520           Implement default fixation once again, so that gst_pad_fixate()
25521           actually does anything at all. This probably needs to be some
25522           sort of a last resort, and use profile-based fixation first, but
25523           since that doesn't exist yet, this is the best we have. Fixes
25524           visualization in Totem.
25525
25526 2005-07-22  Wim Taymans  <wim@fluendo.com>
25527
25528         * docs/design/part-events.txt:
25529         Small update.
25530
25531         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25532         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25533         (gst_base_sink_activate_pull):
25534         Some more comments.
25535
25536         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25537         (gst_fake_src_create):
25538         Fix handoff marshall.
25539
25540         * gst/elements/gstidentity.c: (gst_identity_class_init),
25541         (gst_identity_transform_ip):
25542         We're a real inplace element.
25543
25544         * gst/gstbus.c: (gst_bus_post):
25545         Added some comments.
25546
25547         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25548         * tests/muxing/case1.c: (main):
25549         * tests/sched/dynamic-pipeline.c: (main):
25550         * tests/sched/interrupt1.c: (main):
25551         * tests/sched/interrupt2.c: (main):
25552         * tests/sched/interrupt3.c: (main):
25553         * tests/sched/runxml.c: (main):
25554         * tests/sched/sched-stress.c: (main):
25555         * tests/seeking/seeking1.c: (event_received), (main):
25556         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25557         (main):
25558         * tests/threadstate/threadstate3.c: (main):
25559         * tests/threadstate/threadstate4.c: (main):
25560         * tests/threadstate/threadstate5.c: (main):
25561         Fix the tests.
25562
25563 2005-07-21  Wim Taymans  <wim@fluendo.com>
25564
25565         * docs/design/part-seeking.txt:
25566         Some small additions.
25567
25568         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25569         (gst_base_sink_get_times), (gst_base_sink_do_sync),
25570         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25571         * gst/base/gstbasesink.h:
25572         discont values are gint64, handle the math correctly.
25573
25574         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25575         Make the basesrc report error if the source pad is not linked.
25576
25577         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
25578         (gst_queue_loop), (gst_queue_handle_src_query),
25579         (gst_queue_src_activate_push):
25580         Make queue collect data even if the srcpad is not linked.
25581         Start pushing out data as soon as it is linked.
25582
25583         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
25584         * gst/gstutils.h:
25585         Added gst_flow_get_name() to ease error reporting.
25586
25587 2005-07-20  Wim Taymans  <wim@fluendo.com>
25588
25589         * gst/gstmessage.c: (gst_message_new_segment_start),
25590         (gst_message_new_segment_done), (gst_message_parse_segment_start),
25591         (gst_message_parse_segment_done):
25592         * gst/gstmessage.h:
25593         Added a bunch of messages for advanced seeking.
25594
25595         * gst/parse/grammar.y:
25596         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
25597         (gst_dpman_state_changed):
25598         Fix some new-pad -> pad-added signals
25599
25600 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25601
25602         * docs/manual/appendix-porting.xml:
25603         * docs/pwg/appendix-porting.xml:
25604           Document new-pad/state-change signal renames and the FixedList
25605           type rename.
25606
25607 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25608
25609         * docs/manual/advanced-autoplugging.xml:
25610         * docs/manual/basics-helloworld.xml:
25611         * docs/manual/basics-pads.xml:
25612         * docs/random/ds/0.9-suggested-changes:
25613         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
25614         * gst/gstelement.h:
25615         * gst/gstevent.h:
25616         * gst/gstformat.h:
25617         * gst/gstquery.h:
25618         * gst/gststructure.c: (gst_structure_value_get_generic_type),
25619         (gst_structure_parse_array), (gst_structure_parse_value):
25620         * gst/gstvalue.c: (gst_type_is_fixed),
25621         (gst_value_list_prepend_value), (gst_value_list_append_value),
25622         (gst_value_list_get_size), (gst_value_list_get_value),
25623         (gst_value_transform_array_string), (gst_value_serialize_array),
25624         (gst_value_deserialize_array), (gst_value_intersect_array),
25625         (gst_value_is_fixed), (_gst_value_initialize):
25626         * gst/gstvalue.h:
25627           GstElement::new-pad -> pad-added, GstElement::state-change ->
25628           state-changed, GstValueFixedList -> GstValueArray, add format and
25629           flags as their own arguments in gst_element_seek() (should improve
25630           "bindeability"), remove function generators since they don't work
25631           under a whole bunch of compilers (they were deprecated already
25632           anyway).
25633
25634 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25635
25636         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25637         (_gst_debug_register_funcptr):
25638         * gst/gstinfo.h:
25639           Fix illegal cast on some platforms (#309253).
25640
25641 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25642
25643         * gst/gstmessage.c: (gst_message_new_custom):
25644         * gst/gstmessage.h:
25645           Add _new_custom, make _new_application a macro to _new_custom.
25646
25647 2005-07-20  Wim Taymans  <wim@fluendo.com>
25648
25649         * gst/base/gstbasesrc.c: (gst_base_src_init),
25650         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
25651         * gst/base/gstbasesrc.h:
25652         Add a gboolean to decide when to push out a discont.
25653
25654         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25655         (gst_queue_loop), (gst_queue_handle_src_query),
25656         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
25657         (gst_queue_set_property), (gst_queue_get_property):
25658         Some cleanups.
25659
25660         * tests/threadstate/threadstate1.c: (main):
25661         Make a thread test compile and run... very silly..
25662
25663
25664 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25665
25666         * docs/manual/appendix-porting.xml:
25667           Mention removal of libgstgconf-0.9.la and existence of gconf
25668           elements.
25669
25670 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25671
25672         * docs/pwg/advanced-clock.xml:
25673         * docs/pwg/appendix-porting.xml:
25674         * docs/pwg/intro-preface.xml:
25675         * docs/pwg/other-base.xml:
25676         * docs/pwg/other-manager.xml:
25677         * docs/pwg/other-nton.xml:
25678         * docs/pwg/other-ntoone.xml:
25679         * docs/pwg/other-oneton.xml:
25680         * docs/pwg/pwg.xml:
25681           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
25682           demuxer), remove n-to-n (was never written), fix some code examples
25683           and links and update the porting section to include all this.
25684
25685 2005-07-19  Wim Taymans  <wim@fluendo.com>
25686
25687         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
25688         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
25689         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
25690         (gst_queue_src_activate_push), (gst_queue_change_state),
25691         (gst_queue_get_property):
25692         * gst/gstqueue.h:
25693         Propagate GstFlowReturn more intelligently upstream and output
25694         an ERROR/EOS when streaming stopped due to fatal error.
25695
25696 2005-07-19  Wim Taymans  <wim@fluendo.com>
25697
25698         * tools/gst-launch.c: (check_intr), (event_loop), (main):
25699         Don't block forever for the state change to complete, the
25700         pipeline already did with a sensible timeout.
25701
25702 2005-07-19  Wim Taymans  <wim@fluendo.com>
25703
25704         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
25705         Make sure we never call the create function is we
25706         got deactivated.
25707
25708 2005-07-19  Andy Wingo  <wingo@pobox.com>
25709
25710         * gst/parse/parse.l: Attempt to solve bug #172815.
25711
25712 2005-07-19  Wim Taymans  <wim@fluendo.com>
25713
25714         * docs/design/part-clocks.txt:
25715         * docs/design/part-events.txt:
25716         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
25717         Small docs updates.
25718         Only update the seeking values when we are not
25719         busy streaming.
25720
25721 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
25722
25723         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25724           Oops, ignore the result of gst_pad_push_event here.
25725
25726 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
25727
25728         * gst/base/gstbasesrc.c: (gst_base_src_loop),
25729         (gst_base_src_activate_push):
25730           Send discont event from the loop function, as pads
25731           aren't activated yet in the activate_push handler.
25732
25733         * gst/gstbin.c: (bin_bus_handler):
25734           Don't leak element name.
25735
25736 2005-07-18  Andy Wingo  <wingo@pobox.com>
25737
25738         * configure.ac: Use AS_LIBTOOL_TAGS.
25739
25740 2005-07-18  Wim Taymans  <wim@fluendo.com>
25741
25742         * docs/gst/gstreamer.types:
25743         Remove deleted types.
25744
25745 2005-07-18  Wim Taymans  <wim@fluendo.com>
25746
25747         * check/elements/gstfakesrc.c: (GST_START_TEST):
25748         * configure.ac:
25749         * gst/Makefile.am:
25750         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
25751         (init_popt_callback):
25752         * gst/gst.h:
25753         * gst/gst_private.h:
25754         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
25755         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
25756         * gst/gstbin.h:
25757         * gst/gstbus.h:
25758         * gst/gstconfig.h.in:
25759         * gst/gstelement.c: (gst_element_class_init),
25760         (gst_element_set_base_time), (gst_element_get_base_time),
25761         (iterator_fold_with_resync), (gst_element_change_state),
25762         (gst_element_dispose), (gst_element_get_bus):
25763         * gst/gstelement.h:
25764         * gst/gstelementfactory.h:
25765         * gst/gsterror.c: (_gst_core_errors_init):
25766         * gst/gsterror.h:
25767         * gst/gstevent.h:
25768         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25769         * gst/gstindex.c:
25770         * gst/gstinfo.c: (_gst_debug_init):
25771         * gst/gstmessage.c: (_gst_message_copy):
25772         * gst/gstmessage.h:
25773         * gst/gstminiobject.h:
25774         * gst/gstobject.c:
25775         * gst/gstobject.h:
25776         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25777         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
25778         * gst/gstpad.h:
25779         * gst/gstparse.h:
25780         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
25781         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25782         (gst_pipeline_get_last_stream_time):
25783         * gst/gstpipeline.h:
25784         * gst/gstpluginfeature.h:
25785         * gst/gstquery.h:
25786         * gst/gstscheduler.c:
25787         * gst/gstscheduler.h:
25788         * gst/gststructure.h:
25789         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25790         (gst_task_finalize), (gst_task_func), (gst_task_create),
25791         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
25792         (gst_task_stop), (gst_task_pause):
25793         * gst/gsttask.h:
25794         * gst/gsttypefind.h:
25795         * gst/gsttypes.h:
25796         * gst/registries/gstlibxmlregistry.c: (load_feature),
25797         (gst_xml_registry_load), (gst_xml_registry_save_feature):
25798         * gst/registries/gstxmlregistry.c:
25799         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
25800         * gst/schedulers/threadscheduler.c:
25801         * libs/gst/control/dparammanager.h:
25802         * tools/gst-inspect.c: (print_element_list),
25803         (print_plugin_features), (print_element_features):
25804         * tools/gst-xmlinspect.c: (print_element_list),
25805         (print_plugin_info), (main):
25806         Removed plugable schedulers.
25807         Removed Scheduler/Manager from elements.
25808         Removed gsttypes.h, rearranged includes.
25809         Removed dependency pad<->element, element<>pipeline, and
25810         various others,  fix includes.
25811         implement gst_pad_get_parent() with gst_object_get_parent()
25812         Make GstTask sefcontained.
25813         Fix _get_state() on GstBin, it did not return ASYNC with a 0
25814         timeout.
25815         Fix endless loop in iterator_fold_with_resync.
25816
25817
25818 2005-07-18  Wim Taymans  <wim@fluendo.com>
25819
25820         * gst/Makefile.am:
25821         * gst/gstarch.h:
25822         Remove old file.
25823
25824 2005-07-18  Wim Taymans  <wim@fluendo.com>
25825
25826         * gst/Makefile.am:
25827         No more cothreads.h
25828
25829 2005-07-18  Wim Taymans  <wim@fluendo.com>
25830
25831         * gst/cothreads.c:
25832         * gst/cothreads.h:
25833         Let's remove these.
25834
25835 2005-07-18  Wim Taymans  <wim@fluendo.com>
25836
25837         * docs/design/part-dynamic.txt:
25838         * docs/design/part-events.txt:
25839         * docs/design/part-seeking.txt:
25840         Some more docs in the works.
25841
25842         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25843         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
25844         (gst_base_transform_setcaps), (gst_base_transform_get_size),
25845         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25846         (gst_base_transform_handle_buffer),
25847         (gst_base_transform_sink_activate_push),
25848         (gst_base_transform_src_activate_pull),
25849         (gst_base_transform_set_passthrough),
25850         (gst_base_transform_is_passthrough):
25851         Refcounting fixes.
25852
25853         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
25854         Cleanups.
25855
25856         * gst/gstevent.c: (gst_event_finalize):
25857         Set SRC to NULL.
25858
25859         * gst/gstutils.c: (gst_element_unlink),
25860         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
25861         (gst_pad_proxy_setcaps):
25862         * gst/gstutils.h:
25863         Add _get_parent_element() to get a pads parent as an element.
25864
25865 2005-07-18  Wim Taymans  <wim@fluendo.com>
25866
25867         * check/gst/gstbin.c: (GST_START_TEST):
25868         Remove bogus test.
25869
25870 2005-07-18  Wim Taymans  <wim@fluendo.com>
25871
25872         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
25873         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
25874         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
25875         (gst_base_sink_event), (gst_base_sink_do_sync),
25876         (gst_base_sink_chain), (gst_base_sink_loop),
25877         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
25878         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
25879         Refcounting fixes.
25880         Fix logic for returning ASYNC when not prerolled.
25881
25882 2005-07-18  Wim Taymans  <wim@fluendo.com>
25883
25884         * gst/gstqueue.c: (gst_queue_handle_sink_event):
25885         Fix nasty refcount bug.
25886
25887 2005-07-16 Philippe Khalaf <burger@speedy.org>
25888
25889         * gst/elements/gstfdsrc.c:
25890         * gst/elements/gstfdsrc.h:
25891         * gst/elements/gstelements.c:
25892         * gst/elements/Makefile.am:
25893         Ported fdsrc to 0.9.
25894
25895 2005-07-16  Wim Taymans  <wim@fluendo.com>
25896
25897         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25898         (gst_base_sink_do_sync):
25899         Fix compile error.
25900
25901 2005-07-16  Wim Taymans  <wim@fluendo.com>
25902
25903         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25904         (gst_base_sink_event), (gst_base_sink_get_times),
25905         (gst_base_sink_do_sync), (gst_base_sink_change_state):
25906         * gst/base/gstbasesink.h:
25907         Store and use discont values when syncing buffers as described
25908         in design docs.
25909         
25910         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25911         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
25912         (gst_base_src_activate_push):
25913         Push discont event when starting.
25914
25915         * gst/elements/gstidentity.c: (gst_identity_transform):
25916         Small cleanups.
25917
25918         * gst/gstbin.c: (gst_bin_change_state):
25919         Small cleanups in base_time  distribution.
25920
25921         * gst/gstelement.c: (gst_element_set_base_time),
25922         (gst_element_get_base_time), (gst_element_change_state):
25923         * gst/gstelement.h:
25924         Added methods for the base_time of the element.
25925         Some MT fixes.
25926
25927         * gst/gstpipeline.c: (gst_pipeline_send_event),
25928         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25929         (gst_pipeline_get_last_stream_time):
25930         * gst/gstpipeline.h:
25931         MT fixes.
25932         Handle seeking as described in design doc, remove stream_time
25933         hack.
25934         Cleanups clock and stream_time selection code. Added accessors
25935         for the stream_time.
25936         
25937
25938 2005-07-16  Andy Wingo  <wingo@pobox.com>
25939
25940         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
25941         (#305291).
25942
25943 2005-07-16  Wim Taymans  <wim@fluendo.com>
25944
25945         * check/gst/gstbin.c: (GST_START_TEST):
25946         Make elements silent as the deep_notify refs the
25947         parent, which might make the test fail.
25948
25949         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25950         Don't hold the lock for too long.
25951
25952 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
25953
25954         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
25955           Don't unref the caps we passed to gst_caps_make_writable() after
25956           passing them. gst_caps_make_writable() will do that for us.
25957
25958 2005-07-15  Andy Wingo  <wingo@pobox.com>
25959
25960         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
25961         (#157311).
25962
25963         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
25964         own marshalling function for the handoff signal. Properly type the
25965         buffer as a buffer. Fixes some warnings. Should do a more general
25966         solution.
25967         (gst_identity_class_init): Plug into the right marshaller.
25968
25969 2005-07-15  Wim Taymans  <wim@fluendo.com>
25970
25971         * docs/design/part-TODO.txt:
25972         * docs/design/part-clocks.txt:
25973         * docs/design/part-element-sink.txt:
25974         * docs/design/part-events.txt:
25975         * docs/design/part-gstpipeline.txt:
25976         Updated docs, mostly DISCONT related.
25977
25978 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
25979
25980         * docs/pwg/building-pads.xml:
25981           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
25982
25983 2005-07-15  Andy Wingo  <wingo@pobox.com>
25984
25985         * tools/gst-typefind.c: Update, add copyright block.
25986
25987         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
25988         Normalize and truncate caps before fixation.
25989
25990         * gst/gstcaps.h:
25991         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
25992         discards all but the first structure from its argument.
25993
25994 2005-07-15  Wim Taymans  <wim@fluendo.com>
25995
25996         * gst/base/gstbasetransform.c: (gst_base_transform_init),
25997         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
25998         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25999         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26000         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
26001         (gst_base_transform_chain), (gst_base_transform_change_state),
26002         (gst_base_transform_set_passthrough),
26003         (gst_base_transform_is_passthrough):
26004         * gst/base/gstbasetransform.h:
26005         Make passthrough work using the bufferpools.
26006         Changed API a bit, subclasses have to write into a buffer
26007         provided by the base class.
26008         More debug info in nego functions.
26009         
26010         * gst/elements/gstidentity.c: (gst_identity_init),
26011         (gst_identity_transform):
26012         Port to new base class.
26013
26014 2005-07-15  Wim Taymans  <wim@fluendo.com>
26015
26016         * gst/gstmessage.c: (gst_message_new_state_changed):
26017         * tools/gst-launch.c: (event_loop), (main):
26018         Totally dump messages in -launch with the -m option.
26019         Fix message name for State messages,
26020
26021 2005-07-14  Wim Taymans  <wim@fluendo.com>
26022
26023         * gst/base/gstbasesrc.c: (gst_base_src_loop):
26024         Post error messages on errors.
26025
26026 2005-07-14  Wim Taymans  <wim@fluendo.com>
26027
26028         * gst/gstcaps.c: (gst_caps_do_simplify):
26029         Remove debug info.
26030
26031         * gst/gsterror.h:
26032         Define error for stream stopped.
26033
26034         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26035         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
26036         Do proper return values.
26037
26038         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26039         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
26040         (gst_pad_get_range):
26041         Better return values.
26042
26043         * gst/gstpad.h:
26044         Reorganise return values, add macro to check for fatal errors.
26045
26046         * gst/gstqueue.c: (gst_queue_chain):
26047         Return proper GstFlowReturn values,
26048
26049 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
26050
26051         * docs/gst/gstreamer-sections.txt:
26052         * docs/gst/gstreamer.types:
26053         * docs/gst/tmpl/gst.sgml:
26054         * docs/gst/tmpl/gstbasesink.sgml:
26055         * docs/gst/tmpl/gstbasesrc.sgml:
26056         * docs/gst/tmpl/gstbasetransform.sgml:
26057         * docs/gst/tmpl/gstbin.sgml:
26058         * docs/gst/tmpl/gstbuffer.sgml:
26059         * docs/gst/tmpl/gstcaps.sgml:
26060         * docs/gst/tmpl/gstclock.sgml:
26061         * docs/gst/tmpl/gstcompat.sgml:
26062         * docs/gst/tmpl/gstconfig.sgml:
26063         * docs/gst/tmpl/gstelement.sgml:
26064         * docs/gst/tmpl/gstelementdetails.sgml:
26065         * docs/gst/tmpl/gstelementfactory.sgml:
26066         * docs/gst/tmpl/gstenumtypes.sgml:
26067         * docs/gst/tmpl/gsterror.sgml:
26068         * docs/gst/tmpl/gstevent.sgml:
26069         * docs/gst/tmpl/gstfakesink.sgml:
26070         * docs/gst/tmpl/gstfakesrc.sgml:
26071         * docs/gst/tmpl/gstfilesink.sgml:
26072         * docs/gst/tmpl/gstfilesrc.sgml:
26073         * docs/gst/tmpl/gstfilter.sgml:
26074         * docs/gst/tmpl/gstformat.sgml:
26075         * docs/gst/tmpl/gstghostpad.sgml:
26076         * docs/gst/tmpl/gstimplementsinterface.sgml:
26077         * docs/gst/tmpl/gstindex.sgml:
26078         * docs/gst/tmpl/gstindexfactory.sgml:
26079         * docs/gst/tmpl/gstinfo.sgml:
26080         * docs/gst/tmpl/gstiterator.sgml:
26081         * docs/gst/tmpl/gstmacros.sgml:
26082         * docs/gst/tmpl/gstmemchunk.sgml:
26083         * docs/gst/tmpl/gstminiobject.sgml:
26084         * docs/gst/tmpl/gstobject.sgml:
26085         * docs/gst/tmpl/gstpad.sgml:
26086         * docs/gst/tmpl/gstpadtemplate.sgml:
26087         * docs/gst/tmpl/gstparse.sgml:
26088         * docs/gst/tmpl/gstpipeline.sgml:
26089         * docs/gst/tmpl/gstplugin.sgml:
26090         * docs/gst/tmpl/gstpluginfeature.sgml:
26091         * docs/gst/tmpl/gstquery.sgml:
26092         * docs/gst/tmpl/gstqueue.sgml:
26093         * docs/gst/tmpl/gstregistry.sgml:
26094         * docs/gst/tmpl/gstregistrypool.sgml:
26095         * docs/gst/tmpl/gstscheduler.sgml:
26096         * docs/gst/tmpl/gstschedulerfactory.sgml:
26097         * docs/gst/tmpl/gststructure.sgml:
26098         * docs/gst/tmpl/gstsystemclock.sgml:
26099         * docs/gst/tmpl/gsttaglist.sgml:
26100         * docs/gst/tmpl/gsttagsetter.sgml:
26101         * docs/gst/tmpl/gsttrace.sgml:
26102         * docs/gst/tmpl/gsttrashstack.sgml:
26103         * docs/gst/tmpl/gsttypefind.sgml:
26104         * docs/gst/tmpl/gsttypefindfactory.sgml:
26105         * docs/gst/tmpl/gsttypes.sgml:
26106         * docs/gst/tmpl/gsturihandler.sgml:
26107         * docs/gst/tmpl/gsturitype.sgml:
26108         * docs/gst/tmpl/gstutils.sgml:
26109         * docs/gst/tmpl/gstvalue.sgml:
26110         * docs/gst/tmpl/gstversion.sgml:
26111         * docs/gst/tmpl/gstxml.sgml:
26112         * docs/libs/tmpl/gstcontrol.sgml:
26113         * docs/libs/tmpl/gstdataprotocol.sgml:
26114         * docs/libs/tmpl/gstdparam.sgml:
26115         * docs/libs/tmpl/gstdplinint.sgml:
26116         * docs/libs/tmpl/gstdpman.sgml:
26117         * docs/libs/tmpl/gstdpsmooth.sgml:
26118         * docs/libs/tmpl/gstgetbits.sgml:
26119         * docs/libs/tmpl/gstunitconvert.sgml:
26120         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
26121         (gst_push_src_base_init), (gst_push_src_class_init),
26122         (gst_push_src_init), (gst_push_src_create):
26123         * gst/base/gstpushsrc.h:
26124         * gst/elements/gstelements.c:
26125         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
26126         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
26127         (gst_fake_sink_init), (gst_fake_sink_set_property),
26128         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
26129         (gst_fake_sink_event), (gst_fake_sink_preroll),
26130         (gst_fake_sink_render), (gst_fake_sink_change_state):
26131         * gst/elements/gstfakesink.h:
26132         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
26133         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
26134         (gst_fake_src_base_init), (gst_fake_src_class_init),
26135         (gst_fake_src_init), (gst_fake_src_event_handler),
26136         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
26137         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
26138         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
26139         (gst_fake_src_create_buffer), (gst_fake_src_create),
26140         (gst_fake_src_start), (gst_fake_src_stop):
26141         * gst/elements/gstfakesrc.h:
26142         * gst/elements/gstfilesink.c: (_do_init),
26143         (gst_file_sink_base_init), (gst_file_sink_class_init),
26144         (gst_file_sink_init), (gst_file_sink_dispose),
26145         (gst_file_sink_set_location), (gst_file_sink_set_property),
26146         (gst_file_sink_get_property), (gst_file_sink_open_file),
26147         (gst_file_sink_close_file), (gst_file_sink_query),
26148         (gst_file_sink_event), (gst_file_sink_render),
26149         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
26150         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
26151         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
26152         * gst/elements/gstfilesink.h:
26153         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
26154         (gst_file_src_class_init), (gst_file_src_init),
26155         (gst_file_src_finalize), (gst_file_src_set_location),
26156         (gst_file_src_set_property), (gst_file_src_get_property),
26157         (gst_file_src_map_region), (gst_file_src_map_small_region),
26158         (gst_file_src_create_mmap), (gst_file_src_create_read),
26159         (gst_file_src_create), (gst_file_src_is_seekable),
26160         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
26161         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
26162         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
26163         (gst_file_src_uri_handler_init):
26164         * gst/elements/gstfilesrc.h:
26165           more autistic cleanliness in functions/names/defines
26166
26167 2005-07-13  Andy Wingo  <wingo@pobox.com>
26168
26169         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
26170         source couldn't negotiate.
26171
26172         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
26173         connections again.
26174
26175         * gst/gstutils.h:
26176         * gst/gstutils.c (gst_element_link_pads_filtered): New old
26177         function. I am channeling Hades. Put your boots on suckers!!!
26178
26179 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
26180
26181         * testsuite/caps/Makefile.am:
26182         * testsuite/caps/value_compare.c:
26183         * testsuite/caps/value_intersect.c:
26184         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26185           move two testsuite apps over to the check dir
26186
26187 2005-07-12  Wim Taymans  <wim@fluendo.com>
26188
26189         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
26190         Added more debug info in the negotiate process.
26191
26192         * gst/gstmessage.h:
26193         Prepare for segment playback.
26194
26195         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
26196         Better debugging.
26197
26198         * gst/gstutils.c:
26199         Some more docs.
26200
26201         * tools/gst-launch.c: (main):
26202         NULL pipeline on errors.
26203
26204 2005-07-12  Andy Wingo  <wingo@pobox.com>
26205
26206         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
26207         not it comes from a malloc region. Make sure our copy gets freed.
26208
26209 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26210
26211         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
26212         * check/gst/gstmessage.c: (GST_START_TEST):
26213         * check/gst/gststructure.c: (GST_START_TEST),
26214         (gst_structure_suite), (main):
26215           more testing
26216         * gst/gstelement.c: (gst_element_message_full):
26217           clean up GError and debug string now that they get copied
26218         * gst/gstmessage.c: (gst_message_new_error),
26219         (gst_message_new_warning), (gst_message_parse_error),
26220         (gst_message_parse_warning):
26221           use GST_TYPE_G_ERROR for structure_new, and take copies of
26222           arguments, so that we don't mess up refcounting
26223
26224 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26225
26226         * check/Makefile.am:
26227           add per-test valgrind targets
26228         * check/gst-libs/gdp.c: (GST_START_TEST),
26229         (gst_data_protocol_suite), (main):
26230           clean up
26231
26232 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26233
26234         * check/Makefile.am:
26235           instate more valgrindable tests
26236         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26237         (GST_START_TEST), (fakesrc_suite):
26238         * check/gst/gstpad.c: (GST_START_TEST):
26239         * check/gst/gststructure.c: (GST_START_TEST):
26240           fix test leaks
26241         * docs/gst/tmpl/gstminiobject.sgml:
26242         * gst/gstpad.c: (gst_pad_finalize):
26243           fix the static mutex leak
26244
26245 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26246
26247         * check/Makefile.am:
26248           add two more tests for valgrinding
26249         * check/gst/gstvalue.c: (GST_START_TEST):
26250           test refcount of deserialized buffer, found a leak
26251         * docs/gst/gstreamer-docs.sgml:
26252         * docs/gst/gstreamer-sections.txt:
26253         * docs/gst/gstreamer.types:
26254         * docs/gst/tmpl/gstminiobject.sgml:
26255           add miniobject to docs
26256         * gst/gstminiobject.c:
26257           add some docs
26258         * gst/gstvalue.c: (gst_value_deserialize_buffer),
26259         (gst_string_unwrap):
26260           fix a hard-to-find invalid write for one of the tests
26261           fix a leak for deserialized buffers
26262
26263 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26264
26265         * docs/pwg/advanced-events.xml:
26266         * docs/pwg/advanced-request.xml:
26267         * docs/pwg/advanced-scheduling.xml:
26268         * docs/pwg/appendix-porting.xml:
26269         * docs/pwg/building-boiler.xml:
26270         * docs/pwg/intro-preface.xml:
26271         * docs/pwg/other-ntoone.xml:
26272           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
26273           of example code and explanation for pad activation, loop() and
26274           getrange() functions and a bit more. Remove old comments pointing
26275           to loop-functions.
26276         * examples/pwg/Makefile.am:
26277           Add loop/getrange examples.
26278
26279 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26280
26281         * configure.ac:
26282           check for valgrind binary + some fixes
26283         * check/gst.supp:
26284           valgrind suppressions for the tests
26285         * check/Makefile.am:
26286           add a valgrind: target that valgrinds the unit tests
26287         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
26288         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
26289         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26290         * check/gst/gstghostpad.c:
26291           added some cleanup
26292         * check/gst/gstdata.c:
26293           removed
26294         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
26295         (thread_unref), (gst_mini_object_suite), (main):
26296           added
26297         * gst/gst.c: (gst_deinit):
26298         * gst/gst.h:
26299           add a method to clean up.
26300         * gst/gstsystemclock.c: (gst_system_clock_dispose),
26301         (gst_system_clock_obtain):
26302           allow for disposing the system clock.
26303         * tools/gst-launch.c: (main):
26304           deinit
26305
26306 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26307
26308         * docs/gst/tmpl/gstbasesrc.sgml:
26309         * docs/gst/tmpl/gstfakesrc.sgml:
26310         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26311         (gst_base_src_init), (gst_base_src_set_property),
26312         (gst_base_src_get_property), (gst_base_src_get_range),
26313         (gst_base_src_start):
26314         * gst/base/gstbasesrc.h:
26315           add num-buffers property
26316         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26317         (gst_fakesrc_init), (gst_fakesrc_set_property),
26318         (gst_fakesrc_get_property), (gst_fakesrc_create),
26319         (gst_fakesrc_start):
26320           remove num-buffers property
26321
26322 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26323
26324         * docs/gst/gstreamer-sections.txt:
26325         * docs/gst/tmpl/gstbasesink.sgml:
26326         * docs/gst/tmpl/gstbasesrc.sgml:
26327         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26328         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26329         (gst_base_sink_finalize), (gst_base_sink_set_clock),
26330         (gst_base_sink_set_property), (gst_base_sink_get_property),
26331         (gst_base_sink_handle_object), (gst_base_sink_event),
26332         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26333         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26334         (gst_base_sink_loop), (gst_base_sink_deactivate),
26335         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26336         (gst_base_sink_change_state):
26337         * gst/base/gstbasesink.h:
26338         * gst/base/gstbasesrc.h:
26339         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26340         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26341         (gst_filesink_init):
26342           more macro splitting
26343
26344 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26345
26346         * gst/gstelement.c: (gst_element_get_bus):
26347           add debug
26348         * tools/gst-launch.c: (check_intr), (event_loop):
26349           fix bus leaks
26350
26351 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26352
26353         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26354           fix a caps leak
26355
26356 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26357
26358         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26359         (gst_base_src_finalize):
26360           add finalize method and clean up properly
26361         * gst/gstpipeline.c: (gst_pipeline_dispose):
26362           add debug
26363
26364 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26365
26366         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26367         (gst_bin_suite):
26368           add more things to check
26369         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26370         * gst/gstelement.c:
26371           more debug
26372
26373 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26374
26375         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26376         (GST_START_TEST), (fakesrc_suite):
26377         * check/gst-libs/gdp.c: (GST_START_TEST):
26378         * check/gst/gst.c: (GST_START_TEST):
26379         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26380         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26381         * check/gst/gstbus.c: (GST_START_TEST):
26382         * check/gst/gstcaps.c: (GST_START_TEST):
26383         * check/gst/gstdata.c: (GST_START_TEST):
26384         * check/gst/gstelement.c: (GST_START_TEST):
26385         * check/gst/gstghostpad.c: (GST_START_TEST):
26386         * check/gst/gstiterator.c: (GST_START_TEST):
26387         * check/gst/gstmessage.c: (GST_START_TEST):
26388         * check/gst/gstobject.c: (GST_START_TEST):
26389         * check/gst/gstpad.c: (GST_START_TEST):
26390         * check/gst/gststructure.c: (GST_START_TEST):
26391         * check/gst/gstsystemclock.c: (GST_START_TEST),
26392         (gst_systemclock_suite):
26393         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26394         * check/gst/gstvalue.c: (GST_START_TEST):
26395         * check/pipelines/cleanup.c: (GST_START_TEST):
26396         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26397         * check/states/sinks.c: (GST_START_TEST):
26398         * check/gstcheck.c: (gst_check_init):
26399         * check/gstcheck.h:
26400           add debugging category
26401           use GST_START_TEST now, so we add a debug line
26402
26403 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26404
26405         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26406           add test for state change message on a bin
26407         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26408           add another test
26409         * gst/gstbin.c: (gst_bin_init):
26410         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26411         * gst/gstelement.c: (gst_element_post_message),
26412         (gst_element_set_state):
26413         * gst/gstelementfactory.c: (gst_element_factory_create):
26414         * gst/gstmessage.c: (gst_message_new):
26415         * gst/gstscheduler.c:
26416           various debugging additions and cleanups
26417
26418 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26419
26420         * check/Makefile.am:
26421         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26422         (main):
26423           adding tests for elements
26424         * gst/gstelement.c: (gst_element_dispose):
26425
26426 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26427
26428         * gst/registries/gstlibxmlregistry.c: (load_feature):
26429           plug more leaks.  A simple gst_init() now is leakfree, yay.
26430
26431 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26432
26433         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26434         (gst_xml_registry_load):
26435           plug another memleak
26436
26437 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26438
26439         * configure.ac:
26440           use GST_SET_ERROR_CFLAGS
26441         * docs/faq/cvs.xml:
26442           change to ERROR_CFLAGS
26443
26444 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26445
26446         * configure.ac:
26447           make GST_ERROR_CFLAGS overridable and re-enable Werror
26448         * docs/faq/cvs.xml:
26449           add a note about error CFLAGS
26450         * docs/gst/tmpl/gstfakesrc.sgml:
26451         * gst/elements/gstfakesrc.c:
26452           comment out some unused code
26453         * gst/gst.c: (split_and_iterate):
26454         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26455         (load_feature):
26456           plug some memleaks
26457
26458 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26459
26460         * common/Makefile.am:
26461         * common/gtk-doc.mak:
26462         * docs/gst/Makefile.am:
26463           factor out gtk-doc.mak
26464
26465 2005-07-07  Wim Taymans  <wim@fluendo.com>
26466
26467         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26468         (gst_thread_scheduler_dispose):
26469         Unlock the STREAM_LOCK completely.
26470
26471 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26472
26473         * check/Makefile.am:
26474         * check/elements/.cvsignore:
26475         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26476         (START_TEST), (fakesrc_suite), (main):
26477         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26478         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26479         (gst_fakesrc_create), (gst_fakesrc_start):
26480         * gst/elements/gstfakesrc.h:
26481           adding a first element test
26482
26483 2005-07-07  Andy Wingo  <wingo@pobox.com>
26484
26485         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26486         debug message.
26487
26488 2005-07-07  Wim Taymans  <wim@fluendo.com>
26489
26490         * gst/gstquery.c:
26491         * gst/gstquery.h:
26492         Remove old types
26493
26494 2005-07-07  Wim Taymans  <wim@fluendo.com>
26495
26496         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26497         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26498         Allow subclasses to implement their own negotiation.
26499
26500 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26501
26502         * docs/design/part-gstbin.txt:
26503         * docs/design/part-gstpipeline.txt:
26504           Update design notes to reflect the movement of
26505           responsibility for bus handling from GstPipeline to
26506           GstBin
26507
26508 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26509
26510         * configure.ac:
26511           Remove unnecessary queue2/3/4 examples.
26512
26513 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26514
26515         * examples/Makefile.am:
26516         * examples/helloworld/helloworld.c: (event_loop), (main):
26517         * examples/queue/queue.c: (event_loop), (main):
26518         * examples/queue2/queue2.c: (main):
26519           Update a couple of the examples to work again.
26520
26521         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26522         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26523          Spelling corrections and extra debug.
26524         
26525         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26526         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26527         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26528         * gst/gstbin.h:
26529         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26530         (gst_pipeline_change_state):
26531         * gst/gstpipeline.h:
26532           Move the bus handler for children to the GstBin, and create a
26533           separate bus for receiving messages from children to the one the
26534           bus sends 'upwards' on.
26535
26536 2005-07-06  Wim Taymans  <wim@fluendo.com>
26537
26538         * gst/base/README:
26539         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26540         (gst_base_sink_handle_object), (gst_base_sink_loop),
26541         (gst_base_sink_change_state):
26542         * gst/base/gstbasesink.h:
26543         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26544         (gst_base_src_init), (gst_base_src_setcaps),
26545         (gst_base_src_getcaps), (gst_base_src_loop),
26546         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26547         (gst_base_src_start), (gst_base_src_change_state):
26548         * gst/base/gstbasesrc.h:
26549         Make basesrc negotiate.
26550         Handle the case where preroll fails in basesink.
26551         Update README.
26552
26553 2005-07-06  Wim Taymans  <wim@fluendo.com>
26554
26555         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26556         Implement the fixate function.
26557         Clean up acceptcaps.
26558
26559 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26560
26561         * docs/pwg/building-filterfactory.xml:
26562         * docs/pwg/pwg.xml:
26563           Remove never-written filter-factory chapter; I'll add the various
26564           base classes to part 4 ("other element types") later on.
26565
26566 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26567
26568         * docs/pwg/advanced-negotiation.xml:
26569         * docs/pwg/building-boiler.xml:
26570         * docs/pwg/building-pads.xml:
26571         * docs/pwg/pwg.xml:
26572         * examples/pwg/Makefile.am:
26573           Add a chapter on caps negotiation, simplify the original code
26574           samples a bit w.r.t. caps negotiation, add link to the advanced
26575           section. Add a bunch of examples showing different use cases of
26576           different types of caps negotiation. Upstream renegotiation isn't
26577           fully documented yet since nobody knows how that works.
26578
26579 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
26580
26581         * check/gst/gstpad.c:
26582         * check/gstcheck.c:
26583         * gst/gstpad.c: (gst_pad_get_internal_links_default):
26584           if pad has no parent, return NULL as list of internal links
26585
26586 2005-07-05  Andy Wingo  <wingo@pobox.com>
26587
26588         * gst/elements/gstfilesrc.c:
26589         * gst/elements/gstfakesrc.c: 
26590         * gst/base/gstpushsrc.c:
26591         * gst/base/gstbasesrc.h: 
26592         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
26593         
26594 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
26595
26596         * Makefile.am:
26597           better report generation target (lcov needs a patch)
26598
26599 2005-07-05  Andy Wingo  <wingo@pobox.com>
26600
26601         * gst/elements, testsuite: Null if we got it...
26602
26603 2005-07-05  Wim Taymans  <wim@fluendo.com>
26604
26605         * configure.ac:
26606         * libs/gst/dataprotocol/Makefile.am:
26607         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
26608         * libs/gst/dataprotocol/dataprotocol.h:
26609         * pkgconfig/Makefile.am:
26610         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
26611         * pkgconfig/gstreamer-dataprotocol.pc.in:
26612         Ported dataprotol to 0.9. 
26613         Added pkgconfig files.
26614
26615 2005-07-05  Andy Wingo  <wingo@pobox.com>
26616
26617         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
26618         Default to returning TRUE for the case when tranform_caps returns
26619         a fixed caps, like for identity or volume.
26620
26621         * check/gst/gstbus.c (pound_bus_with_messages): 
26622         * check/gst/gstmessage.c (START_TEST): 
26623         * check/pipelines/simple_launch_lines.c (got_handoff): Application
26624         message API change.
26625
26626         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
26627         logic weaks here: always run transform_caps, trying passthrough
26628         operation only if the original caps intersects with the transform.
26629
26630         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
26631         source and sink caps.
26632
26633         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
26634         Intersect the peer caps with the pad template before going into
26635         transform_caps.
26636         (gst_base_transform_transform_caps): More debugging.
26637
26638         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
26639         src argument.
26640
26641 2005-07-04  Edward Hervey  <edward@fluendo.com>
26642
26643         * gst/gstutils.c:
26644         * gst/gstutils.h:
26645         (gst_pad_add_*_probe): now returns the signal id for better wrapping
26646         in bindings.
26647
26648 2005-07-04  Andy Wingo  <wingo@pobox.com>
26649
26650         * check/gst/gstpad.c: Only set explicit caps on pads.
26651
26652 2005-07-01  Andy Wingo  <wingo@pobox.com>
26653
26654         * tests/network-clock.scm: Commentary update.
26655
26656         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
26657         Didn't really make sense, not implementable with basetransform,
26658         etc.
26659         (gst_identity_transform): Unref inbuf via make_writable. Feeble
26660         attempt at implementing the sync property, needs an unlock method.
26661
26662         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
26663         New func, by default returns the same caps (the identity
26664         transformation).
26665         (gst_base_transform_getcaps): Uses transform_caps to return
26666         something sensible.
26667         (gst_base_transform_setcaps): Complicated logic to get caps on
26668         both pads, even if they are different, and to call set_caps once
26669         for every time both pads get their caps set.
26670         (gst_base_transform_handle_buffer): Give the ref to the transform
26671         function. Allows in-place modification of the buffer.
26672
26673         * gst/base/gstbasetransform.h (transform_caps): New class method.
26674         Given caps on one side, what can I do on the other.
26675         (set_caps): Take two caps, one for each side of the element.
26676
26677         * gst/gstpad.h:
26678         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
26679         caps in place. This is safe because we can check the mutability of
26680         the caps, and a good idea because fixate functions are just called
26681         as a matter of last resort. (Not actually implemented.)
26682         (gst_pad_set_caps): If the caps we're setting is actually the same
26683         as the existing pad caps, just update the pointer without calling
26684         setcaps. Assert that caps is either NULL or fixed, as per the
26685         docs.
26686
26687         * gst/gstghostpad.c: Update for fixate changes.
26688
26689 2005-07-02  Andy Wingo  <wingo@pobox.com>
26690
26691         * gst/gstcaps.c:
26692         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
26693         two refcounts makes it immutable, which is enough. Doc more.
26694
26695 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
26696
26697         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
26698           Put the mini_object into GValue as a mini_object,
26699           not a gpointer, since that's how we declared
26700           the signal.
26701
26702 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26703
26704         * examples/pwg/Makefile.am:
26705           Fix buildbot again.
26706
26707 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26708
26709         * docs/pwg/building-testapp.xml:
26710           Add extra check.
26711         * examples/pwg/Makefile.am:
26712           Fix buildbot.
26713
26714 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26715
26716         * configure.ac:
26717         * examples/Makefile.am:
26718         * examples/pwg/Makefile.am:
26719         * examples/pwg/extract.pl:
26720           Enable building the PWG examples.
26721         * docs/pwg/advanced-interfaces.xml:
26722           Add URI interface stub.
26723         * docs/pwg/advanced-types.xml:
26724         * docs/pwg/other-autoplugger.xml:
26725         * docs/pwg/appendix-porting.xml:
26726         * docs/pwg/pwg.xml:
26727           Add porting guide (mostly stubs), remove autoplugging (see ADM).
26728         * docs/pwg/building-boiler.xml:
26729         * docs/pwg/building-chainfn.xml:
26730         * docs/pwg/building-pads.xml:
26731         * docs/pwg/building-props.xml:
26732         * docs/pwg/building-state.xml:
26733         * docs/pwg/building-testapp.xml:
26734           Update the building-*.xml parts for 0.9 changes. All examples
26735           code blocks compile in examples/pwg/*.
26736
26737 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26738
26739         * docs/manual/advanced-autoplugging.xml:
26740         * docs/manual/appendix-checklist.xml:
26741         * docs/manual/appendix-integration.xml:
26742         * docs/manual/highlevel-components.xml:
26743           Fix playbin/decodebin examples, update docs a bit, mention bus
26744           instead of signals in various places, mention kmplayer and
26745           kaffeine since they have a working GStreamer backend in the KDE
26746           section.
26747
26748 2005-06-30  Wim Taymans  <wim@fluendo.com>
26749
26750         * CHANGES-0.9:
26751         * docs/design/draft-ghostpads.txt:
26752         * docs/design/draft-push-pull.txt:
26753         * docs/design/draft-query.txt:
26754         * docs/design/part-TODO.txt:
26755         * docs/design/part-query.txt:
26756         Added CHANGES-0.9 doc, updated status of other docs.
26757         
26758         * gst/gstquery.h:
26759         Remove "hmm" macro
26760
26761 2005-06-30  Wim Taymans  <wim@fluendo.com>
26762
26763         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26764         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26765         (gst_base_sink_change_state):
26766         * gst/base/gstbasesink.h:
26767         Some tweaks, only EOS and a buffer complete a preroll.
26768
26769 2005-06-30  Andy Wingo  <wingo@pobox.com>
26770
26771         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
26772         activate_push down to the internal pad as well.
26773
26774 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
26775
26776         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26777
26778         * gst/gsttaginterface.c:
26779           Some documentation fixes (#307394 and #307397).
26780
26781 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
26782
26783         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26784
26785         * gst/gstvalue.c: (gst_value_intersect_list):
26786           Fix memleak (#309125).
26787
26788 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26789
26790         * docs/manual/advanced-dataaccess.xml:
26791           Fix fakesrc example to compile; doesn't work, bug somewhere...?
26792         * docs/manual/basics-pads.xml:
26793           Add reference for filtered caps to above chapter.
26794
26795 2005-06-30  Wim Taymans  <wim@fluendo.com>
26796
26797         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
26798         (gst_bin_change_state):
26799         Probes are gone.
26800         Lame attempt at making the state change function a bit
26801         more readable.
26802
26803 2005-06-30  Wim Taymans  <wim@fluendo.com>
26804
26805         * docs/design/part-clocks.txt:
26806         * docs/design/part-element-sink.txt:
26807         * docs/design/part-events.txt:
26808         * docs/design/part-preroll.txt:
26809         * docs/design/part-states.txt:
26810         Some more tweeks and additions to the docs.
26811
26812 2005-06-30  Wim Taymans  <wim@fluendo.com>
26813
26814         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26815         (default_have_data), (gst_pad_class_init), (gst_pad_init),
26816         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26817         (gst_pad_check_pull_range), (gst_pad_get_range),
26818         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
26819         * gst/gstpad.h:
26820         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
26821         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26822         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26823         (gst_pad_remove_buffer_probe):
26824         Removed atomic operations, use existing LOCK.
26825         Move exception handling out of main code path.
26826
26827 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26828
26829         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26830         (silly_return_true_function), (gst_pad_class_init),
26831         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26832         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
26833         (gst_pad_send_event):
26834           Fix accumulator, add default value by using _emitv() instead
26835           of _emit() for signal emission.
26836
26837 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26838
26839         * docs/manual/advanced-dataaccess.xml:
26840         * examples/manual/Makefile.am:
26841           Add probe example.
26842         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
26843           Make work (??).
26844
26845 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
26846
26847         * gst/elements/gstfilesink.c: (gst_filesink_render):
26848           Simplify code so that we don't have to handle short
26849           writes and return GST_FLOW_ERROR if an error occured.
26850
26851 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26852
26853         * docs/gst/gstreamer-docs.sgml:
26854           Remove probes more.
26855
26856 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26857
26858         * docs/gst/gstreamer-sections.txt:
26859         * docs/gst/tmpl/gstpad.sgml:
26860         * docs/gst/tmpl/gstprobe.sgml:
26861         * gst/Makefile.am:
26862         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26863         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
26864         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
26865         (gst_pad_push_event), (gst_pad_send_event):
26866         * gst/gstpad.h:
26867         * gst/gstutils.c: (gst_pad_add_data_probe),
26868         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26869         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26870         (gst_pad_remove_buffer_probe):
26871         * gst/gstutils.h:
26872           Remove old probes, add new g-signal-based probes and some utility
26873           functions.
26874
26875 2005-06-29  Edward Hervey  <edward@fluendo.com>
26876
26877         * gst/gstelementfactory.c:
26878         * gst/gstutils.h:
26879         * gst/gstutils.c:
26880         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
26881         the definition to the header file.
26882
26883 2005-06-29  Andy Wingo  <wingo@pobox.com>
26884
26885         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
26886         plugins from the source directory.
26887
26888 2005-06-29  Wim Taymans  <wim@fluendo.com>
26889
26890         * docs/gst/tmpl/gstbuffer.sgml:
26891         * docs/gst/tmpl/gstclock.sgml:
26892         Some fixings for blantently wrong text.
26893
26894 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
26895
26896         * check/Makefile.am:
26897         * gst/gst.c: (add_path_func), (init_pre):
26898         * gst/gstregistry.c: (gst_registry_add_path):
26899           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
26900           only scan the GST_PLUGIN_PATH locations, and not add
26901           system locations
26902
26903 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
26904
26905         * docs/gst/gstreamer-sections.txt:
26906         * docs/gst/tmpl/gstbasesrc.sgml:
26907         * gst/gstelement.c:
26908         * gst/gstelement.h:
26909         * gst/gstevent.c:
26910         * gst/gstutils.c:
26911           doc fixes
26912
26913 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26914
26915         * docs/manual/advanced-autoplugging.xml:
26916           Fix autoplugging example.
26917
26918 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26919
26920         * docs/manual/advanced-autoplugging.xml:
26921         * docs/manual/mime-world.fig:
26922           Try to get autoplugging working, fix type detection. Fix text
26923           in hello-world image.
26924
26925 2005-06-29  Wim Taymans  <wim@fluendo.com>
26926
26927         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26928         (gst_base_sink_change_state):
26929         Small debug line.
26930
26931         * gst/gstclock.h:
26932         map SIGNAL and BROADCAST to the right function.
26933
26934         * gst/gstobject.h:
26935         Remove redundant braces.
26936
26937         * gst/gstpad.c: (gst_pad_set_caps):
26938         Don't call setcaps function when reseting caps to NULL.
26939
26940         * gst/gstsystemclock.c: (gst_system_clock_dispose),
26941         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
26942         (gst_system_clock_id_unschedule):
26943         Use BROADCAST as this is what we do.
26944
26945 2005-06-29  Wim Taymans  <wim@fluendo.com>
26946
26947         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26948         We are actually prerolling before commiting the state
26949         change. 
26950
26951 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26952
26953         * docs/manual/advanced-clocks.xml:
26954         * docs/manual/advanced-interfaces.xml:
26955         * docs/manual/advanced-metadata.xml:
26956         * docs/manual/advanced-position.xml:
26957         * docs/manual/advanced-schedulers.xml:
26958         * docs/manual/advanced-threads.xml:
26959         * docs/manual/appendix-porting.xml:
26960         * docs/manual/basics-bins.xml:
26961         * docs/manual/basics-bus.xml:
26962         * docs/manual/basics-elements.xml:
26963         * docs/manual/basics-helloworld.xml:
26964         * docs/manual/basics-pads.xml:
26965         * docs/manual/highlevel-components.xml:
26966         * docs/manual/manual.xml:
26967         * docs/manual/thread.fig:
26968           Update (until threads/scheduling) Application Development Manual;
26969           remove GstThread, add GstBus, add simple porting checklist, add
26970           documentation for tag writing, clocks, make all examples until this
26971           part compile and run.
26972         * examples/manual/Makefile.am:
26973           Update from changes to Application Development Manual; add bus
26974           example, remove thread example.
26975
26976 2005-06-28  Wim Taymans  <wim@fluendo.com>
26977
26978         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
26979         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
26980         (gst_bus_source_dispatch):
26981         Add debugging messages.
26982         Make internal methods static.
26983         Handle the case where the bus is flushed in the handler.
26984         
26985         * gst/gstelement.c: (gst_element_get_bus):
26986         Fix refcount in _get_bus();
26987
26988         * gst/gstpipeline.c: (gst_pipeline_change_state),
26989         (gst_pipeline_get_clock_func):
26990         Clock refcounting fixes.
26991         Handle the case where preroll timed out more gracefully.
26992         
26993         * gst/gstsystemclock.c: (gst_system_clock_dispose):
26994         Clean up the internal thread in dispose. This is needed
26995         for subclasses that actually get disposed.
26996         
26997         * gst/schedulers/threadscheduler.c:
26998         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26999         (gst_thread_scheduler_dispose):
27000         Free thread pool in dispose.
27001
27002 2005-06-28  Andy Wingo  <wingo@pobox.com>
27003
27004         * tests/network-clock-utils.scm (debug, print-event): New utils.
27005
27006         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
27007         (*packet-loss*): Unified loss probability.
27008         (network-time): Report out-of-band events.
27009
27010         * tests/plot-data: Add support for out-of-band events. Hack it
27011         into this script instead of passing it down the pipe; should fix
27012         this later.
27013
27014 2005-06-28  Wim Taymans  <wim@fluendo.com>
27015
27016         * docs/gst/gstreamer.types:
27017         * docs/gst/tmpl/gstbasesrc.sgml:
27018         * docs/gst/tmpl/gstpad.sgml:
27019         Docs fixes.
27020
27021 2005-06-28  Wim Taymans  <wim@fluendo.com>
27022
27023         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27024         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
27025         (gst_proxy_pad_do_fixatecaps):
27026         Correctly proxy the check_pull_range function.
27027
27028 2005-06-28  Andy Wingo  <wingo@pobox.com>
27029
27030         * tests/network-clock.scm: Removed need for slib.
27031         
27032 2005-06-28  Wim Taymans  <wim@fluendo.com>
27033
27034         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
27035         (gst_basesink_preroll_queue_flush):
27036         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
27037         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
27038         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27039         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27040         (gst_proxy_pad_set_property):
27041         * gst/gstpad.c:
27042         * gst/gstpad.h:
27043         * gst/gstqueue.c: (gst_queue_init):
27044         The deprecated pad loop function is removed now.
27045
27046 2005-06-28  Andy Wingo  <wingo@pobox.com>
27047
27048         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
27049         New parameters, simulate network packet loss.
27050
27051         * tests/network-clock-utils.scm: Initialize the RNG.
27052
27053 2005-06-28  Wim Taymans  <wim@fluendo.com>
27054
27055         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
27056         (gst_basesink_event), (gst_basesink_deactivate):
27057         Flushing the preroll queue always needs to unlock the waiters.
27058
27059 2005-06-28  Edward Hervey  <edward@fluendo.com>
27060
27061         * gst/gstpipeline.c: (gst_pipeline_send_event): 
27062         Wheen a seek was successful on a pipeline, set the stream_time to the
27063         seek offset in order to have a synchronized stream_time.
27064
27065 2005-06-28  Wim Taymans  <wim@fluendo.com>
27066
27067         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27068         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
27069         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
27070         (gst_proxy_pad_do_fixatecaps):
27071         Call wrapper function instead of just calling the function
27072         pointers. This takes care of any locking and whatmore.
27073
27074 2005-06-28  Wim Taymans  <wim@fluendo.com>
27075
27076         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
27077         (gst_pad_pull_range):
27078         * gst/gstpad.h:
27079         CONNECTED -> LINKED.
27080
27081 2005-06-28  Andy Wingo  <wingo@pobox.com>
27082
27083         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
27084         source-munging commit!!!
27085
27086         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
27087         (gst_object_sink): Take gpointer arguments, not GstObject --
27088         avoids casts. Like GLib.
27089
27090         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
27091         activate.
27092
27093 2005-06-27  Andy Wingo  <wingo@pobox.com>
27094
27095         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
27096         remaining buffer.
27097
27098         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
27099         returns a sorted copy of the trace list.
27100         (gst_alloc_trace_print_live): New API, only prints traces with
27101         live objects. Sort the list.
27102         (gst_alloc_trace_print_all): Sort the list.
27103         (gst_alloc_trace_print): Align columns.
27104
27105         * gst/elements/gstttypefindelement.c:
27106         * gst/elements/gsttee.c:
27107         * gst/base/gstbasesrc.c:
27108         * gst/base/gstbasesink.c:
27109         * gst/base/gstbasetransform.c:
27110         * gst/gstqueue.c: Adapt for pad activation changes.
27111
27112         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
27113         sched.
27114         (gst_pipeline_dispose): Drop ref on sched.
27115
27116         * gst/gstpad.c (gst_pad_init): Set the default activate func.
27117         (gst_pad_activate_default): Push mode by default.
27118         (pre_activate_switch, post_activate_switch): New stubs, things to
27119         do before and after switching activation modes on pads.
27120         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
27121         the pad's activate function to choose which mode to activate.
27122         Shortcut on deactivation and call the right function directly.
27123         (gst_pad_activate_pull): New API, (de)activates a pad in pull
27124         mode.
27125         (gst_pad_activate_push): New API, same for push mode.
27126         (gst_pad_set_activate_function) 
27127         (gst_pad_set_activatepull_function) 
27128         (gst_pad_set_activatepush_function): Setters for new API.
27129
27130         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
27131         Trace all miniobjects.
27132         (gst_mini_object_make_writable): Unref the arg if we copy, like
27133         gst_caps_make_writable.
27134
27135         * gst/gstmessage.c (_gst_message_initialize): No trace init.
27136
27137         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
27138         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
27139         Adapt for new pad API.
27140
27141         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
27142
27143         * gst/gstelement.h:
27144         * gst/gstelement.c (gst_element_iterate_src_pads) 
27145         (gst_element_iterate_sink_pads): New API functions.
27146         
27147         * gst/gstelement.c (iterator_fold_with_resync): New utility,
27148         should fold into gstiterator.c in some form.
27149         (gst_element_pads_activate): Simplified via use of fold and
27150         delegation of decisions to gstpad->activate.
27151
27152         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
27153         help in debugging.
27154
27155         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
27156         class once in init, like gstmessage. Didn't run into this issue
27157         but it seems correct. Don't initialize a trace, gstminiobject does
27158         that.
27159
27160         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
27161         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
27162         to the bus.
27163         (assert_live_count): New util function, uses alloc traces to check
27164         cleanup.
27165
27166         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
27167         To be modified when unlink drops the internal pad.
27168
27169 2005-06-27  Wim Taymans  <wim@fluendo.com>
27170
27171         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
27172         (gst_bin_change_state):
27173         Cleanup the get_state() function a little, make sure it
27174         iterates the same set of elements.
27175         Added stub iterate_state_order().
27176
27177 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
27178
27179         * docs/gst/gstreamer-docs.sgml:
27180         * docs/gst/gstreamer-sections.txt:
27181         * docs/gst/gstreamer.types:
27182         * docs/gst/tmpl/gstbasesink.sgml:
27183         * docs/gst/tmpl/gstbasesrc.sgml:
27184         * docs/gst/tmpl/gstbasetransform.sgml:
27185         * docs/gst/tmpl/gstelement.sgml:
27186         * docs/gst/tmpl/gstiterator.sgml:
27187         * gst/base/gstbasesrc.c:
27188         * gst/base/gstbasesrc.h:
27189         * gst/base/gstbasetransform.h:
27190         * gst/gstelement.c:
27191         * gst/gstiterator.h:
27192           adding basetransform and iterator docs
27193
27194 2005-06-27  Andy Wingo  <wingo@pobox.com>
27195
27196         * docs/design/part-activation.txt: Notes on how activation should
27197         work -- not quite implemented yet.
27198
27199 2005-06-25  Wim Taymans  <wim@fluendo.com>
27200
27201         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
27202         At least get the chain function correct, needs more
27203         fixing.
27204
27205 2005-06-25  Wim Taymans  <wim@fluendo.com>
27206
27207         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27208         (gst_basesink_handle_object), (gst_basesink_event),
27209         (gst_basesink_do_sync), (gst_basesink_handle_event),
27210         (gst_basesink_change_state):
27211         * gst/gsttask.h:
27212         Right, two problems here: ghostpads don't take locks and
27213         glib _rec_mutex_lock_full() with depth==0 still locks.
27214         Catch illegal locking and g_warn them.
27215
27216 2005-06-25  Wim Taymans  <wim@fluendo.com>
27217
27218         * check/states/sinks.c: (START_TEST), (gst_object_suite):
27219         Have to check for completion now...
27220
27221 2005-06-25  Wim Taymans  <wim@fluendo.com>
27222
27223         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27224         (gst_basesink_handle_object), (gst_basesink_event),
27225         (gst_basesink_do_sync), (gst_basesink_handle_event),
27226         (gst_basesink_change_state):
27227         * gst/gstpad.h:
27228         Unlock STREAM_LOCK whatever the recursion was.
27229
27230 2005-06-25  Wim Taymans  <wim@fluendo.com>
27231
27232         * gst/base/gstbasesink.c: (gst_basesink_set_property),
27233         (gst_basesink_preroll_queue_empty),
27234         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
27235         (gst_basesink_event), (gst_basesink_do_sync),
27236         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
27237         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
27238         (gst_basesink_change_state):
27239         Reworked the base sink, handle event and buffer serialisation
27240         correctly and removed possible deadlock.
27241         Handle EOS correctly.
27242
27243 2005-06-25  Wim Taymans  <wim@fluendo.com>
27244
27245         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
27246         (gst_pipeline_change_state):
27247         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27248         Allow elements to post EOS in the state change function.
27249         Fix up -launch, make it exit the poll loop when the
27250         pipeline actually changed state.
27251         Fix up warning parsing in -launch.
27252
27253 2005-06-25  Wim Taymans  <wim@fluendo.com>
27254
27255         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
27256         (gst_tee_sink_activate):
27257         Core takes STREAM_LOCK for us now.
27258
27259 2005-06-25  Wim Taymans  <wim@fluendo.com>
27260
27261         * gst/gstelement.c: (gst_element_get_state_func),
27262         (gst_element_set_state):
27263         * gst/gstelement.h:
27264         * gst/gstmessage.c: (gst_message_parse_error),
27265         (gst_message_parse_warning):
27266         Keep track of current target state while performing a state
27267         change so that subclasses can do something interesting.
27268         Fix parsing of warning/error messages when GError is NULL.
27269
27270 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
27271
27272         * docs/gst/Makefile.am:
27273         * docs/gst/gstreamer-docs.sgml:
27274         * docs/gst/gstreamer-sections.txt:
27275         * docs/gst/gstreamer.types:
27276         * docs/gst/tmpl/gstbasesink.sgml:
27277         * docs/gst/tmpl/gstbasesrc.sgml:
27278         * docs/gst/tmpl/gstbin.sgml:
27279         * docs/gst/tmpl/gstcompat.sgml:
27280         * docs/gst/tmpl/gstfakesink.sgml:
27281         * docs/gst/tmpl/gstfakesrc.sgml:
27282         * docs/gst/tmpl/gstfilesink.sgml:
27283         * docs/gst/tmpl/gstfilesrc.sgml:
27284         * docs/gst/tmpl/gstindex.sgml:
27285         * docs/manual/appendix-quotes.xml:
27286         * gst/base/gstbasesrc.h:
27287         * gst/elements/gstfakesrc.h:
27288         * gst/gstmessage.h:
27289           start pulling in base classes and elements in our docs
27290
27291 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
27292
27293         * docs/gst/Makefile.am:
27294         * docs/libs/Makefile.am:
27295           fixed make distcheck with gtk-doc 1.3
27296
27297 2005-06-23  Wim Taymans  <wim@fluendo.com>
27298
27299         * gst/gstelement.c: (gst_element_get_state_func),
27300         (gst_element_set_state), (gst_element_change_state):
27301         When the state did not change, also report NO_PREROLL
27302         when it matters.
27303
27304 2005-06-23  Wim Taymans  <wim@fluendo.com>
27305
27306         * gst/gstpad.c: (gst_pad_event_default):
27307         * gst/gstqueue.c: (gst_queue_loop):
27308         No unsafe task pausing please.
27309
27310 2005-06-23  Wim Taymans  <wim@fluendo.com>
27311
27312         * gst/schedulers/threadscheduler.c:
27313         (gst_thread_scheduler_task_start),
27314         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
27315         Ref the task before pushing it on the threadpool. This
27316         makes sure that we have a ref when the threadfunction is
27317         actually called.
27318
27319 2005-06-23  Andy Wingo  <wingo@pobox.com>
27320
27321         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
27322         offset is greater than the file's size.
27323
27324         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
27325         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27326         * gst/gstobject.c (gst_object_class_init): Make the class lock
27327         recursive. Wim won't let me drop deep_notify. Decodebin works
27328         again, whoopdy doo.
27329
27330         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27331         internal pad, and hacks accordingly. Doesn't do it on the target
27332         pad because we change its caps. Probably catches all cases of
27333         interest tho.
27334         (gst_ghost_pad_set_property): Connect to notify::caps as
27335         appropritate.
27336
27337         * tests/network-clock.scm (plot-simulation): Pipe data to the
27338         elite python skript.
27339
27340         * tests/network-clock-utils.scm (define-parameter): New macro,
27341         defines a parameter that can be set via the command line.
27342         (set-parameter!, parse-parameter-arguments): Command line args
27343         parser.
27344
27345         * tests/plot-data: Simple matplotlib-based plotter, takes input on
27346         stdin.
27347
27348 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
27349
27350         * gst/elements/gsttypefindelement.c:
27351         (gst_type_find_element_handle_event):
27352           Don't restart typefinding on a discont.
27353         * gst/gstelement.c: (gst_element_set_state):
27354           Debug spelling fix.
27355         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27356           Allow changing mode of an active pad.
27357           Debug output fixes.
27358         * gst/registries/gstlibxmlregistry.c: (load_feature):
27359           Don't cast a static pad template to a normal pad template.
27360
27361 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
27362
27363         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27364         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27365           remove gst_strtoll completely, since it didn't actually do
27366           anything more than what g_ascii_strtoull already does.
27367           check for range errors when deserializing
27368           do a cast for the unsigned cases; but further fixing needs
27369           a decision on what the interpretation of "(int)" and
27370           deserialization should be for values that fall outside the
27371           type's boundaries (ie, refuse, or interpret as casting)
27372
27373 2005-06-23  Wim Taymans  <wim@fluendo.com>
27374
27375         * check/Makefile.am:
27376         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27377         * docs/design/part-live-source.txt:
27378         * docs/design/part-states.txt:
27379         * gst/base/gstbasesrc.c: (gst_basesrc_init),
27380         (gst_basesrc_set_live), (gst_basesrc_is_live),
27381         (gst_basesrc_get_range), (gst_basesrc_activate),
27382         (gst_basesrc_change_state):
27383         * gst/base/gstbasesrc.h:
27384         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27385         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27386         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27387         * gst/gstelement.c: (gst_element_get_state_func),
27388         (gst_element_set_state):
27389         * gst/gstelement.h:
27390         * gst/gsttypes.h:
27391         * tools/gst-launch.c: (event_loop), (main):
27392         Added support for live sources and other elements that
27393         cannot do preroll.
27394         Updated design docs, added live-source design doc.
27395         Implemented live source functionality in basesrc
27396         Fix error condition in _bin_get_state()
27397         Implement live source handling in -launch.
27398         Added check for live sources.
27399         Fixed case in GstBin where elements were changed state
27400         multiple times.
27401
27402
27403 2005-06-23  Andy Wingo  <wingo@pobox.com>
27404
27405         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27406         borken refcounting.
27407
27408         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27409         gst_caps_replace takes care of this for us.
27410
27411         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27412         gst_pad_set_caps on the target, not just its setcaps() function.
27413
27414         * tests/network-clock.scm: 
27415         * tests/network-clock-utils.scm: A network clock simulator.
27416         Something of an algorithmic testbed before doing something in C.
27417
27418 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27419
27420         * check/Makefile.am:
27421         * check/gst/capslist.h:
27422           copy over from 0.8, and add two with bitmasks specified with
27423           (int) 0xFF...
27424         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27425           add test to parse everything from capslist.h
27426         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27427         (main):
27428           add test for structure deserialization
27429         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27430           add tests for deserialization of strings to int types
27431         * gst/gststructure.c: (gst_structure_nth_field_name):
27432         * gst/gststructure.h:
27433           add a way to get the name of a field referenced by index
27434         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27435           instead of checking if the resulting long long lies between
27436           min and max, we check if the long long would fit into
27437           a number of bytes for the final type.
27438           This fixes cases where a string represents 2^32 - 1, which
27439           when cast to int would be the (valid) -1, but is bigger than
27440           G_MAXINT
27441
27442 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27443
27444         * gst/parse/grammar.y:
27445           add a log line for type deserialization
27446
27447 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27448
27449         * check/gst/gstvalue.c: (START_TEST):
27450         * gst/gstvalue.c: (gst_value_deserialize):
27451           return long long, not int, so gint64 deserialization actually
27452           works.  Is there any flag that makes the compiler check this ?
27453           Fixes #308559
27454
27455 2005-06-22  Wim Taymans  <wim@fluendo.com>
27456
27457         * gst/gstbuffer.h:
27458         Added convenience macros for setting buffers in GValue.
27459
27460 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27461
27462         * check/gst/.cvsignore:
27463         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27464           add a test deserializing int64, and comment part out because
27465           it fails, yay !
27466
27467 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27468
27469         * check/Makefile.am:
27470         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27471         * testsuite/Makefile.am:
27472         * testsuite/caps/Makefile.am:
27473         * testsuite/caps/value_serialize.c:
27474         * testsuite/test_gst_init.c:
27475           move a value_serialize test over
27476
27477 2005-06-20  Wim Taymans  <wim@fluendo.com>
27478
27479         * gst/gstpad.c:
27480         Small doc updates.
27481         
27482         * gst/gstvalue.c: (gst_value_compare_buffer),
27483         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27484         (gst_value_compare_flags), (gst_value_serialize_flags),
27485         (gst_value_deserialize_flags), (_gst_value_initialize):
27486         Fix serialisation of buffers, they are not boxed types anymore
27487
27488 2005-06-20  Wim Taymans  <wim@fluendo.com>
27489
27490         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27491         Testcase to show error in buffer-on-caps serialisation.
27492
27493 2005-06-20  Andy Wingo  <wingo@pobox.com>
27494
27495         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27496         will be adding to later.
27497
27498         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27499         if its socks fill with rocks.
27500         (gst_system_clock_obtain): Set the name on object construction.
27501         Avoid double-checked locking.
27502
27503 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
27504
27505         * gst/gsturi.c: (gst_element_make_from_uri):
27506           Fix potential endless loop.
27507
27508 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27509
27510         * check/Makefile.am:
27511           add gsttag
27512         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27513         (main):
27514           move over from testsuite dir and clean up
27515         * configure.ac:
27516         * gst/gsttag.c:
27517         * testsuite/Makefile.am:
27518         * testsuite/tags/.cvsignore:
27519         * testsuite/tags/Makefile.am:
27520         * testsuite/tags/merge.c:
27521           remove testsuite/tags
27522
27523 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27524
27525         * docs/gst/gstreamer-sections.txt:
27526         * docs/gst/tmpl/gstenumtypes.sgml:
27527         * win32/gstenumtypes.c:
27528           clean up documentation build a little
27529
27530 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27531
27532         * check/gstcheck.h:
27533           add macros for checking refcounts on objects and caps
27534         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27535           add some more unit tests
27536         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27537         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27538           fix leaked refcounts (I hope :)) so unittest works
27539         * gst/gstpad.h:
27540           whitespace removal
27541
27542 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27543
27544         * configure.ac: back to HEAD
27545
27546 === release 0.9.1 ===
27547
27548 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
27549
27550         * NEWS:
27551         * RELEASE:
27552           updated
27553
27554 2005-06-17  Andy Wingo  <wingo@pobox.com>
27555
27556         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27557         assert; it's always possible that the pad gets deactivated in
27558         between the checks in gstpad.c and the implementation. Rely on
27559         finish_preroll() to return a FLUSHING or similar instead of on the
27560         assert.
27561         
27562         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27563         clock and post an EOS message if we come out of finish_preroll in
27564         the playing state.
27565
27566 2005-06-16  David Schleef  <ds@schleef.org>
27567
27568         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27569         (gst_capsfilter_set_property): Allow NULL as possible value
27570         for filter_caps property, indicating GST_CAPS_ANY.
27571
27572 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27573
27574         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
27575           fix debug output
27576         * gst/schedulers/Makefile.am:
27577           use libgst prefix
27578         * gstreamer.spec.in:
27579           fix spec for it
27580
27581 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27582
27583         * gstreamer.spec.in:
27584           clean up
27585
27586 2005-06-08  Andy Wingo  <wingo@pobox.com>
27587
27588         * gst/gstutils.c: RPAD fixes all around.
27589         (gst_element_link_pads): Refcounting fixes.
27590
27591         * tools/gst-inspect.c:
27592         * tools/gst-xmlinspect.c:
27593         * parse/grammar.y:
27594         * gst/base/gsttypefindhelper.c:
27595         * gst/base/gstbasesink.c:
27596         * gst/gstqueue.c: RPAD fixes.
27597
27598         * gst/gstghostpad.h:
27599         * gst/gstghostpad.c: New ghost pad implementation as full proxy
27600         pads. The tricky thing is they provide both source and sink
27601         interfaces, since they proxy the internal pad for the external
27602         pad, and vice versa. Implement with lower-level ProxyPad objects,
27603         with the interior proxy pad as a child of the exterior ghost pad.
27604         Should write a doc on this.
27605         
27606         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
27607         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
27608         gst_object API.
27609         
27610         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
27611         pads are real pads. No ghost pads in this file. Not documenting
27612         the myriad s/RPAD/PAD/ and REALIZE fixes.
27613         (gst_pad_class_init): Add properties for "direction" and
27614         "template". Both are construct-only, so they can't change during
27615         the life of the pad. Fixes properly deriving from GstPad.
27616         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
27617         derived objects, just set properties when creating the objects via
27618         g_object_new.
27619         (gst_pad_get_parent): Implement as a function, return NULL if the
27620         parent is not an element.
27621         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
27622         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
27623         
27624         * gst/gstobject.c (gst_object_class_init): Make name a construct
27625         property. Don't set it in the object init.
27626
27627         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
27628         with UNKNOWN direction.
27629         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
27630         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
27631         (gst_element_remove_pad): Remove ghost-pad special cases.
27632         (gst_element_pads_activate): Remove rpad cruft.
27633
27634         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
27635         catch the pad's-parent-not-an-element case.
27636
27637         * gst/gst.h: Include gstghostpad.h.
27638
27639         * gst/gst.c (init_post): No more real, ghost pads.
27640
27641         * gst/Makefile.am: Add gstghostpad.[ch].
27642
27643         * check/Makefile.am:
27644         * check/gst/gstbin.c:
27645         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
27646         into a bin creates ghost pads, and that the refcounts are right.
27647         Partly moved from gstbin.c.
27648
27649 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27650
27651         * check/gst-libs/.cvsignore:
27652         * check/gst/.cvsignore:
27653         * check/pipelines/.cvsignore:
27654           ignore more
27655         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
27656         (START_TEST), (cleanup_suite), (main):
27657           add some tests related to cleanup after running pipelines
27658
27659 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27660
27661         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
27662           add a testsuite for GstBuffer
27663
27664 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27665
27666         * gst/gstminiobject.h:
27667           add defines for accessing the refcount
27668
27669 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
27670
27671         * Makefile.am: added support for html unit test coverage reports
27672
27673 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
27674
27675         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27676           Free existing caps if the capsfilter changes. Add a FIXME about
27677           setting those caps on the pads.
27678
27679         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
27680           Before adding a ghost pad to a parent bin, check that there isn't
27681           already one for the element on the bin. Prevents infinite recursion
27682           when using decodebin in parse pipelines. Andy says he'll rewrite the
27683           way this works anyway, so ignore the hack.
27684
27685 2005-06-02  Andy Wingo  <wingo@pobox.com>
27686
27687         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
27688         file size, pass it on to the type find helper.
27689
27690         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
27691         segment_start and segment_end properly according to the seek
27692         method. Segment_end is still a bit flaky because offset can be
27693         negative for CUR and END cases, but it takes -1 as an "unset"
27694         value.
27695
27696 2005-06-02  Wim Taymans  <wim@fluendo.com>
27697
27698         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
27699         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
27700         (gst_basesink_activate):
27701         * gst/base/gstbasesink.h:
27702         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27703         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27704         (gst_pad_query), (gst_pad_start_task):
27705         * gst/gstpad.h:
27706         * gst/gstqueue.c: (gst_queue_bufferalloc),
27707         (gst_queue_handle_sink_event), (gst_queue_chain):
27708         Bufferalloc: return GstFlowReturn to more accuratly report
27709         why allocation failed.
27710
27711 2005-06-02  Wim Taymans  <wim@fluendo.com>
27712
27713         * gst/gstpipeline.c: (gst_pipeline_send_event):
27714         Take snapshot of state without blocking.
27715
27716 2005-06-02  Wim Taymans  <wim@fluendo.com>
27717
27718         * docs/design/part-TODO.txt:
27719         * docs/design/part-caps.txt:
27720         * docs/design/part-clocks.txt:
27721         * docs/design/part-negotiation.txt:
27722         * docs/design/part-preroll.txt:
27723         Small doc updates 
27724
27725 2005-05-30  Wim Taymans  <wim@fluendo.com>
27726
27727         * gst/elements/gstidentity.c: (gst_identity_event),
27728         (gst_identity_transform), (gst_identity_get_property):
27729         Protect last_message property as it is accessed from
27730         multiple threads.
27731
27732 2005-05-30  Wim Taymans  <wim@fluendo.com>
27733
27734         * gst/gstelement.c: (gst_element_init),
27735         (gst_element_pads_activate), (gst_element_change_state):
27736         Slicker pad activation code.
27737
27738 2005-05-30  Wim Taymans  <wim@fluendo.com>
27739
27740         * gst/Makefile.am:
27741         * gst/gstelement.h:
27742         * gst/gstelementfactory.h:
27743         * gst/gsttypes.h:
27744         Move elementfactory methods to separate .h file.
27745
27746 2005-05-30  Wim Taymans  <wim@fluendo.com>
27747
27748         * docs/design/part-overview.txt:
27749         * gst/gstsystemclock.h:
27750         Small typo fixes, doc updates.
27751
27752 2005-05-30  Wim Taymans  <wim@fluendo.com>
27753
27754         * gst/gst.c: (gst_init_get_popt_table), (init_post),
27755         (init_popt_callback):
27756         Remove cpu-opt flag.
27757
27758 2005-05-30  Wim Taymans  <wim@fluendo.com>
27759
27760         * gst/gstbuffer.c: (gst_subbuffer_finalize),
27761         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
27762         * gst/gstbuffer.h:
27763         Avoid typechecking in places where not needed.
27764         Added accessor for malloc_data.
27765
27766 2005-05-30  Wim Taymans  <wim@fluendo.com>
27767
27768         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
27769         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
27770         (gst_pad_configure_sink), (gst_pad_configure_src),
27771         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
27772         (gst_pad_start_task):
27773         Propagate errors from _set_caps() in configure_src/sink
27774         functions instead of returning TRUE.
27775         FLUSH events can travel up and downstream
27776
27777
27778 2005-05-30  Wim Taymans  <wim@fluendo.com>
27779
27780         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27781         (gst_basesink_activate):
27782         Handle EOS in preroll.
27783
27784 2005-05-30  Wim Taymans  <wim@fluendo.com>
27785
27786         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27787         (gst_queue_loop), (gst_queue_handle_src_event):
27788         Remove old pieces of code
27789         Flushing the queue in an upstream event is a very bad idea.
27790
27791 2005-05-26  Andy Wingo  <wingo@pobox.com>
27792
27793         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
27794         gst_value_set_mini_object so as to add a ref on the object (which
27795         will be removed when the value is unset).
27796
27797         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
27798         arg type in ::handoff.
27799
27800         * gst/gstelement.c (gst_element_change_state): Also deactivate
27801         pads in READY->NULL, just in case the element didn't make it to
27802         PAUSED. Wingo tested, Wim approved.
27803
27804 2005-05-26  Wim Taymans  <wim@fluendo.com>
27805
27806         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27807         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27808         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
27809         A flushing pad cannot be used to alloc_buffer from.
27810
27811 2005-05-26  Wim Taymans  <wim@fluendo.com>
27812
27813         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
27814         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
27815         (gst_bus_source_dispatch), (gst_bus_source_finalize),
27816         (gst_bus_create_watch), (gst_bus_add_watch_full):
27817         * gst/gstbus.h:
27818         Implement a real GSource and use g_main_context_wakeup() to
27819         signal new messages instead of the socketpair.
27820
27821 2005-05-25  Wim Taymans  <wim@fluendo.com>
27822
27823         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
27824         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
27825         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27826         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27827         (gst_pad_send_event), (gst_pad_start_task):
27828         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
27829         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27830         (gst_queue_sink_activate), (gst_queue_src_activate),
27831         (gst_queue_change_state):
27832         * gst/gstqueue.h:
27833         Fix state changes for non sinks. We now change sinks, then elements
27834         with unconnected srcpads, then the rest.
27835         More efficient queue unlocking in flush and state changes.
27836         Set the pad activate mode even if it does not have an activate
27837         function.
27838
27839 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27840
27841         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
27842           Don't go in pull mode for non-seekable sources.
27843         * gst/elements/gsttypefindelement.h:
27844         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
27845         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
27846         (free_entry), (stop_typefinding),
27847         (gst_type_find_element_handle_event), (find_peek),
27848         (gst_type_find_element_chain), (do_pull_typefind),
27849         (gst_type_find_element_change_state):
27850           Allow typefinding (w/o seeking) in push-mode, simplified version
27851           of what was in 0.8.
27852         * gst/gstutils.c: (gst_buffer_join):
27853         * gst/gstutils.h:
27854           gst_buffer_join() from 0.8.
27855
27856 2005-05-25  Wim Taymans  <wim@fluendo.com>
27857
27858         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27859         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27860         (gst_pad_send_event), (gst_pad_start_task):
27861         Disable attempt at mode switching until it is figured out.
27862
27863 2005-05-25  Wim Taymans  <wim@fluendo.com>
27864
27865         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
27866         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27867         (gst_basesink_finish_preroll), (gst_basesink_chain),
27868         (gst_basesink_loop), (gst_basesink_activate),
27869         (gst_basesink_change_state):
27870         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
27871         (gst_basesrc_get_range), (gst_basesrc_loop),
27872         (gst_basesrc_activate):
27873         * gst/elements/gsttee.c: (gst_tee_sink_activate):
27874         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27875         (gst_real_pad_init), (gst_real_pad_set_property),
27876         (gst_real_pad_get_property), (gst_pad_set_active),
27877         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
27878         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
27879         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
27880         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
27881         (gst_pad_event_default_dispatch), (gst_pad_event_default),
27882         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
27883         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
27884         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27885         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
27886         (gst_pad_stop_task):
27887         * gst/gstpad.h:
27888         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27889         (gst_queue_loop), (gst_queue_src_activate):
27890         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
27891         (gst_task_get_state):
27892         * gst/gsttask.h:
27893         * gst/schedulers/threadscheduler.c:
27894         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
27895         Implement gst_pad_pause/start/stop_task(), take STREAM lock
27896         in task function.
27897         Remove ACTIVE pad flag, use FLUSHING everywhere
27898         Added _pad_chain(), _pad_get_range() to call chain/getrange 
27899         functions.
27900         Add locks around IS_FLUSHING when reading.
27901         Take STREAM lock in chain(), get_range() functions so plugins
27902         don't need to take it anymore.
27903         
27904
27905
27906 2005-05-25  Wim Taymans  <wim@fluendo.com>
27907
27908         * tools/gst-launch.c: (event_loop):
27909         Unref message after using its contents instead of
27910         before.
27911
27912 2005-05-24  Wim Taymans  <wim@fluendo.com>
27913
27914         * docs/design/draft-ghostpads.txt:
27915         * docs/design/draft-push-pull.txt:
27916         * docs/design/draft-query.txt:
27917         * docs/design/part-overview.txt:
27918         Docs updates, added general overview doc.
27919
27920 2005-05-21  David Schleef  <ds@schleef.org>
27921
27922         * docs/gst/tmpl/old/GstBin.sgml:
27923         * docs/gst/tmpl/old/GstBuffer.sgml:
27924         * docs/gst/tmpl/old/GstCaps.sgml:
27925         * docs/gst/tmpl/old/GstClock.sgml:
27926         * docs/gst/tmpl/old/GstCompat.sgml:
27927         * docs/gst/tmpl/old/GstData.sgml:
27928         * docs/gst/tmpl/old/GstElement.sgml:
27929         * docs/gst/tmpl/old/GstEvent.sgml:
27930         * docs/gst/tmpl/old/GstIndex.sgml:
27931         * docs/gst/tmpl/old/GstStructure.sgml:
27932         * docs/gst/tmpl/old/GstTag.sgml:
27933         * docs/gst/tmpl/old/cothreads.sgml:
27934         * docs/gst/tmpl/old/cothreads_compat.sgml:
27935         * docs/gst/tmpl/old/gettext.sgml:
27936         * docs/gst/tmpl/old/gobject2gtk.sgml:
27937         * docs/gst/tmpl/old/grammar.tab.sgml:
27938         * docs/gst/tmpl/old/gst-i18n-app.sgml:
27939         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
27940         * docs/gst/tmpl/old/gst_private.sgml:
27941         * docs/gst/tmpl/old/gstaggregator.sgml:
27942         * docs/gst/tmpl/old/gstarch.sgml:
27943         * docs/gst/tmpl/old/gstatomic_impl.sgml:
27944         * docs/gst/tmpl/old/gstbufferstore.sgml:
27945         * docs/gst/tmpl/old/gstdata_private.sgml:
27946         * docs/gst/tmpl/old/gstdisksink.sgml:
27947         * docs/gst/tmpl/old/gstdisksrc.sgml:
27948         * docs/gst/tmpl/old/gstelementfactory.sgml:
27949         * docs/gst/tmpl/old/gstextratypes.sgml:
27950         * docs/gst/tmpl/old/gstfakesink.sgml:
27951         * docs/gst/tmpl/old/gstfakesrc.sgml:
27952         * docs/gst/tmpl/old/gstfdsink.sgml:
27953         * docs/gst/tmpl/old/gstfdsrc.sgml:
27954         * docs/gst/tmpl/old/gstfilesink.sgml:
27955         * docs/gst/tmpl/old/gstfilesrc.sgml:
27956         * docs/gst/tmpl/old/gsthttpsrc.sgml:
27957         * docs/gst/tmpl/old/gstidentity.sgml:
27958         * docs/gst/tmpl/old/gstindexfactory.sgml:
27959         * docs/gst/tmpl/old/gstmarshal.sgml:
27960         * docs/gst/tmpl/old/gstmd5sink.sgml:
27961         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
27962         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
27963         * docs/gst/tmpl/old/gstpadtemplate.sgml:
27964         * docs/gst/tmpl/old/gstpipefilter.sgml:
27965         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
27966         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
27967         * docs/gst/tmpl/old/gstshaper.sgml:
27968         * docs/gst/tmpl/old/gstspider.sgml:
27969         * docs/gst/tmpl/old/gstspideridentity.sgml:
27970         * docs/gst/tmpl/old/gststatistics.sgml:
27971         * docs/gst/tmpl/old/gsttee.sgml:
27972         * docs/gst/tmpl/old/gsttimecache.sgml:
27973         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
27974         * docs/gst/tmpl/old/gstxmlregistry.sgml:
27975         * docs/gst/tmpl/old/gthread-cothreads.sgml:
27976         * docs/gst/tmpl/old/types.sgml:
27977           I didn't intend to add these or check them in.
27978
27979 2005-05-19  David Schleef  <ds@schleef.org>
27980
27981         * configure.ac: Use -no-common everywhere.  In a sane world, it
27982           would be the default in libtool, because without it, you can't
27983           build DLLs on Windows.
27984         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
27985         * docs/gst/gstreamer-sections.txt:
27986         * docs/gst/tmpl/gstcpu.sgml:
27987         * docs/gst/tmpl/gstdata.sgml:
27988         * docs/gst/tmpl/gstthread.sgml:
27989
27990 2005-05-19  David Schleef  <ds@schleef.org>
27991
27992         * gst/gstminiobject.c: (gst_value_set_mini_object),
27993         (gst_value_take_mini_object), (gst_value_get_mini_object):
27994         * gst/gstminiobject.h: Add GValue set/get functions.
27995
27996 2005-05-19  Wim Taymans  <wim@fluendo.com>
27997
27998         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
27999         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
28000         (gst_subbuffer_init), (gst_buffer_is_span_fast):
28001         * gst/gstbuffer.h:
28002         * gst/gstbus.c: (gst_bus_post):
28003         * gst/gstelement.c: (gst_element_get_random_pad):
28004         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
28005         Make subbufer unref the parent in finalize.
28006         some more debugging info.
28007
28008
28009 2005-05-19  Wim Taymans  <wim@fluendo.com>
28010
28011         * gst/base/gstbasesink.c: (gst_basesink_class_init),
28012         (gst_basesink_init), (gst_basesink_finalize),
28013         (gst_basesink_activate), (gst_basesink_change_state):
28014         Don't free preroll queue too early.
28015
28016 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28017
28018         * gst/Makefile.am:
28019         * gst/ROADMAP:
28020           Hi, I'm outdated. Please shoot me.
28021
28022 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28023
28024         * gst/gstpipeline.c: (gst_pipeline_send_event):
28025           Do not access variables after they have been deleted.
28026
28027 2005-05-19  Wim Taymans  <wim@fluendo.com>
28028
28029         * tools/gst-inspect.c: (print_plugin_features):
28030         A plugin feature does unfortunatly not use the
28031         object name yet...
28032
28033 2005-05-18  Wim Taymans  <wim@fluendo.com>
28034
28035         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
28036         Port _span() functions to new subbuffers.
28037
28038 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28039
28040         * gst/gstbin.c: (gst_bin_add_func):
28041           Fix clock settery in bins when adding kids after the clock has
28042           been selected.
28043
28044 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28045
28046         * gst/elements/gstidentity.c: (gst_identity_class_init):
28047           Workaround until signals support GstMiniObject.
28048
28049 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
28050
28051         * gst/gstbuffer.c:
28052         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
28053
28054 2005-05-18  Wim Taymans  <wim@fluendo.com>
28055
28056         * gst/base/Makefile.am:
28057         * gst/base/gstadapter.c: (gst_adapter_base_init),
28058         (gst_adapter_class_init), (gst_adapter_init),
28059         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
28060         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
28061         (gst_adapter_flush), (gst_adapter_available),
28062         (gst_adapter_available_fast):
28063         * gst/base/gstadapter.h:
28064         Ported and added adapter to the base classes.
28065
28066 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
28067
28068         * gst/gst.c:
28069         * gst/gstmessage.c:
28070           Make sure the class is reffed/unreffed once before threads can be
28071           used.  Fixes #304551.
28072
28073 2005-05-17  Wim Taymans  <wim@fluendo.com>
28074
28075         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
28076         (gst_basesink_chain_unlocked), (gst_basesink_activate):
28077         * gst/gstminiobject.c: (gst_mini_object_get_type),
28078         (gst_mini_object_free):
28079         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
28080         (gst_pad_push), (gst_pad_push_event):
28081         * gst/gstqueue.c: (gst_queue_change_state):
28082         Don't queue buffers in basesink when we are flushing.
28083         Unref buffer when flushing in basesink.
28084         Flush queue when going to READY
28085         Unref buffer when _push() returns an error.
28086         Don't free MiniObject instance when refcount is incremented
28087         in _finalize() so that we can recover objects.
28088
28089 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
28090
28091         * docs/manual/advanced-schedulers.xml:
28092         * docs/manual/appendix-checklist.xml:
28093         * docs/pwg/advanced-clock.xml:
28094         * docs/pwg/advanced-interfaces.xml:
28095         * docs/pwg/advanced-request.xml:
28096         * docs/pwg/advanced-types.xml:
28097         * docs/pwg/intro-preface.xml:
28098         * examples/plugins/example.c: (gst_example_get_type),
28099         (gst_example_class_init), (gst_example_chain),
28100         (gst_example_set_property), (gst_example_get_property),
28101         (gst_example_change_state), (plugin_init):
28102         * examples/plugins/example.h:
28103           small doc fixes
28104
28105 2005-05-17  Wim Taymans  <wim@fluendo.com>
28106
28107         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
28108         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
28109         * gst/gstqueue.c: (gst_queue_change_state):
28110         Clear queue when going to READY.
28111         Remove IN_SETCAPS flag too.
28112
28113 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
28114
28115         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
28116           Remove implicit cast from gboolean to GstElementStateReturn;
28117           make sure we still return failure in paused => ready case if
28118           the parent class fails to change state and our own stop 
28119           vfunc succeeds.
28120
28121 2005-05-17  Wim Taymans  <wim@fluendo.com>
28122
28123         * tools/gst-launch.c: (event_loop):
28124         Message was unreffed too soon.
28125
28126 2005-05-16  Andy Wingo  <wingo@pobox.com>
28127
28128         * gst/gstbin.c (sink_iterator_filter): Err... um...
28129
28130         * check/gst/gstbin.c (test_ghost_pads): New test for the
28131         ghosting-if-elements-not-in-same-bin behavior.
28132
28133 2005-05-16  David Schleef  <ds@schleef.org>
28134
28135         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
28136         accessing refcount directly.
28137
28138 2005-05-15  David Schleef  <ds@schleef.org>
28139
28140         * check/Makefile.am: remove GstData checks
28141         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
28142         * gst/Makefile.am: add miniobject, remove data
28143         * gst/gst.h: add miniobject, remove data
28144         * gst/gstdata.c: remove
28145         * gst/gstdata.h: remove
28146         * gst/gstdata_private.h: remove
28147         * gst/gsttypes.h: remove GstEvent and GstMessage
28148         * gst/gstelement.c: (gst_element_post_message): fix for API changes
28149         * gst/gstmarshal.list: change BOXED -> OBJECT
28150
28151         Implement GstMiniObject.
28152         * gst/gstminiobject.c:
28153         * gst/gstminiobject.h:
28154
28155         Modify to be subclasses of GstMiniObject.
28156         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
28157         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
28158         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
28159         (gst_subbuffer_get_type), (gst_subbuffer_init),
28160         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
28161         (gst_buffer_span):
28162         * gst/gstbuffer.h:
28163         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
28164         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
28165         (_gst_event_copy), (gst_event_new):
28166         * gst/gstevent.h:
28167         * gst/gstmessage.c: (_gst_message_initialize),
28168         (gst_message_get_type), (gst_message_class_init),
28169         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
28170         (gst_message_new), (gst_message_new_error),
28171         (gst_message_new_warning), (gst_message_new_tag),
28172         (gst_message_new_state_changed), (gst_message_new_application):
28173         * gst/gstmessage.h:
28174         * gst/gstprobe.c: (gst_probe_perform),
28175         (gst_probe_dispatcher_dispatch):
28176         * gst/gstprobe.h:
28177         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
28178         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
28179         (_gst_query_copy), (gst_query_new):
28180
28181         Update elements for GstData -> GstMiniObject changes
28182         * gst/gstquery.h:
28183         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
28184         (gst_queue_chain), (gst_queue_loop):
28185         * gst/elements/gstbufferstore.c:
28186         (gst_buffer_store_add_buffer_func),
28187         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
28188         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28189         (gst_fakesink_render):
28190         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
28191         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
28192         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
28193         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
28194         (gst_filesrc_create_read):
28195         * gst/elements/gstidentity.c: (gst_identity_class_init):
28196         * gst/elements/gsttypefindelement.c:
28197         (gst_type_find_element_src_event), (free_entry_buffers),
28198         (gst_type_find_element_handle_event):
28199         * libs/gst/dataprotocol/dataprotocol.c:
28200         (gst_dp_header_from_buffer):
28201         * libs/gst/dataprotocol/dataprotocol.h:
28202         * libs/gst/dataprotocol/dp-private.h:
28203
28204 2005-05-15  David Schleef  <ds@schleef.org>
28205
28206         * gst/elements/gstelements.c: Don't include headers that were
28207         just removed.
28208
28209 2005-05-15  David Schleef  <ds@schleef.org>
28210
28211         * gst/elements/Makefile.am: Remove some elements that don't
28212         need to be in the core (or even exist at all).
28213         * gst/elements/gstaggregator.c:
28214         * gst/elements/gstaggregator.h:
28215         * gst/elements/gstmd5sink.c:
28216         * gst/elements/gstmd5sink.h:
28217         * gst/elements/gstmultifilesrc.c:
28218         * gst/elements/gstmultifilesrc.h:
28219         * gst/elements/gstpipefilter.c:
28220         * gst/elements/gstpipefilter.h:
28221         * gst/elements/gstshaper.c:
28222         * gst/elements/gstshaper.h:
28223         * gst/elements/gststatistics.c:
28224         * gst/elements/gststatistics.h:
28225         * po/POTFILES.in: Remove above files.
28226
28227 2005-05-14  Andy Wingo  <wingo@pobox.com>
28228
28229         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
28230         so as to get the refs right.
28231         (sink_iterator_filter): New function, wraps bin_element_is_sink,
28232         unreffing objects that don't pass the filter.
28233
28234         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
28235         gst_element_set_bus.
28236         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
28237         normal cases, this will destroy the bus.
28238
28239         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
28240         object.
28241
28242         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
28243         has no sinks.
28244
28245 2005-05-13  Andy Wingo  <wingo@pobox.com>
28246
28247         * gst/gstutils.c (gst_element_link_pads): Instead of calling
28248         gst_pad_link, call pad_link_maybe_ghosting,
28249         (pad_link_maybe_ghosting): Links pads, making sure that the
28250         elements being linked are in the same bin.
28251         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
28252         Helpers for pad_link_maybe_ghosting.
28253
28254 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
28255
28256         * configure.ac:
28257           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
28258
28259 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
28260
28261         * docs/design/part-element-source.txt:
28262           Mention GstPushSrc
28263
28264 2005-05-12  Wim Taymans  <wim@fluendo.com>
28265
28266         * gst/base/gstbasesink.c: (gst_basesink_init),
28267         (gst_basesink_activate):
28268         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
28269         (gst_basesrc_is_seekable):
28270         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
28271         (bin_element_is_sink), (gst_bin_change_state):
28272         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28273         * gst/gstelement.h:
28274         Identify sinks by their flag to avoid overly complicated
28275         checks (fow now).
28276         Do state changes even for elements not reachable from the
28277         sinks.
28278         BaseSink is a sink now :)
28279         Some more debugging info in the basesrc.
28280
28281
28282 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28283
28284         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
28285           Implement _query on a bin, similar to _send_event.
28286
28287 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
28288
28289         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
28290           Discont event offset format should be GST_FORMAT_BYTES,
28291           not GST_FORMAT_TIME.
28292
28293 2005-05-12  Wim Taymans  <wim@fluendo.com>
28294
28295         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
28296         Same fix as Ronald's but without the signal. 
28297
28298 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28299
28300         * gst/gstutils.c: (gst_element_query_position):
28301           No, an element is not a pad.
28302
28303 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28304
28305         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
28306         (gst_bin_get_state):
28307           If a child is removed from a bin while we remove the child from
28308           the bin and while we're retrieving its state, signal this to the
28309           get_state function so we abort the wait (instead of waiting for
28310           a timeout) and can immediately re-iterate over all other elements.
28311
28312 2005-05-12  Wim Taymans  <wim@fluendo.com>
28313
28314         * gst/base/Makefile.am:
28315         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
28316         (gst_basesrc_start):
28317         * gst/base/gstbasesrc.h:
28318         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
28319         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
28320         (gst_pushsrc_init), (gst_pushsrc_create):
28321         * gst/base/gstpushsrc.h:
28322         Added is_seekable to BaseSrc
28323         Added simple PushSrc.
28324
28325 2005-05-11  Wim Taymans  <wim@fluendo.com>
28326
28327         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28328         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28329         (gst_element_link_pads), (gst_element_query_position),
28330         (gst_element_query_convert), (intersect_caps_func),
28331         (gst_pad_query_position), (gst_pad_query_convert):
28332         Fix refcounting in utils function.
28333         No point in trying to activate a pad when it's added, it could
28334         be added from the state change function and then we deadlock, the
28335         element has to decide what to do.
28336
28337 2005-05-10  Andy Wingo  <wingo@pobox.com>
28338
28339         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28340         *all* the arguments.
28341
28342         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28343         stream lock if it's a FLUSH_DONE; normal flushes don't get the
28344         lock (according to the docs -- if this is wrong change the docs).
28345
28346         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28347         flush messages in the NULL state.
28348
28349         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28350         message immediately and return.
28351         (gst_bus_set_flushing): New function. If a bus is flushing, it
28352         flushes out any queued messages and immediately unrefs new
28353         messages. This is so when an element goes to NULL, all of the
28354         unhandled messages coming from it can be freed, and their
28355         references to the element dropped. In other words: message source
28356         ref considered harmful :P
28357
28358         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28359         we're finished with it.
28360
28361         * gst/gstmessage.c (gst_message_new_state_changed): 
28362
28363 2005-05-10  Wim Taymans  <wim@fluendo.com>
28364
28365         * gst/gstvalue.c: (gst_value_compare_flags),
28366         (gst_value_serialize_flags), (gst_value_deserialize_flags),
28367         (_gst_value_initialize):
28368         Added flags serialize/deserialize/compare code.
28369
28370 2005-05-09  Andy Wingo  <wingo@pobox.com>
28371
28372         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28373         Intersect the peer's caps with our caps.
28374
28375 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28376
28377         * gst/base/gsttypefindhelper.c: (helper_find_peek):
28378         * gst/elements/gsttypefindelement.c: (find_peek):
28379           Handle negative offsets better. Fixes decodebin.
28380
28381 2005-05-09  Wim Taymans  <wim@fluendo.com>
28382
28383         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28384         (gst_base_transform_event):
28385         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28386         Implement accept_caps.
28387         Fix silly lock/unlock mismatch in base class.
28388
28389 2005-05-09  Wim Taymans  <wim@fluendo.com>
28390
28391         * docs/design/draft-push-pull.txt:
28392         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28393         * gst/elements/gstfilesink.c: (gst_filesink_init),
28394         (gst_filesink_query):
28395         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28396         (gst_type_find_handle_src_query), (find_element_get_length):
28397         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28398         * gst/gstelement.h:
28399         * gst/gstmessage.c:
28400         * gst/gstmessage.h:
28401         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28402         (gst_real_pad_get_caps_unlocked),
28403         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28404         (gst_pad_event_default_dispatch), (gst_pad_event_default),
28405         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28406         (gst_real_pad_dispose), (gst_real_pad_finalize),
28407         (gst_pad_load_and_link), (gst_pad_save_thyself),
28408         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28409         (gst_pad_check_pull_range), (gst_pad_pull_range),
28410         (gst_pad_template_get_type), (gst_pad_template_class_init),
28411         (gst_pad_template_init), (gst_pad_template_dispose),
28412         (name_is_valid), (gst_static_pad_template_get),
28413         (gst_pad_template_new), (gst_static_pad_template_get_caps),
28414         (gst_pad_template_get_caps), (gst_pad_set_element_private),
28415         (gst_pad_get_element_private), (gst_pad_start_task),
28416         (gst_pad_pause_task), (gst_pad_stop_task),
28417         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28418         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28419         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28420         (gst_ghost_pad_new):
28421         * gst/gstpad.h:
28422         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28423         (gst_query_new_position), (gst_query_set_position),
28424         (gst_query_parse_position), (gst_query_new_convert),
28425         (gst_query_set_convert), (gst_query_parse_convert):
28426         * gst/gstquery.h:
28427         * gst/gstqueryutils.c:
28428         * gst/gstqueryutils.h:
28429         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28430         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28431         (gst_queue_handle_src_query):
28432         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28433         (gst_element_query_position), (gst_element_query_convert),
28434         (intersect_caps_func), (gst_pad_query_position),
28435         (gst_pad_query_convert):
28436         * gst/gstutils.h:
28437         * tools/gst-inspect.c: (print_pad_info):
28438         * tools/gst-xmlinspect.c: (print_element_info):
28439         Remove old query functions. Ported old code.
28440         Added position/convert helper functions to gstutils.
28441         Reordered gstpad.c code, grouping relevant things.
28442         Remove gst_message_new(), always need to speficy a specific
28443         message.
28444
28445
28446 2005-05-09  Andy Wingo  <wingo@pobox.com>
28447
28448         * gst/gstiterator.h: Add some includes.
28449
28450         * gst/gstqueryutils.h: Include more headers.
28451
28452         * gst/gstpad.h:
28453         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28454         some uses of gst_pad_query.
28455
28456         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28457         NULL out parameters.
28458         (gst_query_new_position): New proc, allocates a new position
28459         query.
28460
28461         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28462         gstqueryutils.c to the build.
28463
28464         * gst/gststructure.c (gst_structure_set_valist): Implement with
28465         the generic G_VALUE_COLLECT.
28466         
28467 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
28468
28469         * gst/Makefile.am: (gst_headers):
28470         Added gstqueryutils.h to the list of headers to install, that was
28471         a 'nachty' move wingo :)
28472
28473 2005-05-06  Andy Wingo  <wingo@pobox.com>
28474
28475         * gst/gstquery.h
28476         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28477         GstData, init a memchunk.
28478         (standard_definitions): Add a few query types, deprecate a few.
28479         (gst_query_get_type): New proc.
28480         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28481         implementation.
28482         (gst_query_new_application, gst_query_get_structure): New public
28483         procs.
28484
28485         * docs/design/draft-query.txt: Removed LINKS from the query types,
28486         because all the rest can be dispatched to other pads -- seemed
28487         ugly to have a query that couldn't be dispatched. internal_links
28488         is fine as a pad method.
28489
28490         * gst/gstpad.h: Add query2 as a pad method, add the new functions
28491         in gstpad.c, but maintain binary compatibility for the moment.
28492         Will fix before 0.9 is out.
28493
28494         * gst/gstqueryutils.c: 
28495         * gst/gstqueryutils.h: New files, implement 3 methods for each
28496         query type: parse_query, parse_response, and set. Probably need an
28497         allocator as well.
28498
28499         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28500
28501         * gst/elements/gstfilesink.c (gst_filesink_query2):
28502         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28503         query_types, and formats methods.
28504
28505         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28506         (gst_pad_set_query2_function): New functions.
28507         (gst_real_pad_init): Set query2_default as the default query2
28508         function. Basically just dispatches to internally linked pads.
28509
28510         Needs review!
28511         
28512         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28513         without using the atomic operations. Only one thread can possibly
28514         be accessing the data at this point. Changed so as to avoid
28515         gst_atomic operations.
28516
28517 2005-05-06  Wim Taymans  <wim@fluendo.com>
28518
28519         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28520         Also set caps if we use the fallback buffer alloc.
28521
28522 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
28523
28524         * docs/gst/Makefile.am:
28525         * docs/gst/gstreamer-docs.sgml:
28526         * docs/gst/gstreamer-sections.txt:
28527         * docs/gst/tmpl/gstatomic.sgml:
28528         * docs/gst/tmpl/gstmemchunk.sgml:
28529         * testsuite/elements/struct_i386.h:
28530         * win32/GStreamer.vcproj:
28531         * win32/Makefile:
28532           Purge GstAtomic stuff from docs and win32 makefiles as well
28533
28534 2005-05-06  Wim Taymans  <wim@fluendo.com>
28535
28536         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28537         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28538         * gst/gstpad.c: (gst_pad_peer_get_caps):
28539         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28540         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28541         (gst_queue_src_activate), (gst_queue_change_state):
28542         * gst/gstqueue.h:
28543         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28544         (intersect_caps_func):
28545         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28546         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28547         Some fixes for the peer_get_caps() change.
28548
28549 2005-05-06  Wim Taymans  <wim@fluendo.com>
28550
28551         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28552         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28553         (gst_basesink_activate):
28554         Actually do something with error codes returned from the push
28555         functions.
28556
28557 2005-05-06  Wim Taymans  <wim@fluendo.com>
28558
28559         * docs/design/part-element-sink.txt:
28560         * docs/design/part-element-source.txt:
28561         * gst/base/gstbasesink.c: (gst_basesink_class_init),
28562         (gst_basesink_event), (gst_basesink_activate):
28563         * gst/base/gstbasesink.h:
28564         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28565         (gst_basesrc_activate):
28566         * gst/base/gstbasesrc.h:
28567         * gst/gstelement.c: (gst_element_pads_activate):
28568         Some more documentation.
28569         Fixed scheduling decision in _pads_activate().
28570
28571 2005-05-05  Andy Wingo  <wingo@pobox.com>
28572
28573         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
28574         the test suite.
28575
28576 2005-05-05  Wim Taymans  <wim@fluendo.com>
28577
28578         * gst/base/Makefile.am:
28579         * gst/base/gstbasesink.h:
28580         * gst/base/gstbasesrc.c: (gst_basesrc_init),
28581         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
28582         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
28583         (gst_collectpads_class_init), (gst_collectpads_init),
28584         (gst_collectpads_finalize), (gst_collectpads_new),
28585         (gst_collectpads_set_function), (gst_collectpads_add_pad),
28586         (find_pad), (gst_collectpads_remove_pad),
28587         (gst_collectpads_is_active), (gst_collectpads_collect),
28588         (gst_collectpads_collect_range), (gst_collectpads_start),
28589         (gst_collectpads_stop), (gst_collectpads_peek),
28590         (gst_collectpads_pop), (gst_collectpads_available),
28591         (gst_collectpads_read), (gst_collectpads_flush),
28592         (gst_collectpads_chain):
28593         * gst/base/gstcollectpads.h:
28594         * gst/elements/Makefile.am:
28595         * gst/elements/gstelements.c:
28596         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28597         (gst_fakesink_get_times), (gst_fakesink_event),
28598         (gst_fakesink_preroll), (gst_fakesink_render):
28599         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28600         (gst_filesink_init), (gst_filesink_set_location),
28601         (gst_filesink_open_file), (gst_filesink_close_file),
28602         (gst_filesink_pad_query), (gst_filesink_event),
28603         (gst_filesink_render), (gst_filesink_change_state):
28604         * gst/elements/gstfilesink.h:
28605         Added object to help in making collect pad based elements.
28606         Ported filesink.
28607         Make event function in sink baseclass return gboolean.
28608
28609 2005-05-05  Wim Taymans  <wim@fluendo.com>
28610
28611         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
28612         (gst_bin_get_by_name):
28613         * gst/gstbuffer.h:
28614         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
28615         (gst_clock_finalize):
28616         * gst/gstdata.c: (gst_data_replace):
28617         * gst/gstdata.h:
28618         * gst/gstelement.c: (gst_element_request_pad),
28619         (gst_element_pads_activate):
28620         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
28621         (gst_object_unref):
28622         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28623         (gst_pad_set_checkgetrange_function),
28624         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
28625         (gst_pad_check_pull_range), (gst_pad_pull_range),
28626         (gst_static_pad_template_get_caps), (gst_pad_start_task),
28627         (gst_pad_pause_task), (gst_pad_stop_task):
28628         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28629         (gst_element_request_pad), (gst_pad_proxy_getcaps):
28630         Fix name lookup in GstBin.
28631         Added _data_replace() function and _buffer_replace()
28632         Use finalize method to clean up clock.
28633         Fix refcounting on request pads.
28634         Fix pad schedule mode error.
28635         Some more object refcounting debug info,
28636
28637
28638 2005-05-04  Andy Wingo <wingo@pobox.com>
28639
28640         * check/Makefile.am:
28641         * docs/gst/tmpl/gstatomic.sgml:
28642         * docs/gst/tmpl/gstplugin.sgml:
28643         * gst/base/gstbasesink.c: (gst_basesink_activate):
28644         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
28645         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
28646         (gst_basesrc_query), (gst_basesrc_set_property),
28647         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
28648         (gst_basesrc_activate):
28649         * gst/base/gstbasesrc.h:
28650         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
28651         (gst_base_transform_src_activate):
28652         * gst/elements/gstelements.c:
28653         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28654         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28655         * gst/elements/gsttee.c: (gst_tee_sink_activate):
28656         * gst/elements/gsttypefindelement.c: (find_element_get_length),
28657         (gst_type_find_element_checkgetrange),
28658         (gst_type_find_element_activate):
28659         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
28660         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
28661         (gst_caps_load_thyself):
28662         * gst/gstelement.c: (gst_element_pads_activate),
28663         (gst_element_save_thyself), (gst_element_restore_thyself):
28664         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
28665         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
28666         * gst/gstpad.h:
28667         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
28668         (gst_xml_parse_file), (gst_xml_parse_memory),
28669         (gst_xml_get_element), (gst_xml_make_element):
28670         * gst/indexers/gstfileindex.c: (gst_file_index_load),
28671         (_file_index_id_save_xml), (gst_file_index_commit):
28672         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
28673         (read_enum), (load_pad_template), (load_feature), (load_plugin),
28674         (load_paths):
28675         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
28676         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
28677         * tools/gst-complete.c: (main):
28678         * tools/gst-compprep.c: (main):
28679         * tools/gst-inspect.c: (print_element_properties_info):
28680         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
28681         * tools/gst-xmlinspect.c: (print_element_properties):
28682         GCC 4 fixen.
28683         
28684 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
28685
28686         * gst/gstplugin.c: (gst_plugin_check_module),
28687         (gst_plugin_check_file), (gst_plugin_load_file):
28688             apply patch from #172526 to make register work on MacOSX
28689
28690 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28691
28692         * docs/gst/tmpl/gstconfig.sgml:
28693         * gst/gstconfig.h.in:
28694           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
28695         * testsuite/debug/printf_extension.c: (main):
28696           Do not use GST_PTR_FORMAT on pointers to types with
28697           sizeof < sizeof(gpointer).  Fixes test on 64-bit
28698         * testsuite/elements/property.h:
28699           use correct printf format
28700
28701 2005-05-02  Wim Taymans  <wim@fluendo.com>
28702
28703         * docs/design/draft-push-pull.txt:
28704         * docs/design/draft-query.txt:
28705         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
28706         (gst_basesrc_start):
28707         Added draft for new query API.
28708         Added draft for better selecting scheduling methods.
28709         Make basesrc ignore length if the subclass does not support
28710         it.
28711
28712 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28713
28714         * gst/Makefile.am:
28715           possible fixes for automake-1.5 - _LIBADD is reserved
28716
28717 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28718
28719         * docs/faq/Makefile.am:
28720         * docs/manual/Makefile.am:
28721         * docs/manuals.mak:
28722         * docs/pwg/Makefile.am:
28723         * gst/Makefile.am:
28724           possible fixes for automake-1.5
28725
28726 2005-04-28  Wim Taymans  <wim@fluendo.com>
28727
28728         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28729         (gst_basesink_pad_getcaps), (gst_basesink_init),
28730         (gst_basesink_do_sync):
28731         * gst/gstclock.c: (gst_clock_entry_new):
28732         * gst/gstevent.c: (gst_event_discont_get_value):
28733         * gst/gstpipeline.c: (pipeline_bus_handler),
28734         (gst_pipeline_change_state):
28735         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
28736         Better debugging of clocking info.
28737         Allow NULL values when getting discont values.
28738
28739 2005-04-27  Wim Taymans  <wim@fluendo.com>
28740
28741         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28742         * check/gst/gstpad.c: (gst_pad_suite):
28743         Increase timeout for checks.
28744
28745 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
28746
28747         * check/Makefile.am:
28748           fix the broken rule for cleanup.  Apparently this rule is
28749           only needed on FC2, so maybe this warrants further autotool
28750           inspection.
28751
28752 2005-04-26  Wim Taymans  <wim@fluendo.com>
28753
28754         * gst/gsttrashstack.h:
28755         Ooohh. a nasty one! After having a failed pop() from the stack,
28756         it's possible that the stack is empty. In that case, don't
28757         follow the NULL pointer.
28758
28759 2005-04-25  Wim Taymans  <wim@fluendo.com>
28760
28761         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28762         (gst_pad_set_checkgetrange_function),
28763         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
28764         (gst_pad_check_pull_range), (gst_pad_pull_range),
28765         (gst_static_pad_template_get_caps), (gst_pad_start_task),
28766         (gst_pad_pause_task), (gst_pad_stop_task):
28767         * gst/gstplugin.c: (gst_plugin_load):
28768         * gst/gstplugin.h:
28769         Remove gst_library_load as it does more harm than good with
28770         the new g_module flags.
28771         Revert bogus caps template check in pad linking, pad caps
28772         are important when linking not the template, which is more
28773         general than the current caps.
28774
28775 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28776
28777         * gst/autoplug/.cvsignore:
28778         * gst/autoplug/Makefile.am:
28779         * gst/autoplug/gstsearchfuncs.c:
28780         * gst/autoplug/gstsearchfuncs.h:
28781         * gst/autoplug/gstspider.c:
28782         * gst/autoplug/gstspider.h:
28783         * gst/autoplug/gstspideridentity.c:
28784         * gst/autoplug/gstspideridentity.h:
28785         * gst/autoplug/spidertest.c:
28786           Die, spider, die.
28787
28788 2005-04-25  Wim Taymans  <wim@fluendo.com>
28789
28790         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28791         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28792         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
28793         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
28794         * gst/gstpad.h:
28795         Added stubs for unimplemented functions. 
28796
28797 2005-04-24  David Schleef  <ds@schleef.org>
28798
28799         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
28800         please fix.
28801
28802 2005-04-24  David Schleef  <ds@schleef.org>
28803
28804         Convert everything from GstAtomicInt to g_atomic_int_*, and
28805         remove gstatomic.
28806         * gst/Makefile.am:
28807         * gst/gstatomic.c:
28808         * gst/gstatomic.h:
28809         * gst/gstatomic_impl.h:
28810         * gst/gstbuffer.c:
28811         * gst/gstcaps.c:
28812         * gst/gstcaps.h:
28813         * gst/gstclock.c:
28814         * gst/gstclock.h:
28815         * gst/gstdata.c:
28816         * gst/gstdata.h:
28817         * gst/gstdata_private.h:
28818         * gst/gstevent.c:
28819         * gst/gstinfo.c:
28820         * gst/gstinfo.h:
28821         * gst/gstmessage.c:
28822         * gst/gstobject.c:
28823         * gst/gstobject.h:
28824         * gst/gststructure.c:
28825         * gst/gststructure.h:
28826         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
28827         * gst/gstutils.h:
28828
28829 2005-04-24  David Schleef  <ds@schleef.org>
28830
28831         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
28832         make the regressions tests work.  Remove some code that is no
28833         longer true.
28834         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
28835         Disable warning for pads without templates.
28836
28837 2005-04-24  David Schleef  <ds@schleef.org>
28838
28839         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
28840         functions that handle filtered links.
28841         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
28842         removed functions.
28843         * gst/gstutils.c: Fix/remove utility functions that handle
28844         filtered caps.
28845         * gst/gstutils.h:
28846         * gst/gstvalue.c: Add serialization/deserialization of caps
28847         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
28848         requires fixing so that the filter caps notation creates
28849         a capsfilter element and sets the filter_caps property.  I
28850         think everyone probably wants to keep the shorthand notation.
28851         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
28852         * docs/gst/tmpl/gstpad.sgml:
28853
28854         * gst/elements/gstelements.c: Register capsfilter element.
28855         * gst/Makefile.am: fix spacing
28856         * docs/random/ds/0.9-suggested-changes: random
28857
28858 2005-04-23  David Schleef  <ds@schleef.org>
28859
28860         * gst/elements/Makefile.am:
28861         * gst/elements/gstcapsfilter.c: New element that acts like an
28862         identity, but filters caps.  Will eventually replace filtered
28863         caps in pad linking.
28864         * gst/gstutils.c: (gst_element_create_all_pads): New function
28865         to create all the ALWAYS pads that are registered with an
28866         element class.  This functionality should eventually be
28867         merged in with GstElement initialization.
28868         * gst/gstutils.h:
28869         * testsuite/trigger/README: part of trigger test code that should
28870         have been checked in a long time ago.
28871
28872 2005-04-23  David Schleef  <ds@schleef.org>
28873
28874         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
28875         needed with new versions of libtool (nobody will confirm this),
28876         and hard to carry around.
28877         * gst/autoplug/Makefile.am:
28878         * gst/base/Makefile.am:
28879         * gst/elements/Makefile.am:
28880         * gst/indexers/Makefile.am:
28881         * gst/schedulers/Makefile.am:
28882         * libs/gst/bytestream/Makefile.am:
28883         * libs/gst/control/Makefile.am:
28884         * libs/gst/dataprotocol/Makefile.am:
28885         * libs/gst/getbits/Makefile.am:
28886
28887 2005-04-21  Wim Taymans  <wim@fluendo.com>
28888
28889         * docs/design/draft-push-pull.txt:
28890         * docs/design/part-MT-refcounting.txt:
28891         * docs/design/part-TODO.txt:
28892         * docs/design/part-caps.txt:
28893         * docs/design/part-events.txt:
28894         * docs/design/part-gstbus.txt:
28895         * docs/design/part-gstpipeline.txt:
28896         * docs/design/part-messages.txt:
28897         * docs/design/part-push-pull.txt:
28898         * docs/design/part-query.txt:
28899         Some more docs.
28900
28901 2005-04-21  Wim Taymans  <wim@fluendo.com>
28902
28903         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
28904         (gst_message_new), (gst_message_new_error),
28905         (gst_message_new_warning), (gst_message_new_tag),
28906         (gst_message_new_state_changed), (gst_message_new_application),
28907         (gst_message_get_structure):
28908         * gst/gstmessage.h:
28909         * gst/gststructure.c: (gst_structure_set_parent_refcount),
28910         (gst_structure_copy_conditional):
28911         Use parent refcount in GstMessage to ensure GstStructure
28912         consistency.
28913         Cleaned up headers a bit.
28914         
28915
28916 2005-04-20  Wim Taymans  <wim@fluendo.com>
28917
28918         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28919         (gst_basesink_pad_getcaps), (gst_basesink_init),
28920         (gst_basesink_chain_unlocked):
28921         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
28922         (gst_type_find_helper):
28923         * gst/elements/gsttypefindelement.c:
28924         (gst_type_find_element_have_type), (gst_type_find_element_init),
28925         (stop_typefinding), (gst_type_find_element_handle_event),
28926         (find_suggest), (gst_type_find_element_chain),
28927         (gst_type_find_element_checkgetrange),
28928         (gst_type_find_element_getrange), (do_typefind),
28929         (gst_type_find_element_activate):
28930         * gst/gstbuffer.c: (_gst_buffer_sub_free),
28931         (gst_buffer_default_free), (gst_buffer_default_copy),
28932         (gst_buffer_set_caps):
28933         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
28934         (gst_caps_replace):
28935         * gst/gstmessage.c: (gst_message_new),
28936         (gst_message_new_state_changed):
28937         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28938         (gst_pad_set_checkgetrange_function),
28939         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
28940         (gst_pad_set_caps), (gst_pad_check_pull_range),
28941         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
28942         * gst/gstpad.h:
28943         * gst/gsttypefind.c: (gst_type_find_register):
28944         Make gst_caps_replace() work like other _replace() functions.
28945         Use _caps_replace() where possible.
28946         Make sure _message_new() initialises its field.
28947         Add gst_static_pad_template_get_caps()
28948
28949
28950 2005-04-18  Andy Wingo  <wingo@pobox.com>
28951
28952         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
28953         on the peer, not the pad. I think that was a typo. Pass an extra
28954         arg to see if random access is possible. Activate the pads as
28955         PULL_RANGE if possible.
28956
28957         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
28958
28959         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
28960         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
28961         to PROP_....
28962
28963 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28964
28965         * docs/faq/using.xml:
28966           Add note on gstreamer-properties (#154996).
28967
28968 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28969
28970         * docs/random/bbb/optional-properties:
28971           Some analysis on optional properties.
28972
28973 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28974
28975         * docs/gst/tmpl/gstelementfactory.sgml:
28976         * gst/gstelement.h:
28977         * gst/gstelementfactory.c: (gst_element_factory_init),
28978         (gst_element_factory_cleanup), (gst_element_register),
28979         (__gst_element_factory_add_static_pad_template),
28980         (gst_element_factory_get_static_pad_templates),
28981         (gst_element_factory_can_src_caps),
28982         (gst_element_factory_can_sink_caps):
28983         * gst/registries/Makefile.am:
28984         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
28985         (gst_xml_registry_class_init), (gst_xml_registry_init),
28986         (gst_xml_registry_new), (gst_xml_registry_set_property),
28987         (gst_xml_registry_get_property), (get_time), (make_dir),
28988         (gst_xml_registry_get_perms_func),
28989         (plugin_times_older_than_recurse), (plugin_times_older_than),
28990         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
28991         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
28992         (add_to_char_array), (read_string), (read_uint), (read_enum),
28993         (load_pad_template), (load_feature), (load_plugin), (load_paths),
28994         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
28995         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
28996         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
28997         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
28998         (gst_xml_registry_rebuild):
28999         * gst/registries/gstlibxmlregistry.h:
29000         * tools/gst-compprep.c: (main):
29001         * tools/gst-inspect.c: (print_pad_templates_info):
29002         * tools/gst-xmlinspect.c: (print_element_info):
29003           Use libxml2 for registry parsing, use staticpadtemplates in
29004           elementfactories. Makes gst_init() +/- 10x faster.
29005
29006 2005-04-12  Wim Taymans  <wim@fluendo.com>
29007
29008         * gst/base/Makefile.am:
29009         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29010         (gst_basesink_pad_getcaps), (gst_basesink_init),
29011         (gst_basesink_event), (gst_basesink_change_state):
29012         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29013         (gst_basesrc_init), (gst_basesrc_query),
29014         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29015         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29016         (gst_basesrc_check_get_range), (gst_basesrc_loop),
29017         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29018         (gst_basesrc_stop), (gst_basesrc_activate),
29019         (gst_basesrc_change_state):
29020         * gst/base/gsttypefindhelper.c: (helper_find_peek),
29021         (helper_find_suggest), (gst_type_find_helper):
29022         * gst/base/gsttypefindhelper.h:
29023         * gst/elements/Makefile.am:
29024         * gst/elements/gstelements.c:
29025         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29026         (gst_fakesink_get_times), (gst_fakesink_event),
29027         (gst_fakesink_preroll), (gst_fakesink_render):
29028         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29029         (gst_fakesrc_init), (gst_fakesrc_event_handler),
29030         (gst_fakesrc_get_property), (gst_fakesrc_create),
29031         (gst_fakesrc_start), (gst_fakesrc_stop):
29032         * gst/elements/gstfakesrc.h:
29033         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
29034         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29035         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29036         (gst_filesrc_create_read), (gst_filesrc_create),
29037         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
29038         (gst_filesrc_start):
29039         * gst/elements/gsttypefindelement.c:
29040         (gst_type_find_element_have_type), (gst_type_find_element_init),
29041         (start_typefinding), (stop_typefinding), (push_buffer_store),
29042         (gst_type_find_element_handle_event),
29043         (gst_type_find_element_chain),
29044         (gst_type_find_element_checkgetrange),
29045         (gst_type_find_element_getrange), (do_typefind),
29046         (gst_type_find_element_activate),
29047         (gst_type_find_element_change_state):
29048         * gst/elements/gsttypefindelement.h:
29049         * gst/gstpipeline.c: (pipeline_bus_handler):
29050         Added typefind helper.
29051         Small preroll fix in the base sink.
29052         Disable typefind code in basesrc.
29053         Crude port of typefindelement.
29054         Fakesrc cleanups.
29055
29056
29057 2005-04-11  Wim Taymans  <wim@fluendo.com>
29058
29059         * check/gst/gstbus.c: (gstbus_suite):
29060         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
29061         * check/gstcheck.h:
29062           Fix up the timeout so that the test does not fail.
29063
29064 2005-04-06  Wim Taymans  <wim@fluendo.com>
29065
29066         * gst/base/README:
29067         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29068         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
29069         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29070         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29071         (gst_basesrc_check_get_range), (gst_basesrc_loop),
29072         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29073         (gst_basesrc_stop), (gst_basesrc_activate),
29074         (gst_basesrc_change_state), (basesrc_find_peek),
29075         (basesrc_find_suggest), (gst_basesrc_type_find):
29076         * gst/base/gstbasesrc.h:
29077         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
29078         (gst_filesrc_class_init), (gst_filesrc_init),
29079         (gst_filesrc_finalize), (gst_filesrc_set_location),
29080         (gst_filesrc_set_property), (gst_filesrc_get_property),
29081         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29082         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29083         (gst_filesrc_create_read), (gst_filesrc_create),
29084         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
29085         * gst/elements/gstfilesrc.h:
29086         * gst/gstelement.c: (gst_element_get_state_func),
29087         (gst_element_lost_state), (gst_element_pads_activate):
29088         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29089         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29090         (gst_pad_pull_range):
29091         * gst/gstpad.h:
29092         More work on the generic source base class, implement seeking,
29093         query.
29094         Make filesrc extend the base source class.
29095         Added gst_pad_set_checkgetrange_function to GstPad.
29096
29097 2005-04-06  Andy Wingo  <wingo@pobox.com>
29098
29099         * pkgconfig/gstreamer-base.pc.in:
29100         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
29101
29102         * pkgconfig/Makefile.am:
29103         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
29104
29105 2005-04-04  Wim Taymans  <wim@fluendo.com>
29106
29107         * gst/base/Makefile.am:
29108         * gst/base/README:
29109         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29110         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29111         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29112         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
29113         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29114         (gst_basesrc_base_init), (gst_basesrc_class_init),
29115         (gst_basesrc_init), (gst_basesrc_get_formats),
29116         (gst_basesrc_get_query_types), (gst_basesrc_query),
29117         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
29118         (gst_basesrc_set_property), (gst_basesrc_get_property),
29119         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
29120         (gst_basesrc_loop), (gst_basesrc_activate),
29121         (gst_basesrc_change_state):
29122         * gst/base/gstbasesrc.h:
29123         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
29124         (gst_fakesrc_class_init), (gst_fakesrc_init),
29125         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
29126         (gst_fakesrc_get_property), (gst_fakesrc_create):
29127         * gst/elements/gstfakesrc.h:
29128         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
29129         (gst_filesrc_open_file), (gst_filesrc_loop),
29130         (gst_filesrc_activate), (filesrc_find_peek),
29131         (gst_filesrc_type_find):
29132         Made base source class, make fakesrc extend it.
29133         Add comments to basesink class.
29134         Some filesrc cleanup.
29135
29136 2005-03-31  David Schleef  <ds@schleef.org>
29137
29138         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
29139         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
29140         expected to link against libgstreamer.
29141         * gst/base/Makefile.am: link against libgstreamer
29142         * gst/elements/Makefile.am: same
29143
29144 2005-03-31  Andy Wingo  <wingo@pobox.com>
29145
29146         * tests/instantiate/Makefile.am:
29147         * tests/instantiate/caps.c: Add test to test speed of caps copy
29148         and free.
29149
29150         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
29151         GMemChunk to be fair.
29152
29153         * gst/gsttrashstack.h: Remove warning about using the fallback
29154         trash stack implementation, it's still faster than malloc.
29155
29156 2005-03-30  Andy Wingo  <wingo@pobox.com>
29157
29158         * tests/complexity.c: Add a copyright.
29159
29160 2005-03-31  Wim Taymans  <wim@fluendo.com>
29161
29162         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
29163         (gst_base_transform_class_init), (gst_base_transform_init),
29164         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
29165         (gst_base_transform_get_property),
29166         (gst_base_transform_sink_activate),
29167         (gst_base_transform_src_activate),
29168         (gst_base_transform_change_state):
29169         * gst/base/gstbasetransform.h:
29170         * gst/elements/gstidentity.c: (gst_identity_class_init),
29171         (gst_identity_event), (gst_identity_check_perfect),
29172         (gst_identity_transform), (gst_identity_start),
29173         (gst_identity_stop):
29174         Added start/stop methods to transform base class so subclasses 
29175         don't need to deal with state changes even.
29176
29177 2005-03-31  Wim Taymans  <wim@fluendo.com>
29178
29179         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
29180         (gst_event_new_discontinuous), (gst_event_discont_get_value):
29181         * gst/gstevent.h:
29182         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29183         (gst_pad_pull_range):
29184         Added rate to the discont event to prepare for variable speed
29185         and reverse playback.
29186
29187 2005-03-29  David Schleef  <ds@schleef.org>
29188
29189         * configure.ac:
29190         * testsuite/trigger/Makefile.am:
29191         * testsuite/trigger/trigger.c: A little example program to show
29192         how trigger-based elements can work.
29193
29194 2005-03-29  Wim Taymans  <wim@fluendo.com>
29195
29196         * gst/base/Makefile.am:
29197         * gst/base/README:
29198         * gst/base/gstbasesink.c: (gst_basesink_get_type),
29199         (gst_basesink_base_init), (gst_basesink_class_init),
29200         (gst_basesink_pad_getcaps), (gst_basesink_init),
29201         (gst_basesink_activate), (gst_basesink_change_state):
29202         * gst/base/gstbasesink.h:
29203         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
29204         (gst_base_transform_base_init), (gst_base_transform_finalize),
29205         (gst_base_transform_class_init), (gst_base_transform_init),
29206         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
29207         (gst_base_transform_event), (gst_base_transform_getrange),
29208         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
29209         (gst_base_transform_set_property),
29210         (gst_base_transform_get_property),
29211         (gst_base_transform_sink_activate),
29212         (gst_base_transform_src_activate),
29213         (gst_base_transform_change_state):
29214         * gst/base/gstbasetransform.h:
29215         * gst/elements/gstidentity.c: (gst_identity_finalize),
29216         (gst_identity_class_init), (gst_identity_init),
29217         (gst_identity_event), (gst_identity_check_perfect),
29218         (gst_identity_transform), (gst_identity_set_property),
29219         (gst_identity_get_property), (gst_identity_change_state):
29220         * gst/elements/gstidentity.h:
29221         * gst/gstelement.c: (gst_element_get_state_func),
29222         (gst_element_lost_state), (gst_element_pads_activate):
29223         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29224         (gst_pad_check_pull_range), (gst_pad_pull_range):
29225         * gst/gstpad.h:
29226         Simplify pad activation.
29227         Added function to check if pull_range can be performed.
29228         Error out when pulling inactive or flushing pads.
29229         Removed const from refcounted types as it does not make sense.
29230         Simplify pad templates in basesink
29231         Added base class for simple 1-to-1 transforms.
29232         Make identity subclass the base transform.
29233
29234 2005-03-29  Andy Wingo  <wingo@pobox.com>
29235
29236         * docs/libs/gstreamer-libs-overrides.txt: 
29237         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
29238         really don't understand what's going on, but like whatever. I want
29239         green buildbot!
29240
29241         * docs/gst/Makefile.am:
29242         * docs/libs/Makefile.am: Dist the overrides files.
29243
29244         * check/Makefile.am (clean-local): Remove .libs directories.
29245
29246         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
29247         elements to EXTRA_DIST, so po/ files are happy.
29248
29249         * po/POTFILES.in: Er, remove it here.
29250
29251         * po/POTFILES: Remove gstspider.c.
29252
29253         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
29254
29255         * docs/libs/gstreamer-libs-docs.sgml: 
29256         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
29257         bytestream.
29258
29259         * tests/complexity.c (main): Set the length of the preroll queue
29260         on the sinks to prevent a lockup.
29261
29262         * libs/gst/dataprotocol/Makefile.am: 
29263         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
29264         the same as the one in check/gst-libs/gdp.c.
29265
29266         * po/, docs/gst/: Commit automatic changes to docs and po files.
29267
29268         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
29269         the versioned libgstbase.
29270
29271         * check/Makefile.am: Depend on an unversioned gst-register, seems
29272         to make autoconf happier.
29273
29274         * gst/base/Makefile.am: Make libgstbase a versioned lib.
29275
29276 2005-03-28  Wim Taymans  <wim@fluendo.com>
29277
29278         * configure.ac:
29279         * docs/design/part-gstelement.txt:
29280         * docs/design/part-negotiation.txt:
29281         * docs/design/part-preroll.txt:
29282         * docs/design/part-scheduling.txt:
29283         * docs/design/part-states.txt:
29284         * gst/Makefile.am:
29285         * gst/base/Makefile.am:
29286         * gst/base/README:
29287         * gst/base/gstbasesink.c: (gst_basesink_get_template),
29288         (gst_basesink_base_init), (gst_basesink_class_init),
29289         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29290         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29291         (gst_basesink_set_pad_functions),
29292         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
29293         (gst_basesink_set_property), (gst_basesink_get_property),
29294         (gst_base_sink_get_template), (gst_base_sink_get_caps),
29295         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
29296         (gst_basesink_preroll_queue_push),
29297         (gst_basesink_preroll_queue_empty),
29298         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
29299         (gst_basesink_event), (gst_basesink_get_times),
29300         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
29301         (gst_basesink_chain_unlocked), (gst_basesink_chain),
29302         (gst_basesink_loop), (gst_basesink_activate),
29303         (gst_basesink_change_state):
29304         * gst/base/gstbasesink.h:
29305         * gst/elements/Makefile.am:
29306         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
29307         (gst_fakesink_class_init), (gst_fakesink_init),
29308         (gst_fakesink_set_property), (gst_fakesink_get_property),
29309         (gst_fakesink_get_times), (gst_fakesink_event),
29310         (gst_fakesink_preroll), (gst_fakesink_render),
29311         (gst_fakesink_change_state):
29312         * gst/elements/gstfakesink.h:
29313         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29314         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
29315         * gst/gstelement.c: (gst_element_add_pad),
29316         (gst_element_get_state_func), (gst_element_abort_state),
29317         (gst_element_commit_state), (gst_element_lost_state),
29318         (gst_element_set_state), (gst_element_pads_activate):
29319         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
29320         * gst/gstpipeline.c: (gst_pipeline_send_event),
29321         (gst_pipeline_change_state):
29322         Added state change code.
29323         Added/updated docs.
29324         Added sink base class, make fakesink extend the base class.
29325         Small cleanups in GstPipeline.
29326
29327 2005-03-26  David Schleef  <ds@schleef.org>
29328
29329         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
29330         is broken and should be implemented in a different library.
29331         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29332         * gst/gst.h: remove gstcpu.h
29333         * gst/gstcpu.c: remove
29334         * gst/gstcpu.h: remove
29335         * gst/Makefile.am.future: Remove this file.  It's ancient.
29336
29337 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29338
29339         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29340         (gst_bin_send_event):
29341           Add default event/set_manager handlers. The set_manager handler
29342           takes care that the manager is distributed over kids that were
29343           already in the bin before the manager was set. The event handler
29344           is a utility virtual function that sends the event over all sinks,
29345           so that gst_element_send_event (bin, event); has the expected
29346           behaviour.
29347         * gst/gstpad.c: (gst_pad_event_default):
29348           Re-install default event handling for discontinuities, so that
29349           seeking works without requiring hacks in applications or extra
29350           code in sinks.
29351         * gst/gstpipeline.c: (gst_pipeline_class_init),
29352         (gst_pipeline_send_event):
29353           Half hack, half utility: set a pipeline to PAUSED for seek events,
29354           since that is the only way we can guarantee a/v sync. Means that
29355           you can do gst_element_seek (pipeline, method, pos); on a pipeline
29356           and it "just works".
29357
29358 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29359
29360         * gst/gstpipeline.c: (gst_pipeline_use_clock):
29361           Lock/unlock mismatch.
29362
29363 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
29364
29365         * docs/faq/gst-uninstalled:
29366           add gst-plugins-base
29367         * docs/gst/Makefile.am:
29368           don't error out until docs are fixed
29369         * docs/gst/gstreamer.types:
29370           remove thread
29371
29372 2005-03-22  Wim Taymans  <wim@fluendo.com>
29373
29374         * check/Makefile.am:
29375         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29376         * gst/gststructure.c: (gst_structure_set_valist),
29377         (gst_structure_copy_conditional):
29378         Activated more tests.
29379         Added message test.
29380         Added G_TYPE_POINTER to GstStructure.
29381         
29382
29383 2005-03-22  Wim Taymans  <wim@fluendo.com>
29384
29385         * docs/design/part-TODO.txt:
29386         * docs/design/part-events.txt:
29387         * docs/design/part-gstbin.txt:
29388         * docs/design/part-gstbus.txt:
29389         * docs/design/part-gstpipeline.txt:
29390         * docs/design/part-messages.txt:
29391         * gst/gstbus.c:
29392         * gst/gstmessage.c:
29393         Docs updates
29394
29395 2005-03-21  Wim Taymans  <wim@fluendo.com>
29396
29397         * gst/gstbus.c: (gst_bus_post):
29398         Fix copy-and-paste error.
29399
29400 2005-03-21  Wim Taymans  <wim@fluendo.com>
29401
29402         * check/Makefile.am:
29403         * gst/Makefile.am:
29404         * gst/elements/Makefile.am:
29405         * gst/elements/gstelements.c:
29406         * gst/elements/gstfakesink.c: (gst_fakesink_init),
29407         (gst_fakesink_event), (gst_fakesink_chain):
29408         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29409         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29410         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29411         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29412         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29413         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29414         (gst_fakesrc_loop), (gst_fakesrc_activate),
29415         (gst_fakesrc_change_state):
29416         * gst/elements/gstfakesrc.h:
29417         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29418         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29419         (gst_filesrc_open_file), (gst_filesrc_loop),
29420         (gst_filesrc_activate), (gst_filesrc_change_state),
29421         (filesrc_find_peek), (filesrc_find_suggest),
29422         (gst_filesrc_type_find):
29423         * gst/elements/gstidentity.c: (gst_identity_finalize),
29424         (gst_identity_class_init), (gst_identity_init),
29425         (gst_identity_proxy_getcaps), (identity_queue_push),
29426         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29427         (gst_identity_getrange), (gst_identity_chain),
29428         (gst_identity_sink_loop), (gst_identity_src_loop),
29429         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29430         (gst_identity_set_property), (gst_identity_get_property),
29431         (gst_identity_change_state):
29432         * gst/elements/gstidentity.h:
29433         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29434         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29435         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29436         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29437         (gst_tee_sink_activate):
29438         * gst/elements/gsttee.h:
29439         * gst/gst.c: (gst_register_core_elements), (init_post):
29440         * gst/gst.h:
29441         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29442         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29443         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29444         (gst_bin_change_state):
29445         * gst/gstbin.h:
29446         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29447         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29448         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29449         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29450         (gst_bus_set_sync_handler), (gst_bus_create_watch),
29451         (bus_watch_callback), (bus_watch_destroy),
29452         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29453         (poll_timeout), (gst_bus_poll):
29454         * gst/gstbus.h:
29455         * gst/gstcaps.h:
29456         * gst/gstdata.h:
29457         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29458         (gst_element_post_message), (gst_element_message_full),
29459         (gst_element_get_state_func), (gst_element_get_state),
29460         (gst_element_abort_state), (gst_element_commit_state),
29461         (gst_element_lost_state), (gst_element_set_state),
29462         (gst_element_pads_activate), (gst_element_change_state),
29463         (gst_element_dispose), (gst_element_set_manager_func),
29464         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29465         (gst_element_set_manager), (gst_element_get_manager),
29466         (gst_element_set_bus), (gst_element_get_bus),
29467         (gst_element_set_scheduler), (gst_element_get_scheduler):
29468         * gst/gstelement.h:
29469         * gst/gstevent.c: (gst_event_new_segment_seek),
29470         (gst_event_new_flush):
29471         * gst/gstevent.h:
29472         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29473         (_gst_message_free), (gst_message_get_type), (gst_message_new),
29474         (gst_message_new_eos), (gst_message_new_error),
29475         (gst_message_new_warning), (gst_message_new_tag),
29476         (gst_message_new_state_changed), (gst_message_new_application),
29477         (gst_message_get_structure), (gst_message_parse_tag),
29478         (gst_message_parse_state_changed), (gst_message_parse_error),
29479         (gst_message_parse_warning):
29480         * gst/gstmessage.h:
29481         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29482         (gst_real_pad_set_property), (gst_pad_set_active),
29483         (gst_pad_is_active), (gst_pad_set_blocked_async),
29484         (gst_pad_set_blocked), (gst_pad_is_blocked),
29485         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29486         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29487         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29488         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29489         (gst_pad_link_filtered), (gst_pad_relink_filtered),
29490         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29491         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29492         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29493         (gst_pad_set_caps), (gst_pad_configure_sink),
29494         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29495         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29496         (gst_real_pad_dispose), (gst_real_pad_finalize),
29497         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29498         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29499         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29500         * gst/gstpad.h:
29501         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29502         (pipeline_bus_handler), (gst_pipeline_change_state),
29503         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29504         * gst/gstpipeline.h:
29505         * gst/gstprobe.h:
29506         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29507         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29508         (gst_queue_link_src), (gst_queue_bufferalloc),
29509         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29510         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29511         (gst_queue_loop), (gst_queue_handle_src_event),
29512         (gst_queue_handle_src_query), (gst_queue_src_activate),
29513         (gst_queue_change_state):
29514         * gst/gstqueue.h:
29515         * gst/gstscheduler.c: (gst_scheduler_init),
29516         (gst_scheduler_dispose), (gst_scheduler_create_task),
29517         (gst_scheduler_factory_create):
29518         * gst/gstscheduler.h:
29519         * gst/gststructure.c: (gst_structure_get_type),
29520         (gst_structure_copy_conditional):
29521         * gst/gststructure.h:
29522         * gst/gsttaginterface.h:
29523         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29524         (gst_task_init), (gst_task_dispose), (gst_task_create),
29525         (gst_task_get_state), (gst_task_start), (gst_task_stop),
29526         (gst_task_pause):
29527         * gst/gsttask.h:
29528         * gst/gstthread.c:
29529         * gst/gstthread.h:
29530         * gst/gsttypes.h:
29531         * gst/schedulers/Makefile.am:
29532         * gst/schedulers/cothreads_compat.h:
29533         * gst/schedulers/entryscheduler.c:
29534         * gst/schedulers/faircothreads.c:
29535         * gst/schedulers/faircothreads.h:
29536         * gst/schedulers/fairscheduler.c:
29537         * gst/schedulers/gstbasicscheduler.c:
29538         * gst/schedulers/gstoptimalscheduler.c:
29539         * gst/schedulers/gthread-cothreads.h:
29540         * gst/schedulers/threadscheduler.c:
29541         (gst_thread_scheduler_task_get_type),
29542         (gst_thread_scheduler_task_class_init),
29543         (gst_thread_scheduler_task_init),
29544         (gst_thread_scheduler_task_start),
29545         (gst_thread_scheduler_task_stop),
29546         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29547         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29548         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29549         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29550         (plugin_init):
29551         * libs/gst/Makefile.am:
29552         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29553         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29554         (gst_file_pad_parent_set):
29555         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29556         (gst_dp_event_from_packet):
29557         * tests/complexity.c: (main):
29558         * tests/mass_elements.c: (main):
29559         * testsuite/states/locked.c: (message_received), (main):
29560         * testsuite/states/parent.c: (main):
29561         * tools/gst-inspect.c: (print_element_flag_info),
29562         (print_implementation_info), (print_pad_info):
29563         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29564         (main):
29565         * tools/gst-md5sum.c: (event_loop), (main):
29566         * tools/gst-typefind.c: (main):
29567         * tools/gst-xmlinspect.c: (print_element_info):
29568         Next big merge.
29569         Added GstBus for mainloop integration.
29570         Added GstMessage for sending notifications on the bus.
29571         Added GstTask as an abstraction for pipeline entry points.
29572         Removed GstThread.
29573         Removed Schedulers.
29574         Simplified GstQueue for multithreaded core.
29575         Made _link threadsafe, removed old capsnego.
29576         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
29577         Added pad blocking functions.
29578         Reworked scheduling functions in GstPad to prepare for
29579         scheduling updates soon.
29580         Moved events out of data stream.
29581         Simplified GstEvent types.
29582         Added return values to push/pull.
29583         Removed clocking from GstElement.
29584         Added prototypes for state change function for next merge.
29585         Removed iterate from bins and state change management.
29586         Fixed some elements, disabled others for now.
29587         Fixed -inspect and -launch.
29588         Added check for GstBus.
29589
29590 2005-03-10  Wim Taymans  <wim@fluendo.com>
29591
29592         * docs/design/part-MT-refcounting.txt:
29593         * docs/design/part-clocks.txt:
29594         * docs/design/part-gstelement.txt:
29595         * docs/design/part-gstobject.txt:
29596         * docs/design/part-standards.txt:
29597         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29598         (gst_bin_remove_func), (gst_bin_remove):
29599         * gst/gstbin.h:
29600         * gst/gstbuffer.c:
29601         * gst/gstcaps.h:
29602         * testsuite/clock/clock1.c: (main):
29603         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
29604         (main):
29605         * testsuite/dlopen/loadgst.c: (do_test):
29606         * testsuite/refcounting/bin.c: (add_remove_test1),
29607         (add_remove_test2), (main):
29608         * testsuite/refcounting/element.c: (main):
29609         * testsuite/refcounting/element_pad.c: (main):
29610         * testsuite/refcounting/pad.c: (main):
29611         * tools/gst-launch.c: (sigint_handler_sighandler):
29612         * tools/gst-typefind.c: (main):
29613         Doc updates.
29614         Added doc about clock.
29615         removed gst_bin_iterate_recurse_up(), marked methods
29616         for removal.
29617         Fix more testsuites.
29618
29619 2005-03-09  Wim Taymans  <wim@fluendo.com>
29620
29621         * gst/gstpad.c: (gst_pad_get_direction),
29622         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
29623         (gst_pad_collect_valist):
29624         * testsuite/bins/interface.c: (main):
29625         * testsuite/caps/audioscale.c: (test_caps):
29626         * testsuite/caps/caps.c: (test1), (test2), (test3):
29627         * testsuite/caps/deserialize.c: (main):
29628         * testsuite/caps/enumcaps.c: (main):
29629         * testsuite/caps/filtercaps.c: (main):
29630         * testsuite/caps/intersect2.c: (main):
29631         * testsuite/caps/random.c: (main):
29632         * testsuite/caps/renegotiate.c: (my_fixate), (main):
29633         * testsuite/caps/sets.c: (check_caps):
29634         * testsuite/caps/simplify.c: (check_caps), (main):
29635         * testsuite/caps/subtract.c: (check_caps):
29636         Fix _pad_get_direction wrt ghostpads.
29637         Fix caps testsuite.
29638
29639 2005-03-09  Wim Taymans  <wim@fluendo.com>
29640
29641         * check/Makefile.am:
29642         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
29643         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
29644         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
29645         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
29646         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
29647         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
29648         (gst_bin_remove), (gst_bin_iterate_recurse_up),
29649         (bin_element_is_sink), (gst_bin_iterate_sinks),
29650         (gst_bin_iterate_all_by_interface):
29651         * gst/gstbin.h:
29652         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
29653         (gst_element_change_state), (gst_element_dispose),
29654         (gst_element_finalize), (gst_element_set_loop_function):
29655         * gst/gstelement.h:
29656         * gst/gstiterator.c: (find_custom_fold_func):
29657         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29658         (gst_pad_collectv), (gst_pad_collect_valist),
29659         (gst_pad_template_new):
29660         * gst/gstpipeline.c: (gst_pipeline_class_init),
29661         (gst_pipeline_dispose), (gst_pipeline_set_property),
29662         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
29663         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
29664         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
29665         * gst/gstutils.h:
29666         * gst/schedulers/entryscheduler.c:
29667         * gst/schedulers/gstbasicscheduler.c:
29668         (gst_basic_scheduler_cothreaded_chain),
29669         (gst_basic_scheduler_chain_add_element):
29670         * testsuite/bins/interface.c: (main):
29671         Added GstBin test.
29672         Added GstSystemClock test.
29673         Implemented clock distribution code in GstBin.
29674         Implemented iterate sinks method for future use.
29675         Rearranged gstelement.h
29676         Fix GstIterator comparison bug.
29677         Moved some code to GstPipeline, mostly clocking related.
29678
29679 2005-03-09  Wim Taymans  <wim@fluendo.com>
29680
29681         * configure.ac:
29682         * gst/gst_private.h:
29683         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29684         (gst_bin_remove_func), (gst_bin_remove),
29685         (gst_bin_get_by_name_recurse_up):
29686         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
29687         (gst_clock_id_compare_func), (gst_clock_id_wait),
29688         (gst_clock_id_wait_async), (gst_clock_init),
29689         (gst_clock_adjust_unlocked), (gst_clock_get_time):
29690         * gst/gstelement.h:
29691         * gst/gstinfo.c: (_gst_debug_init):
29692         * gst/gstobject.h:
29693         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29694         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
29695         * gst/gstpad.h:
29696         Bump version number, we're now 0.9.0
29697         Add future debugging category.
29698         Fix NULL _unref() in _get_by_name_recurse_up
29699         Rearrange gstpad.h.
29700         Update some docs.
29701
29702 2005-03-08  Wim Taymans  <wim@fluendo.com>
29703
29704         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
29705         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
29706         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29707         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
29708         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
29709         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
29710         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
29711         * gst/elements/gstidentity.c: (gst_identity_class_init):
29712         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
29713         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
29714         * gst/elements/gstshaper.c: (gst_shaper_class_init):
29715         * gst/elements/gststatistics.c: (gst_statistics_class_init):
29716         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
29717         (gst_tee_link):
29718         * gst/gstelement.c: (gst_element_class_init),
29719         (gst_element_base_class_init), (gst_element_init),
29720         (gst_element_get_random_pad), (gst_element_wait_state_change),
29721         (gst_element_change_state), (gst_element_dispose),
29722         (gst_element_finalize), (gst_element_set_loop_function):
29723         * gst/gstelement.h:
29724         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
29725         * gst/gstthread.c: (gst_thread_class_init),
29726         (gst_thread_release_children_locks), (gst_thread_change_state):
29727         * gst/schedulers/gstbasicscheduler.c:
29728         (gst_basic_scheduler_loopfunc_wrapper),
29729         (gst_basic_scheduler_chain_wrapper),
29730         (gst_basic_scheduler_src_wrapper),
29731         (gst_basic_scheduler_remove_element):
29732         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
29733         Remove threadsafe properties. Fix elements because GObject
29734         complains when installing a property before declaring a
29735         set/get_property handler.
29736         Rearrange gstelement.h file, use STATE macros for state locks.
29737         Free mutexes in the finalize method instead of dispose.
29738
29739 2005-03-08  Wim Taymans  <wim@fluendo.com>
29740
29741         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29742         * gst/gstthread.c: (gst_thread_release_children_locks):
29743         Added parentage check.
29744         Fix build og GstThread again.
29745
29746 2005-03-08  Wim Taymans  <wim@fluendo.com>
29747
29748         * docs/design/part-MT-refcounting.txt:
29749         * docs/design/part-conventions.txt:
29750         * docs/design/part-gstobject.txt:
29751         * docs/design/part-relations.txt:
29752         * docs/design/part-standards.txt:
29753         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29754         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
29755         (gst_bin_get_by_name), (gst_bin_get_by_interface),
29756         (gst_bin_iterate_all_by_interface):
29757         * gst/gstbuffer.h:
29758         * gst/gstclock.h:
29759         * gst/gstelement.c: (gst_element_class_init),
29760         (gst_element_change_state), (gst_element_set_loop_function):
29761         * gst/gstelement.h:
29762         * gst/gstiterator.c:
29763         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
29764         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
29765         (gst_object_dispatch_properties_changed), (gst_object_set_name),
29766         (gst_object_set_parent), (gst_object_unparent),
29767         (gst_object_check_uniqueness):
29768         * gst/gstobject.h:
29769         Docs updates, clean up some headers.
29770
29771 2005-03-07  Wim Taymans  <wim@fluendo.com>
29772
29773         * check/.cvsignore:
29774         * check/Makefile.am:
29775         * check/gst-libs/.cvsignore:
29776         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
29777         * check/gst/.cvsignore:
29778         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
29779         (START_TEST), (gstbus_suite), (main):
29780         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
29781         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
29782         (gst_data_suite), (main):
29783         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
29784         (add_fold_func), (gstiterator_suite), (main):
29785         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
29786         (thread_name_object), (thread_name_object_default),
29787         (gst_object_name_compare), (gst_object_suite), (main):
29788         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
29789         (gst_pad_suite), (main):
29790         * check/gstcheck.c: (gst_check_log_message_func),
29791         (gst_check_log_critical_func), (gst_check_init):
29792         * check/gstcheck.h:
29793         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
29794         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
29795         Added checks.
29796
29797 2005-03-07  Wim Taymans  <wim@fluendo.com>
29798
29799         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
29800         (gst_list_iterator_next), (gst_list_iterator_resync),
29801         (gst_list_iterator_free), (gst_iterator_new_list),
29802         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
29803         (gst_iterator_free), (gst_iterator_push), (filter_next),
29804         (filter_resync), (filter_uninit), (filter_free),
29805         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
29806         (gst_iterator_foreach), (find_custom_fold_func),
29807         (gst_iterator_find_custom):
29808         * gst/gstiterator.h:
29809         Added missing files.
29810
29811 2005-03-07  Wim Taymans  <wim@fluendo.com>
29812
29813         * Makefile.am:
29814         * configure.ac:
29815         * docs/design/part-MT-refcounting.txt:
29816         * docs/design/part-conventions.txt:
29817         * docs/design/part-gstobject.txt:
29818         * docs/design/part-relations.txt:
29819         * examples/mixer/mixer.c: (main):
29820         * examples/thread/thread.c: (eos), (main):
29821         * gst/Makefile.am:
29822         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
29823         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
29824         (gst_spider_plug_from_srcpad):
29825         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
29826         (gst_spider_identity_change_state),
29827         (gst_spider_identity_sink_loop_type_finding):
29828         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
29829         * gst/elements/gstidentity.c: (gst_identity_init):
29830         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
29831         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
29832         * gst/elements/gsttypefindelement.c: (free_entry):
29833         * gst/gst.c:
29834         * gst/gst.h:
29835         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
29836         (gst_bin_set_clock_func), (gst_bin_auto_clock),
29837         (gst_bin_set_index), (gst_bin_set_element_sched),
29838         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
29839         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
29840         (gst_bin_iterate_elements), (iterate_child_recurse),
29841         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
29842         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
29843         (compare_interface), (gst_bin_get_by_interface),
29844         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
29845         * gst/gstbin.h:
29846         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
29847         (gst_buffer_default_free), (gst_buffer_default_copy),
29848         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
29849         (gst_buffer_create_sub):
29850         * gst/gstbuffer.h:
29851         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
29852         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
29853         (gst_caps_unref), (gst_static_caps_get),
29854         (gst_caps_remove_and_get_structure), (gst_caps_append),
29855         (gst_caps_append_structure), (gst_caps_remove_structure),
29856         (gst_caps_copy_nth), (gst_caps_set_simple),
29857         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
29858         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
29859         (gst_caps_structure_intersect_field), (gst_caps_intersect),
29860         (gst_caps_structure_subtract_field), (gst_caps_subtract),
29861         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
29862         (gst_caps_structure_figure_out_union),
29863         (gst_caps_switch_structures), (gst_caps_do_simplify),
29864         (gst_caps_replace), (gst_caps_from_string),
29865         (gst_caps_copy_conditional):
29866         * gst/gstcaps.h:
29867         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
29868         (_gst_clock_id_free), (gst_clock_id_unref),
29869         (gst_clock_id_compare_func), (gst_clock_id_wait),
29870         (gst_clock_id_wait_async), (gst_clock_class_init),
29871         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
29872         (gst_clock_get_time), (gst_clock_set_time_adjust),
29873         (gst_clock_set_property), (gst_clock_get_property):
29874         * gst/gstclock.h:
29875         * gst/gstcompat.h:
29876         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
29877         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
29878         * gst/gstdata.h:
29879         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29880         (gst_element_requires_clock), (gst_element_provides_clock),
29881         (gst_element_set_clock), (gst_element_clock_wait),
29882         (gst_element_wait), (gst_element_set_time_delay),
29883         (gst_element_is_indexable), (gst_element_add_pad),
29884         (gst_element_add_ghost_pad), (gst_element_remove_pad),
29885         (pad_compare_name), (gst_element_get_static_pad),
29886         (gst_element_request_pad), (gst_element_get_request_pad),
29887         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
29888         (gst_element_class_get_pad_template_list),
29889         (gst_element_class_get_pad_template), (gst_element_error_func),
29890         (gst_element_get_random_pad), (gst_element_get_event_masks),
29891         (gst_element_send_event), (gst_element_seek),
29892         (gst_element_get_query_types), (gst_element_query),
29893         (gst_element_get_formats), (gst_element_convert),
29894         (gst_element_is_locked_state), (gst_element_set_locked_state),
29895         (gst_element_sync_state_with_parent), (gst_element_change_state),
29896         (gst_element_finalize), (gst_element_yield),
29897         (gst_element_interrupt), (gst_element_set_scheduler),
29898         (gst_element_get_scheduler), (gst_element_set_loop_function):
29899         * gst/gstelement.h:
29900         * gst/gstevent.h:
29901         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
29902         (gst_format_get_by_nick), (gst_format_get_details),
29903         (gst_format_iterate_definitions):
29904         * gst/gstformat.h:
29905         * gst/gstindex.c: (gst_index_gtype_resolver):
29906         * gst/gstinfo.c:
29907         * gst/gstinfo.h:
29908         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
29909         (gst_mem_chunk_free):
29910         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
29911         (gst_object_ref), (gst_object_unref), (gst_object_sink),
29912         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
29913         (gst_object_dispatch_properties_changed),
29914         (gst_object_set_name_default), (gst_object_set_name),
29915         (gst_object_get_name), (gst_object_set_name_prefix),
29916         (gst_object_get_name_prefix), (gst_object_set_parent),
29917         (gst_object_get_parent), (gst_object_unparent),
29918         (gst_object_check_uniqueness), (gst_object_save_thyself),
29919         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
29920         (gst_object_set_property), (gst_object_get_property),
29921         (gst_object_get_path_string):
29922         * gst/gstobject.h:
29923         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29924         (gst_real_pad_init), (gst_real_pad_get_property),
29925         (gst_pad_custom_new), (gst_pad_get_direction),
29926         (gst_pad_set_active), (gst_pad_is_active),
29927         (gst_pad_set_event_function), (gst_pad_is_linked),
29928         (gst_pad_link_free), (gst_pad_link_intersect),
29929         (gst_pad_link_fixate), (gst_pad_set_caps),
29930         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
29931         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
29932         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
29933         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
29934         (gst_pad_get_caps), (gst_pad_peer_get_caps),
29935         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
29936         (gst_pad_realize), (gst_pad_get_allowed_caps),
29937         (gst_real_pad_dispose), (gst_real_pad_finalize),
29938         (gst_pad_collectv), (gst_pad_collect_valist),
29939         (gst_pad_template_dispose), (gst_pad_template_new),
29940         (gst_pad_get_internal_links):
29941         * gst/gstpad.h:
29942         * gst/gstpipeline.c: (gst_pipeline_dispose),
29943         (gst_pipeline_change_state):
29944         * gst/gstpipeline.h:
29945         * gst/gstplugin.c:
29946         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
29947         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
29948         * gst/gstpluginfeature.h:
29949         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
29950         * gst/gstquery.c: (_gst_query_type_initialize),
29951         (gst_query_type_register), (gst_query_type_get_by_nick),
29952         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
29953         * gst/gstquery.h:
29954         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
29955         * gst/gstscheduler.c: (gst_scheduler_add_element),
29956         (gst_scheduler_factory_create):
29957         * gst/gststructure.c: (gst_structure_set_parent_refcount),
29958         (gst_structure_free), (gst_structure_set_name),
29959         (gst_structure_id_set_value), (gst_structure_set_value),
29960         (gst_structure_set_valist), (gst_structure_remove_field),
29961         (gst_structure_remove_fields),
29962         (gst_structure_remove_fields_valist),
29963         (gst_structure_remove_all_fields), (gst_structure_foreach),
29964         (gst_structure_map_in_place),
29965         (gst_caps_structure_fixate_field_nearest_int),
29966         (gst_caps_structure_fixate_field_nearest_double):
29967         * gst/gststructure.h:
29968         * gst/gstsystemclock.c: (gst_system_clock_class_init),
29969         (gst_system_clock_init), (gst_system_clock_dispose),
29970         (gst_system_clock_async_thread),
29971         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
29972         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
29973         * gst/gstsystemclock.h:
29974         * gst/gsttag.c: (gst_tag_list_add_value_internal),
29975         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
29976         * gst/gsttaginterface.c:
29977         * gst/gstthread.c: (gst_thread_dispose),
29978         (gst_thread_release_children_locks), (gst_thread_change_state),
29979         (gst_thread_main_loop):
29980         * gst/gsttrashstack.h:
29981         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
29982         * gst/gsttypes.h:
29983         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29984         (gst_element_request_pad), (gst_element_get_pad_from_template),
29985         (gst_element_request_compatible_pad),
29986         (gst_element_get_compatible_pad_filtered),
29987         (gst_element_get_compatible_pad), (gst_element_state_get_name),
29988         (gst_element_link_pads_filtered), (gst_element_link_filtered),
29989         (gst_element_link_many), (gst_element_link),
29990         (gst_element_link_pads), (gst_element_unlink_pads),
29991         (gst_element_unlink_many), (gst_element_unlink),
29992         (gst_pad_can_link_filtered), (gst_pad_can_link),
29993         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
29994         (gst_object_default_error), (gst_bin_add_many),
29995         (gst_bin_remove_many), (gst_element_populate_std_props),
29996         (gst_element_class_install_std_props), (gst_buffer_merge),
29997         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
29998         (link_fold_func), (gst_pad_proxy_setcaps):
29999         * gst/gstutils.h:
30000         * gst/gstvalue.c: (gst_value_deserialize_string):
30001         * gst/parse/grammar.y:
30002         * gst/schedulers/gstbasicscheduler.c:
30003         (gst_basic_scheduler_cothreaded_chain),
30004         (gst_basic_scheduler_chain_recursive_add),
30005         (gst_basic_scheduler_pad_link):
30006         * gst/schedulers/gstoptimalscheduler.c:
30007         (get_group_schedule_function),
30008         (gst_opt_scheduler_state_transition),
30009         (gst_opt_scheduler_add_element), (element_get_reachables_func):
30010         * libs/gst/bytestream/bytestream.c:
30011         * libs/gst/dataprotocol/dataprotocol.c:
30012         (gst_dp_header_from_buffer):
30013         * po/nb.po:
30014         * po/ru.po:
30015         * tests/threadstate/threadstate2.c: (eos):
30016         * tools/gst-compprep.c: (main):
30017         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
30018         (print_pad_info), (print_children_info):
30019         * tools/gst-launch.c: (idle_func), (main):
30020         * tools/gst-md5sum.c: (idle_func), (main):
30021         * tools/gst-xmlinspect.c: (print_element_info):
30022         First THREADED backport attempt, focusing on adding locks and
30023         making sure the API is threadsafe. Needs more work. More docs
30024         follow this week.
30025
30026 2005-02-24  Andy Wingo  <wingo@pobox.com>
30027
30028         * tests/bench-complexity.scm:
30029         * tests/complexity.gnuplot: New files, good for running complexity
30030         benchmarks.
30031
30032         * tests/Makefile.am:
30033         * tests/complexity.c: New test, sets up N elements, at each level
30034         teeing into M streams per element. Eeeenteresting.
30035
30036         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
30037         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
30038         running bench-mass_elements.scm.
30039
30040         * tests/bench-mass_elements.scm: New script, runs mass_elements
30041         for various numbers of identities, outputting the results to a
30042         file. Requires guile 1.6. Just for testing.
30043
30044 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
30045
30046         * gst/schedulers/fairscheduler.c:
30047           compile with debug disabled
30048
30049 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
30050
30051         * configure.ac:
30052           hunting season on 0.9 is now OPEN