gst/gstdebugutils.h: Add missing Since' markers to gtk-doc blurbs.
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2
3         * gst/gstdebugutils.h: (GstDebugGraphDetails),
4           (GST_DEBUG_BIN_TO_DOT_FILE):
5           Add missing Since' markers to gtk-doc blurbs.
6
7 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
8
9         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
10         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
11         (set_caps_1), (set_caps_ct1), (transform_ct1),
12         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
13         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
14         (transform_size_ct2), (buffer_alloc_ct2):
15         Add some more tests with switching caps in buffer_alloc.
16
17 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
18
19         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
20         (gst_test_trans_class_init), (result_sink_chain),
21         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
22         (gst_test_trans_push), (gst_test_trans_pop):
23         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
24         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
25         (set_caps_1), (set_caps_ct1), (transform_ct1),
26         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
27         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
28         (transform_size_ct2), (buffer_alloc_ct2),
29         (gst_basetransform_suite):
30         More tests, prepare for tests with switching caps in buffer_alloc.
31
32 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
33
34         * plugins/elements/gstmultiqueue.c:
35         * plugins/elements/gstmultiqueue.h:
36         Fix dead-lock in underrun_cb
37
38 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
39
40         * docs/design/part-states.txt:
41         Fix device open/close docs.
42
43 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
44
45         * ChangeLog:
46           Mention bugnumber for last commit.
47
48 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
49
50         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
51
52         * docs/manual/manual.xml:
53         - Reorganised the previous "introduction" bundle into Foreword,
54         Introduction, and About GStreamer. The two first are <preface>
55         docbook elements. The later is the first part of the book.
56         - added intro-gstreamer.xml (content partially from
57         intro-preface.xml)
58         - moved appendix-win32.xml into appendix-integration.xml
59
60         * docs/manual/intro-preface.xml: gstreamer section moved...
61         * docs/manual/intro-gstreamer.xml: ...here. new file.
62
63         * docs/manual/appendix-win32.xml: removed file. Content moved...
64         * docs/manual/appendix-integration.xml: ...here.
65         
66         * docs/manual/highlevel-components.xml: section about GstEditor moved...
67         * docs/manual/appendix-checklist.xml: ...here.
68         
69         Fixes: 538764
70
71 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
72
73         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
74
75         * docs/manual/basics-helloworld.xml:
76         * docs/manual/hello-world.fig:
77           - Explicitely include glib.h.
78           - Do not use global variables.
79           - Use g_printerr() instead of g_print().
80           - Minor formating/renaming to increase readibility.
81           - Renamed new_pad() to on_pad_added()
82           - Improved explenatory comments.
83           - renamed ogg parser to ogg demuxer
84           - Use "autoaudiosink" instead of "alsasink".
85           Fixes: #538619
86
87 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
88
89         * ChangeLog:
90           Remove cvs conflict marker.
91
92 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
93
94         * docs/README:
95           Document that for plgin-docs we extraxt he short-desc from the element
96           details.
97
98         * docs/design/part-states.txt:
99           Tell that devices should be closed in PAUSED -> READY.
100
101         * docs/manual/README:
102           Document how tests in the manual are handled.
103
104         * docs/manuals.mak:
105           Typo in comment.
106
107 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
108
109         * gst/gstbin.c: (bin_query_latency_fold):
110         Only care about latency min and max when the sink is actually a live
111         sink.
112
113 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
114
115         * docs/design/part-block.txt:
116         Fix typo.
117
118         * docs/design/part-element-transform.txt:
119         Add notes about why transform needs to know input/output sizes.
120         Add some issues that need to be solved.
121         Add some more use cases.
122
123         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
124         (gst_test_trans_class_init), (result_sink_chain),
125         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
126         (gst_test_trans_push), (gst_test_trans_pop):
127         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
128         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
129         (set_caps_1), (set_caps_ct1), (transform_ct1),
130         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
131         (gst_basetransform_suite):
132         Add suport for different pad templates and buffer-alloc.
133         Add more checks for caps and buffer-alloc.
134         Add checks for proxy buffer alloc.
135         Add unit test for copy transform.
136
137 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
138
139         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
140
141         * docs/manual/appendix-integration.xml:
142         * docs/manual/appendix-licensing.xml:
143         * docs/manual/basics-elements.xml:
144         * docs/manual/basics-helloworld.xml:
145         * docs/manual/basics-pads.xml:
146         * docs/manual/highlevel-components.xml:
147         * docs/manual/highlevel-xml.xml:
148         * docs/manual/intro-basics.xml:
149         * docs/manual/intro-preface.xml:
150           Typo and formatting fixes (#538594).
151
152 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
153
154         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
155         Fix some memory leaks and uses of object instances that we don't
156         actually own.
157
158 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
159
160         * plugins/elements/gstmultiqueue.c:
161         Add functionality to extra-size-buffers property.
162
163 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
164
165         * plugins/elements/gstmultiqueue.c:
166         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
167         activate the pads if they are added in STATE_NULL.
168
169 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
170
171         * docs/libs/gstreamer-libs-sections.txt:
172         Add new API to doc
173         * libs/gst/check/gstcheck.c:
174         * libs/gst/check/gstcheck.h:
175         API: gst_check_teardown_pad_by_name
176
177 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
178
179         * libs/gst/check/gstcheck.c:
180         * libs/gst/check/gstcheck.h:
181         Also setup request pads and allow setup pads by name (#537812)
182         API: gst_check_setup_src_pad_by_name
183         API: gst_check_setup_sink_pad_by_name
184
185 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
186
187         * tests/check/gst/gstbuffer.c:
188         * tests/check/pipelines/parse-launch.c:
189           Use HAVE_VALGRIND_H some more.
190
191 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
192
193         * scripts/cvs-update.sh:
194           Pass arguments to make.
195           Run autoregen.sh if Makefile is not there.
196
197 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
198
199         * configure.ac:
200         * gst/gstinfo.c:
201           Don't assume that <valgrind/valgrind.h> exists just because
202           the binary is there.
203
204 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
205
206         * tests/check/Makefile.am:
207         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
208         (gst_test_trans_class_init), (gst_test_trans_init),
209         (gst_test_trans_set_data), (result_sink_chain),
210         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
211         (gst_test_trans_pop):
212         * tests/check/libs/transform1.c: (GST_START_TEST),
213         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
214         Add some test basetransform element and the beginnings of various
215         unit tests for it.
216
217 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
218
219         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
220         Increase code readability.
221         Don't try to compare buffer offsets when ther are invalid.
222
223 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
224
225         * docs/design/Makefile.am:
226           Dist some more design docs.
227
228         * docs/random/moving-plugins:
229           Small addition: good plugins mustn't have functional code
230           within assertion macros.
231
232 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
233
234         * docs/design/draft-framestep.txt:
235         Some ideas about a framestep API
236
237         * docs/design/part-element-transform.txt:
238         Start design and use cases for basetransform in order to get it
239         fixed soon.
240
241 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
242
243         * gst/gsttaglist.h:
244           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
245           be in UTF-8 encoding.
246
247 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
248
249         * gst/gstbus.c:
250           Make it known that gst_bus_poll() is pure evil (fixes #538810).
251
252 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
253
254         * plugins/elements/gstcapsfilter.c:
255         * plugins/elements/gstfakesink.c:
256         * plugins/elements/gstfakesrc.c:
257         * plugins/elements/gstfdsink.c:
258         * plugins/elements/gstfdsrc.c:
259         * plugins/elements/gstfilesink.c:
260         * plugins/elements/gstfilesrc.c:
261         * plugins/elements/gstidentity.c:
262         * plugins/elements/gstmultiqueue.c:
263         * plugins/elements/gstqueue.c:
264         * plugins/elements/gsttee.c:
265         * plugins/elements/gsttypefindelement.c:
266           Remove short_description. Add basic docs for gsttypefindelement.
267           Simplify markup for fakesrc/fdsrc.
268
269 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
270
271         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
272         Added Since doc.
273
274 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
275
276         Patch by: joel larsson <tilljoel at gmail dot com>
277
278         * docs/plugins/gstreamer-plugins.args:
279         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
280         (gst_fd_src_init), (gst_fd_src_update_fd),
281         (gst_fd_src_set_property), (gst_fd_src_get_property),
282         (gst_fd_src_create):
283         * plugins/elements/gstfdsrc.h:
284         Add timeout property like udpsrc. Fixes #538628.
285         Add some more docs and example pipelines.
286
287 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
288
289         * docs/libs/gstreamer-libs-sections.txt:
290         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
291         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
292         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
293         (gst_base_sink_do_sync):
294         * libs/gst/base/gstbasesink.h:
295         * win32/common/libgstbase.def:
296         Add method to allow sinks to specify additional delay between the sync
297         times and the actual rendering of the data.
298         API: gst_base_sink_set_render_delay()
299         API: gst_base_sink_get_render_delay()
300
301 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
302
303         * configure.ac:
304         Bump version number back to dev -> 0.10.20.1
305
306 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
307
308         * docs/gst/gstreamer-sections.txt:
309         * gst/gsttaglist.c: (_gst_tag_initialize):
310         * gst/gsttaglist.h:
311         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
312         Fixes bug #538568.
313
314 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
315
316         * libs/gst/controller/gstcontroller.c:
317           Revert one change, that make ret value possible uninitialized.
318
319 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
320
321         * libs/gst/controller/gstcontroller.c:
322           Use freeze/thaw notify to sync notify emission a bit (its also more
323           efficient). Move debug output to LOG (is called a lot in a loop).
324           Always unset g_values if the have been initialized.
325
326 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
327
328         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
329         (gst_base_sink_wait_eos), (gst_base_sink_event):
330         If we have not seen a buffer before EOS, use the segment values to
331         report the current position instead of invalid positions.
332
333 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
334
335         * docs/plugins/tmpl/.cvsignore:
336         * tests/check/gst/.cvsignore:
337           Ignore more.
338
339 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
340
341         * libs/gst/controller/gstinterpolation.c:
342         * libs/gst/controller/gstinterpolationcontrolsource.c:
343         * tests/check/libs/controller.c:
344           Rewrite handling of default values. Fix overflow with unsigned types
345           in linear interpolation. Remove now obsolete _first_value() function.
346           Add more tests. Fixes #538201.
347
348 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
349
350         * libs/gst/base/gstbasetransform.c:
351         (gst_base_transform_class_init), (gst_base_transform_init),
352         (gst_base_transform_transform_caps),
353         (gst_base_transform_prepare_output_buffer):
354         Add debug info.
355         When a buffer is writable, its metadata is also writable so we don't
356         need to subbuffer (which then makes the buffer not-writable anymore).
357
358 === release 0.10.20 ===
359
360 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
361
362         * configure.ac:
363           releasing 0.10.20, "You Crazy Diamond"
364
365 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
366
367         * configure.ac:
368         0.10.19.3 pre-release
369
370 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
371
372         * configure.ac:
373         * gst/gstpreset.c:
374         Rename DATADIR to GST_DATADIR to avoid build problems
375         on win32. Patch By: David Schleef <ds@schleef.org>
376         Fixes: #536857
377
378 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
379
380         * configure.ac:
381         Explicitely link with -ldl if dladdr() is found there. Before it was
382         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
383         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
384
385 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
386
387         * gst/gsterror.c: (_gst_stream_errors_init):
388           Fix typo (spotted by Fabricio Godoy, #536723).
389
390 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
391
392         * configure.ac:
393         0.10.19.2 pre-release
394
395 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
396
397         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
398         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
399         Add some debug.
400         Make sure we don't generate invalid QoS messages.
401
402 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
403
404         * gst/gstevent.c: (gst_event_new_qos):
405         Add some assert and docs for invalid input to the qos function.
406
407 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
408
409         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
410         (gst_base_sink_get_position):
411         The reported position must always be smaller than the last seen
412         timestamps (or timestamp + duration for reverse).
413
414 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
415
416         Patch by: Rob Bradford <rob at robster dot org dot uk>
417
418         * gst/gstregistry.c: (gst_registry_scan_path_level):
419         Don't recurse into .debug directories as some distros install
420         the debugging symbols next to the plugins in .debug directories
421         and dlopen() crashes on them sometimes. Fixes bug #508070.
422
423         Add FIXME for 0.11 to not recurse into directories at all because
424         it's very inconsistent to the behaviour of other PATH environment
425         variables.
426
427 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
428
429         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
430         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
431         Fix position query range checks in reverse playback.
432
433 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
434
435         * gst/gstelement.c:
436         * gst/gstelement.h:
437         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
438         clear of the reference to the resulting pad must be released later
439         or not, resulting in possible leaks. Fixes bug #533865.
440
441 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
442
443         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
444
445         * gst/gstelementfactory.c:
446         Small doc fix. Fixes #535285.
447
448 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
449
450         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
451
452         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
453         (gst_base_src_get_range), (gst_base_src_pad_get_range),
454         (gst_base_src_loop), (gst_base_src_set_flushing),
455         (gst_base_src_change_state):
456         Make sending an EOS event to the basesrc non-blocking even if the
457         implementation does blocking waits in the create function. This is done
458         by unlocking the create function when EOS is sent.
459         Fixes #535218.
460
461 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
462
463         * tools/gst-inspect.c: (print_element_properties_info):
464         If possible print the element type of GValueArray properties.
465
466 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
467
468         * gst/gstiterator.c:
469         Remove an unused field from the private GstListIterator struct.
470
471 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
472
473         * libs/gst/controller/gstcontroller.c:
474           Add parameter guards.
475
476 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
477
478         * tests/check/gst/gstpipeline.c:
479           Revert test change and add comment why it should not work.
480
481 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
482
483         * tests/check/gst/gstpipeline.c:
484           Extending the test a little to verify that we also get the NULL state-
485           change message.
486
487 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
488
489         * gst/gstpreset.c: (gst_preset_default_get_meta),
490           (gst_preset_get_preset_names), (gst_preset_get_property_names),
491           (gst_preset_load_preset), (gst_preset_save_preset),
492           (gst_preset_rename_preset), (gst_preset_delete_preset),
493           (gst_preset_set_meta):
494           Add Since: markers to docs blurbs.
495
496         * win32/common/libgstreamer.def:
497           Add recently-added API.
498
499 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
500
501         Patch by: Stefan Kost  <ensonic@users.sf.net>
502
503         * configure.ac:
504         Add DATADIR for storing presets.
505
506         * docs/gst/gstreamer-docs.sgml:
507         * docs/gst/gstreamer-sections.txt:
508         * docs/gst/gstreamer.types.in:
509         Add GstPreset to docs.
510
511         * gst/Makefile.am:
512         * gst/gst.h:
513         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
514         (preset_open_and_parse_header), (preset_parse_version),
515         (preset_merge), (preset_get_keyfile),
516         (gst_preset_default_get_preset_names),
517         (gst_preset_default_get_property_names),
518         (gst_preset_default_load_preset),
519         (gst_preset_default_save_presets_file),
520         (gst_preset_default_save_preset),
521         (gst_preset_default_rename_preset),
522         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
523         (gst_preset_default_get_meta), (gst_preset_default_randomize),
524         (gst_preset_default_reset), (gst_preset_get_preset_names),
525         (gst_preset_get_property_names), (gst_preset_load_preset),
526         (gst_preset_save_preset), (gst_preset_rename_preset),
527         (gst_preset_delete_preset), (gst_preset_set_meta),
528         (gst_preset_get_meta), (gst_preset_class_init),
529         (gst_preset_base_init), (gst_preset_get_type):
530         * gst/gstpreset.h:
531         Add GstPreset to core. Fixes #396779
532
533         * tests/check/Makefile.am:
534         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
535         (gst_preset_test_set_property), (gst_preset_test_class_init),
536         (gst_preset_test_base_init), (gst_preset_test_get_type),
537         (gst_preset_test_plugin_init), (GST_START_TEST),
538         (remove_preset_file), (test_setup), (test_teardown),
539         (gst_preset_suite):
540         Add GstPreset unit tests.
541
542 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
543
544         * gst/gstpad.c: (gst_pad_event_default_dispatch):
545         The default event function on a sinkpad should return TRUE when
546         there are no internal links but should collect the return values from
547         the internal links otherwise.
548
549 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
550
551         * plugins/elements/gsttypefindelement.c:
552         (gst_type_find_element_src_event),
553         (gst_type_find_element_handle_event):
554         Use faster and safer _pad_push_event().
555
556 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
557
558         * docs/gst/gstreamer-sections.txt:
559         * gst/gstutils.c: (element_find_unlinked_pad),
560           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
561         * gst/gstutils.h:
562           API: add gst_bin_find_unlinked_pad()
563           API: deprecate gst_bin_find_unconnected_pad() (#401456)
564
565 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
566
567         * gst/gstclock.c:
568         * gst/gstclock.h:
569         * gst/gsttask.c:
570         * gst/gsttask.h:
571         Fixed a bunch of typos.
572
573 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
574
575         * gst/gstpad.h:
576         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
577           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
578           (gst_parse_bin_from_description_full):
579         * gst/gstutils.h:
580           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
581
582 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
583
584         * docs/pwg/advanced-tagging.xml:
585           Small docs update, can't be bothered to rewrite the nonsensical
586           examples right now.
587
588 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
589
590         * gst/gstevent.h:
591           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
592
593 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
594
595         * gst/parse/grammar.y:
596           Remove unneeded casts.
597
598 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
599
600         * gst/parse/grammar.y:
601         * tests/check/pipelines/parse-launch.c:
602           Get all missing elements from a parse launch string if possible
603           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
604
605 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
606
607         * tests/check/Makefile.am:
608         * tests/check/pipelines/parse-launch.c:
609           Add some unit tests for the new gst_parse_launch*_full() API.
610           (Exposes a previously-existing memory leak in the error code
611           path, so adding to VALGRIND_TO_FIX for now).
612
613 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
614
615         * docs/gst/gstreamer-sections.txt:
616         * gst/gst.c: (init_post):
617         * gst/gst_private.h: (_GstParseContext):
618         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
619           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
620           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
621           (gst_parse_launch_full):
622         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
623           (GstParseFlags), (GstParseContext):
624         * gst/gstutils.c: (gst_parse_bin_from_description),
625           (gst_parse_bin_from_description_full):
626         * gst/gstutils.h:
627         * gst/parse/grammar.y:
628         * gst/parse/types.h:
629         * win32/common/libgstreamer.def:
630           Add new gst_parse_*_full API (#528178):
631           API: gst_parse_launch_full()
632           API: gst_parse_launchv_full()
633           API: gst_parse_bin_from_description_full()
634           API: gst_parse_context_new()
635           API: gst_parse_context_free()
636           API: gst_parse_context_get_missing_elements()
637
638 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
639
640         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
641
642         * docs/faq/gst-uninstalled:
643           Also support ffmpeg in gst-uninstalled.
644
645 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
646
647         * configure.ac:
648         After discussion on IRC use the binary registry as default
649         but allow to disable it with --disable-binary-registry.
650
651         * win32/common/libgstreamer.def:
652         Add the two new symbols for the binary registry.
653
654 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
655
656         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
657         * gst/gstutils.c: (gst_parse_bin_from_description):
658         * gst/parse/grammar.y: (graph):
659           More guards against bad input; typo fix; some minor clean-ups.
660
661 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
662
663         Patch by: Sjoerd Simons <sjoerd at luon dot net>
664
665         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
666         If nothing else can be used, use the last buffer's start time as
667         the segment's last stop. Fixes bug #534258.
668
669 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
670
671         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
672           Move size sanity check to the right place: downstream may return
673           a buffer with a smaller size if the buffer caps are different than
674           the requested ones, as may happen when doing reverse negotiation.
675
676 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
677
678         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
679         (gst_file_sink_render):
680         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
681         (gst_file_src_start):
682         Small cleanups. Add note adbout g_fopen() on windows and why we don't
683         use it yet.
684
685 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
686
687         * gst/gstpad.c: (gst_pad_load_and_link):
688         * gst/gstutils.c: (gst_element_link_pads),
689         (gst_element_unlink_pads):
690         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
691         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
692         (gst_check_teardown_sink_pad),
693         (gst_check_element_push_buffer_list):
694         * tests/check/elements/fakesink.c: (GST_START_TEST):
695         * tests/check/elements/filesink.c:
696         * tests/check/elements/filesrc.c: (GST_START_TEST):
697         * tests/check/elements/multiqueue.c: (setup_multiqueue),
698         (mq_sinkpad_to_srcpad):
699         * tests/check/elements/tee.c: (GST_START_TEST):
700         * tests/check/generic/sinks.c: (GST_START_TEST):
701         * tests/check/gst/gstbin.c: (GST_START_TEST):
702         * tests/check/gst/gstevent.c: (GST_START_TEST):
703         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
704         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
705         * tests/check/gst/gstquery.c: (GST_START_TEST):
706         * tests/check/gst/gstutils.c: (GST_START_TEST):
707         * tests/check/libs/basesrc.c: (GST_START_TEST):
708         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
709         (gst_parse_test_element_change_state):
710         Don't use gst_element_get_pad().
711
712 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
713
714         * docs/Makefile.am:
715         Fix installing plugin documentation when gtk-doc is disabled.
716
717 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
718
719         * docs/manual/advanced-autoplugging.xml:
720         * docs/manual/basics-helloworld.xml:
721         * docs/manual/basics-pads.xml:
722         * docs/manual/highlevel-components.xml:
723         Avoid using a bad function in the example code.
724
725 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
726
727         * gst/gstclock.c: (gst_clock_set_calibration):
728         Fix debug of the new clock rate.
729
730 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
731
732         * win32/common/libgstbase.def:
733         Add gst_base_sink_wait_clock() to the exported symbols.
734
735 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
736
737         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
738
739         * libs/gst/base/gstbasetransform.c:
740         (gst_base_transform_sink_event):
741         Unref events that the GstBaseTransform::event vfunc didn't want to
742         have forwarded by the base class. Closes a leak in identity.
743         Fixes bug #446763.
744
745 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
746
747         * docs/libs/gstreamer-libs-sections.txt:
748         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
749         * libs/gst/base/gstbasesink.h:
750         Expose a method that was previously used internally to synchronize
751         against the clock because it can be useful for subclasses too.
752         API: GstBaseSink::gst_base_sink_wait_clock()
753
754 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
755
756         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
757           Add sanity check to make sure we don't get smaller buffers
758           than requested (and fallback to normal buffer alloc if we do).
759
760 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
761
762         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
763         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
764         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
765         Refactor adjusting the running_time with latency and offset into a
766         separate method.
767         When doing clipping, we still want to use the subclass get_times method,
768         just in case the DURATION or TIMESTAMP are not set.
769
770 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
771
772         * docs/gst/gstreamer-sections.txt:
773         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
774         * gst/gsttypefind.h:
775         * win32/common/libgstreamer.def:
776           API: add gst_type_find_suggest_simple(), #533740.
777
778 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
779
780         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
781           Use right error code when typefinding fails, so we can use
782           the default (translated) error messages.
783
784 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
785
786         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
787         (gst_base_src_start):
788         When the subclass did not set caps on outgoing buffers, configure the
789         caps we negotiated on the source pad.
790         When the typefind helper does not find caps, error out properly instead
791         of doing things with NULL caps.
792
793 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
794
795         * gst/gsttypefind.h:
796           Tabs to spaces, oh yes!
797
798 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
799
800         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
801           Add David's and Benjamin's tests for array intersection to the
802           unit test suite (#147931).
803
804 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
805
806         * gst/gstevent.c:
807           Document that gst_event_new_tag() and gst_event_new_navigation()
808           take ownership of the taglist/structure passed to them. (#533635).
809
810 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
811
812         * docs/Makefile.am:
813         Don't descend into the plugins dir if plugin docs building
814         is disabled.
815
816         * docs/README:
817         Add a note about the new type:GTypeName syntax for the plugin
818         documentation .types file.
819
820 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
821
822         * gst/gstmessage.c: (gst_message_new_error),
823         (gst_message_new_warning), (gst_message_new_info):
824         * gst/gstmessage.h:
825         Mark the debug string parameters as const. Fixes bug #533490.
826
827 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
828
829         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
830         Sort buffer cache list by end offsets. This makes sure that we don't
831         stop to search for a cached buffer that contains the requested data
832         too early.
833         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
834         more efficient. Fixes bug #459862.
835
836 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
837
838         * gst/gstinfo.c:
839           Explain why we copy the list.
840
841         * gst/gstpipeline.c:
842           Improve docs.
843
844         * gst/gstutils.c:
845           Add one debug-log statement to help tracing probelms with linking pads.
846
847 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
848
849         * tests/check/gst/gstinfo.c:
850         Add a test for removing the default log handler. Seems to fail under
851         windows.
852
853 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
854
855         * gst/gstpad.c: (gst_pad_peer_accept_caps):
856         Release pad lock before calling out to avoid a possible deadlock.
857
858 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
859
860         * gst/parse/grammar.y:
861         Remove unneeded value unset.
862
863         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
864         Add unit test for de/serialization of caps.
865
866 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
867
868         * plugins/elements/gstfakesink.c:
869         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
870         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
871         (gst_fake_src_class_init):
872         Use custom marshalers that take GstMiniObject as first parameter.
873         Using OBJECT as parameter while a GstMiniObject is given will lead
874         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
875
876 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
877
878         * plugins/elements/gsttypefindelement.c:
879         (gst_type_find_element_handle_event),
880         (gst_type_find_element_send_cached_events),
881         (gst_type_find_element_change_state):
882         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
883         immediately.
884
885 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
886
887         * plugins/elements/gsttypefindelement.c:
888         (gst_type_find_handle_src_query), (stop_typefinding),
889         (gst_type_find_element_handle_event),
890         (gst_type_find_element_send_cached_events),
891         (gst_type_find_element_change_state):
892         Forward FLUSH_START events immediately and clean up instead of
893         caching them.
894
895 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
896
897         Patch by: Sjoerd Simons <sjoerd at luon dot net>
898
899         * libs/gst/base/gstbasetransform.c:
900         (gst_base_transform_buffer_alloc):
901         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
902         fall back to default negotiation in the chain function if the caps
903         are different from what was requested. Fixes bug #526768.
904
905 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
906
907         * gst/gstsegment.c:
908         * tests/check/gst/gstsegment.c:
909           No, let's not use g_slice_{dup|copy} here, since they only exist
910           since GLib 2.14 and we still depend only on >= 2.12. Also add
911           unit test for gst_segment_copy().
912
913 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
914
915         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
916           Try to fix 'dereferencing type-punned pointer will break strict
917           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
918           changed the default GType typedef from gulong to gsize at some point,
919           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
920           g_once_* functions all take a gsize * though, so work around the type
921           mismatch for C++ by doing everything in gsize and casting to GType
922           later.
923
924 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
925
926         * plugins/elements/gstmultiqueue.c:
927         Add documentation for the signals to push our core plugin docs
928         coverage back up to 100%.
929
930 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
931
932         * gst/gstinfo.h (GST_FUNCTION):
933           Reverted GST_FUNCTION to the old version as we don't want the
934           full signature in C++ code. Also added support for MSVC.
935
936 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
937
938         * gst/gstutils.h:
939         Intern the type name string, similar to what G_DEFINE_TYPE does.
940
941 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
942
943         * gst/gstutils.h:
944         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
945
946 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
947
948         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
949
950         * libs/gst/base/gstbasetransform.c:
951         (gst_base_transform_buffer_alloc):
952         Don't passthrough buffer allocation too easily if the caps change.
953         This breaks when working in passthrough mode and upstream changes
954         it's caps. Fixes bug #526768.
955
956 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
957
958         * gst/gstinfo.c (gst_debug_log_valist):
959           Improved the __FILE__ part of debug output for MSVC.
960
961 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
962
963         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
964           Declaration after statement fix for compilers like MSVC.
965
966 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
967
968         * win32/common/config.h.in:
969           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
970           use the real thing than having "???" unconditionally.
971
972 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
973
974         * gst/gstinfo.h (GST_FUNCTION):
975           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
976
977 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
978
979         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
980         Small code cleanup.
981
982         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
983         (gst_base_sink_set_flushing):
984         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
985         Fix some comments.
986
987 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
988
989         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
990         (gst_fake_src_init), (gst_fake_src_set_property),
991         (gst_fake_src_get_property), (gst_fake_src_start):
992         * plugins/elements/gstfakesrc.h:
993         Added format property to control the format of the newsegment events.
994         API: GstFakeSrc:format
995
996 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
997
998         * win32/common/libgstreamer.def:
999         Add gst_pad_has_name() to the exported symbols.
1000
1001 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
1002
1003         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1004         * libs/gst/base/gstbasetransform.c:
1005         (gst_base_transform_prepare_output_buffer):
1006         Don't allow negative sizes when allocating new buffers.
1007         Fixes bug #461253.
1008
1009 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
1010
1011         Patch by: Sjoerd Simons <sjoerd at luon net>
1012
1013         * gst/gstbus.c: (gst_bus_source_dispatch):
1014           Don't print a warning if the queue is empty when we try to pop
1015           here. That could happen if another thread or callback set the
1016           bus to flushing between the source's check/prepare and the
1017           dispatch being called (#531538).
1018
1019 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
1020
1021         * plugins/elements/gstmultiqueue.c:
1022           Small docs fix.
1023         
1024 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
1025
1026         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1027         Add unit test for deserializing uint64s and check some really large
1028         numbers in the int64 test.
1029
1030 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
1031
1032         * tools/gst-inspect.c: (n_print), (print_hierarchy),
1033         (print_interfaces), (print_element_properties_info),
1034         (print_signal_info):
1035         Use "%s" as format string instead of printing strings directly.
1036
1037 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
1038
1039         * gst/gstclock.c: (gst_clock_set_calibration):
1040         Make some checks actually useful.
1041
1042         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1043         Remove some unused code. Unsigned integers tend to be >= 0.
1044
1045 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1046
1047         * gst/gstminiobject.c: (gst_value_get_mini_object):
1048           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
1049           function was not in the unscheduled 0.10.19 release.
1050
1051 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1052
1053         * gst/gstregistry.c: (gst_registry_scan_path_level):
1054           Only print one log message per non-plugin file.
1055
1056 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1057
1058         * gst/gstinfo.c: (gst_debug_log_default):
1059           Fix alignment of debug log columns on 64-bit.
1060
1061 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1062
1063         * docs/libs/Makefile.am:
1064         * docs/libs/gstreamer-libs-sections.txt:
1065           Ignore private controller headers for docs.
1066
1067 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
1068
1069         * libs/gst/controller/gstcontrollerprivate.h:
1070         * libs/gst/controller/gsthelper.c:
1071         * libs/gst/controller/gstinterpolation.c:
1072         * libs/gst/controller/gstinterpolationcontrolsource.c:
1073         (gst_interpolation_control_source_set_interpolation_mode):
1074         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1075         * libs/gst/controller/lib.c:
1076         Move some private declarations into private headers.
1077
1078 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
1079
1080         * gst/gstdebugutils.c: (debug_dump_element_pad):
1081         Remove some code that is unused after Stefan's refactoring and uses
1082         uninitialized variables now, resulting in a compiler warning.
1083
1084 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1085
1086         * gst/gstregistry.c: (gst_registry_scan_path_level):
1087           Run g_str_has_suffix() only on the file name, not the
1088           entire file path.
1089
1090 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
1091
1092         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
1093           Since we're not called only from the chain function any longer,
1094           we can't assume that there's always data in the queue, so move
1095           the is_full check to the beginning of the loop (otherwise we'd
1096           hit the assert when changing the limit properties while the
1097           queue is empty or not running yet).
1098           Also, only set a discont if items were actually removed from
1099           the queue.
1100
1101         * tests/check/elements/queue.c: (test_leaky_downstream):
1102           Test case for the above.
1103
1104 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
1105
1106         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
1107
1108         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
1109         (gst_queue_chain), (queue_capacity_change),
1110         (gst_queue_set_property):
1111         When changing thr max capacity of a leaky queue, immediatly drop buffers
1112         instead of waiting for a push on the sinkpad. Fixes #530637.
1113
1114 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
1115
1116         * gst/gstdebugutils.c:
1117           Refactor code and fix handling of ghostpads and their proxypads.
1118
1119 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1120
1121         * docs/gst/gstreamer-sections.txt:
1122         * gst/gstevent.c: (gst_event_has_name):
1123         * gst/gstevent.h:
1124         * tests/check/gst/gstevent.c: (GST_START_TEST):
1125         Add method to conveniently check the name of a custom event with
1126         gst_event_has_name().
1127         Reformat the event docs so that related methods are put together instead
1128         of the default alphabetical sort.
1129         Update unit test with new method.
1130         API: GstEvent::gst_event_has_name()
1131
1132 2008-04-28  Michael Smith <msmith@songbirdnest.com>
1133
1134         * libs/gst/check/Makefile.am:
1135           Don't add an explicit link to libgstreamer-0.10.la; it's already
1136           included in GST_OBJ_LIBS.
1137
1138 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
1139
1140         * gst/gst.c:
1141         Register GstClock type from a type-safe context. Fixes bug #530317.
1142
1143 2008-04-25  Michael Smith <msmith@songbirdnest.com>
1144
1145         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
1146         * tools/gst-run.c:
1147           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
1148
1149 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1150
1151         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1152         (gst_bin_dispose):
1153         Use the GLib stuff to create a private structure.
1154         Add some locking around some dispose methods to make them a little
1155         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1156
1157 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
1158
1159         * libs/gst/base/gstbasesink.h:
1160         * libs/gst/base/gstbasesrc.h:
1161         * libs/gst/base/gstbasetransform.h:
1162         * libs/gst/base/gstcollectpads.h:
1163           Fix doc typos and unify caps a bit.
1164
1165 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
1166
1167         * tools/gst-launch.1.in:
1168           Forgot to also add the envvar docs here.
1169
1170 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
1171
1172         * gst/gst.c: (init_post), (gst_deinit):
1173         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
1174           (test_concurrent_create), (gst_pipeline_suite):
1175           Ref some more classes in gst_init() to work around thread-safety
1176           issues in pre-2.16 GLibs, and add basic unit test.
1177
1178 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1179
1180         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1181         (gst_base_sink_send_event):
1182         Rearrange the latency query code. We always want to do the upstream
1183         query, even if we are not live so that the upstream elements can get the
1184         latency results too. If we fail doing the query and we are live, we
1185         return TRUE afterwards.
1186
1187 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1188
1189         patch by: Jason Zhao <e3423c@motorola.com>
1190
1191         * docs/gst/running.xml:
1192         * gst/gst.c:
1193           Enable/disable scan_and_update_registry() based on commandline switch
1194           or environment variable. Fixes #520468.
1195           
1196         * ChangeLog:
1197           Fix typo in my previous commit.
1198
1199 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1200
1201         * gst/gstregistrybinary.c:
1202           Add a warning if we hit unhandled factories when saving.
1203           More debug logging detail, but move to LOG category.
1204
1205 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1206
1207         * gst/gstregistry.c:
1208           Tell the *truth* when improving the documentation.
1209
1210 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
1211
1212         * gst/gstelementfactory.c: (gst_element_factory_make):
1213         Unref the factory after it was used the last time, not before.
1214
1215         * gst/gstindexfactory.c: (gst_index_factory_make):
1216         Improve debugging a bit and don't leak a ref to the index factory with
1217         each call.
1218
1219 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1220
1221         * gst/gstregistry.c:
1222           Improve the documentation.
1223
1224 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1225
1226         * gst/gstsegment.c:
1227           The glib macro seems to be borked. Use g_slice_copy directly and cast
1228           in the hope that this fixes the warning on 64bit.
1229
1230 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1231
1232         * gst/gstsegment.c:
1233           Document the new function. Use g_slice_dup() (no need for
1234           gst_segment_init()).    
1235
1236 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1237
1238         * docs/gst/gstreamer-sections.txt:
1239           Move GParamSepc macros to standart section.
1240   
1241         * gst/gstbin.c:
1242           Dn't document _get_type - its in private section in docs anyway and
1243           this doc-blob was incomplete.
1244
1245         * gst/gstclock.h:
1246           Fix wrong symbol names in docs.
1247
1248         * gst/gstmacros.h:
1249           Add once doc sentence.
1250
1251         * tests/check/gst/.cvsignore:
1252           Ignore more.
1253
1254 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1255
1256         * docs/gst/Makefile.am:
1257           And remove those libs here.
1258
1259 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
1260
1261         * docs/libs/Makefile.am:
1262           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
1263
1264 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1265
1266         Patch by: Olivier Crete <tester at tester dot ca>
1267
1268         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1269         Add the min-threshold to the min latency if possible. Fixes #529148.
1270
1271 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1272
1273         * docs/gst/gstreamer.types.in:
1274           Stupid editor, I removed that line as it should go in yet.
1275
1276 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1277
1278         * docs/gst/gstreamer.types.in:
1279         * docs/libs/gstreamer-libs.types:
1280           Remove library types fro core docs and have them in libs docs.
1281           Reformat and cleanup. Add comment for miniobject types.
1282
1283 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
1284
1285         * gst/gsturi.c: (gst_uri_get_protocol):
1286           Fix leak: g_strdown operates on the string in place, while
1287           g_ascii_strdown() returns a newly-allocated string.
1288
1289 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
1290
1291         * tools/gst-inspect.c: (print_uri_handler_info),
1292         (print_element_info):
1293         Print the URI protocols and the URI type supported by the element.
1294
1295 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1296
1297         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
1298         Use g_value_take_string() instead of the deprecated
1299         g_value_set_string_take_ownership().
1300
1301 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1302
1303         * gst/gstregistrybinary.c: (_gst_crc32):
1304         Return the old CRC instead of 0 if we give a NULL buffer
1305         or a buffer with a length of 0.
1306
1307 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1308
1309         * gst/gsturi.c: (gst_uri_protocol_check_internal),
1310         (gst_uri_get_protocol), (gst_uri_has_protocol),
1311         (gst_uri_construct), (gst_uri_handler_set_uri):
1312         A valid URI scheme can also include '+', '-' and '.' additional
1313         to alphanumeric characters as per RFC 3986 Section 3.1.
1314
1315         Handle URI schemes case insensitive in all places and convert
1316         to lower-case when constructing an URI or setting an URI with
1317         the GstURIHandler interface. Fixes bug #528868.
1318         All elements can still assume (as before) that they will
1319         get passed URIs with a lower-case URI scheme by the GstURIHandler
1320         interface.
1321
1322 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
1323
1324         * gst/gstcaps.c: (gst_static_caps_get):
1325         * gst/gstclock.c: (gst_clock_entry_new):
1326           Don't use g_atomic_set_int where it's not needed.
1327
1328 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
1329
1330         * gst/gstvalue.c: (gst_value_deserialize_caps):
1331         * gst/parse/grammar.y:
1332         Fix 2 caps leaks.
1333
1334 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1335
1336         * gst/gstutils.c: (gst_atomic_int_set):
1337         Use g_atomic_int_set() here too instead of assignment +
1338         g_atomic_int_get().
1339
1340 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1341         
1342         * gst/gstutils.c:
1343         * gst/gstutils.h:
1344         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1345         now that we depend on new enough GLib.
1346
1347         * gst/gstcaps.c: (gst_static_caps_get):
1348         * gst/gstclock.c: (gst_clock_entry_new):
1349         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1350         (gst_debug_set_default_threshold), (_gst_debug_category_new),
1351         (gst_debug_category_set_threshold):
1352         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1353         (gst_base_sink_set_qos_enabled):
1354         * libs/gst/net/gstnettimeprovider.c:
1355         (gst_net_time_provider_set_property):
1356         Use g_atomic_int_set() instead of gst_atomic_int_set().
1357
1358 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1359
1360         * gst/gstquery.c:
1361           Also use G_GINT64_CONSTANT for the queries.
1362
1363 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1364
1365         * gst/gstmessage.c:
1366           Use G_GINT64_CONSTANT in varargs function.
1367
1368 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1369
1370         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1371         Initialize the registry magic with zeroes.
1372
1373 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1374
1375         * gst/gstregistrybinary.c: (_gst_crc32),
1376         (gst_registry_binary_write),
1377         (gst_registry_binary_initialize_magic),
1378         (gst_registry_binary_write_cache),
1379         (gst_registry_binary_check_magic),
1380         (gst_registry_binary_read_cache):
1381         * gst/gstregistrybinary.h:
1382         Add crc32 checksum to the binary registry file and check this before
1383         accepting a registry file.
1384
1385         Also free the data list when writing to the registry file fails.
1386
1387 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1388
1389         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1390         (gst_registry_binary_load_feature),
1391         (gst_registry_binary_load_plugin):
1392         If an element supports the Uri interface, returns a valid pointer
1393         to the supported URI protocols but this pointer contains nothing
1394         don't try to save that as it will corrupt the registry.
1395
1396         Don't unref the plugin if we added it to the registry already but
1397         fail to load a feature as gst_registry_add_plugin() takes ownership
1398         of the plugin.
1399
1400         Improve debugging a bit.
1401
1402 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1403
1404         * gst/gsttaglist.h:
1405           Clarify some tag item docs after discussion on irc.
1406
1407 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1408
1409         * docs/gst/gstreamer-docs.sgml:
1410           Remove commented out plugins (they have their own docs). Update
1411           comments.
1412
1413 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1414
1415         * docs/gst/gstreamer-docs.sgml:
1416         * docs/gst/gstreamer-sections.txt:
1417         * gst/gstparamspecs.c:
1418         * gst/gstparamspecs.h:
1419           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1420           docs to own section.
1421
1422         * gst/gstvalue.c:
1423           This now only documents GValue.
1424           
1425         * docs/libs/gstreamer-libs-sections.txt:
1426         * libs/gst/controller/gstcontroller.h:
1427           Remove GST_PARAM_CONTROLLABLE.
1428
1429 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1430
1431         * docs/README:
1432           Correct file path. Tell about how to use -overrides.txt.
1433         * docs/design/draft-tagreading.txt:
1434           Small design update.
1435
1436 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
1437
1438         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1439         (gst_registry_binary_load_plugin):
1440         Fix a typo in a debug message and revert change from yesterday as
1441         gst_registry_add_plugin() will only fail if something is really wrong
1442         already and we can't survive it anyway.
1443
1444 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
1445
1446         * gst/gst.c: (init_post), (gst_deinit):
1447           Pre-register GstGError GType from a thread-safe context
1448           (fixes #527967); unref enum type classes in deinit.
1449
1450 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1451
1452         Patch by: Rene Stadler <mail at renestadler de>
1453
1454         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1455           Merging an empty list with another list in KEEP_ALL mode should
1456           yield an empty list as result and not the second list (#512578).
1457
1458         * tests/check/gst/gsttagsetter.c:
1459           Add unit test for tag merge modes and the aforementioned bug.
1460
1461 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1462
1463         Patch by: Rene Stadler <mail at renestadler de>
1464
1465         * gst/gsttaglist.h:
1466           Fix description to match the order in the table (#512577).
1467   
1468 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1469
1470         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
1471
1472         * libs/gst/net/gstnettimepacket.h:
1473         * docs/libs/gstreamer-libs-sections.txt:
1474           Define socklen_t as int if it's not defined yet. Fixes compilation
1475           with MSVC6 and other versions where socklen_t is not defined in
1476           the windows headers (#518022).
1477
1478 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
1479
1480         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1481         If gst_registry_add_plugin() fails our reference to the plugin is
1482         invalid so don't try to use it anymore and instead error out.
1483
1484 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
1485
1486         * tools/gst-xmlinspect.c: (print_element_info), (main):
1487           De-cruft a bit. If no argument is specified, print all elements in
1488           XML syntax rather than a freestyle list of elements like gst-inspect.
1489           Also, don't print XML header chunk unless we actually have something
1490           to print (ie. don't print it before an error message); print error
1491           message to stderr not stdout. Remove support for printing plugin
1492           info (it would just output something freestyle along the lines of
1493           gst-inspect so far), which fixes #514507. Also add license header.
1494
1495 2008-04-11  Julien Moutte  <julien@fluendo.com>
1496
1497         Mac OS X love...
1498         * configure.ac: Merge platform specific defines, introduce a new
1499         define on OS X to remember that forking when updating registry is
1500         unsafe.
1501         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1502         module.
1503         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1504         is defined.
1505         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1506         condition that leads to absolutely no plugins being registered on
1507         OS X.
1508
1509 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1510
1511         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1512
1513         * gst/gstutils.c: (gst_pad_add_data_probe),
1514           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1515           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1516           (gst_pad_add_buffer_probe_full):
1517         * gst/gstutils.h:
1518         * docs/gst/gstreamer-sections.txt:
1519         * win32/common/libgstreamer.def:
1520           Add gst_pad_add_*_probe_full() functions with a notify callback that
1521           lets the caller free the data it passes to the probe functions. This
1522           is useful for bindings such as gst-python or gstreamermm (#526814).
1523           API: gst_pad_add_data_probe_full
1524           API: gst_pad_add_buffer_probe_full
1525           API: gst_pad_add_event_probe_full
1526
1527         * tests/check/gst/gstutils.c:
1528           Add minimal unit test to make sure freeing the data actually works
1529           as expected.
1530
1531         * tests/benchmarks/.cvsignore:
1532           Random cvsignore addendum.
1533
1534 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1535
1536         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1537           (GST_DEBUG_BIN_TO_DOT_FILE):
1538           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1539           to it in the docs (since these are macros the types of the arguments
1540           won't be shown in the docs otherwise).
1541
1542 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1543
1544         * gst/gstpad.c:
1545           Do not abort on out of memory for pad_alloc_buffer.
1546
1547 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1548
1549         * libs/gst/check/gstcheck.c:
1550           Remove blank line between symbol name ad parameters to fix gtkdoc
1551           warning.
1552
1553 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1554
1555         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
1556
1557         * docs/gst/gstreamer-sections.txt:
1558         * gst/gstsegment.c:
1559         * gst/gstsegment.h:
1560         * win32/common/libgstreamer.def:
1561           Expose gst_segment_copy() to make things easier for the c++ bindings.
1562           Fixes #518932.
1563           API: gst_segment_copy()
1564
1565 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1566
1567         * gst/gst.c: (gst_init_get_option_group), (init_post):
1568           Fix const position; ref GType classes for enum types to work
1569           around thread-safety issues in GLib versions < 2.16.
1570
1571 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
1572
1573         * docs/design/part-buffering.txt:
1574         Fix some typos and set the estimated total for push mode to -1.
1575
1576         * gst/gstquery.c: (gst_query_new_buffering):
1577         Set buffering-left to 0 as we're not buffering by default.
1578
1579         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1580         Implement BUFFERING query.
1581
1582 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1583
1584         Based on patch by: Milosz Derezynski <internalerror gmail com>
1585
1586         * gst/gsterror.c: (_gst_stream_errors_init):
1587         * gst/gsterror.h:
1588           Add two new error codes for encrypted content. Fixes #524659.
1589           API: GST_STREAM_ERROR_DECRYPT
1590           API: GST_STREAM_ERROR_DECRYPT_NOKEY
1591
1592 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1593
1594         * gst/gstquery.h:
1595           Fix typo.
1596
1597         * win32/common/libgstreamer.def:
1598           Add new functions.
1599
1600 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
1601
1602         * plugins/elements/gstidentity.c: (gst_identity_event),
1603         (gst_identity_start):
1604         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
1605         event after processing some data. Fixes bug #526042.
1606
1607 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1608
1609         * docs/gst/gstreamer-sections.txt:
1610         * gst/gstquery.c: (gst_query_parse_latency),
1611         (gst_query_set_buffering_percent),
1612         (gst_query_parse_buffering_percent),
1613         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
1614         * gst/gstquery.h:
1615         Rename _avail -> _range
1616         API: gst_query_set_buffering_range
1617         API: gst_query_parse_buffering_range
1618
1619 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1620
1621         * docs/design/part-buffering.txt:
1622         * gst/gstquark.c:
1623         * gst/gstquark.h:
1624         * gst/gstquery.c: (gst_query_parse_latency),
1625         (gst_query_new_buffering), (gst_query_set_buffering_percent),
1626         (gst_query_parse_buffering_percent):
1627         * gst/gstquery.h:
1628         Add busy field and quark for the buffering query so that the app can
1629         only use the query to see if buffering is in progress.
1630
1631 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1632
1633         * docs/gst/gstreamer-sections.txt:
1634         * gst/gstmessage.c: (gst_message_set_buffering_stats),
1635         (gst_message_parse_buffering_stats):
1636         * gst/gstmessage.h:
1637         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1638         (gst_query_parse_latency), (gst_query_new_buffering),
1639         (gst_query_set_buffering_percent),
1640         (gst_query_parse_buffering_percent),
1641         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
1642         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
1643         * gst/gstquery.h:
1644         Reorder the message docs and headers for clarity.
1645         Add aditional buffering stats API for messages.
1646         Add buffering query.
1647         Convert some leftover queries to use GstQuark.
1648         API: gst_message_set_buffering_stats
1649         API: gst_message_parse_buffering_stats
1650         API: GST_QUERY_BUFFERING
1651         API: GstBufferingMode
1652         API: gst_query_new_buffering
1653         API: gst_query_set_buffering_percent
1654         API: gst_query_parse_buffering_percent
1655         API: gst_query_set_buffering_stats
1656         API: gst_query_parse_buffering_stats
1657
1658 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1659
1660         * gst/gstmessage.c: (gst_message_new_error),
1661         (gst_message_new_warning), (gst_message_new_info),
1662         (gst_message_new_buffering), (gst_message_new_state_changed),
1663         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
1664         (gst_message_new_new_clock), (gst_message_new_segment_start),
1665         (gst_message_new_segment_done), (gst_message_new_duration),
1666         (gst_message_new_async_start), (gst_message_parse_buffering),
1667         (gst_message_parse_state_changed),
1668         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1669         (gst_message_parse_new_clock), (gst_message_parse_error),
1670         (gst_message_parse_warning), (gst_message_parse_info),
1671         (gst_message_parse_segment_start),
1672         (gst_message_parse_segment_done), (gst_message_parse_duration),
1673         (gst_message_parse_async_start):
1674         Use GstQuark for messages.
1675
1676 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1677
1678         * gst/gstquark.c: (_priv_gst_quarks_initialize):
1679         * gst/gstquark.h:
1680         Add some more quarks needed for messages and queries.
1681
1682 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1683
1684         * docs/design/part-buffering.txt:
1685         Remove the "none" buffering mode, STREAM is a good default.
1686         Move estimated-time to the avail query, that's when it will be needed.
1687         Other small typo fixes and updates.
1688
1689 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
1690
1691         * gst/gstindex.c: (gst_index_resolver_get_type):
1692           Don't put descriptions into the nick field of a GEnumValue: it's not
1693           meant for that and some language bindings rely on the nick field to
1694           construct constants and the like. Fixes #526705.
1695
1696 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
1697
1698         * NEWS:
1699         * RELEASE:
1700         * gstreamer.doap:
1701           Merge other changes from 0.10.19 release branch.
1702
1703 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
1704
1705         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1706
1707         * configure.ac:
1708         Actually build dlls when cross-compiling with mingw32.
1709         Fixes bug #526247.
1710
1711 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
1712
1713         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1714
1715         * gst/gstpoll.c:
1716         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
1717
1718 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1719
1720         * docs/design/draft-latency.txt:
1721         Fix typo.
1722
1723         * docs/design/part-buffering.txt:
1724         Update design docs with more buffering ideas.
1725
1726 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
1727
1728         * configure.ac:
1729           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
1730
1731 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
1732
1733         * configure.ac:
1734           Revert part that belongs to the preset patch.
1735
1736 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
1737
1738         * configure.ac:
1739           Add qoutes to the define. Fixes # 525961.
1740
1741 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
1742
1743         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
1744         (gst_file_index_load), (gst_file_index_add_id),
1745         (gst_file_index_get_assoc_entry):
1746         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
1747         (gst_mem_index_free_id), (gst_mem_index_add_id),
1748         (gst_mem_index_index_format):
1749         Use GSlice when possible.
1750
1751 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
1752
1753         * libs/gst/controller/gstinterpolationcontrolsource.c:
1754         (gst_control_point_free),
1755         (gst_interpolation_control_source_set_internal):
1756         Use GSlice for allocating the control points.
1757
1758 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
1759
1760         * plugins/elements/gsttypefindelement.c:
1761         (gst_type_find_element_class_init),
1762         (gst_type_find_element_set_property),
1763         (gst_type_find_element_get_property),
1764         (gst_type_find_element_activate):
1765         * plugins/elements/gsttypefindelement.h:
1766         Cleanup properties.
1767         Fix pad leak when peer query fails.
1768         We can still typefind when the peer returns -1.
1769         Add property to force caps and bypass typefinding. This will be used in
1770         uridecodebin.
1771         API::force-caps
1772
1773 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
1774
1775         * configure.ac:
1776         Require GLib 2.12.
1777
1778         * gst/glib-compat-private.h:
1779         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
1780         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1781         Unconditionally use GSlice for allocation.
1782
1783         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
1784         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
1785         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
1786         (gst_structure_free):
1787         Use GSlice for allocation.
1788
1789 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
1790
1791         * gst/parse/Makefile.am:
1792         * gst/parse/grammar.tab.pre.c:
1793         * gst/parse/grammar.tab.pre.h:
1794         * gst/parse/lex._gst_parse_yy.pre.c:
1795         Require a new enough flex and bison and remove the parser hacks to use
1796         a pre-regenerated version.
1797
1798 2008-04-01  Julien Moutte  <julien@fluendo.com>
1799
1800         patch by: Jason Zhao <E3423C@motorola.com>
1801
1802         * configure.ac: Add a configure switch to disable option parsing
1803         in gst_init.
1804         Fixes #522882.
1805
1806 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1807
1808         * configure.ac:
1809         * gst/gstregistry.c:
1810           MacOS has plugins under .so or under .dylib. Add detection for MacOS
1811           and handle this case.
1812
1813         * gst/gst.c:
1814           Add a comment here describing, why we stat each plugin and not try to
1815           be smart.
1816
1817 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
1818
1819         * libs/gst/base/gstbasetransform.c:
1820         (gst_base_transform_prepare_output_buffer):
1821         Also unset the GAP flag on buffers if we're working inplace but
1822         the element is not GAP-aware.
1823
1824         Mark a comment as FIXME 0.11.
1825
1826 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1827
1828         * gst/gst.c:
1829           Fix type in log message and add one to ease seeing how long registry
1830           cache verification takes.
1831
1832         * gst/gstregistry.c:
1833           Only test plugin filenames against G_MODULE_SUFFIX.
1834
1835 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1836
1837         * gst/gstdebugutils.c:
1838           Improve handling ghost/proxy pads.
1839
1840 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
1841
1842         * docs/gst/gstreamer-sections.txt:
1843         * gst/gstpad.c:
1844         * gst/gstpad.h:
1845           Expose macro to docs and fix link to it.
1846
1847 2008-03-27  Michael Smith <msmith@fluendo.com>
1848
1849         * libs/gst/dataprotocol/dataprotocol.c:
1850         (gst_dp_packet_from_event_1_0):
1851           When calculating GDP body CRC, use the correct pointer. 
1852           Fixes part of #522401.
1853
1854 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1855
1856         Patch by: Mark Nauwelaerts <manauw at skynet be>
1857
1858         * plugins/elements/gstidentity.c: (gst_identity_class_init),
1859         (gst_identity_init), (gst_identity_prepare_output_buffer):
1860         Identity is not always a passthrough element, it can modify the buffer
1861         timestamps when it has a datarate and operates in single-segment mode.
1862         We therefore make it an in_place filter with a custom buffer prepare
1863         function that conditionally makes the input buffer metadata writable
1864         when needed.  Fixes #523985.
1865
1866 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1867
1868         Patch by: Mark Nauwelaerts <manauw at skynet be>
1869
1870         * gst/gstclock.h:
1871         * libs/gst/base/gstbasesrc.h:
1872         * libs/gst/base/gstbasetransform.c:
1873         * libs/gst/check/gstcheck.c:
1874         Small documentation fixes. Fixes #523978.
1875
1876 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1877
1878         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
1879         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
1880         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
1881
1882 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1883
1884         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
1885         (single_queue_underrun_cb):
1886         When trying to make room in the queue, bump the max allowed buffers
1887         bigger than the current amount of buffers in the queue. this fixes some
1888         nasty deadlocks in multiqueue when dynamically changing the limits of
1889         the queue.
1890
1891 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1892
1893         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
1894
1895         * gst/gstcaps.c: (gst_caps_set_simple),
1896         (gst_caps_set_simple_valist), (gst_caps_intersect):
1897         * gst/gstcaps.h:
1898         Constify the field gchar * params in set_simple and friends.
1899         Fixes #522326.
1900
1901 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1902
1903         * gst/gstvalue.c: (gst_value_transform_object_string):
1904         Transform a GstObject to a more meaningfull string that includes the
1905         object type in addition to its name.
1906
1907 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
1908
1909         * ChangeLog:
1910           ChangeLog surgery to add bugnumber to commit.
1911
1912 2008-03-23  Rene Stadler  <mail@renestadler.de>
1913
1914         * libs/gst/base/gstbasetransform.c:
1915         (gst_base_transform_set_gap_aware): Fix confusing documentation.
1916
1917 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1918
1919         * gst/gstregistrybinary.c: (gst_registry_binary_write):
1920         Rename constant everywhere and don't forget one occurence.
1921
1922 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1923
1924         * gst/gstregistrybinary.c: (gst_registry_binary_write):
1925         Align memory to the pointer size even if the architecture allows
1926         unaligned memory access. Unaligned memory access usually comes with
1927         performance penality.
1928
1929 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1930
1931         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1932         (gst_registry_binary_check_magic),
1933         (gst_registry_binary_load_pad_template),
1934         (gst_registry_binary_load_feature),
1935         (gst_registry_binary_load_plugin):
1936         Align memory to the pointer size instead of always 32 bit. Fixes
1937         unaligned memory accesses on ia64 and friends.
1938
1939         * gst/gstregistrybinary.h:
1940         Bump binary registry format version for this as it changes the
1941         format on those architectures that don't have unaligned access
1942         and 64 bit pointers.
1943
1944 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
1945
1946         * docs/pwg/advanced-dparams.xml:
1947         * docs/pwg/building-props.xml:
1948         * docs/pwg/other-source.xml:
1949         * gst/glib-compat.h:
1950         * gst/gstbin.c: (gst_bin_class_init):
1951         * gst/gstclock.c: (gst_clock_class_init):
1952         * gst/gstindex.c: (gst_index_class_init):
1953         * gst/gstobject.c: (gst_object_class_init):
1954         * gst/gstpad.c: (gst_pad_class_init):
1955         * gst/gstpipeline.c: (gst_pipeline_class_init):
1956         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1957         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
1958         * libs/gst/base/gstbasetransform.c:
1959         (gst_base_transform_class_init):
1960         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
1961         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
1962         (_gst_check_fault_handler_sighandler),
1963         (_gst_check_fault_handler_setup), (gst_check_init):
1964         * libs/gst/controller/gstcontroller.c:
1965         (_gst_controller_class_init):
1966         * libs/gst/controller/gstlfocontrolsource.c:
1967         (gst_lfo_control_source_class_init):
1968         * libs/gst/net/gstnetclientclock.c:
1969         (gst_net_client_clock_class_init):
1970         * libs/gst/net/gstnettimeprovider.c:
1971         (gst_net_time_provider_class_init):
1972         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
1973         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
1974         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
1975         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
1976         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1977         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
1978         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1979         * plugins/elements/gstidentity.c: (gst_identity_class_init):
1980         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
1981         * plugins/elements/gstqueue.c: (gst_queue_class_init):
1982         * plugins/elements/gsttee.c: (gst_tee_class_init):
1983         * plugins/elements/gsttypefindelement.c:
1984         (gst_type_find_element_class_init):
1985         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
1986         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
1987         use it everywhere for GParamSpecs that use static strings (i.e. all).
1988         This gives us less memory usage, fewer allocations and thus less
1989         memory defragmentation. Fixes bug #523806.
1990
1991 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
1992
1993         * gst/gstminiobject.c: (gst_value_dup_mini_object),
1994         (gst_param_spec_mini_object):
1995         * gst/gstminiobject.h:
1996         * win32/common/libgstreamer.def:
1997         * docs/gst/gstreamer-sections.txt:
1998         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
1999         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
2000         GstParamSpecMiniObject into a public header for this.
2001
2002         This make GstMiniObject a bit more consistent with GObject and makes
2003         it possible to extend the param specs.
2004
2005         gst_value_dup_mini_object is mainly useful for set_property methods.
2006
2007         Fixes bug #523798.
2008
2009         * tools/gst-inspect.c: (print_element_properties_info):
2010         Print something useful for GstMiniObject properties and not just
2011         "unknown type".
2012
2013 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
2014
2015         * docs/gst/gstreamer-sections.txt:
2016         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2017         (gst_registry_binary_check_magic):
2018         * gst/gstregistrybinary.h:
2019         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
2020         and add it to the (private part) of the docs to fix the build.
2021
2022 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
2023
2024         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2025         (gst_registry_binary_check_magic),
2026         (gst_registry_binary_read_cache):
2027         * gst/gstregistrybinary.h:
2028         Don't use GST_MAJORMINOR for the binary registry version. Instead
2029         hardcode a value that must be changed whenever the format changes
2030         in an incompatible way.
2031         Also don't GST_ERROR when there is a version mismatch, just
2032         regenerate the registry silently.
2033
2034 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
2035
2036         * configure.ac:
2037         Back to development - 0.10.18.1
2038
2039 === release 0.10.18 ===
2040
2041 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
2042
2043         * configure.ac:
2044           releasing 0.10.18, "So far away"
2045
2046 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
2047
2048         * configure.ac:
2049         * win32/common/config.h:
2050         0.10.17.4 pre-release
2051
2052 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
2053
2054         Patch by: Ole André Vadla Ravnås
2055             <ole dot andre dot ravnas at tandberg dot com>
2056
2057         * docs/gst/gstreamer-sections.txt:
2058         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
2059         (gst_poll_update_winsock_event_mask),
2060         (gst_poll_prepare_winsock_active_sets),
2061         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
2062         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
2063         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
2064         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2065         (gst_poll_check_ctrl_commands), (gst_poll_wait):
2066         * gst/gstpoll.h:
2067         * win32/common/libgstreamer.def:
2068         Add new function gst_poll_fd_ignored() for improved Windows
2069         compatibility.
2070         Various minor fixes and cleanups. See #520808.
2071
2072 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
2073
2074         * gst/gstindex.c: (gst_index_entry_free):
2075         * gst/gstindex.h:
2076           Don't free key strings which we don't own. Fixes crash in
2077           gst_index_entry_free() (#522741).
2078
2079         * tests/check/Makefile.am:
2080         * tests/check/gst/.cvsignore:
2081         * tests/check/gst/gstindex.c: (test_index_entries),
2082           (gst_index_suite), (gst_index):
2083           Add unit test for the above.
2084
2085 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
2086
2087         * win32/common/libgstreamer.def:
2088         Remove symbols that were removed recently. Fixes bug #521740.
2089
2090 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
2091
2092         * configure.ac:
2093         * win32/common/config.h:
2094         0.10.17.3 pre-release
2095
2096 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2097
2098         Patch by: Ole André Vadla Ravnås
2099             <ole dot andre dot ravnas at tandberg dot com>
2100
2101         * docs/gst/gstreamer-sections.txt:
2102         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
2103         (gst_poll_update_winsock_event_mask), (gst_poll_new),
2104         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
2105         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2106         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
2107         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2108         (gst_poll_fd_can_write), (gst_poll_wait),
2109         (gst_poll_set_controllable), (gst_poll_restart),
2110         (gst_poll_set_flushing):
2111         * gst/gstpoll.h:
2112         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
2113         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
2114         (gst_net_time_provider_new):
2115         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2116         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
2117         * tests/benchmarks/gstpollstress.c: (main):
2118         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
2119         Remove GstPollMode from the API, it does not make sense to let the
2120         application control this.
2121         Add support for Win32.
2122         Fix the testsuite. Fixes #520671.
2123
2124 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
2125
2126         Patch by: Ole André Vadla Ravnås
2127             <ole dot andre dot ravnas at tandberg dot com>
2128
2129         * gst/gstregistrybinary.c:
2130         Include io.h for write() and close() when building with MSVC. Fixes
2131         bug #520877.
2132
2133 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
2134
2135         * configure.ac:
2136         * gst/gst_private.h:
2137         * gst/gstconfig.h.in:
2138         * gst/gstregistry.h:
2139         * gst/gstregistrybinary.c:
2140         * win32/common/gstconfig.h:
2141           Move registry backend API to private headers where we can. Add
2142           fixme-0.11 comments for the others. Add stubs for the xml backend when
2143           using the binary to ensure they functions exists (they should not be
2144           used though). Fixes #520756.
2145
2146 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
2147
2148         * configure.ac:
2149         * win32/common/config.h:
2150         0.10.17.2 prelease
2151
2152 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
2153
2154         * gst/gstregistrybinary.c: (gst_registry_binary_write),
2155         (gst_registry_binary_read_cache):
2156         * gst/gstregistryxml.c: (gst_registry_save):
2157         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
2158         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
2159         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2160         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2161         Switch to using portabl gsize/gssize instead of size_t/ssize_t
2162         Fixes #520152
2163
2164 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
2165
2166         * gst/gstminiobject.c:
2167         Import gst_private.h before any other header that might include other
2168         glib headers. This fixes the build on windows using native compilers.
2169
2170 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2171
2172         * win32/common/gstconfig.h:
2173           Add here too, just for completeness.
2174
2175 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2176
2177         * configure.ac:
2178         * gst/gstconfig.h.in:
2179         * gst/gstregistry.h:
2180           Fix broken use of config.h-defined preprocessor directive in a public
2181           header file. Add a corresponding define to gstconfig.h, since we can't
2182           really remove those function declarations from the header file now
2183           (or can we? and why are they there in the first place?).
2184
2185 2008-03-03  Andy Wingo  <wingo@pobox.com>
2186
2187         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
2188         the new warning.
2189
2190         * gst/gststructure.c (gst_structure_from_string): Warn if
2191         structure_from_string didn't consume the whole string, but the
2192         caller did not provide an end pointer.
2193
2194 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
2195
2196         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
2197
2198         * gst/gstregistryxml.c: (read_string), (load_feature):
2199           Strings allocated by libxml2 should be freed with xmlFree(), not
2200           with g_free(). Fixes issues on windows in certain contexts (#519698).
2201
2202 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
2203
2204         * gst/gstinterface.c: (gst_element_implements_interface):
2205           Don't crash if the element supports the interface queried, but does
2206           not implement GstImplementsInterface. Fixes #519584.
2207
2208         * tests/check/Makefile.am:
2209         * tests/check/gst/.cvsignore:
2210         * tests/check/gst/gstinterface.c:
2211           Add unit test for the above.
2212
2213 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2214
2215         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2216         Small doc update.
2217
2218 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2219
2220         * gst/gstsegment.c: (gst_segment_set_seek),
2221         (gst_segment_to_stream_time):
2222         Improve some comment.
2223         Update variables where it makes more sense.
2224
2225 2008-02-29  Rene Stadler  <mail@renestadler.de>
2226
2227         * gst/gsturi.c: (gst_uri_handler_get_protocols):
2228         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
2229         URIHandlers implemented using language bindings.
2230
2231 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2232
2233         * gst/gstelementfactory.h:
2234         * tests/check/elements/fakesink.c:
2235         * tests/check/elements/fakesrc.c: (setup_fakesrc):
2236         * tests/check/elements/fdsrc.c: (setup_fdsrc):
2237         * tests/check/elements/filesink.c: (setup_filesink):
2238         * tests/check/elements/filesrc.c: (setup_filesrc):
2239         * tests/check/elements/identity.c: (setup_identity):
2240         * tests/check/elements/tee.c:
2241         * tests/check/generic/sinks.c:
2242         * tests/check/generic/states.c: (setup), (teardown):
2243         * tests/check/gst/gst.c:
2244         * tests/check/gst/gstabi.c:
2245         * tests/check/gst/gstbin.c:
2246         * tests/check/gst/gstbus.c: (pull_messages):
2247         * tests/check/gst/gstcaps.c:
2248         * tests/check/gst/gstelement.c:
2249         * tests/check/gst/gstevent.c:
2250         * tests/check/gst/gstghostpad.c:
2251         * tests/check/gst/gstiterator.c:
2252         * tests/check/gst/gstmessage.c:
2253         * tests/check/gst/gstminiobject.c: (my_foo_init):
2254         * tests/check/gst/gstobject.c: (thread_name_object),
2255         (gst_object_suite):
2256         * tests/check/gst/gstpad.c:
2257         * tests/check/gst/gstplugin.c:
2258         * tests/check/gst/gstpoll.c:
2259         * tests/check/gst/gstquery.c:
2260         * tests/check/gst/gstsegment.c:
2261         * tests/check/gst/gststructure.c:
2262         * tests/check/gst/gstsystemclock.c:
2263         * tests/check/gst/gsttask.c:
2264         * tests/check/gst/gstutils.c:
2265         * tests/check/gst/gstvalue.c:
2266         * tests/check/gst/struct_hppa.h:
2267         * tests/check/gst/struct_i386.h:
2268         * tests/check/gst/struct_ppc32.h:
2269         * tests/check/gst/struct_ppc64.h:
2270         * tests/check/gst/struct_x86_64.h:
2271         * tests/check/libs/adapter.c: (create_and_fill_adapter):
2272         * tests/check/libs/basesrc.c:
2273         * tests/check/libs/controller.c: (GST_START_TEST):
2274         * tests/check/libs/gdp.c:
2275         * tests/check/libs/gstnetclientclock.c:
2276         * tests/check/libs/gstnettimeprovider.c:
2277         * tests/check/libs/libsabi.c:
2278         * tests/check/libs/struct_hppa.h:
2279         * tests/check/libs/struct_i386.h:
2280         * tests/check/libs/struct_ppc32.h:
2281         * tests/check/libs/struct_ppc64.h:
2282         * tests/check/libs/struct_x86_64.h:
2283         * tests/check/pipelines/cleanup.c:
2284         * tests/check/pipelines/simple-launch-lines.c:
2285         * tests/check/pipelines/stress.c:
2286         And correct even more valid sparse warnings.
2287
2288         * win32/common/libgstreamer.def:
2289         Add gst_poll_fd_init to the list of symbols.
2290
2291 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2292
2293         * gst/gstconfig.h.in:
2294         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
2295         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
2296         (gst_check_log_critical_func), (gst_check_drop_buffers),
2297         (gst_check_element_push_buffer_list):
2298         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
2299         (gst_controller_get_type):
2300         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
2301         (gst_object_get_controller), (gst_object_get_control_source):
2302         * libs/gst/controller/gstinterpolationcontrolsource.c:
2303         (gst_interpolation_control_source_new):
2304         * libs/gst/controller/gstlfocontrolsource.c:
2305         (gst_lfo_control_source_new):
2306         * libs/gst/dataprotocol/dataprotocol.c:
2307         (gst_dp_event_from_packet_0_2):
2308         * plugins/elements/gstfdsrc.c:
2309         * plugins/elements/gstmultiqueue.c:
2310         * plugins/elements/gsttee.c:
2311         * plugins/elements/gsttypefindelement.c:
2312         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
2313         (gst_file_index_add_association):
2314         * plugins/indexers/gstmemindex.c:
2315         * tests/benchmarks/gstpollstress.c: (mess_some_more):
2316         * tests/check/elements/queue.c: (setup_queue):
2317         * tests/check/gst/gstpipeline.c:
2318         * tests/check/libs/collectpads.c: (setup), (teardown),
2319         (gst_collect_pads_suite):
2320         * tests/examples/adapter/adapter_test.c:
2321         * tests/examples/metadata/read-metadata.c: (make_pipeline):
2322         * tests/examples/xml/createxml.c:
2323         * tests/examples/xml/runxml.c:
2324         * tools/gst-inspect.c:
2325         * tools/gst-run.c:
2326         Correct all relevant warnings found by the sparse semantic code
2327         analyzer. This include marking several symbols static, using
2328         NULL instead of 0 for pointers, not using variable sized arrays
2329         on the stack, moving variable declarations to the beginning of
2330         a block and using "foo (void)" instead of "foo ()" for declarations.
2331
2332 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2333
2334         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2335         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2336         Don't reset GstPollFDs, this is not necessary at all.
2337
2338         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2339         (delayed_restart), (delayed_control):
2340         Use GST_POLL_FD_INIT.
2341
2342 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2343
2344         * gst/gstpoll.c: (gst_poll_fd_init):
2345         * gst/gstpoll.h:
2346         Added Since tags.
2347
2348         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2349         Use some more init macros.
2350
2351 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2352
2353         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2354         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2355         Use init macros and functions.
2356
2357 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2358
2359         * docs/gst/gstreamer-sections.txt:
2360         * gst/gstpoll.c: (gst_poll_fd_init):
2361         * gst/gstpoll.h:
2362         Add INIT macro and _init method for initializing the GstPollFD.
2363
2364 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
2365
2366         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2367         (gst_fd_sink_update_fd):
2368         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2369         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2370         (delayed_restart), (delayed_control):
2371         Initialize some uninitialized variables as spotted by valgrind.
2372
2373 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2374
2375         * tests/benchmarks/Makefile.am:
2376         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2377         (main):
2378         Add poll stress test.
2379
2380 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2381
2382         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2383
2384         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2385         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2386         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2387         * plugins/elements/gstfdsink.h:
2388         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2389         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2390         (gst_fd_src_unlock_stop), (gst_fd_src_create),
2391         (gst_fd_src_uri_set_uri):
2392         * plugins/elements/gstfdsrc.h:
2393         Port to GstPoll. See #505417.
2394
2395 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
2396
2397         * win32/common/libgstreamer.def:
2398         Add new gst_poll_ symbols to win32 defs.
2399
2400 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2401
2402         * docs/libs/gstreamer-libs-sections.txt:
2403         * libs/gst/net/gstnetclientclock.c:
2404         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2405         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2406         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2407         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2408         * libs/gst/net/gstnetclientclock.h:
2409         * libs/gst/net/gstnettimeprovider.c:
2410         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2411         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2412         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2413         (gst_net_time_provider_new):
2414         * libs/gst/net/gstnettimeprovider.h:
2415         Use a private stuct to not break ABI.
2416
2417 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2418
2419         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2420
2421         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2422         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2423         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2424         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2425         * libs/gst/net/gstnetclientclock.h:
2426         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2427         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2428         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2429         (gst_net_time_provider_new):
2430         * libs/gst/net/gstnettimeprovider.h:
2431         Massive code removal and cleanups because of GstPoll.
2432         Fixes #505417.
2433
2434 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2435
2436         * configure.ac:
2437         Add checks for poll, ppoll and pselect.
2438
2439         * docs/gst/gstreamer-docs.sgml:
2440         * docs/gst/gstreamer-sections.txt:
2441         Add docs for GstPoll.
2442
2443         * gst/Makefile.am:
2444         * gst/gst.h:
2445         * gst/gstpoll.c: (find_index), (selectable_fds),
2446         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2447         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2448         (gst_poll_set_mode), (gst_poll_get_mode),
2449         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2450         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2451         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2452         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2453         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2454         (gst_poll_fd_can_write), (gst_poll_wait),
2455         (gst_poll_set_controllable), (gst_poll_restart),
2456         (gst_poll_set_flushing):
2457         * gst/gstpoll.h:
2458         Add generic poll abstraction. We ideally don't want to have this in core
2459         here but in glib intead...
2460         This code will be used in various network elements and ultimately for
2461         the nanosecond precision monotonic clock (that's why it's here in core).
2462         It'll allow us to implement cancelable socket operations for windows too.
2463
2464         * tests/check/Makefile.am:
2465         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2466         (delayed_stop), (delayed_restart), (delayed_flush),
2467         (delayed_control), (gst_poll_suite):
2468         Add GstPoll unit test.
2469
2470 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
2471
2472         * gst/gstfilter.c:
2473           Improve documentation of gst_filter_run(). Fixes #518627.
2474
2475 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2476
2477         * docs/README:
2478           Add a few lines about the new 'check-inspected-versions' target.
2479
2480 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2481
2482         * tests/check/gst/gstevent.c:
2483           Add qos to the event test. Rename tcase/tsuite; is not only about
2484           custom events.
2485
2486 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2487
2488         * plugins/elements/gstqueue.c:
2489           Ensure that buffer metadata is writeable, before modifying. Spotted by
2490           Mike.
2491
2492 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
2493
2494         * plugins/elements/gstqueue.c:
2495         * plugins/elements/gstqueue.h:
2496           When dropping buffers in leaky modes, mark next buffers we sent as
2497           DISCONT.
2498
2499 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2500
2501         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2502           Also, if mmap() fails that would be a READ error, not OPEN_READ.
2503
2504 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2505
2506         * plugins/elements/Makefile.am:
2507         * plugins/elements/gstbufferstore.c:
2508         * plugins/elements/gstbufferstore.h:
2509         * plugins/elements/gsttypefindelement.h:
2510           Remove GstBufferStore, no idea why we were still building it.
2511           It's not used anywhere and superseded by GstAdapter.
2512
2513         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2514           (gst_file_src_create_mmap):
2515         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2516           Printf format fixes for 64-bit integers.
2517
2518 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2519
2520         * configure.ac:
2521         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2522         We're not in 0.8 times anymore.
2523
2524 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
2525
2526         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2527         (gst_check_element_push_buffer_list):
2528         * libs/gst/check/gstcheck.h:
2529         Make the declaration in the header for
2530         gst_check_element_push_buffer_list match the implementation.
2531
2532         Fix up spelling, grammar and wording of the documentation in a few
2533         places, and add the Since keyword to new API functions.
2534         Use g_list_delete_link instead of g_list_remove in
2535         gst_check_drop_buffers, since it's immeasurably more efficient.
2536
2537         * tests/check/elements/fakesrc.c: (GST_START_TEST):
2538         Use new gst_check_drop_buffers function where appropriate.
2539
2540         * win32/common/libgstbase.def:
2541         * win32/common/libgstreamer.def:
2542         Add new symbols gst_collect_pads_take_buffer, 
2543         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2544         exports
2545
2546         Changelog surgery to add API keyword to new gst_check API.
2547
2548 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2549
2550         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2551         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2552         Update pre-generated flex files with flex 2.3.34.
2553
2554 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2555
2556         * gst/gstminiobject.c:
2557           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2558           friendly to subclasses and not require them to know all internals
2559           of their parent class.
2560
2561 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
2562
2563         * docs/libs/gstreamer-libs-sections.txt:
2564         * libs/gst/base/gstcollectpads.c:
2565         * libs/gst/base/gstcollectpads.h:
2566           Add sub-buffer functions to collectpads. Fixes #516187.
2567           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
2568
2569 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
2570
2571         * gst/gstbuffer.c:
2572           Copy selected buffer-flags when creating subbuffers.
2573           Fixes #516395.
2574
2575 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
2576
2577         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
2578         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
2579         * gst/gstmessage.c: (gst_message_class_init),
2580         (gst_message_finalize):
2581         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
2582         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
2583         (gst_mmap_buffer_finalize):
2584         Properly chain up finalize functions to the parent class.
2585
2586 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
2587
2588         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
2589
2590         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
2591         (gst_index_set_resolver_full):
2592         * gst/gstindex.h:
2593         Add new function with option to dispose of user_data in resolver.
2594         Actually call the dispose function when finalizing the object and not
2595         just when changing the resolver/filter.
2596         API: GstIndex::gst_index_set_resolver_full()
2597
2598         * docs/gst/gstreamer-sections.txt:
2599         Add new function to docs. Fixes #515469.
2600
2601 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
2602
2603         * gst/gstindex.c: (gst_index_finalize):
2604         Chain up finalize to the parent class. Fixes leaking the GstObject
2605         name and other things.
2606
2607 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
2608
2609         * configure.ac:
2610         Make DISABLE_DEPRECATED defined *only* during CVS, not during
2611         pre-releases or releases.
2612
2613         * docs/faq/gst-uninstalled:
2614         Add gst-plugins-gl
2615
2616         * docs/random/release:
2617         Change one of the steps - we only upload core & base to Gnome FTP
2618
2619 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
2620
2621         * gst/gstconfig.h.in:
2622           Add 'id' for example.
2623
2624         * gst/gstpad.c:
2625         * gst/gstutils.c:
2626         * plugins/elements/gstfdsink.c:
2627           Link to signals. Doc and comment fixes.
2628
2629 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
2630
2631         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
2632         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
2633           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
2634           unused and unimplemented; finally, it is plugin features, not
2635           plugins, that have ranks.
2636           
2637 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
2638
2639         * gst/gstpluginfeature.h:
2640           Clarify GstRank range docs.
2641
2642 2008-02-05  David Schleef  <ds@schleef.org>
2643
2644         * gst/gst.c: Add a separate gst_deinitialized that prevents
2645           gst_init() from being called after gst_deinit().  Fixes #509559
2646
2647 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
2648
2649         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
2650         (gst_bin_class_init):
2651         * gst/gstelement.c: (gst_element_base_class_init),
2652         (gst_element_class_add_pad_template):
2653         * gst/gstpadtemplate.c: (gst_pad_template_init):
2654         * gst/gstpipeline.c: (gst_pipeline_get_type),
2655         (gst_pipeline_base_init), (gst_pipeline_class_init):
2656         * libs/gst/base/gstbasesink.c:
2657         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2658         (gst_base_src_base_init), (gst_base_src_class_init):
2659         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2660         (gst_capsfilter_class_init):
2661         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2662         (gst_fake_sink_class_init):
2663         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2664         (gst_fake_src_class_init):
2665         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2666         (gst_fd_sink_class_init):
2667         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2668         (gst_fd_src_class_init):
2669         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2670         (gst_file_sink_class_init):
2671         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2672         (gst_file_src_class_init):
2673         * plugins/elements/gstidentity.c: (gst_identity_base_init),
2674         (gst_identity_class_init):
2675         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2676         (gst_multi_queue_class_init):
2677         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2678         (gst_queue_class_init):
2679         * plugins/elements/gsttee.c: (gst_tee_base_init),
2680         (gst_tee_class_init):
2681         * plugins/elements/gsttypefindelement.c:
2682         (gst_type_find_element_base_init),
2683         (gst_type_find_element_class_init):
2684         * tests/check/gst/gstelement.c: (gst_element_suite):
2685         Revert previous changes to the behaviour of GstPadTemplates, etc
2686         and the possiblity to call them in class_init as it breaks too
2687         many elements. Reopens bug #491501.
2688
2689         Should be applied again for 0.11, thus added a few FIXME 0.11 at
2690         several places.
2691
2692 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
2693
2694         * tools/gst-launch.c:
2695         Dump one graph per pipeline state-change and state change name
2696         (if GST_DEBUG_DUMP_DOT_DIR is set).
2697
2698 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
2699
2700         * gst/gstpad.c:
2701         * tests/check/gst/gstpad.c:
2702         Be sure that we have a new copy of the caps and not
2703         reffed caps from a template
2704
2705 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
2706
2707         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2708         * gst/gstpipeline.c: (gst_pipeline_get_type),
2709         (gst_pipeline_class_init):
2710         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2711         (gst_base_sink_class_init):
2712         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2713         (gst_base_src_class_init):
2714         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
2715         (gst_base_transform_class_init):
2716         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2717         (gst_collect_pads_class_init):
2718         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
2719         * libs/gst/net/gstnettimeprovider.c:
2720         (gst_net_time_provider_base_init),
2721         (gst_net_time_provider_class_init):
2722         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2723         (gst_capsfilter_class_init):
2724         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2725         (gst_fake_sink_class_init):
2726         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2727         (gst_fake_src_class_init):
2728         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2729         (gst_fd_sink_class_init):
2730         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2731         (gst_fd_src_class_init):
2732         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2733         (gst_file_sink_class_init):
2734         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2735         (gst_file_src_class_init):
2736         * plugins/elements/gstidentity.c: (gst_identity_base_init),
2737         (gst_identity_class_init):
2738         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2739         (gst_multi_queue_class_init):
2740         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2741         (gst_queue_class_init):
2742         * plugins/elements/gsttee.c: (gst_tee_base_init),
2743         (gst_tee_class_init):
2744         * plugins/elements/gsttypefindelement.c:
2745         (gst_type_find_element_base_init),
2746         (gst_type_find_element_class_init):
2747         Don't use base_init where not absolutely necessary. For example it's
2748         not necessary anymore for adding pad templates or setting element
2749         details.
2750
2751         Leave empty base_init functions in several places as GST_BOILERPLATE
2752         still defines and uses them.
2753
2754 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
2755
2756         * gst/gstelement.c: (gst_element_base_class_init),
2757         (gst_element_class_add_pad_template):
2758         * gst/gstpadtemplate.c:
2759         Make it possible (and recommended) to set element details and add
2760         pad templates in the class_init functions by copying the details/pad
2761         templates in GstElement's base_init.
2762
2763         Also make it possible to replace existing pad templates by adding
2764         a new one with the same name. This was done in a hackish fashion
2765         in same elements before already.
2766
2767         Don't reference pad templates that are added a second time. A
2768         new pad template has a refcount of one and is not floating anymore
2769         and to be owned by the element's class. Make this more explicit by
2770         mentioning it in the docs of gst_element_class_add_pad_template().
2771
2772         These changes are backwards compatible. Fixes bug #491501.
2773
2774         * tests/check/gst/gstelement.c:
2775         Add unit test for setting element details, adding pad templates and
2776         replacing them in a subclass.
2777
2778 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
2779
2780         * tools/gst-inspect.c: (print_interfaces),
2781         (print_element_properties_info), (print_pad_info),
2782         (print_signal_info), (print_element_info):
2783         Fix a few memory leaks.
2784
2785 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2786
2787         * docs/libs/gstreamer-libs-sections.txt:
2788         * libs/gst/check/gstcheck.c:
2789         * libs/gst/check/gstcheck.h:
2790         Add more functions for unit testing: gst_check_drop_buffers,
2791         gst_check_caps_equal, gst_check_element_push_buffer_list,
2792         gst_check_element_push_buffer
2793         API: gst_check_drop_buffers
2794         API: gst_check_caps_equal
2795         API: gst_check_element_push_buffer_list
2796         API: gst_check_element_push_buffer
2797
2798 2008-02-01  Julien Moutte  <julien@fluendo.com>
2799
2800         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
2801         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
2802         (gst_index_finalize), (gst_index_entry_free),
2803         (gst_index_add_association): Fix memory leaks.
2804         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
2805         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
2806         (gst_mem_index_free_format), (gst_mem_index_free_id),
2807         (gst_mem_index_finalize): Fix memory leaks.
2808         * win32/common/config.h: Updated to CVS HEAD.
2809
2810 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
2811
2812         * docs/README:
2813           Some more details about how the plugin docs works.
2814
2815         * docs/plugins/gstreamer-plugins-sections.txt:
2816           Whitespace cleanup.
2817
2818 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
2819
2820         * gst/parse/grammar.tab.pre.c:
2821         * gst/parse/grammar.tab.pre.h:
2822         * gst/parse/grammar.y:
2823         * gst/parse/lex._gst_parse_yy.pre.c:
2824           Add delayed set-property. This allows to set properties on dynamicaly
2825           created objects (pads in videomxer). Fixes #509391.
2826
2827 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2828
2829         * gst/gstutils.c:
2830         Check if caps are not NULL (fix bug #510194)
2831
2832 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2833
2834         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
2835         (gst_base_sink_get_position_paused):
2836         Add fixme regarding EOS in pull mode.
2837         Fix position reporting in PAUSED for negative rates.
2838
2839 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2840
2841         * gst/gstminiobject.c: (gst_mini_object_replace):
2842         When replacing a miniobject, do a quick equality check first so that we
2843         can avoid a ref/unref pair.
2844
2845 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2846
2847         * docs/design/part-synchronisation.txt:
2848         Update some docs.
2849
2850         * docs/plugins/Makefile.am:
2851         * docs/plugins/gstreamer-plugins-docs.sgml:
2852         * docs/plugins/gstreamer-plugins-sections.txt:
2853         * plugins/elements/gstmultiqueue.c:
2854         Add multiqueue to the docs.
2855
2856 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2857
2858         * configure.ac:
2859           Back to CVS
2860
2861 === release 0.10.17 ===
2862
2863 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
2864
2865         * configure.ac:
2866           releasing 0.10.17, "Due Negligence"
2867
2868 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2869
2870         * gst/gstutils.c:
2871         Revert caps != NULL check temporarily for 0.10.17 release.
2872
2873 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
2874
2875         * gst/gstutils.c:
2876         Check if caps are not NULL (fix bug #510194)
2877
2878 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2879
2880         * gst/gstutils.c:
2881         Fix compilation on systems that have posix timers but no
2882         monotonic clock.
2883         Fixes: #512715
2884         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
2885         dot net>
2886
2887 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2888
2889         * tools/gst-inspect.c:
2890         Revert previous commit in preparation for an impromptu 0.10.17 release
2891
2892 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
2893
2894         * tools/gst-inspect.c: (print_interfaces),
2895         (print_element_properties_info), (print_pad_info),
2896         (print_signal_info), (print_element_info):
2897         Fix a few memory leaks.
2898
2899 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
2900
2901         * configure.ac:
2902         Back to CVS
2903
2904 === release 0.10.16 ===
2905
2906 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
2907
2908         * configure.ac:
2909           releasing 0.10.16, "Special Dispensation"
2910
2911 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
2912
2913         * configure.ac:
2914           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
2915           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
2916           not fail when trying to crosscompile on OpenEmbedded (#511750).
2917
2918 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
2919
2920         * docs/manuals.mak:
2921         Use $(MAKE) instead of make to fix the build if GNU make is
2922         called different. Fixes bug #510747.
2923
2924 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
2925
2926         * gst/gstplugin.c: (_gst_plugin_initialize):
2927           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
2928           again, which I broke two commits ago when changing the API
2929           of gst_plugin_register_static(): the g_list_foreach() in
2930           _gst_plugin_register_static still assumed the old function
2931           signature and would therefore fail (re-fixes #510187).
2932
2933         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
2934           (_gst_plugin_register_static), (gst_plugin_register_static):
2935           Revert the (technically correct) change to call g_thread_init() from
2936           the pre-main() constructor. This will break programs which call
2937           g_thread_init() without an if (!g_thread_supported()) guard in their
2938           main function. We could just blame it on GLib or the application, but
2939           it's probably best to just avoid this altogether and simply not use
2940           any GLib functions here and use plain old malloc() with a simple
2941           array to store the plugins to register later when gst_init() is
2942           finally called (re-fixes #510187).
2943
2944         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
2945           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
2946           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
2947           (GST_START_TEST), (gst_plugin_suite):
2948           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
2949           works.
2950
2951 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
2952
2953         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2954           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
2955           This makes gtk-doc complain, but results in slightly better
2956           compiler errors. The old _gst_plugin_register_static() is
2957           still guarded, so there'll be a compiler warning about that
2958           instead. Fixes #510187 too.
2959
2960 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
2961
2962         * gst/gst.c: (init_post):
2963         * gst/gstplugin.c: (_gst_plugin_register_static),
2964           (gst_plugin_register_static), (_gst_plugin_initialize):
2965         * gst/gstplugin.h: (GstPluginFilter):
2966           Change API of gst_plugin_register_static() to not take
2967           a GstPluginDesc, but rather just take all the arguments
2968           in a GstPluginDesc directly. This is more intuitive and
2969           avoids certain mistakes when porting code from
2970           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
2971           Fixes #510187.
2972
2973         * tests/check/gst/gstplugin.c:
2974           Fix up for changed API.
2975
2976 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2977
2978         * docs/faq/legal.xml:
2979           Update FAQ, Totem actually has an exception these days.
2980
2981 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
2982
2983         * win32/common/libgstreamer.def:
2984         Add new API declarations
2985
2986 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
2987
2988         * gst/gstminiobject.c:
2989           Spelling fixes for the API docs.
2990
2991 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
2992
2993         * libs/gst/base/gstbasetransform.c:
2994           Fix long property description for QoS.
2995
2996 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
2997
2998         * gst/gst.c:
2999         _gst_trace_on is already provided by gsttrace.h, no need to declare
3000         it ourselves.
3001
3002         * docs/libs/gstreamer-libs-sections.txt:
3003         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
3004         and remove strange tcase_add_test which is outputting a warning.
3005
3006         * libs/gst/check/gstcheck.c:
3007         * libs/gst/check/gstcheck.h:
3008         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
3009         and define them in gstcheck.c instead of having every .c file whcih
3010         includes gstcheck.h be defining its own copy and relying on symbol
3011         interposing to marry them all, which doesn't work on Solaris.
3012
3013         * tests/check/elements/identity.c: (GST_START_TEST):
3014         Don't define 'buffers' locally, it comes from libgstcheck.
3015
3016         * tests/check/generic/sinks.c: (send_buffer):
3017         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
3018
3019         * tests/check/gst/gststructure.c: (GST_START_TEST):
3020         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
3021         * tests/check/gst/gstutils.c: (GST_START_TEST):
3022         * tests/check/gst/gstvalue.c: (GST_START_TEST):
3023         Add a bunch of casts to make various constants fit the types
3024         they're being assigned to.
3025
3026 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
3027
3028         * gst/gstchildproxy.c:
3029           Improve docs and add some ideas for making this more general-purpose.
3030
3031 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
3032
3033         * gst/gst_private.h: (GST_CAT_TYPES):
3034           Add GST_CAT_TYPES, for consistency, and so that the other
3035           debug categories don't make fun of it. Spotted by Saur on IRC.
3036
3037 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
3038
3039         * gst/parse/Makefile.am:
3040           Move types.h from EXTRA_DIST to noinst_HEADERS.
3041
3042 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
3043
3044         * autogen.sh:
3045           Add -Wno-portability to the automake parameters to stop warnings
3046           about GNU make extensions being used. We require GNU make in almost
3047           every Makefile anyway.
3048
3049         * configure.ac:
3050           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
3051           at the same time is required for per target flags.
3052
3053 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3054
3055         * gst/gstmacros.h:
3056           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
3057           __GNUC__ is defined before using it.
3058
3059 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3060
3061         * docs/gst/gstreamer-sections.txt:
3062         * gst/gst.c: (init_post):
3063         * gst/gstplugin.c: (_gst_plugin_register_static),
3064           (gst_plugin_register_static), (_gst_plugin_initialize),
3065           (gst_plugin_register_func):
3066         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3067           API: add gst_plugin_register_static() and deprecate
3068           GST_PLUGIN_DEFINE_STATIC, since it's not portable
3069           (#498924).
3070           Also, in _gst_plugin_register_static(), make sure to call
3071           g_thread_init() before calling GLib functions such as
3072           g_list_append() if we're not initialised yet, since that
3073           may lead to random crashes with older GSlice/GLib versions.
3074
3075         * tests/check/gst/gstplugin.c:
3076           Adapt unit test to above changes.
3077
3078 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3079
3080         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
3081         * gst/gstcaps.c: (gst_caps_to_string):
3082         * gst/gststructure.c: (GST_ASCII_IS_STRING),
3083           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
3084           Yet another gratuitous GString micro-optimisation: add a (private)
3085           function that serialises a structure appending to an existing
3086           GString, so that when we serialise caps we don't need to alloc+free
3087           a throwaway GString for each structure (each of which also entailing
3088           multiple reallocs on the way); also use g_string_sized_new() in
3089           various places with an approximate string length to avoid reallocs
3090           within GString. See #500143.
3091
3092 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3093
3094         * gst/gststructure.c: (gst_structure_id_set_value):
3095           Always check UTF-8 conformance of structure strings and not only
3096           if the debugging system is enabled; reasoning: the behaviour of
3097           the actual code shouldn't really change depending on whether the
3098           debugging system is enabled or not (#508291).
3099
3100 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
3101
3102         * Makefile.am:
3103           Remove old coverage target in favour of "make lcov".
3104
3105 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3106
3107         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3108         (gst_base_src_loop):
3109         The start segment for reverse playback goes from start to last_stop.
3110
3111 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3112
3113         Patch by: Peter Kjellerstedt <pkj axis com>
3114
3115         * gst/gstclock.h:
3116         Cast the results from the timeval/spec_to_time macros to what the
3117         docs say it casts to, a GstClockTime. fixes #508175.
3118
3119 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3120
3121         * gst/gstbuffer.c:
3122         Update some comments.
3123
3124         * tools/gst-inspect.c: (print_element_properties_info):
3125         Improve printing of flags.
3126
3127 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
3128
3129         * libs/gst/base/gstbasetransform.c:
3130           (gst_base_transform_transform_size):
3131           Print element name with g_warning() if there's a problem
3132           with the unit size.
3133
3134 2008-01-07  David Schleef  <ds@schleef.org>
3135
3136         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
3137
3138         * libs/gst/controller/gstcontroller.h:
3139         * libs/gst/controller/gstcontrolsource.h:
3140         * libs/gst/controller/gstinterpolationcontrolsource.h:
3141         * libs/gst/controller/gstlfocontrolsource.h:
3142         * libs/gst/dataprotocol/dataprotocol.h:
3143           Fix empty prototypes.  Fixes bug #507957.
3144
3145 2008-01-07  David Schleef  <ds@schleef.org>
3146
3147         * docs/faq/dependencies.xml: Fix typo.
3148
3149 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3150
3151         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
3152         (gst_base_src_loop):
3153         Don't update the last_stop position in do_seek, that's the position we
3154         did a seek to.
3155         Read backwards when we have a negative rate.
3156
3157         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
3158         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
3159         (filesrc_suite):
3160         Add check for reverse reading.
3161
3162 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
3163
3164         Patch by: Alexis Ballier <aballier at gentoo org>
3165
3166         * tests/check/gst/gstabi.c:
3167         * tests/check/gst/struct_ppc64.h:
3168         * tests/check/libs/libsabi.c:
3169         * tests/check/libs/struct_ppc64.h:
3170           Decide which header to include based on the userland ABI target
3171           and not the kernel/cpu. Fix up structure sizes of ppc64 header
3172           for 64-bit userland (#503590).  Might need something similar for
3173           x86 too.
3174
3175 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3176
3177         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
3178           Log the reason why fopen fails in addition to the fact that it failed.
3179           
3180 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
3181
3182         * gst/parse/parse.l:
3183         Use "%option never-interactive" to prevent useless calls to isatty()
3184         on every input when parsing. Also use "%option noinput" to not define
3185         the static input/yyinput functions which we don't use anyway. This
3186         removes a compiler warning with gcc 4.3 and saves some bytes in the
3187         library.
3188         
3189         * gst/parse/lex._gst_parse_yy.pre.c:
3190         Regenerated for the above change.
3191
3192 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3193
3194         * gst/gstpad.c: (fixate_value):
3195         Don't crash when trying to fixate and empty list.
3196         Fixes #506643.
3197
3198 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
3199
3200         * docs/faq/gst-uninstalled:
3201         Clarify the comments to make the usage of this script and what it
3202         does easier to understand.
3203
3204 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
3205
3206         * tools/gst-plot-timeline.py:
3207         Add more options to gst-plot-timeline
3208
3209 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
3210
3211         * docs/design/part-synchronisation.txt:
3212         Some more info on how the stream_time in GstBaseSink is done.
3213
3214 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
3215
3216         * tests/check/generic/sinks.c: (gst_sinks_suite):
3217           Put back the tcase_set_timeout(), apparently it's needed after
3218           all; fix it up in a way that makes things work with valgrind too.
3219
3220 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
3221
3222         * gst/gstdebugutils.c:
3223           Add warning when failed to open file for writing.
3224
3225 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3226
3227         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
3228
3229         * gst/gstvalue.c: (gst_value_is_fixed):
3230           Optimisation: bail out of the loop as early as possible (#500143).
3231
3232 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3233
3234         * gst/gstcaps.c: (gst_caps_to_string):
3235         * gst/gstinfo.c: (gst_debug_construct_term_color):
3236         * gst/gstparse.c: (gst_parse_launchv):
3237         * gst/gstutils.c: (gst_util_dump_mem):
3238         * gst/gstvalue.c: (gst_value_serialize_any_list),
3239           (gst_value_transform_any_list_string):
3240           Bunch of gratuitous nano-optimisations.
3241
3242 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3243
3244         * tests/check/generic/sinks.c: (async_done_func),
3245           (async_done_eos_func):
3246           Fix leak in unit test (bus sync handler must unref the message
3247           if it returns GST_BUS_DROP). Don't fiddle with the default test
3248           timeout, this is smaller than the current preconfigured value
3249           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
3250           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
3251
3252 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3253
3254         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3255
3256         * configure.ac:
3257         Check for stdio_ext.h for the filesink changes.
3258
3259         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
3260         (gst_file_sink_class_init), (gst_file_sink_init),
3261         (gst_file_sink_dispose), (gst_file_sink_set_property),
3262         (gst_file_sink_get_property), (gst_file_sink_open_file),
3263         (gst_file_sink_close_file):
3264         * plugins/elements/gstfilesink.h:
3265         Add two properties to control the buffering mode and size.
3266         API: GstFileSink::buffer-mode
3267         API: GstFileSink::buffer-size
3268         Fixes #500150.
3269
3270 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3271
3272         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
3273         Add some more docs to explain why a FIXME was wrongly added. 
3274
3275 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
3276
3277         * gst/gstobject.c:
3278           Fix typo in the gst_object_{ref,unref} documentation.
3279
3280 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
3281
3282         * tests/check/libs/controller.c:
3283         * tests/check/libs/typefindhelper.c:
3284         * tests/check/pipelines/parse-launch.c:
3285           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
3286           going to be deprecated (see #498924).
3287
3288 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
3289
3290         * gst/gsttypefind.c: (gst_type_find_register):
3291           Make gst_type_find_register work for static typefind functions,
3292           ie. allow passing plugin == NULL (prerequisite for #498924).
3293
3294         * gst/gstelementfactory.c: (gst_element_register):
3295           Small docs addition.
3296
3297 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3298
3299         * gst/gstpad.c: (gst_pad_dispose):
3300         Really unlink the peer pad instead of setting the peer pointer to NULL
3301         when we dispose the pad.
3302         This correctly calls the unlink functions and makes sure that the peer
3303         does not have a handle to invalid memory. See #504671.
3304
3305         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3306         Add testsuite for above case.
3307
3308 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
3309
3310         Patch by: Peter Kjellerstedt <pkj axis com>
3311
3312         * libs/gst/check/gstcheck.h:
3313           Fix detection of the check version we're compiling against (would
3314           otherwise break if check goes v0.10.0); correctly report the
3315           name of the failed test again in case of failure, instead of
3316           just 'tf' (fixes #504499).
3317
3318 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3319
3320         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3321         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3322         (gst_base_src_loop), (gst_base_src_set_flushing),
3323         (gst_base_src_change_state):
3324         Allow sending EOS to the source to make it send out an EOS event from
3325         the streaming thread.
3326         Update docs and deprecate the old NULL/READY shutdown method.
3327
3328         * tests/check/libs/basesrc.c: (GST_START_TEST),
3329         (gst_basesrc_suite):
3330         Add unit test for controlled shutdown.
3331
3332 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3333
3334         * docs/design/part-synchronisation.txt:
3335         Small updates.
3336
3337         * gst/gstsegment.c: (gst_segment_set_seek),
3338         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3339         (gst_segment_to_running_time):
3340         The seek format can be different from the segment format when the start
3341         and stop values are not to be updated, when we only do a rate change for
3342         example.
3343
3344         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3345         (gst_segment_suite):
3346         Add a testcase for the rate-only seeks, checking that the format is
3347         correctly ignored when start and stop are not updated.
3348
3349 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
3350
3351         Patch by: Matthias Bolte <photon at mail dot upb dot de>
3352
3353         * win32/vs8/grammar.vcproj:
3354         * win32/vs8/libgstcontroller.vcproj:
3355         * win32/vs8/libgstreamer.vcproj:
3356         Fix compilation with VS8 and include some missing files.
3357
3358 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
3359
3360         * gst/gsttaglist.c:
3361           Small docs addition: mention that the strings returned by
3362           gst_tag_list_get_string*() are in UTF-8 encoding.
3363
3364 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
3365
3366         * Makefile.am:
3367           The check-exports stuff moved to common/win32.mak, so include that.
3368
3369 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3370
3371         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3372         (gst_base_src_perform_seek), (gst_base_src_get_range),
3373         (gst_base_src_set_playing), (gst_base_src_change_state):
3374         Make _wait_playing() not check any variables so that we can call this
3375         function from subclasses. Move the checks elsewhere similar to
3376         _wait_preroll() in basesink.
3377         Add some debugging.
3378         Only signal the LIVE cond when we are going back to PLAYING.
3379
3380 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
3381
3382         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3383           Use g_remove() and g_rename(). Check result of g_rename(), and
3384           don't leak the open file descriptor if we error out when writing.
3385
3386         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3387           Must check the return value of close() after writing out the new
3388           registry file.  Sometimes write problems such as out-of-diskspace
3389           are only reported when the file is closed and not already during
3390           the write.  This may have caused partial/broken registry files in
3391           some rare circumstances. Should fix #503675.
3392
3393 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
3394
3395         * docs/gst/.cvsignore:
3396         * docs/libs/.cvsignore:
3397         * docs/plugins/.cvsignore:
3398         Ignore files generated by new common/* modifications
3399
3400 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3401
3402         * win32/common/libgstbase.def:
3403           Yes, you can also have a <TAB> if you want.
3404
3405 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3406
3407         * win32/common/libgstbase.def:
3408           Add new basetransform API to win export file.
3409
3410 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3411
3412         * tests/check/gst/gstbin.c:
3413           Adjust the test to the refcount change two days ago.
3414
3415 2007-12-14  David Schleef  <ds@schleef.org>
3416
3417         * docs/faq/getting.xml: Fix typo.
3418
3419 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
3420
3421         * docs/libs/gstreamer-libs-sections.txt:
3422         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3423           (gst_base_transform_prepare_output_buffer),
3424           (gst_base_transform_set_gap_aware):
3425         * libs/gst/base/gstbasetransform.h:
3426           API: Add gst_base_transform_set_gap_aware() to control whether
3427           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3428           get buffers with this flag at all. Fixes #503231.
3429
3430 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
3431
3432         * libs/gst/base/gstbasesink.c:
3433         * libs/gst/base/gstbasesrc.c:
3434         * libs/gst/base/gstbasetransform.c:
3435           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3436           thread. Correct log message in gstbasesrc.c.
3437
3438 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3439
3440         * gst/gstutils.c: (element_find_unconnected_pad):
3441           Fix possible compiler warning (#503417).
3442
3443 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3444
3445         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3446           Don't use GST_CAT_EVENT here for logging, it makes no sense.
3447
3448 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
3449
3450         * tools/gst-inspect.c: (print_element_properties_info):
3451           Add support for GstFraction properties.
3452
3453 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
3454
3455         * Makefile.am:
3456           Add check-exports target and run it as part of 'make check'
3457           (see #499140 and #493983).
3458
3459         * gst/gst_private.h:
3460         * gst/gstelementfactory.h:
3461         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3462         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3463           (_priv_gst_in_valgrind):
3464         * gst/gstinfo.h: (GstLogFunction):
3465         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3466           (gst_type_find_register):
3467         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3468           (gst_type_find_factory_get_type):
3469         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3470           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3471           (gst_controller_new_valist), (gst_controller_new_list),
3472           (_gst_controller_dispose), (_gst_controller_class_init):
3473         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3474         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3475           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3476           (gst_object_get_controller), (gst_object_set_controller),
3477           (gst_object_suggest_next_sync), (gst_object_sync_values),
3478           (gst_object_set_control_source), (gst_object_get_control_source),
3479           (gst_object_get_value_arrays), (gst_object_get_value_array),
3480           (gst_object_get_control_rate), (gst_object_set_control_rate):
3481         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3482         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3483           Make some functions that should be static static; rename some
3484           private symbols so that they don't get exported; add some FIXME
3485           comments so we can move accidentally exported functions into
3486           our private section in 0.11.
3487
3488         * win32/common/libgstreamer.def:
3489           Add gst_utils_get_timestamp().
3490
3491 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3492
3493         * gst/gstvalue.c:
3494         * gst/gstvalue.h:
3495           Add more missing "Since:" tags to docs.
3496
3497 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3498
3499         * gst/gstutils.c:
3500           Add mising "Since:" to docs.
3501
3502 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3503
3504         * gst/gstplugin.c:
3505           Include "glib-compat-private.h" to fix the build on system with
3506           glib < 2.10. Fixes #503131.
3507
3508 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3509
3510         * gst/gstutils.c:
3511         * gst/gstutils.h:
3512           Actually its not PURE as it gets the time from elsewhere.
3513
3514 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3515
3516         * docs/gst/gstreamer-sections.txt:
3517         * gst/gstclock.h:
3518         * gst/gstdebugutils.c:
3519         * gst/gstinfo.c:
3520         * gst/gstutils.c:
3521         * gst/gstutils.h:
3522         * libs/gst/base/gstbasesink.c:
3523         * tools/gst-launch.c:
3524           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3525           uses as we don't have HAVE_POSIX_TIMERS in public headers.
3526           Thanks Tim for spotting.
3527           API: gst_util_get_timestamp
3528
3529 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
3530
3531         * configure.ac:
3532           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3533
3534 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
3535
3536         * gst/gststructure.c: (gst_structure_validate_name),
3537           (gst_structure_new_valist), (gst_structure_parse_value),
3538           (gst_structure_from_string):
3539           Don't crash in _from_string() if the structure name is not valid
3540           (fixes #501560).  Allow structure names to start with a number
3541           again (this apparently broke the ubuntu codec installer).
3542
3543         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3544           (GST_START_TEST):
3545           Add unit test for the crash; update unit tests for new behaviour.
3546
3547 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
3548
3549         * gst/gstutils.c:
3550         Clarify gst_element_get_compatible_pad() documentation.
3551         Fixes #500919.
3552
3553 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
3554
3555         * tests/check/Makefile.am:
3556           Don't forget to dist {gst,libs}/struct_hppa.h.
3557
3558 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3559
3560         * libs/gst/base/gstbasesink.c:
3561           Use new API to get elapsed time.
3562
3563 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3564
3565         * gst/gstdebugutils.c:
3566         * gst/gstinfo.c:
3567           Fix wrong order of args in GST_CLOCK_DIFF() usage.
3568
3569         * tools/gst-launch.c:
3570           Use new API to get elapsed time.
3571
3572 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3573
3574         * docs/gst/gstreamer-sections.txt:
3575         * gst/gstclock.h:
3576         * gst/gstdebugutils.c:
3577         * gst/gstinfo.c:
3578           Rename new API + ChangeLog surgery to remove old name from last entry..
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           Now hide the different clock stuff behind a macro.
3587
3588 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3589
3590         * configure.ac:
3591         * gst/gstdebugutils.c:
3592         * gst/gstinfo.c:
3593           Apply the posix-timer check from #361155. Conditionally use the posix
3594           timer for logging. This gives better timestamp precission, less
3595           overhead and no ntp jitter.
3596
3597 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
3598
3599         * gst/gstminiobject.c: (gst_mini_object_get_type),
3600         (gst_mini_object_class_init), (gst_mini_object_copy_default),
3601         (gst_mini_object_finalize), (gst_mini_object_copy),
3602         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
3603         (gst_mini_object_replace), (param_mini_object_validate),
3604         (gst_param_spec_mini_object_get_type):
3605         Some cleanup and checking against invalid function parameters.
3606
3607 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
3608
3609         * docs/gst/gstreamer-sections.txt:
3610         * gst/gstclock.h:
3611         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3612         (gst_systemclock_suite):
3613         Start merging in the easy bits of #361155, the monotonic clock patch.
3614         This one adds a few handy macros with docs and a testsuite.
3615
3616 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
3617
3618         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
3619         Be a bit smarter when seeking, like, don't try to do a seek when it's
3620         not needed. This avoids errors when the file is not seekable.
3621         Fixes #499771.
3622
3623 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
3624
3625         * docs/gst/gstreamer-docs.sgml:
3626         * docs/gst/gstreamer-sections.txt:
3627         * docs/gst/gstreamer.types.in:
3628         * gst/Makefile.am:
3629         * gst/gst.h:
3630         * gst/gstpreset.c:
3631         * gst/gstpreset.h:
3632         * plugins/elements/gstqueue.c:
3633           Due to popular request remove preset interface again. :-(.
3634
3635 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3636
3637         * tools/gst-inspect.c:
3638           Print 'default value' for enums and flags too.
3639
3640 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3641
3642         * docs/random/ensonic/profiling.txt:
3643           More ideas.
3644
3645         * gst/gstbin.c:
3646           Fix typo and give better log output.
3647
3648         * gst/gstdebugutils.c:
3649         * gst/gstdebugutils.h:
3650           More ideas, make graphs a bit smaller and fix param name in macro.
3651
3652 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3653
3654         * gst/gstpreset.c:
3655           Try harder to use the return value from fgets().
3656
3657 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
3658
3659         * gst/gstpreset.c:
3660           For theses two fgets we handle the error below.
3661
3662 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
3663
3664         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
3665         Only send upstream events upstream. Fixes #498746.
3666
3667 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
3668
3669         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3670
3671         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3672         (gst_identity_init), (gst_identity_transform_ip),
3673         (gst_identity_set_property), (gst_identity_get_property):
3674         * plugins/elements/gstidentity.h:
3675         Add property to disable handoff signal emission. Fixes #498694.
3676         API: GstIdentity::signal-handoffs
3677
3678 2007-11-21  Julien Moutte  <julien@fluendo.com>
3679
3680         * docs/faq/gst-uninstalled: Yet another missing library for the
3681         uninstalled script (fft)
3682
3683 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
3684
3685         * docs/faq/developing.xml:
3686         Add a question about how to submit new translations.
3687
3688         * docs/random/release:
3689         Update the contact email address for the Translation Project
3690
3691         * plugins/elements/gstfdsrc.c:
3692         The parent_class for fdsrc is pushsrc, not GstElement.
3693
3694 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
3695
3696         * gst/gstpreset.c:
3697           Plug a leak and fix saving.
3698
3699 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
3700
3701         * docs/gst/gstreamer-sections.txt:
3702         Add new gst_preset__get_property_names() function to the docs
3703         to fix the build.
3704
3705 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
3706
3707         * gst/gstpreset.c:
3708         * gst/gstpreset.h:
3709           Change _get_preset_names API to return a strv with copies. Add
3710           _get_property_names to allow implementations to filter and provide
3711           good default implementation.
3712
3713 2007-11-20  Julien MOUTTE  <julien@moutte.net>
3714
3715         * docs/faq/gst-uninstalled: Add another library to the uninstalled
3716         script (sdp).
3717
3718 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
3719
3720         * gst/gstpreset.c:
3721           More cleanups, docs, and TODOs from comments that now slowly come in.
3722
3723 2007-11-19  Julien MOUTTE  <julien@moutte.net>
3724
3725         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
3726         search path.
3727
3728 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
3729
3730         * gst/gstpreset.c:
3731           Fix bogus warning and make the property type specific code more
3732           similar.
3733
3734 2007-11-19  Julien MOUTTE  <julien@moutte.net>
3735
3736         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
3737         it build on OS X.
3738
3739 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
3740
3741         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3742         (gst_bin_add_func), (gst_bin_remove_func),
3743         (gst_bin_change_state_func), (gst_bin_continue_func):
3744         Change email, cleanups add some more debug and comments.
3745         Also set bus and clock on new elements when the pipeline was in error.
3746
3747 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
3748
3749         * gst/gstbin.c:
3750         * gst/gstdebugutils.c:
3751           Fix build with --disable-gst-debug. Fixes #497859.
3752           Spotted by Sameer Naik.
3753
3754 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3755
3756         * gst/gstevent.c:
3757           Little documentation improvment.
3758
3759         * gst/gstpreset.c:
3760           More TODO cleanups. Remove c++ comments.
3761
3762         * libs/gst/controller/gstcontroller.c:
3763           Add TODO and use quark from static string.
3764
3765         * tests/check/gst/gstmessage.c:
3766         * tests/check/gst/gststructure.c:
3767           Use quark from static string.
3768
3769 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3770
3771         * gst/gstpreset.c:
3772           Add some comments and TODOs.
3773
3774         * gst/gstpreset.h:
3775           Add padding for future changes.
3776
3777         * plugins/elements/gstqueue.c:
3778           Implement the iface.    
3779
3780 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3781
3782         * docs/gst/gstreamer-docs.sgml:
3783         * docs/gst/gstreamer-sections.txt:
3784         * docs/gst/gstreamer.types.in:
3785         * gst/Makefile.am:
3786         * gst/gst.h:
3787         * gst/gstpreset.c:
3788         * gst/gstpreset.h:
3789           Add the preset interface (Fixes #396779). Do some doc cleanups along.
3790
3791 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
3792
3793         * configure.ac:
3794
3795         Back to CVS
3796
3797 === release 0.10.15 ===
3798
3799 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
3800
3801         * configure.ac:
3802           releasing 0.10.15, "October"
3803
3804 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
3805
3806         * win32/vs6/libgstreamer.dsp:
3807         Convert line endings back to DOS.
3808
3809 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
3810
3811         * docs/design/draft-tagreading.txt:
3812         * docs/random/ensonic/profiling.txt:
3813         Update fast tagreading draft and performance profiling ideas.
3814
3815 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
3816
3817         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
3818         Don't hold the object lock when unreffing a buffer because it could
3819         cause a deadlock when the finalize function wants to grab the object
3820         lock too. Fixes #495133.
3821
3822 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
3823
3824         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
3825         (gst_segment_to_stream_time), (gst_segment_to_running_time):
3826         Also accumulate time correctly when doing reverse playback. Fixes
3827         #488201,
3828         When converting to running and stream time, use default values for
3829         start/stop/time/accum when comparing different formats. Fixes #494245.
3830
3831         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3832         Do running/stream time in TIME format.
3833
3834         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3835         (gst_segment_suite):
3836         2 new unit tests for segment accumulation.
3837
3838 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
3839
3840         * gst/gst.c: (init_pre):
3841         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
3842           (_gst_debug_bin_to_dot_file):
3843           Move getenv() back into gst_init, so everyone can live happily
3844           ever after. Make sure the symbol isn't exported though.
3845
3846 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3847
3848         Patch by: Sebastien Moutte  <sebastien moutte net>
3849
3850         * win32/common/gstenumtypes.c:
3851         * win32/common/gstenumtypes.h:
3852           Update enum types.
3853
3854         * win32/vs6/libgstreamer.dsp:
3855           Update vs6 project files (#494343).
3856
3857 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3858
3859         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
3860         (gst_base_src_perform_seek), (gst_base_src_default_event),
3861         (gst_base_src_set_flushing), (gst_base_src_activate_push),
3862         (gst_base_src_activate_pull):
3863         Unify flushing code, remove some old unlock code that is no longer used.
3864         Take the streaming lock when seeking to avoid races. Fixes #492729.
3865         Added some more comments.
3866
3867 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3868
3869         * gst/gst.c: (_gst_disable_segtrap):
3870           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
3871           we can use gst_segtrap_is_enabled() there now that we have that API.
3872           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
3873           to do the getenv here (and export the variable).
3874
3875         * gst/gstdebugutils.c: (debug_dump_element),
3876           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
3877           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
3878
3879         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
3880           (gst_debug_log_default):
3881           Rename _gst_info_start_time to priv_gst_info_start_time so it
3882           doesn't get exported (was never in any header).
3883
3884         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
3885           (gst_plugin_loading_mutex):
3886           Make static mutex gst_plugin_loading_mutex really static (was never
3887           in any header), and use gst_segtrap_is_enabled() instead of
3888           _gst_disable_segtrap.
3889
3890         * gst/gsttrace.c: (_gst_trace_default):
3891           Make local _gst_trace_default static (was never in any header).
3892
3893 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3894
3895         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
3896
3897         * win32/common/libgstbase.def:
3898         * win32/common/libgstcontroller.def:
3899         * win32/common/libgstdataprotocol.def:
3900         * win32/common/libgstnet.def:
3901         * win32/common/libgstreamer.def:
3902           Add more missing symbols, remove some duplicates, and sort
3903           as the 'sort' command sorts it (partially fixes #493983).
3904
3905 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3906
3907         * gst/gstelement.c: (gst_element_set_state_func):
3908         Only change the state cookie if a different state was set on the
3909         element. See #492729.
3910
3911 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3912
3913         * gst/gstvalue.c:
3914           Remove unused and uninitialised type variables that were still
3915           exported for some reason (they were never in any header files
3916           though).
3917
3918 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3919
3920         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3921         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
3922         (gst_base_sink_event), (gst_base_sink_get_position_last),
3923         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
3924         (gst_base_sink_change_state):
3925         Don't try to report a 0 position when we don't know, return -1 and FALSE
3926         instead. This mostly happens when we are prerolling.
3927         Make sure we can report the right position before we post the ASYNC_DONE
3928         message so that a message handler can query position without races.
3929
3930         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
3931         (async_done_handoff), (async_done_func), (send_buffer),
3932         (async_done_eos_func), (gst_sinks_suite):
3933         Add two tests for the above.
3934
3935 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3936
3937         * MAINTAINERS:
3938         Update with new email address.
3939
3940         * docs/design/part-TODO.txt:
3941         Add some more info about future pad-block and negotiation changes.
3942
3943         * docs/design/part-buffering.txt:
3944         Add some ideas about buffering reporting.
3945
3946 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
3947
3948         * tests/check/gst/gstobject.c:
3949         Disable silly racy test that always fails on this combination of CPU
3950         and kernel.
3951
3952 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3953
3954         Patch by: Murray Cumming  <murrayc@murrayc.com>
3955
3956         * gst/gstobject.c:
3957           Corrected the registration of the parent-set and parent-unset
3958           signals: The parameter is a GstObject, not a GObject (#493134).
3959
3960 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3961
3962         * gst/gst_private.h:
3963         * gst/gstbuffer.h:
3964         * gst/gstevent.h:
3965         * gst/gstformat.h:
3966         * gst/gstmessage.h:
3967         * gst/gstplugin.h:
3968         * gst/gstquery.h:
3969         * gst/gsttaglist.h:
3970         * gst/gstvalue.h:
3971           Move declaration of private _gst_foo_initialize() functions into
3972           our private header file where they should have been all along.
3973
3974 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3975
3976         * docs/plugins/gstreamer-plugins-sections.txt:
3977         * gst/gstdebugutils.h:
3978         * gst/gstxml.h:
3979         * plugins/elements/gstqueue.c:
3980           gtk-doc fixes; trailing-comma-in-enum fix.
3981
3982 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3983
3984         * gst/gst.c: (gst_deinit):
3985           Clean up on deinit (not the external ones though, doesn't seem to be
3986           needed for some reason).
3987
3988 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3989
3990         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
3991           Remove __declspec(dllimport) for MSVC that was copied over into core
3992           from a plugin, obviously without ever having been tested (note the
3993           single underscore in _declspec in the initial commit), and that doesn't
3994           really make sense.  See #492077.
3995
3996 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3997
3998         * gst/gst.c: (init_post):
3999         * gst/gstevent.c: (_gst_event_initialize):
4000         * gst/gstquery.c: (_gst_query_initialize):
4001         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
4002           g_type_class_ref() other types as well, see #349410 and #64764.
4003
4004         * gst/gstbuffer.c: (_gst_buffer_initialize):
4005         * gst/gstmessage.c: (_gst_message_initialize):
4006           Simplify existing g_type_class_ref().
4007
4008 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4009
4010         * gst/gstformat.c: (_gst_format_initialize):
4011           g_type_class_ref() our GstFormat type to make sure we avoid the
4012           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
4013           bug #64764. Should fix intermittent tee unit test failures (#474823).
4014
4015 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4016
4017         * tests/check/elements/tee.c: (test_num_buffers):
4018           Simplify, simplify, simplify - or not.  Rewrite unit test
4019           not to use gst_parse_launch(); allow N sub-streams. Increasing
4020           the number of sub-streams seems to reproduce #474823 more easily.
4021
4022 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
4023
4024         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
4025
4026         * gst/gsttrace.c:
4027         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4028         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4029         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
4030           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
4031           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
4032           so use _pipe() directly (#492077).
4033
4034         * win32/common/dirent.c: (_treaddir):
4035           Add a couple of casts to make it build without warnings with MSVC.
4036
4037         * win32/common/libgstreamer.def:
4038           Add some more symbols that need to be exported.
4039
4040 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
4041
4042         * tests/examples/metadata/read-metadata.c: (message_loop):
4043           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
4044           arriving in a second or third tag message are added to
4045           the tag list as well.
4046
4047 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
4048
4049         * libs/gst/base/gstbasesrc.c:
4050           Its "Since:" and not "@Since:". And remove an superflous cast.
4051
4052 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
4053
4054         * docs/libs/gstreamer-libs-sections.txt:
4055         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4056         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
4057         (gst_base_sink_get_property), (gst_base_sink_render_object),
4058         (gst_base_sink_preroll_object),
4059         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
4060         (gst_base_sink_change_state):
4061         * libs/gst/base/gstbasesink.h:
4062         Add a new last-buffer property that contains the last buffer used in
4063         basesink for preroll or rendering. useful for making snapshots.
4064         API: gst_base_sink_get_last_buffer()
4065         API: GstBaseSink::last-buffer
4066
4067 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
4068
4069         * docs/gst/running.xml:
4070         * gst/gst.c:
4071         * gst/gstdebugutils.c:
4072         * gst/gstdebugutils.h:
4073         * tools/gst-launch.c:
4074           Improve bin graph dumping, by using the envvar to specify a path.
4075           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
4076
4077 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
4078
4079         * plugins/elements/gsttypefindelement.c:
4080           (gst_type_find_element_handle_event),
4081           (gst_type_find_element_activate):
4082           Post special error message if we can't determine the type of a stream
4083           because it's empty.
4084
4085 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
4086
4087         * docs/gst/running.xml:
4088         * gst/gstdebugutils.c:
4089           Document new env-var. Add one log-line after dumpng a graph.
4090
4091 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
4092
4093         * configure.ac:
4094           Ugly hack to put the (recently removed and non-portable, apparently)
4095           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
4096           GNU ld, because without that 'make check' fails miserably on my debian
4097           stable box.  Someone with more knowledge of linker intricacies and
4098           portability issues than me fix this properly please.
4099
4100 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
4101
4102         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
4103         Reset last seen position after flushing so that we don't report the old
4104         position anymore.
4105
4106 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4107
4108         * gst/gstelementfactory.c: (gst_element_register):
4109         * gst/gsturi.h:
4110         Patch from Alessandro Decina adding get_type_full and
4111         get_protocols_full private vfuncs to the URIHandler interface
4112         to allow bindings to support creating URI handlers. 
4113         Partially fixes: #339279
4114         API: GstURIHandlerInterface::get_type_full
4115         API: GstURIHandlerInterface::get_protocols_full
4116
4117 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4118
4119         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
4120         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
4121         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
4122         Make it so that pads are considered linked until a buffer is pushed
4123         and discovered otherwise. This avoids problems with decodebin2 hanging
4124         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
4125         case.
4126
4127         Make sure we lock the multiqueue when updating the max-size properties.
4128         
4129         Fix a crash on Solaris in a debug statement in get_request_pad that
4130         passes a NULL string to GST_DEBUG. 
4131
4132         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
4133         (run_output_order_test):
4134         Fix the test to allow the first buffer on not-linked pads to come out
4135         of sequence while multiqueue discovers that they are not-linked.
4136
4137 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4138
4139         * configure.ac:
4140         * libs/gst/check/Makefile.am:
4141         Use a custom export symbol regex for libgstcheck, as it needs
4142         to export symbols that don't match the standard GStreamer gst_*
4143         pattern, and  --export-dynamic is not portable (only works on 
4144         GNU ld)
4145
4146         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4147         (gst_check_setup_sink_pad):
4148         Make sure to pass a message parameter to the fail_* macros.
4149
4150         * tests/check/gst/gstinfo.c: (GST_START_TEST):
4151         Fix some compiler warnings.
4152
4153 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
4154
4155         * tests/check/gst/gststructure.c: (test_to_string):
4156           Disable test that checks that white spaces are not allowed
4157           in structure names or field names, since we need to
4158           support that for now for backwards compatibility reasons.
4159
4160 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
4161
4162         * docs/gst/gstreamer-sections.txt:
4163         * gst/gsttaglist.c:
4164         * gst/gsttaglist.h:
4165           API: add GST_TAG_ARTIST_SORTNAME
4166           API: add GST_TAG_ALBUM_SORTNAME
4167           API: add GST_TAG_TITLE_SORTNAME
4168           Add tag variants for sorting (#414539).
4169
4170 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
4171
4172         * gst/gststructure.c:
4173           Also allow white space for names so we don't break
4174           backwards compatibility.
4175
4176 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
4177
4178         * docs/design/part-TODO.txt:
4179         * docs/design/part-segments.txt:
4180         * docs/design/part-streams.txt:
4181         Small updates.
4182
4183 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
4184
4185         * docs/gst/gstreamer-sections.txt:
4186          Fixed documentation from my previous commit (added new API add
4187          gst_value_set_structure(), add gst_value_get_structure() and
4188          GST_VALUE_HOLDS_STRUCTURE).
4189
4190 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
4191
4192         * gst/gstdebugutils.c:
4193           Reflow code to fix uninitialized variable warning.
4194
4195 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
4196
4197         * gst/gstcaps.c: (gst_caps_to_string),
4198         (gst_caps_from_string_inplace):
4199         * gst/gststructure.c: (gst_structure_get_abbrs),
4200         (gst_structure_to_string), (gst_structure_from_string):
4201         * gst/gstvalue.c: (gst_value_set_structure),
4202         (gst_value_get_structure), (gst_value_serialize_structure),
4203         (gst_value_deserialize_structure), (_gst_value_initialize):
4204         * gst/gstvalue.h:
4205         * tests/check/gst/gststructure.c: (GST_START_TEST),
4206         (gst_structure_suite):
4207         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4208          Added GstStructure to gst_value_table and its related functions.
4209          Changed gst_structure_to_string to print ';' in the end.
4210          Changed gst_caps_to_string to not print ';' beteween its
4211          fields (structures) anymore and remove the lastes ';' from latest
4212          structure. Now it is possible to have nested structures.
4213          In addition, backward compatibilty is assured by accepting '\0' as
4214          end delimiter. Fixes: #487969.
4215          API: add gst_value_set_structure()
4216          API: add gst_value_get_structure()
4217          API: add GST_VALUE_HOLDS_STRUCTURE
4218
4219 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
4220
4221         * gst/gstbus.c:
4222           When no GSource callback has been set up, tell developer
4223           to use a function that actually exists.
4224
4225 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
4226
4227         * docs/gst/gstreamer-sections.txt:
4228         * gst/Makefile.am:
4229         * gst/gst.c:
4230         * gst/gst.h:
4231         * gst/gstdebugutils.c:
4232         * gst/gstdebugutils.h:
4233         * gst/gstinfo.c:
4234         * gst/gstinfo.h:
4235         * tools/gst-launch.c:
4236           Allow dumping pipelines as dot graphs. Fixes #456573.
4237
4238 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4239
4240         * gst/gststructure.c:
4241           Allow '+' as well, it can be part of media or mime types
4242           such as image/svg+xml.
4243
4244 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4245
4246         * docs/gst/gstreamer-sections.txt:
4247         * gst/gstbus.c:
4248         * gst/gstbus.h:
4249           API: add gst_bus_pop_filtered
4250           API: add gst_bus_timed_pop_filtered
4251           Two new functions for waiting for specific message types on the
4252           bus for a specified amount of time without iterating any main
4253           loops or main contexts.
4254
4255         * tests/check/gst/gstbus.c:
4256           Some tests for the new functions.
4257
4258 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4259
4260         * docs/libs/gstreamer-libs-sections.txt:
4261           Make gtk-doc ignore stuff it should ignore.
4262
4263 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4264
4265         * libs/gst/check/gstcheck.c:
4266         * libs/gst/check/gstcheck.h:
4267           Allow runtime selection of unit tests to run via the GST_CHECKS
4268           environment variable (test case function names, comma-separated).
4269
4270 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
4271
4272         * gst/gststructure.c:
4273         * tests/check/gst/gststructure.c:
4274           Revert serialisation change and constrain structure-names after
4275           consensus on irc. Update api documentation to reflect the change.
4276
4277 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
4278
4279         * gst/gststructure.c:
4280           Improve serialization and fix tests.
4281
4282         * tests/check/gst/gststructure.c:
4283           Add another test that covers why I actually did the previous structure
4284           change.
4285
4286 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
4287
4288         * tools/gst-inspect.c: (print_element_info):
4289         Don't crash when inspecting an element.
4290
4291 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4292
4293         * tests/check/gst/gststructure.c:
4294           Add unit test for escaping of structure name when serialising
4295           and deserialising to/from strings.
4296
4297 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
4298
4299         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4300         (gst_single_queue_new):
4301         * plugins/elements/gstqueue.c: (gst_queue_init),
4302         (gst_queue_push_one):
4303         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
4304         upstream is tricked into thinking it can suggest a format downstream
4305         while downstream does not support that format. The real problem is that
4306         core calls acceptcaps when pushing a buffer with new caps, for which we
4307         do a little workaround by setting the caps on the srcpad ourselves
4308         before pushing the buffer (until this is figured out). Fixes #486758.
4309
4310 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4311
4312         * gst/gststructure.c:
4313         * gst/gstvalue.c:
4314           Add some more comments and debug output. Quote structure name to fix
4315           deserialisation of some strings.
4316
4317 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4318
4319         * gst/gstbuffer.h:
4320           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4321           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4322
4323 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4324
4325         * tools/gst-inspect.c:
4326           Save approx. 400 1 byte allocs when printing. Use API to acces element
4327           details.
4328
4329         * tools/gst-run.c:
4330           Avoid a strdup.
4331
4332         * tools/gst-xmlinspect.c:
4333           Use API to acces element details.
4334
4335 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4336
4337         * gst/gstinfo.c:
4338           Fix some spelling errors.
4339
4340 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
4341
4342         * gst/gstbin.c: (bin_handle_async_done):
4343         Correctly set the next state if all of our async children commited their
4344         state. This makes sure we can actually cancel the state change in
4345         progress. Fixes a regression in Rhythmbox when seeking.
4346
4347 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4348
4349         * gst/gstbin.c:
4350           Don't shadow local variable.
4351
4352         * gst/gstinfo.c:
4353           Don't shadow global function name.
4354
4355 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4356
4357         * gst/gstelementfactory.c:
4358         * gst/gstpluginfeature.c:
4359         * gst/gstpluginfeature.h:
4360         * gst/gstregistrybinary.c:
4361         * gst/gstregistryxml.c:
4362         * gst/gsttypefind.c:
4363           Use already-interned string for the private GstPluginFeature
4364           plugin_name field.
4365
4366 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4367
4368         * docs/libs/gstreamer-libs-sections.txt:
4369           Add new API to docs; fixes the build.
4370
4371 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
4372         
4373         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4374
4375         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4376         (gst_base_sink_event):
4377         * libs/gst/base/gstbasesink.h:
4378         Add function to wait for EOS, subclasses can use this to correctly wait
4379         for devices to drain before performing the EOS logic. Fixes #485343.
4380         API: gst_base_sink_wait_eos()
4381
4382 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4383
4384         * gst/gstplugin.h:
4385           Cast description string constants in GST_PLUGIN_DEFINE macros
4386           to a (gchar*) to make C++ code using these macros compile
4387           without warning with g++-4.2 (see #462737).  Even if slightly
4388           ugly, this seems preferable to putting the description strings
4389           into the GLib quark table or making the structure member a
4390           const gchar * and doing casts in core code that allocs and
4391           frees these strings, or requiring a cast in the C++ code.
4392
4393 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4394
4395         * gst/gstinfo.h:
4396           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4397           to print the entire class/function signature into the log
4398           file for C++ code.  This only affects C++ code, for C code
4399           everything remains the same.
4400
4401 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
4402
4403         * gst/gstbin.c: (remove_from_queue):
4404         Work around a problem with pipelines containing (semi)loops until a
4405         proper, more complicated solution is ready. See #475455.
4406
4407 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4408
4409         * gst/gstplugin.c:
4410         * gst/gstplugin.h:
4411         * gst/gstregistrybinary.c:
4412         * gst/gstregistryxml.c:
4413           Put more strings into the GLib quark table. No need to keep
4414           a hundred-something copies of identical version strings,
4415           license strings, package name strings and package origin
4416           strings around. 
4417
4418 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4419
4420         * docs/manual/advanced-dataaccess.xml:
4421           Don't imply that it's okay to unconditionally change
4422           buffer data or buffer metadata in a pad probe callback,
4423           and a bunch of other comments. Fixes #430031.
4424
4425 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4426
4427         * win32/common/gstenumtypes.c:
4428         * win32/common/gstenumtypes.h:
4429         * win32/common/gstversion.h:
4430           Update generated files.
4431
4432 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4433
4434         * docs/manual/advanced-autoplugging.xml:
4435           Prefix section with broken code with a warning (see #342432).
4436
4437 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4438
4439         * docs/manual/appendix-integration.xml:
4440         * docs/manual/basics-init.xml:
4441           Call g_thread_init() before g_option_context_new() to
4442           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4443
4444 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4445
4446         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4447         (gst_base_sink_queue_object_unlocked),
4448         (gst_base_sink_queue_object), (gst_base_sink_event),
4449         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4450         When we received EOS and are waiting for when to post the EOS message,
4451         our state is prerolled and we should not return ASYNC.
4452         Reorganize some code paths to implement this behavior.
4453
4454         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4455         (gst_sinks_suite):
4456         Add unit test to verify above EOS fix.
4457
4458 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4459
4460         * plugins/elements/gsttypefindelement.c:
4461         (gst_type_find_element_have_type), (gst_type_find_element_init),
4462         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4463         Move detecting the input caps of the sinkpad to the setcaps function.
4464         This allows us to update the output caps when we receive new input caps
4465         instead of always using the first detected caps.
4466
4467 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4468
4469         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4470         (gst_base_sink_get_position):
4471         Don't try to preroll non-async elements after a flush.
4472         Subtract latency form clock times when reporting position.
4473
4474 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4475
4476         * gst/gstpad.c: (gst_pad_pause_task):
4477         * gst/gstutils.c:
4478         Small comment and documentation update.
4479
4480 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4481
4482         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4483         (gst_base_src_set_live), (gst_base_src_is_live),
4484         (gst_base_src_query_latency), (gst_base_src_perform_seek),
4485         (gst_base_src_default_event), (gst_base_src_wait),
4486         (gst_base_src_do_sync), (gst_base_src_get_range),
4487         (gst_base_src_pad_get_range), (gst_base_src_loop),
4488         (gst_base_src_unlock), (gst_base_src_unlock_stop),
4489         (gst_base_src_set_flushing), (gst_base_src_set_playing),
4490         (gst_base_src_activate_push), (gst_base_src_activate_pull),
4491         (gst_base_src_change_state):
4492         Rework the locking of basesrc in a similar fashion to basesink. We
4493         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4494         us to handle live sources and semi live ones much better.
4495         Simplify flushing.
4496         Fix unlocking when seeking, shutting down and pausing in live sources.
4497
4498 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4499
4500         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4501         Fix compilation again.
4502
4503 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4504
4505         * gst/gstelement.c:
4506           Use meaningful categories for the logs to clean the default one.
4507
4508 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4509
4510         * tests/check/pipelines/cleanup.c:
4511           Print message name and not just number.
4512
4513 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4514
4515         * docs/design/draft-tagreading.txt:
4516           Add some more thoughts.
4517
4518 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4519
4520         * tests/check/pipelines/simple-launch-lines.c:
4521           Print message name and not just number.
4522
4523 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4524
4525         * libs/gst/base/gsttypefindhelper.c:
4526           Speedup typefinding. This is work in progress (see #459862).
4527
4528 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4529
4530         * gst/gstplugin.c:
4531           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4532           Spotted by Josep Torra Valles <josep@fluendo.com>.
4533
4534 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
4535
4536         * gst/gstclock.h:
4537           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4538           field has moved to GstObject.
4539
4540 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
4541
4542         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4543         (gst_base_src_get_range), (gst_base_src_change_state):
4544         Call unlock for live sources so that they can't get stuck in _create and
4545         produce a buffer before they are set back to PLAYING.
4546
4547 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
4548
4549         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4550         (gst_queue_locked_dequeue):
4551         Comment the segment-related code... in the PROPER function.
4552         See #482147 and my commit from yesterday.
4553
4554 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
4555
4556         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4557         Also initialize the counter that calculates the first timestamp on a
4558         buffer correctly for non-live sources.
4559
4560 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
4561
4562         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4563         Disable code that's breaking the current-time-level reporting.
4564         See #482147
4565
4566 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
4567
4568         * docs/gst/gstreamer-sections.txt:
4569         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
4570         as they shouldn't show up. Fixes the docs build.
4571
4572 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
4573         
4574         * gst/gstinfo.h:
4575         Add an explicit variable importation needed on VS6 (only for MSC_VER)
4576         Define M_PI which is used in files which are including gstinfo.h. 
4577         VS6 includes doesn't define it.
4578         * win32/common/libgstbase.def:
4579         * win32/common/libgstcontroller.def:
4580         * win32/common/libgstreamer.def:
4581         Add new exported functions and variables.
4582         * win32/vs6/libgstcontroller.dsp:
4583         * win32/vs6/libgstreamer.dsp:
4584         Update the list of files to build.
4585         
4586 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
4587
4588         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4589
4590         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
4591         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
4592         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
4593         Improve debugging. Fixes #480858.
4594
4595 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
4596
4597         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4598
4599         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4600         First patch of code cleanups, use the macros and right arguments in the
4601         macros to signal and lock the queue. See #480858.
4602
4603 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
4604
4605         * gst/gstbus.c: (poll_func):
4606         Improve debugging when dealing with _poll().
4607
4608 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
4609
4610         * gst/gstregistryxml.c:
4611           Fix memory leak I introduced a few days ago.
4612
4613 2007-09-26  Michael Smith <msmith@fluendo.com>
4614
4615         * gst/gstbuffer.c: (gst_buffer_finalize):
4616           Make it once again possible to free GstBuffers in the default
4617           build.
4618           The poisoning scribbles on parts of the miniobject we need in
4619           order to free it.
4620           Fixes #480341
4621
4622 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
4623
4624         * docs/gst/gstreamer-sections.txt:
4625         * gst/gsttaglist.c:
4626         * gst/gsttaglist.h:
4627         API: add GST_TAG_COMPOSER, fixes #459809.
4628
4629 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
4630
4631         * gst/gstplugin.c:
4632         * gst/gstplugin.h:
4633         Add the 3-clause BSD license and the MIT/X11 license to the license
4634         list. Fixes #479784.
4635
4636 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
4637
4638         * docs/faq/getting.xml:
4639           Add Q+A about different GStreamer versions (#364056).
4640
4641 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4642
4643         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4644         (gst_base_sink_event), (gst_base_sink_change_state):
4645         Return correct gboolean from query function.
4646
4647 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4648
4649         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4650         (gst_base_sink_event), (gst_base_sink_query),
4651         (gst_base_sink_change_state):
4652         Simplify latency query.
4653         When not synchronizing, we can report latency without querying the peer
4654         element.
4655
4656 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4657
4658         * gst/gstobject.h:
4659         * gst/gstvalue.c:
4660         Fix small typos in the docs.
4661
4662 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4663
4664         * docs/design/draft-latency.txt:
4665         * docs/design/draft-push-pull.txt:
4666         * docs/design/draft-tagreading.txt:
4667         * docs/design/part-MT-refcounting.txt:
4668         * docs/design/part-activation.txt:
4669         * docs/design/part-block.txt:
4670         * docs/design/part-element-source.txt:
4671         * docs/design/part-events.txt:
4672         * docs/design/part-gstbin.txt:
4673         * docs/design/part-gstelement.txt:
4674         * docs/design/part-gstobject.txt:
4675         * docs/design/part-gstpipeline.txt:
4676         * docs/design/part-messages.txt:
4677         * docs/design/part-preroll.txt:
4678         * docs/design/part-push-pull.txt:
4679         * docs/design/part-qos.txt:
4680         * docs/design/part-query.txt:
4681         * docs/design/part-scheduling.txt:
4682         * docs/design/part-seeking.txt:
4683         * docs/design/part-segments.txt:
4684         * docs/design/part-states.txt:
4685         Documentation updates and typo fixes.
4686
4687 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4688
4689         * plugins/elements/gstfakesink.c:
4690           Add some debug text to error message to indicate that
4691           we errored out on request.
4692
4693         * tools/gst-launch.c:
4694           When the state change to PLAYING fails, check for an
4695           error message on the bus and print it.
4696
4697 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
4698
4699         translated by: Jorge González González <aloriel@gmail.com>
4700
4701         * po/LINGUAS:
4702         * po/es.po:
4703           Added Spanish translation.
4704
4705 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
4706
4707         * plugins/elements/gstqueue.c: (gst_queue_push_one):
4708         Fix printf arguments.
4709
4710 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
4711
4712         * tests/check/generic/states.c:
4713           Improved state change unit test.
4714
4715 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
4716
4717         * gst/gstbin.h:
4718           Move priv to the right place.
4719
4720         * gst/gstsystemclock.c:
4721           Add FIXME: and improve log.
4722
4723         * tests/check/Makefile.am:
4724         * tests/examples/manual/Makefile.am:
4725           Work with all types of registries.
4726
4727 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
4728
4729         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4730         Don't unref the event after pushing it. Fixes #478401.
4731
4732 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
4733
4734         * .cvsignore:
4735         * tests/examples/manual/.cvsignore:
4736           Ignore registries in any format.
4737
4738 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
4739
4740         * gst/glib-compat-private.h:
4741           Add compatibility macro for g_intern_string() for
4742           GLib-2.8 (any reason we can't just bump the
4743           requirement to at least 2.10?)
4744
4745         * gst/gstpadtemplate.h:
4746         * gst/gstelementfactory.c:
4747         * gst/gstregistryxml.c:
4748         * gst/gstregistrybinary.c:
4749           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
4750           up the internal code accordingly.  This shouldn't be a problem, since
4751           there is no reason external code could ever assume the string in such
4752           a structure is dynamically allocated unless it did that itself;  the
4753           use of g_strdup() is private to element factories.  The new code also
4754           saves some memory by putting pad template name strings into the GLib
4755           quark table instead of allocating them dynamically.
4756           Declaring this field constant fixes warnings with g++-4.2 when using
4757           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
4758
4759 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
4760
4761         * gst/gstelementfactory.c:
4762           Release static caps. Fixes #475723.
4763
4764 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
4765
4766         * gst/gstinfo.c:
4767         * gst/gstinfo.h:
4768           Make some internal API take const gchar * instead of just
4769           gchar * to avoid compiler warnings with g++-4.2.2 when
4770           passing string constants (partially fixes #478092).
4771
4772 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
4773
4774         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
4775         A latency query fails when one of the sinks fail.
4776
4777         * gst/gstelement.c: (gst_element_set_base_time):
4778         Improve debugging.
4779
4780 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
4781
4782         * gst/gstbin.c: (gst_bin_continue_func):
4783         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4784         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
4785         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
4786
4787         Fix minor compilation warnings shown with Forte.
4788
4789 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
4790
4791         * plugins/elements/gstqueue.c: (apply_buffer),
4792         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
4793         Measure queue level based on the diff between head and tail timestamps
4794         even when pushing the first buffer.
4795
4796 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4797
4798         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4799         (gst_base_sink_event), (gst_base_sink_change_state):
4800         Sinks that don't preroll can always be queried for the latency.
4801         Don't post ASYNC start when we are not async.
4802
4803 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4804
4805         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4806         (gst_queue_handle_sink_event), (gst_queue_chain),
4807         (gst_queue_push_one), (gst_queue_handle_src_query),
4808         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
4809         * plugins/elements/gstqueue.h:
4810         When downstream returns UNEXPECTED from pushing a buffer, don't try to
4811         push more buffers but allow pushing of EOS and NEWSEGMENT.
4812         Add some more debug info here and there. Fixes #476514.
4813
4814 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4815
4816         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4817         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
4818         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4819         (gst_base_sink_set_flushing), (gst_base_sink_query),
4820         (gst_base_sink_change_state):
4821         Latency query is allowed after we are prerolled. Introduce a new flag
4822         for this and stop abusing other variables.
4823
4824 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4825
4826         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4827         Push OOB events downstream when we get them in send_event. This allows
4828         the application to insert events in the pipeline.
4829         Add some more comments.
4830
4831 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4832
4833         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
4834         (do_bin_latency), (gst_bin_change_state_func):
4835         * gst/gstpipeline.c: (gst_pipeline_change_state):
4836         Move latency query from GstPipeline to GstBin so that we can also
4837         use it when async-handling is enabled on bins.
4838
4839 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4840
4841         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4842         (gst_base_src_do_sync), (gst_base_src_change_state):
4843         Update docs.
4844         Clean up the timestamping and syncing code for pseudo live sources.
4845
4846 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
4847
4848         Patch by: Steve Fink  <sphink gmail com>
4849
4850         * docs/manual/appendix-checklist.xml:
4851           Mention less -R switch in the section about debug output (#474055).
4852
4853 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4854
4855         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4856         Queue can latency to the pipeline up to the configured max size in time.
4857         Report this fact in the latency query.
4858
4859 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4860
4861         Patch by: Sebastien Moutte <sebastien at moutte dot net>
4862
4863         * libs/gst/controller/gstinterpolation.c:
4864         * libs/gst/controller/gstlfocontrolsource.c:
4865         Use gst_guint64_to_gdouble() when converting from a uint64 or
4866         GstClockTime to double to fix the build on win32. Fixes #474371.
4867
4868 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4869
4870         * gst/gstbuffer.c: (gst_buffer_finalize):
4871         Implement poisoning for GstBuffer if --enable-poisoning is specified.
4872         When finalizing a buffer the complete struct is filled with 0xff,
4873         thus making a use of the buffer after the final unref impossible.
4874
4875 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4876
4877         * tests/check/libs/controller.c: (GST_START_TEST):
4878         Use fail_unless_equals_int(a, b) instead of
4879         fail_unless_equals (a == b) to get better output on failures.
4880
4881 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
4882
4883         * tests/check/gst/gsturi.c:
4884           Also check for the other file URI variant on win32.
4885
4886 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
4887
4888         * gst/gsturi.c: (gst_uri_get_location):
4889           If there's no hostname, we want to return 'c:/foo/bar.txt'
4890           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
4891
4892         * tests/check/gst/gsturi.c:
4893           Unit test for the above and a few more things.
4894
4895 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
4896
4897         * docs/design/part-live-source.txt:
4898         Add docs on how live sources should timestamp.
4899
4900         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4901         Add some more debug info.
4902         For subclasses that are live and like to sync, add aditional startup
4903         latency to sync time and timestamps so that we timstamp according to the
4904         design doc.
4905
4906 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
4907
4908         * gst/gstbuffer.c:
4909           Also do a g_type_class_ref() for the subbuffer type in
4910           the init function.
4911
4912 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
4913
4914         * docs/gst/gstreamer-sections.txt:
4915         * gst/gstpad.c: (gst_pad_peer_query):
4916         * gst/gstpad.h:
4917         Add function to perform a query on the peer of a pad.
4918         API: gst_pad_peer_query()
4919
4920 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
4921
4922         * tests/check/gst/gstsystemclock.c:
4923           Cleanup the test a little (use gst-logging and not g_message). Improve
4924           test to check if a wait reached the target.
4925
4926 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
4927
4928         * docs/libs/gstreamer-libs-sections.txt:
4929           Add new API to docs and fix the build.
4930
4931 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
4932
4933         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4934         (gst_base_src_init), (gst_base_src_set_do_timestamp),
4935         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
4936         (gst_base_src_get_property), (gst_base_src_do_sync):
4937         * libs/gst/base/gstbasesrc.h:
4938         Add property to make the basesrc timestamp buffers based on the current
4939         running time.
4940         API: GstBaseSrc::do-timestamp
4941         API: gst_base_src_set_do_timestamp()
4942         API: gst_base_src_get_do_timestamp()
4943
4944 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
4945
4946         * docs/random/release:
4947           Really make sure translations are up-to-date before
4948           a release (#465010).
4949
4950 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
4951
4952         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4953         Always destroy the timer, also in error cases.
4954
4955 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
4956
4957         * docs/manual/highlevel-xml.xml:
4958         Fix XML example code. Fixes #472714.
4959
4960 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
4961
4962         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4963         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4964         (gst_base_sink_query):
4965         Protect eos and have_preroll with the OBJECT lock so we don't need to
4966         take the PREROLL lock when querying the latency. Fixes #473846.
4967
4968 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
4969
4970         * gst/gstelement.c:
4971           Give some log-messages a category.
4972
4973 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
4974
4975         * gst/gststructure.c:
4976         (gst_structure_fixate_field_nearest_fraction):
4977         Fix fraction list fixation code. Take the fraction with the smallest
4978         difference with the target instead of the first one in the list.
4979
4980         * tests/check/gst/gststructure.c: (GST_START_TEST),
4981         (gst_structure_suite):
4982         Added test to verify correct fraction list fixation behaviour.
4983
4984 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
4985
4986         * win32/common/libgstreamer.def:
4987           Export gst_bus_add_signal_watch too.
4988
4989 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
4990
4991         * docs/libs/gstreamer-libs-sections.txt:
4992         Add new methods to docs.
4993
4994         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4995         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
4996         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
4997         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
4998         * libs/gst/base/gstbasesink.h:
4999         Add ts-offset property to fine-tune the synchronisation.
5000         API: GstBaseSink::ts-offset property
5001         API: gst_base_sink_set_ts_offset()
5002         API: gst_base_sink_get_ts_offset()
5003
5004 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
5005
5006         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5007         (gst_base_sink_init), (gst_base_sink_set_sync),
5008         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
5009         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
5010         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
5011         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
5012         (gst_base_sink_get_property), (gst_base_sink_change_state):
5013         * libs/gst/base/gstbasesink.h:
5014         Add async property to instruct the sink never to inform the parent about
5015         ASYNC state changes, update docs.
5016         Check argument with g_return_* for the public functions.
5017         API: GstBaseSink::async property
5018         API: gst_base_sink_set_async_enabled()
5019         API: gst_base_sink_is_async_enabled()
5020
5021 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
5022
5023         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
5024         Improve debugging.
5025
5026         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5027         (gst_base_src_default_query), (gst_base_src_wait),
5028         (gst_base_src_do_sync), (gst_base_src_change_state):
5029         Rearrange some code so that we can add support for measuring the 
5030         startup latency.
5031
5032 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
5033
5034         * docs/random/ensonic/dynlink.txt:
5035           More thoughs on this.
5036
5037         * plugins/elements/gstcapsfilter.c:
5038           Add bugzilla ticket number to FIXME comment.
5039
5040 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
5041
5042         * docs/design/part-TODO.txt:
5043         * docs/design/part-block.txt:
5044         Update some docs.
5045
5046 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
5047
5048         * gst/Makefile.am:
5049           Revert patch which uses $(gst_headers) instead of $^ because it
5050           breaks make dist.
5051
5052 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
5053
5054         * tests/check/gst/gstbin.c: (GST_START_TEST):
5055           Fix leaks in the new unit test.
5056
5057 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
5058
5059         * gst/gst.c:
5060           Don't use GST_INFO before the debug system is actually initialised
5061           (shouldn't do any harm, but won't print anything either, so we can
5062           just as well remove it).
5063
5064         * gst/gstinfo.h:
5065           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
5066           compilers that don't support variadic macros (such as MSVC), should
5067           check for debug_level <= __gst_debug_min as well, since that's the
5068           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
5069           inline helper functions. Should improve performance a bit, but also
5070           makes sure uses of GST_INFO et.al are ignored if the debugging
5071           system isn't initialised yet (instead of printing an assertion
5072           failure).
5073
5074 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
5075
5076         patch by: David Nečas <yeti@physics.muni.cz>
5077
5078         * gst/Makefile.am:
5079           Replace some non portable makefile constructs.
5080
5081 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
5082
5083         * common/gtk-doc-plugins.mak:
5084           Grrrrr. Don't remove the types file on make clean.
5085
5086 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
5087
5088         * tools/gst-launch.1.in:
5089         Add colorspace to example pipeline. Fixes #458274.
5090
5091 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
5092
5093         * docs/random/release:
5094           The release manager should run 'make download-po' before making a
5095           release to make sure translations are up-to-date.
5096
5097         * po/LINGUAS:
5098         * po/be.po:
5099         * po/pl.po:
5100         * po/rw.po:
5101           Add some new translations.
5102
5103 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
5104
5105         * tools/gst-launch.c: (event_loop), (main):
5106         Don´t try to do any state management when a live pipeline posts
5107         buffering messages.
5108         Also make the buffering string translatable.
5109
5110 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5111
5112         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
5113         (bin_handle_async_start), (gst_bin_handle_message_func):
5114         Improve debugging.
5115         When adding elements, insert messages into the bus of the newly added
5116         element and make sure the element is the source of the message. This
5117         allows the parent bin to intercept the message and do the
5118         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
5119         messages to the app (which is not allowed).
5120         Update some docs.
5121
5122         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5123         Fix testsuite so that is does not work around messages that should not
5124         have been posted in the first place.
5125
5126 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5127
5128         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
5129         (update_degree), (gst_bin_sort_iterator_next):
5130         Fix annoying bug in the sorted iterator where a sink that is not really
5131         a sink (when it has downstream links) screwed up the iterator.
5132
5133         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5134         Unit test to verify the fix.
5135
5136 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5137
5138         * gst/gstmessage.h:
5139         Add some more docs for the messages.
5140
5141         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5142         (gst_base_sink_query):
5143         Add some more debugging.
5144
5145         * tools/gst-launch.c: (event_loop):
5146         When interrupting, don't try to set pipeline to PAUSED twice.
5147
5148 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
5149
5150         
5151         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
5152         (bin_handle_async_start), (gst_bin_handle_message_func):
5153         Move ASYNC_START message posting to where it belongs, similar to
5154         async_done. 
5155         Don't post ASYNC_START when we are in error. 
5156         Post ASYNC_START when we added an async element to a bin.
5157
5158 2007-08-14  Julien MOUTTE  <julien@moutte.net>
5159
5160         * gst/gstindex.c: (gst_index_add_association): Fix index entry
5161         generation from vargs. Fixes #466595.
5162
5163 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
5164
5165         * gst/gstbin.c: (gst_bin_element_set_state):
5166         Always change the state of a NO_PREROLL element even if it has ASYNC
5167         elements inside (in case of a bin).
5168
5169         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
5170         Unit test for this case.
5171
5172 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
5173
5174         * libs/gst/check/gstbufferstraw.c:
5175         * libs/gst/check/gstcheck.h:
5176         * libs/gst/controller/gstcontroller.c:
5177         * libs/gst/controller/gstcontrolsource.h:
5178         * libs/gst/controller/gstlfocontrolsource.h:
5179         * plugins/elements/gstcapsfilter.h:
5180         * plugins/elements/gstfdsink.h:
5181         * plugins/elements/gstfdsrc.h:
5182           Add more missing docs.
5183
5184 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5185
5186         * gst/gststructure.c:
5187         Add Since tag to docs.
5188
5189 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5190
5191         * docs/gst/gstreamer-sections.txt:
5192         * gst/gststructure.c: (gst_structure_get_uint):
5193         * gst/gststructure.h:
5194         Add function to get uint from a structure.
5195         API: gst_structure_get_uint()
5196
5197 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5198
5199         * gst/gstcaps.c: (gst_caps_set_simple_valist),
5200         (gst_caps_intersect):
5201         Fix proper check for simple caps.
5202
5203 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
5204
5205         * docs/gst/Makefile.am:
5206         * docs/libs/Makefile.am:
5207           Remove cruft and do some cleanups.
5208
5209         * docs/gst/gstreamer-docs.sgml:
5210         * docs/libs/gstreamer-libs-docs.sgml:
5211           Prepare for comming gtkdoc features (rebase against online docs).
5212
5213 2007-08-10  Michael Smith <msmith@fluendo.com>
5214
5215         * docs/gst/gstreamer-sections.txt:
5216           Add gst_registry_add_path to docs.
5217
5218 2007-08-10  Michael Smith <msmith@fluendo.com>
5219
5220         * gst/gstregistry.h:
5221           Add gst_registry_add_path, which was missing from this header.
5222
5223 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
5224
5225         * libs/gst/controller/gstlfocontrolsource.c:
5226           Printf format fix.
5227
5228 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
5229
5230         * libs/gst/base/gstbasesink.c:
5231           Don't send an async_start message during downwards state change if 
5232           target state is less than READY
5233
5234 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5235
5236         translated by: Gabor Kelemen <kelemeng@gnome.hu>
5237
5238         * po/LINGUAS:
5239         * po/hu.po:
5240           Added Hungarian translation.
5241
5242 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5243
5244         * po/fi.po:
5245         * po/it.po:
5246         * po/nl.po:
5247         * po/sv.po:
5248         * po/uk.po:
5249           Updated translations.
5250
5251 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
5252
5253         * libs/gst/controller/Makefile.am:
5254         Dist gstlfocontrolsourceprivate.h
5255
5256 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
5257
5258         * docs/libs/gstreamer-libs.types:
5259         Don't register the enum type gst_lfo_waveform_get_type() in the
5260         .types file - only GObject derived types belong.
5261
5262 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
5263
5264         Patch by: <arenevier at fdn dot fr>
5265
5266         * gst/gstbuffer.h:
5267         Remove comma from last element in enum to avoid compile errors when
5268         using -pendantic. Fixes #464366.
5269
5270 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
5271
5272         * docs/design/part-TODO.txt:
5273         Add some more TODO items
5274
5275         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
5276         Improve debugging.
5277
5278         * gst/gstcaps.c: (gst_caps_intersect):
5279         Optimize trivial intersection case between identical caps pointers.
5280
5281         * gst/gstelement.c: (gst_element_continue_state),
5282         (gst_element_set_state_func):
5283         * gst/gstpad.c:
5284         Fix spelling and grammar mistakes.
5285
5286 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
5287
5288         * po/POTFILES.in:
5289         * po/POTFILES.skip:
5290           Update POTFILES. Fixes #461599.
5291
5292 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
5293
5294         * gst/gst.c:
5295         Fix confusing typo in debug output.
5296
5297 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
5298
5299         reviewed by: Stefan Kost <ensonic@users.sf.net>
5300
5301         * libs/gst/controller/Makefile.am:
5302         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
5303         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
5304         (gst_lfo_control_source_new),
5305         (gst_lfo_control_source_set_waveform),
5306         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
5307         (gst_lfo_control_source_finalize),
5308         (gst_lfo_control_source_dispose),
5309         (gst_lfo_control_source_set_property),
5310         (gst_lfo_control_source_get_property),
5311         (gst_lfo_control_source_class_init):
5312         * libs/gst/controller/gstlfocontrolsource.h:
5313         * libs/gst/controller/gstlfocontrolsourceprivate.h:
5314         API: Add GstLFOControlSource, a control source that gives values
5315         for specific timestamps based on several periodic waveforms.
5316         Fixes #459717.
5317
5318         * tests/check/libs/controller.c: (GST_START_TEST),
5319         (gst_controller_suite):
5320         * docs/libs/gstreamer-libs-docs.sgml:
5321         * docs/libs/gstreamer-libs-sections.txt:
5322         * docs/libs/gstreamer-libs.types:
5323         Add documentation and unit tests for GstLFOControlSource.
5324
5325 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
5326
5327         * configure.ac:
5328         Back to CVS
5329
5330 === release 0.10.14 ===
5331
5332 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
5333
5334         * configure.ac:
5335           releasing 0.10.14, "Breathing Vacuum"
5336
5337 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
5338
5339         * gst/gstelement.c: (gst_element_class_set_details_simple):
5340         * gst/gstelement.h:
5341           Make strings passed to gst_element_class_set_details_simple()
5342           constant, as they should be (#462752).
5343
5344 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
5345
5346         * gst/gstbin.c: (gst_bin_change_state_func),
5347         (bin_handle_async_done), (gst_bin_handle_message_func):
5348         Don't forget about the fact that some element went ASYNC even after a
5349         resync. This makes us post the ASYNC_DONE message correctly.
5350         Fixes #462558.
5351
5352 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5353
5354         * gst/gstregistry.c: (gst_registry_add_feature):
5355         When replacing an existing feature in the registry, make sure to
5356         continue holding a reference until we've replaced the name string
5357         within our feature hash table. Make sure to use g_hash_table_replace
5358         instead of g_hash_table_insert to ensure the new name string is used
5359         as a key instead of the old one that we're about to free.
5360         Fixes: #462085
5361
5362 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5363
5364         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5365         (gst_plugin_feature_set_name):
5366         Revert patch from #459466 until after the release and we can work
5367         out exactly what the problem is (if any).
5368
5369 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5370
5371         * docs/gst/gstreamer-sections.txt:
5372         * gst/gsttaglist.c:
5373         * gst/gsttaglist.h:
5374           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5375
5376 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
5377
5378         * docs/libs/Makefile.am:
5379         Include our build-prefix libs and includes before the generic ones to
5380         avoid linking against the installed libs when we want the build-tree
5381         ones.
5382
5383 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5384
5385         Patch by: Steve Fink  <sphink gmail com>
5386
5387         * docs/pwg/building-testapp.xml:
5388           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5389           if people try to build or install the example from the plugin
5390           template against a GStreamer from package using the configure
5391           defaults.
5392
5393 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
5394
5395         Patch by: Steve Fink  <sphink gmail com>
5396
5397         * tools/gst-inspect.1.in:
5398           Document --print-all and --print-plugin-auto-install-info command
5399           line options in man page.
5400
5401 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5402
5403         * docs/gst/gstreamer-sections.txt:
5404         Add docs for new api function.
5405
5406 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5407
5408         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5409         * gst/gstelementfactory.h:
5410         API: gst_element_factory_has_interface()
5411         Added method to check if an element factory implements a named
5412         interface.
5413
5414 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
5415
5416         * configure.ac:
5417         * docs/gst/gstreamer.types.in:
5418           Another conditional doc check.
5419
5420         * gst/gstmessage.c:
5421         * gst/gstparamspecs.h:
5422         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5423         * gst/gstvalue.c:
5424         * gst/gstxml.h:
5425           API-doc fixes.
5426
5427 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5428
5429         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5430         (gst_registry_binary_load_feature),
5431         (gst_registry_binary_load_plugin),
5432         (gst_registry_binary_read_cache):
5433           Print error just once and with additional info.
5434
5435 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5436
5437         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5438         (helper_find_suggest), (helper_find_get_length),
5439         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5440         (gst_type_find_helper_for_buffer):
5441           Cleanup the typefindhelper code and add private doc comments.
5442
5443 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
5444
5445         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5446         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5447         Fix capsfilter for cases where the caps set on capsfilter will provide
5448         additional information.
5449         Fixes #449197
5450
5451 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5452
5453         * gst/gsttypefindfactory.c:
5454           Fix docs that recommened wrong function to use.
5455
5456 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5457
5458         * tools/gst-inspect.c: (print_plugin_features):
5459           Also give media-type for typefinders in element output.
5460
5461 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5462
5463         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5464         (gst_registry_remove_features_for_plugin_unlocked),
5465         (gst_registry_add_feature), (gst_registry_remove_feature),
5466         (gst_registry_lookup_feature_locked):
5467         * gst/gstregistry.h:
5468           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5469           Fixes #459501.
5470
5471 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5472
5473         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5474         (gst_plugin_feature_set_name):
5475           Avoid double memory usage for pluginfeature names. Fixes #459466.
5476
5477 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5478
5479         * gst/gstpad.h:
5480           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5481           driving the pipeline may need to explicitly check for NOT_LINKED as
5482           well, since IS_FATAL doesn't cover that.
5483
5484 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5485
5486         * docs/pwg/advanced-types.xml:
5487           Fix typo and duplicate entry in video formats list.
5488
5489 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
5490
5491         * libs/gst/controller/gstinterpolation.c:
5492         Also round to the nearest int when using cubic interpolation.
5493
5494 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
5495
5496         * libs/gst/controller/gstinterpolation.c:
5497         When linearly interpolating integer types, round to the nearest int
5498         by adding 0.5. Don't do it for float/double types.
5499         Fixes the failing controller test on my machine, which is somehow
5500         rounding differently than on the buildbots.
5501
5502 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5503
5504         * tools/gst-plot-timeline.py:
5505           Better log parsing (categories can have -). Adjust text vs. lines, so
5506           that they span the same y-range.        
5507
5508 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5509
5510         * docs/random/ensonic/audiobaseclasses.txt:
5511         * docs/random/ensonic/dynlink.txt:
5512         * docs/random/ensonic/profiling.txt:
5513           Save my thoughts.
5514
5515         * docs/random/moving-plugins:
5516           Add note to use g_assert type macros.
5517
5518 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5519
5520         * configure.ac:
5521         * libs/gst/check/Makefile.am:
5522           Add libm check as we use in for plugins.
5523
5524 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
5525
5526         * gst/gstbin.c: (gst_bin_continue_func):
5527         Check that the state_cookie hasn't changed since the continue_func
5528         was scheduled. Avoids problems where the state changes back to
5529         something it shouldn't be because it was changed in the meantime.
5530
5531 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
5532
5533         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5534         (gst_registry_binary_save_string),
5535         (gst_registry_binary_save_pad_template),
5536         (gst_registry_binary_save_feature),
5537         (gst_registry_binary_save_plugin),
5538         (gst_registry_binary_load_feature),
5539         (gst_registry_binary_load_plugin),
5540         (gst_registry_binary_read_cache):
5541           Fix memory leak. Be less verbose in the log.
5542
5543 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5544
5545         * tests/check/elements/.cvsignore:
5546         Add file to cvsignore as commanded.
5547
5548 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5549
5550         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5551         (mq_dummypad_event), (run_output_order_test):
5552         Use a GStaticMutex to protect all cases where libcheck
5553         fail_if/fail_unless macros might be called from multiple threads
5554         simultaneously to avoid errors like:
5555           "check_pack.c:107: :-1081725400:Bad message type arg"
5556
5557 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5558
5559         * tests/check/pipelines/stress.c: (GST_START_TEST):
5560         Make sure we set the pipeline back to the NULL state before
5561         dropping our final reference.
5562
5563 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5564
5565         * tests/check/elements/tee.c: (GST_START_TEST):
5566         Make the tee stress-test a little less stressful so it doesn't just
5567         time out on slow-machines, and remove a small race when it's starting 
5568         up by adding a get_state() call.
5569
5570 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
5571
5572         * gst/gst.c:
5573           Avoid reading registry twice on startup. Fixes #457322.
5574
5575 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
5576
5577         * pkgconfig/gstreamer-check-uninstalled.pc.in:
5578         * pkgconfig/gstreamer-check.pc.in:
5579         Substitute the CFLAGS for libcheck into our .pc file too so that
5580         dependent modules will pick it up properly if libcheck is installed
5581         into some other prefix.
5582
5583 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
5584
5585         * configure.ac:
5586         Revert the pkg-config check for libcheck, since it pulls in the
5587         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
5588         a proper solution, either from the check project, or something else.
5589
5590 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
5591
5592         * configure.ac:
5593           Use pkg-config to locate check.
5594
5595 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
5596
5597         * gst/gsttaglist.c:
5598           Fix doc syntax.
5599
5600         * gst/gstutils.c:
5601         * gst/gstutils.h:
5602           Add deprecation guards.
5603
5604         * libs/gst/base/gstcollectpads.h:
5605           Don't document object (this is implicitly private).
5606
5607 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
5608
5609         * gst/gststructure.c: (gst_structure_parse_value):
5610           When deserialising foo=bar without a type cast, check if it's a
5611           boolean before falling back to a string type, otherwise things like
5612           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
5613           because the filtercaps end up having a signed=(string)true field,
5614           which causes problems later when intersection caps.
5615
5616         * tests/check/gst/gststructure.c: (GST_START_TEST):
5617           Add a unit test for this.
5618
5619 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
5620
5621         Reviewed by: Stefan Kost <ensonic@users.sf.net>
5622
5623         * libs/gst/controller/Makefile.am:
5624         * libs/gst/controller/gstcontroller.c:
5625         (gst_controlled_property_add_interpolation_control_source),
5626         (gst_controlled_property_new), (gst_controlled_property_free),
5627         (gst_controller_find_controlled_property),
5628         (gst_controller_new_valist), (gst_controller_new_list),
5629         (gst_controller_new), (gst_controller_remove_properties_valist),
5630         (gst_controller_remove_properties_list),
5631         (gst_controller_remove_properties),
5632         (gst_controller_set_property_disabled),
5633         (gst_controller_set_disabled), (gst_controller_set_control_source),
5634         (gst_controller_get_control_source), (gst_controller_get),
5635         (gst_controller_sync_values), (gst_controller_get_value_array),
5636         (_gst_controller_dispose), (gst_controller_get_type),
5637         (gst_controlled_property_set_interpolation_mode),
5638         (gst_controller_set), (gst_controller_set_from_list),
5639         (gst_controller_unset), (gst_controller_unset_all),
5640         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
5641         * libs/gst/controller/gstcontroller.h:
5642         * libs/gst/controller/gstcontrollerprivate.h:
5643         * libs/gst/controller/gstcontrolsource.c:
5644         (gst_control_source_class_init), (gst_control_source_init),
5645         (gst_control_source_get_value),
5646         (gst_control_source_get_value_array), (gst_control_source_bind):
5647         * libs/gst/controller/gstcontrolsource.h:
5648         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
5649         (gst_object_get_control_source):
5650         * libs/gst/controller/gstinterpolation.c:
5651         (gst_interpolation_control_source_find_control_point_node),
5652         (gst_interpolation_control_source_get_first_value),
5653         (_interpolate_none_get), (interpolate_none_get),
5654         (interpolate_none_get_boolean_value_array),
5655         (interpolate_none_get_enum_value_array),
5656         (interpolate_none_get_string_value_array),
5657         (_interpolate_trigger_get), (interpolate_trigger_get),
5658         (interpolate_trigger_get_boolean_value_array),
5659         (interpolate_trigger_get_enum_value_array),
5660         (interpolate_trigger_get_string_value_array):
5661         * libs/gst/controller/gstinterpolationcontrolsource.c:
5662         (gst_control_point_free), (gst_interpolation_control_source_reset),
5663         (gst_interpolation_control_source_new),
5664         (gst_interpolation_control_source_set_interpolation_mode),
5665         (gst_interpolation_control_source_bind),
5666         (gst_control_point_compare), (gst_control_point_find),
5667         (gst_interpolation_control_source_set_internal),
5668         (gst_interpolation_control_source_set),
5669         (gst_interpolation_control_source_set_from_list),
5670         (gst_interpolation_control_source_unset),
5671         (gst_interpolation_control_source_unset_all),
5672         (gst_interpolation_control_source_get_all),
5673         (gst_interpolation_control_source_get_count),
5674         (gst_interpolation_control_source_init),
5675         (gst_interpolation_control_source_finalize),
5676         (gst_interpolation_control_source_dispose),
5677         (gst_interpolation_control_source_class_init):
5678         * libs/gst/controller/gstinterpolationcontrolsource.h:
5679         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
5680         API: Refactor GstController into the core controller which can take
5681         a GstControlSource for providing actual values for timestamps.
5682         Implement a interpolation control source and use this for backward
5683         compatibility, deprecate a bunch of functions that are now handled
5684         by GstControlSource or GstInterpolationControlSource.
5685         Make it possible to disable the controller completely or only for
5686         specific properties. Fixes #450711.
5687         * docs/libs/gstreamer-libs-docs.sgml:
5688         * docs/libs/gstreamer-libs-sections.txt:
5689         * docs/libs/gstreamer-libs.types:
5690         Add new functions and classes to the docs.
5691         * tests/check/libs/controller.c: (GST_START_TEST),
5692         (gst_controller_suite):
5693         * tests/examples/controller/audio-example.c: (main):
5694         Port unit test and example to the new API and add some new
5695         unit tests.
5696
5697 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
5698
5699         Patch by: Mark Nauwelaerts <manauw at skynet be>
5700
5701         * plugins/elements/gstmultiqueue.c:
5702         (gst_multi_queue_get_internal_links), (apply_buffer),
5703         (single_queue_overrun_cb), (gst_single_queue_new):
5704         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
5705         the pipeline layout can be tracked correctly. Fixes #453732.
5706
5707 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
5708
5709         * docs/gst/Makefile.am:
5710         * docs/libs/Makefile.am:
5711         * docs/plugins/Makefile.am:
5712           Simplify --extra-dir as gtkdoc scans recursively.
5713
5714 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
5715
5716         * tools/gst-launch.c: (main):
5717         When we got an error, there is no point in waiting for preroll when
5718         shutting down.
5719
5720 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
5721
5722         * plugins/elements/gsttee.c: (gst_tee_base_init),
5723         (gst_tee_request_new_pad), (gst_tee_release_pad),
5724         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
5725         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
5726         (gst_tee_chain):
5727         Be a lot smarter when deciding what srcpad to use for proxying
5728         the buffer_alloc. Also handle pad added/removed when doing so.
5729         Fixes #357959.
5730         Keep track of what pads we already pushed on in case we have pads
5731         added/removed while pushing. Fixes #374639 
5732
5733         * tests/check/Makefile.am:
5734         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
5735         (tee_suite):
5736         Added unit test for pad resync.
5737
5738 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5739
5740         * po/nl.po:
5741         * po/sv.po:
5742           Updated translations.
5743
5744 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5745
5746         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
5747
5748         * po/LINGUAS:
5749         * po/fi.po:
5750           Added new Finnish translation.
5751
5752 2007-06-28  Wim Taymans  <wim@fluendo.com>
5753
5754         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5755         (single_queue_overrun_cb):
5756         When figuring out when a queue is filled, use our internal time estimate
5757         based on segments, just like check_full does.
5758
5759 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
5760
5761         * gst/gstminiobject.c: (gst_mini_object_get_type):
5762           Remove 3 do-nothing methods.
5763
5764 2007-06-27  Wim Taymans  <wim@fluendo.com>
5765
5766         Patch by: Tim Angus <tim at ngus dot net>
5767
5768         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5769         (gst_capsfilter_set_property):
5770         Take a reference instead of a copy when setting "caps".
5771         Fix documentation to clarify this behaviour. Fixes #449414.
5772
5773 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
5774
5775         * gst/gstindexfactory.c: (gst_index_factory_get_type):
5776         * gst/gstplugin.c: (gst_plugin_init):
5777         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
5778         * gst/gstquery.c: (gst_query_get_type):
5779         * gst/gstregistry.c: (gst_registry_init):
5780         * gst/gsturi.c: (gst_uri_handler_base_init):
5781           Remove empty instance_init() functions to save relocs and lessen the
5782           noise. Remove some of the function prototypes that are doubled by
5783           G_DEFINE_TYPE.
5784           
5785 2007-06-27  Wim Taymans  <wim@fluendo.com>
5786
5787         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
5788
5789         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
5790         Add peer and direction in the XML serialisation of ghostpads.
5791         Fixes #449226.
5792
5793 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
5794
5795         * configure.ac:
5796           Preserve useful information, thanks Tim.
5797
5798 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
5799
5800         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5801         (gst_single_queue_flush), (apply_segment), (apply_buffer),
5802         (gst_single_queue_push_one), (gst_multi_queue_loop),
5803         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5804         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
5805         (compute_high_id), (gst_single_queue_new):
5806         * plugins/elements/gstmultiqueue.h:
5807         Take the multiqueue lock when updating the fill level so we don't get
5808         confused. 
5809
5810         After applying a buffer or event on the src pad segment, make sure to
5811         call gst_data_queue_limits_changed() to get the data queue to unblock
5812         and check the filled state again.
5813         
5814         Rework the not-linked pad handling so the logic is that not-linked 
5815         pads can push as fast as they like, but only so they never get 
5816         ahead of any linked pads.
5817
5818         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
5819         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
5820         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
5821
5822         Add a test to check that not-linked pads always stay behind
5823         linked pads.
5824
5825         Fixes: #430682
5826
5827 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
5828
5829         * docs/random/release:
5830           Some updates to the release procedure.
5831
5832 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
5833
5834         * gst/gstelementfactory.c: (__gst_element_details_clear):
5835           Microoptimization that saves stunning 80 bytes.
5836
5837 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
5838
5839         * docs/plugins/gstreamer-plugins.args:
5840         * docs/plugins/inspect/plugin-coreelements.xml:
5841         * docs/plugins/inspect/plugin-coreindexers.xml:
5842           Update docs with caps info.
5843
5844 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5845
5846         * po/it.po:
5847           Updated Italian translation.
5848
5849 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5850
5851         * ChangeLog:
5852         * po/vi.po:
5853           Update Vietnamese translations.
5854
5855 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5856
5857         * libs/gst/base/gstbasesink.c:
5858           Remove unused signal enum.
5859
5860 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
5861
5862         * docs/gst/gstreamer-sections.txt:
5863         * gst/gstelement.c:
5864         * gst/gstutils.c: (gst_type_register_static_full):
5865         Beef up and include the docs for gst_type_register_static_full and
5866         gst_element_class_set_details_simple and add the API keyword
5867         in the ChangeLog.
5868
5869 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
5870
5871         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5872         (update_time_level), (gst_single_queue_push_one),
5873         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
5874         (single_queue_overrun_cb), (single_queue_underrun_cb),
5875         (single_queue_check_full):
5876         Fix setting max-* properties after adding queues.
5877         Use IS_FILLED for checking visible items.
5878         Signal overrun if multiple queues overrun.
5879         Add extra debug output.
5880         Patch by: Wim Taymans <wim@fluendo.com>
5881
5882 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
5883
5884         * gst/gstelement.c: (gst_element_class_set_details_simple):
5885         * gst/gstelement.h:
5886         * gst/gstutils.c: (gst_type_register_static_full):
5887         * gst/gstutils.h:
5888         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
5889         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
5890         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
5891         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
5892         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
5893         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
5894         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
5895         * plugins/elements/gstidentity.c: (gst_identity_base_init):
5896         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
5897         * plugins/elements/gstqueue.c: (gst_queue_base_init),
5898         (apply_buffer), (gst_queue_chain):
5899         * plugins/elements/gsttee.c: (gst_tee_base_init):
5900         * plugins/elements/gsttypefindelement.c:
5901         (gst_type_find_element_base_init),
5902         (gst_type_find_element_class_init):
5903           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
5904           API: add gst_type_register_static_full
5905           API: add gst_element_class_set_details_simple
5906
5907 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5908
5909         * docs/pwg/advanced-types.xml:
5910           Fix typo in iana.org URI.
5911
5912 2007-06-19  Andy Wingo  <wingo@pobox.com>
5913
5914         * tests/check/pipelines/simple-launch-lines.c
5915         (test_state_change_returns): Enable pull-mode tests now that
5916         basesink has been fixed.
5917
5918         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
5919         Changed from gst_base_sink_is_prerolled, reversing the sense of
5920         the return value. Returns FALSE also if the sink is in pull mode,
5921         in which case it needs no preroll.
5922         (gst_base_sink_query, gst_base_sink_change_state): Update for
5923         needs_preroll change.
5924         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
5925         chaining up, in which we return SUCCESS directly if we activated
5926         in pull mode instead of ASYNC. Involves countering an async_start
5927         message sent before chaining up; not sure if this is correct, in
5928         an ideal world we only send async-start when activating in push
5929         mode.
5930
5931         * tests/check/pipelines/simple-launch-lines.c
5932         (test_state_change_returns): New test, partially disabled until
5933         basesink is fixed.
5934
5935 2007-06-19  Wim Taymans  <wim@fluendo.com>
5936
5937         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5938         (gst_multi_queue_sink_event):
5939         Fix event leak.
5940
5941 2007-06-19  Wim Taymans  <wim@fluendo.com>
5942
5943         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
5944         (gst_bin_change_state_func), (bin_push_state_continue),
5945         (bin_handle_async_start), (bin_handle_async_done),
5946         (gst_bin_handle_message_func):
5947         Move the common code for posting state-change messages into
5948         one function.
5949         Broadcast the state signal after we posted the messages.
5950         Mark the bin as busy when it's doing a state-change.
5951         Make sure async-start/done messages don't interfere with the bin's
5952         state when it's busy.
5953         After the state change, let the bin check which elements completed the
5954         state change while it was busy so that it can update its state.
5955
5956 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
5957
5958         * docs/random/release:
5959         Add a note about updating the doap file to the release checklist
5960
5961 2007-06-18  Wim Taymans  <wim@fluendo.com>
5962
5963         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5964         (gst_single_queue_push_one), (gst_multi_queue_chain),
5965         (gst_multi_queue_sink_event):
5966         Make sure we don't reference the buffer/event after we have given away
5967         ownership in the queue.
5968
5969 2007-06-18  Wim Taymans  <wim@fluendo.com>
5970
5971         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5972         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
5973         Update queue state _after_ adding the item in the queue because else we
5974         could end up being full without the element added yet.
5975
5976 2007-06-18  Wim Taymans  <wim@fluendo.com>
5977
5978         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
5979         (gst_bin_remove_func), (gst_bin_get_state_func),
5980         (gst_bin_element_set_state), (gst_bin_continue_func),
5981         (bin_push_state_continue), (bin_handle_async_start),
5982         (bin_handle_async_done), (gst_bin_handle_message_func):
5983         * gst/gstbin.h:
5984         Immediatly commit the toplevel bin state when receiving an async-done
5985         message. This enables us to avoid spawning a thread to commit the state
5986         in some common cases and it also avoids some races.
5987         Avoid spawning a state thread when adding/removing async elements to a
5988         toplevel bin. Instead we immediatly update the bin state.
5989         Get rid of iterating all the children when getting the state in the bin
5990         because it is now always up-to-date.
5991         Fix bug where locked elements would always return _SUCCESS even it they
5992         returned NO_PREROLL before being locked.
5993         Fix the order of the state_change, async-start/done messages that was
5994         sometimes incorrect.
5995         Mark the state_dirty field as deprecated, we don't need it anymore as we
5996         are always up-to-date.
5997
5998         * gst/gstelement.c: (gst_element_get_state_func),
5999         (gst_element_continue_state):
6000         Small debug inprovements.
6001         Return the previous element state return when nothing is pending instead
6002         of blindly returning SUCCESS.
6003
6004         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
6005         (gst_sinks_suite):
6006         Add a whole bunch of new testcases.
6007
6008 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
6009
6010         * po/uk.po:
6011         * po/vi.po:
6012           Update translations.
6013
6014 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
6015
6016         * gst/gstpad.c:
6017         Fix typo in the docs.
6018
6019 2007-06-15  Wim Taymans  <wim@fluendo.com>
6020
6021         * docs/libs/gstreamer-libs-sections.txt:
6022         Add docs for new methods.
6023
6024 2007-06-15  Wim Taymans  <wim@fluendo.com>
6025
6026         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
6027         (gst_multi_queue_item_new):
6028         Don't use GSlice because we don't depend on >= 2.10 yet.
6029
6030 2007-06-15  Wim Taymans  <wim@fluendo.com>
6031
6032         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6033         (update_time_level), (apply_segment), (apply_buffer),
6034         (gst_single_queue_push_one), (gst_multi_queue_item_new),
6035         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
6036         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
6037         (single_queue_underrun_cb), (single_queue_check_full):
6038         Remove debug printf.
6039
6040 2007-06-15  Wim Taymans  <wim@fluendo.com>
6041
6042         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
6043         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
6044         (gst_data_queue_set_flushing), (gst_data_queue_push),
6045         (gst_data_queue_pop), (gst_data_queue_drop_head),
6046         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
6047         * libs/gst/base/gstdataqueue.h:
6048         Various cleanups.
6049         Added methods to get the current levels and to inform the queue that the
6050         'full' limits changed.
6051
6052         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6053         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
6054         (gst_single_queue_flush), (update_time_level), (apply_segment),
6055         (apply_buffer), (gst_single_queue_push_one),
6056         (gst_multi_queue_item_steal_object),
6057         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
6058         (gst_multi_queue_loop), (gst_multi_queue_chain),
6059         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6060         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
6061         (gst_multi_queue_src_query), (single_queue_overrun_cb),
6062         (single_queue_underrun_cb), (single_queue_check_full),
6063         (gst_single_queue_new):
6064         Keep track of time in the queue by measuring the difference between
6065         running_time on input and output. This gives more accurate results and
6066         can compensate for segments correctly.
6067         Make a queue by default only 5 buffers deep. We will now increase the
6068         buffer size depending on the filledness of the other queues.
6069         Factor out commong flush code.
6070         Make sure we don't add additional refcounts to buffers when we can avoid
6071         it.
6072         Propagate GstFlowReturn differently.
6073         Use GSlice for intermediate GstMultiQueueItems.
6074         Keep track of EOS.
6075         Resize queues on over and underruns based on filled level of other
6076         queues.
6077         When checking if the queue is filled, prefer to measure in time if we
6078         can and fall back to bytes when no time is known.
6079
6080         * plugins/elements/gstqueue.c:
6081         Fix return value.
6082
6083 2007-06-15  Wim Taymans  <wim@fluendo.com>
6084
6085         * libs/gst/base/gstbasetransform.c:
6086         (gst_base_transform_sink_event):
6087         Work around the brokenness of the event vmethod in basetransform. Prefer
6088         to return TRUE when the subclass returned FALSE (meaning don't forward
6089         the event). 
6090
6091         * libs/gst/base/gstbasetransform.h:
6092         Clarify the docs.
6093
6094 2007-06-15  Wim Taymans  <wim@fluendo.com>
6095
6096         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
6097         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6098         (gst_base_src_default_query), (gst_base_src_get_range),
6099         (gst_base_src_start):
6100         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
6101         Improve debugging.
6102
6103 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
6104
6105         * docs/pwg/advanced-types.xml:
6106           Added more formats to caps table.
6107
6108 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
6109
6110         * tools/gst-launch.c: (main):
6111           Remove crufy code. GOption does not need this workaround.
6112
6113 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6114
6115         * libs/gst/controller/gstcontroller.c:
6116         (gst_controlled_property_set_interpolation_mode):
6117           Fix wrong getter for enums in controller.
6118
6119 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6120
6121         * libs/gst/check/gstcheck.c: (gst_check_init):
6122           Intercept criticals and warnings in the Gst-Phonon log domain, so
6123           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
6124           well.
6125         
6126 2007-06-14  Edward Hervey  <edward@fluendo.com>
6127
6128         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
6129         Since this file doesn't include "gst.h" it will not go through the
6130         macros that disable GST_LOG if debugging was disabled.
6131
6132 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6133
6134         * libs/gst/check/Makefile.am:
6135         * libs/gst/check/gstcheck.h:
6136         * pkgconfig/gstreamer-check-uninstalled.pc.in:
6137         * pkgconfig/gstreamer-check.pc.in:
6138           Ugly 'fix' for the controller unit test on the p5 bot: in
6139           fail_unless_equals_float() check whether the values are 'almost
6140           equal' by allowing a small absolute error, which should be good
6141           enough for our use cases (normal numbers and values close to 0).
6142           Proper fixage left to floating point arithmetic aficionados.
6143
6144 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6145
6146         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
6147         (gst_base_sink_render_object), (gst_base_sink_get_position):
6148           Add two breaks thats where missing.
6149
6150 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6151
6152         * docs/libs/gstreamer-libs-sections.txt:
6153         * libs/gst/check/gstcheck.h:
6154           API: add fail_unless_equals_float() and assert_equals_float().
6155           Add documentation for some of the macros.
6156
6157         * tests/check/libs/controller.c: (GST_START_TEST):
6158           Use newly-added asserts.
6159
6160 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6161
6162         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
6163           Show the caps change in the log to help spotting the case of not
6164           exactly matching caps.
6165
6166 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6167
6168         * docs/pwg/building-boiler.xml:
6169           Fix typos, spotted by Thijs Vermeir (#447190).
6170
6171 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
6172
6173         * docs/plugins/tmpl/.cvsignore:
6174         Ignore file to keep the buildbots happy
6175
6176 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
6177
6178         * docs/plugins/Makefile.am:
6179         * docs/plugins/gstreamer-plugins-docs.sgml:
6180         * docs/plugins/gstreamer-plugins-sections.txt:
6181         Pull fdsink into the docs too.
6182
6183 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
6184
6185         * libs/gst/controller/gstinterpolation.c:
6186         Actually use the new functions with min/max checks for the trigger and
6187         none interpolation modes for get() and get_value_array() instead of
6188         just the latter.
6189
6190 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
6191
6192         * libs/gst/controller/gstcontroller.c:
6193         (gst_controlled_property_free):
6194         Unset the minimum and maximum GValues when freeing the corresponding
6195         GstControllerProperty struct.
6196
6197 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
6198
6199         * libs/gst/controller/gstcontroller.c:
6200         (gst_controlled_property_new):
6201         * libs/gst/controller/gstcontrollerprivate.h:
6202         * libs/gst/controller/gstinterpolation.c:
6203         (gst_controlled_property_find_control_point_node),
6204         (interpolate_none_get), (interpolate_none_get_enum_value_array),
6205         (interpolate_none_get_string_value_array),
6206         (interpolate_trigger_get),
6207         (interpolate_trigger_get_enum_value_array),
6208         (interpolate_trigger_get_string_value_array):
6209         Protect against values larger or smaller than the minimum or maximum
6210         allowed value for the property when using values that can be compared.
6211
6212         Optimize trigger interpolator a bit by taking the last requested value
6213         into account instead of always looping through the complete list.
6214
6215         Fix coding style a bit, everywhere else we use "return foo" instead
6216         of "return (foo)".
6217         
6218         * tests/check/libs/controller.c: (GST_START_TEST),
6219         (gst_controller_suite):
6220         Add unit test for the protection against too large or too small
6221         values.
6222
6223 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
6224
6225         * docs/random/slomo/controller.txt:
6226         Add some thoughts about the future of the controller.
6227
6228 2007-06-08  Wim Taymans  <wim@fluendo.com>
6229
6230         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6231         Don't overflow in retimestamping code.
6232
6233 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
6234
6235         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
6236         Use gst_util_guint64_to_gdouble for conversions.
6237         * win32/common/libgstreamer.def:
6238         Add new exported functions.
6239
6240 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
6241
6242         * gst/gstutils.c:
6243           Small docs addition.
6244
6245 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6246
6247         * README:
6248           Remove that test line again.
6249
6250 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6251
6252         * README:
6253           Test commit mail sending.
6254
6255 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6256
6257         * configure.ac:
6258           Fix typo and test commit mail sending.
6259
6260 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6261
6262         * tests/examples/controller/audio-example.c:
6263           Improve comment and test commit mail sending.
6264
6265 2007-06-07  Wim Taymans  <wim@fluendo.com>
6266
6267         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
6268         (gst_bin_remove_func), (gst_bin_element_set_state),
6269         (bin_handle_async_start), (bin_handle_async_done),
6270         (gst_bin_handle_message_func):
6271         Add helper function to find messages.
6272         Generate the async-done messages together with the state change
6273         messages.
6274         Small cleanups in handling toplevel bins.
6275
6276 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6277
6278         * libs/gst/base/gstdataqueue.c:
6279         * libs/gst/base/gstdataqueue.h:
6280         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6281         (gst_multi_queue_item_new), (gst_multi_queue_chain),
6282         (gst_multi_queue_sink_event):
6283         * tests/check/elements/multiqueue.c: (multiqueue_suite):
6284           Fix multiqueue leaking buffers and events when downstream or the
6285           queue are flushing. Make refcounting assumptions explicit and
6286           document them (shouldn't break existing code that uses it other than
6287           maybe leak miniobjects, but that already happens anyway). Add unit
6288           test for the most common flushing case. Fixes #423700.
6289           
6290 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
6291
6292         * libs/gst/controller/gstcontroller.c:
6293         Clarify docs: The get_all, get_value_array(s) functions
6294         don't modify the GObject properties.
6295
6296 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
6297
6298         * libs/gst/controller/gstcontroller.c:
6299         (gst_controlled_property_set_interpolation_mode),
6300         (gst_controlled_property_prepend_default),
6301         (gst_controlled_property_new), (gst_controller_set_unlocked),
6302         (gst_controller_set), (gst_controller_set_from_list),
6303         (gst_controller_unset), (gst_controller_unset_all):
6304         * libs/gst/controller/gstcontrollerprivate.h:
6305         * libs/gst/controller/gstinterpolation.c:
6306         Factor out the 'set' logic into gst_controller_set_unlocked for the
6307         gst_controller_set and gst_controller_set_from_list functions.
6308
6309         To make life of the interpolators easier always add a control point
6310         at timestamp zero with the default value.
6311
6312         In the linear interpolator make things more obvious by better variable
6313         naming (slope).
6314
6315         Implement cubic interpolation mode (by using a natural cubic spline)
6316         and map the quadratic interpolation mode to this too (as quadratic
6317         doesn't make much sense, see discussion on the list).
6318
6319         * tests/check/libs/controller.c: (GST_START_TEST),
6320         (gst_controller_suite):
6321         Add unit test for the cubic interpolation mode and check everywhere
6322         if the interpolation mode could be set as expected.
6323
6324 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6325
6326         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6327           Don't use GLib-2.10 functions, we still depend on
6328           GLib-how-old-is-it-again-2.8.
6329
6330 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6331
6332         * docs/gst/gstreamer-sections.txt:
6333         * gst/Makefile.am:
6334         * gst/gst.c:
6335         * gst/gst.h:
6336         * gst/gstparamspecs.c: (_gst_param_fraction_init),
6337         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6338         (_gst_param_fraction_values_cmp),
6339         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6340         * gst/gstparamspecs.h:
6341         * gst/gstvalue.c:
6342         * tests/check/Makefile.am:
6343         * tests/check/gst/.cvsignore:
6344         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6345         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6346         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6347         (GST_START_TEST), (gst_param_spec_suite):
6348           API: add GstParamSpecFraction, so elements can have fraction
6349           properties without lots of painful string parsing (#444648).
6350
6351 2007-06-05  Wim Taymans  <wim@fluendo.com>
6352
6353         * gst/gstobject.c: (gst_object_class_init):
6354         Fix signal signature.
6355
6356         * gst/gstsegment.c:
6357         Add small clarification in the api docs.
6358
6359         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6360         States are protected with object lock.
6361
6362 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6363
6364         * AUTHORS:
6365         I should probably be listed as an author by now.
6366
6367         * docs/random/release:
6368         Update the release doc
6369
6370 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
6371
6372         * gst/gstvalue.c:
6373           Make docs for gst_value_compare() mention return enums that
6374           actually exist.
6375
6376 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6377
6378         * configure.ac:
6379           Back to CVS
6380
6381 === release 0.10.13 ===
6382
6383 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
6384
6385         * configure.ac:
6386           releasing 0.10.13, "With or without you"
6387
6388 2007-05-25  Wim Taymans  <wim@fluendo.com>
6389
6390         * gst/gstbin.c: (bin_handle_async_done):
6391         Make sure that the child bin stops after completing the async state
6392         change so that the parent can continue the state change to PLAYING.
6393         Fixes #441159.
6394
6395 2007-05-25  Wim Taymans  <wim@fluendo.com>
6396
6397         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6398         (unref_data), (gst_collect_pads_remove_pad),
6399         (gst_collect_pads_check_pads):
6400         Use additional refcounting to avoid crashes when dynamically adding and
6401         removing pads. Fixes #420206.
6402
6403 2007-05-24  Wim Taymans  <wim@fluendo.com>
6404
6405         * tools/gst-launch.c: (event_loop):
6406         When buffering goes from a two digit to a single digit number, make sure
6407         to remove the old second digit by writing a blank over it.
6408
6409 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6410
6411         * libs/gst/base/gstdataqueue.c:
6412           Eliminate tabs and trailing comma in enum list; fix some typos.
6413
6414 2007-05-24  Wim Taymans  <wim@fluendo.com>
6415
6416         * tests/check/gst/gstbin.c: (GST_START_TEST):
6417         Allow refcount of 3 and 4 because some state thread might still be busy
6418         with it.
6419
6420 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6421
6422         * plugins/elements/Makefile.am:
6423         * plugins/elements/gstmultiqueue.h:
6424         * plugins/elements/gstqueue.h:
6425           These are not installed headers, no need for padding.
6426
6427 2007-05-24  Wim Taymans  <wim@fluendo.com>
6428
6429         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6430         (gst_bin_continue_func):
6431         Enable latency for next release.
6432         Restore STATE_LOCK around recalc_state that was left out during the
6433         rewrite and could result in racy behaviour when _get_state and
6434         recalc_state are run concurrently. See #440463.
6435
6436 2007-05-23  Wim Taymans  <wim@fluendo.com>
6437
6438         * tests/check/gst/gstsystemclock.c: (store_callback),
6439         (GST_START_TEST):
6440         Improve test_async_order to also work when both timers are already
6441         expired when we get scheduled to check it.
6442
6443 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6444
6445         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6446         (gst_bin_set_property), (gst_bin_get_property),
6447         (gst_bin_remove_func), (gst_bin_handle_message_func):
6448         * gst/gstbin.h:
6449           'private' is a c++ keyword, let's not use that in header files,
6450           otherwise c++ compilers will throw a tantrum.
6451
6452 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6453
6454         * plugins/elements/gstelements.c:
6455         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6456         (gst_file_sink_get_current_offset):
6457         * plugins/indexers/gstindexers.c: (plugin_init):
6458           Use #ifdef for HAVE_XYZ for consistency.
6459
6460         * tests/check/Makefile.am:
6461         * tests/check/elements/.cvsignore:
6462         * tests/check/elements/filesink.c: (setup_filesink),
6463         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6464           Add some unit tests for filesink.
6465
6466 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6467
6468         Patch by: Mark Nauwelaerts <manauw at skynet be>
6469
6470         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6471         (gst_file_sink_query), (gst_file_sink_do_seek),
6472         (gst_file_sink_get_current_offset), (gst_file_sink_render):
6473         * plugins/elements/gstfilesink.h:
6474           Fix position reporting; rename data_written member to current_pos to
6475           reflect its real meaning (fixes #412648).
6476
6477 2007-05-22  Edward Hervey  <edward@fluendo.com>
6478
6479         * docs/gst/gstreamer-sections.txt:
6480         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6481         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6482         (gst_bin_remove_func), (gst_bin_handle_message_func):
6483         * gst/gstbin.h:
6484         Add a property for bins that handle the state change of their childs.
6485         Fixes #435880
6486
6487 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
6488
6489         * libs/gst/controller/gstinterpolation.c:
6490         Use an array of the correct type when using _get_value_array with
6491         linear interpolation.
6492
6493 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
6494
6495         * gst/gstelement.c (gst_element_requires_clock,
6496           gst_element_provides_clock, gst_element_request_pad,
6497           gst_element_class_set_details, gst_element_class_set_details_simple,
6498           gst_element_default_send_event, gst_element_abort_state,
6499           gst_element_continue_state, gst_element_set_state,
6500           gst_element_set_state_func, iterator_activate_fold_with_resync):
6501         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6502           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6503           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6504           gst_pad_get_range, gst_pad_pull_range):
6505         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6506           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6507           GstPadActivateModeFunction, GstPadChainFunction,
6508           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6509           GstPadFixateCapsFunction, GstPadTemplate):
6510         * gst/gstpipeline.c (gst_pipeline_change_state,
6511           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6512           gst_pipeline_set_clock, gst_pipeline_auto_clock,
6513           gst_pipeline_get_delay):
6514           Whitespace and docs fixes.
6515
6516 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6517
6518         * libs/gst/controller/gstinterpolation.c:
6519         (interpolate_trigger_get_enum_value_array),
6520         (interpolate_trigger_get_string_value_array):
6521         Add support for retrieving value arrays when using the trigger
6522         interpolation mode. 
6523
6524 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6525
6526         * libs/gst/controller/gstcontroller.c:
6527         (gst_controller_get_value_array):
6528         * libs/gst/controller/gstcontroller.h:
6529         Clarify the docs of gst_controller_get_value_array(): The array where
6530         the values should be written to must be allocated as there seems to be
6531         no way to get the size of a random GType. This doesn't change any
6532         behaviour. Also fix some typos all over the place and remove an unused,
6533         commented function that is not necessary as g_object_set() could be
6534         used instead.
6535         * tests/check/libs/controller.c: (GST_START_TEST),
6536         (gst_controller_suite):
6537         Add unit test for gst_controller_get_value_array().
6538
6539 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
6540
6541         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6542
6543         Disable part of the gst_buffer_try_new_and_alloc test, because
6544         it can happily succeed on 64-bit systems where there's more address
6545         space available.
6546
6547 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6548
6549         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6550         Add unit test for the improved caps checking from bug #421543.
6551
6552 2007-05-21  Wim Taymans  <wim@fluendo.com>
6553
6554         * docs/design/part-synchronisation.txt:
6555         Small addition.
6556
6557         * gst/gstbin.c: (gst_bin_query):
6558         * plugins/elements/gstqueue.c: (apply_segment):
6559         Improve debugging.
6560
6561         * gst/gstmessage.h:
6562         Improve docs.
6563
6564 2007-05-21  Wim Taymans  <wim@fluendo.com>
6565
6566         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6567         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
6568         (gst_pad_configure_src):
6569         Added simple version of improved caps checking. It was previously
6570         assumed that a setcaps function would check the validity of the caps but
6571         people prefer us to check caps against the template automatically. 
6572         Fixes #421543.
6573
6574 2007-05-21  Wim Taymans  <wim@fluendo.com>
6575
6576         * libs/gst/base/gstbasetransform.h:
6577         Fix macro for locking/unlocking the transform lock.
6578
6579 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
6580
6581         * docs/plugins/tmpl/.cvsignore:
6582           Ignore more.
6583
6584 2007-05-18  Edward Hervey  <edward@fluendo.com>
6585
6586         * plugins/elements/gstqueue.c: (gst_queue_loop):
6587         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
6588         for the subtle art of warning a potentially blocking thread that it
6589         should check the source pad return value, and relay the information
6590         upstream.
6591
6592 2007-05-18  Edward Hervey  <edward@fluendo.com>
6593
6594         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6595         Release the queue lock !
6596
6597 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6598
6599         * docs/libs/gstreamer-libs-sections.txt:
6600         Add the two new controller functions to the appropiate places.
6601
6602 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6603
6604         reviewed by: Stefan Kost <ensonic@users.sf.net>
6605
6606         * libs/gst/controller/gstcontroller.c:
6607         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
6608         (_gst_controller_get_property), (_gst_controller_set_property),
6609         (_gst_controller_init), (_gst_controller_class_init):
6610         * libs/gst/controller/gstcontroller.h:
6611         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
6612         (gst_object_get_control_rate), (gst_object_set_control_rate):
6613         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
6614         Add API that provides sync suggestion timestamps for elements that
6615         call gst_object_sync_values() from which those elements can subdivide
6616         their processing loop to get the best results for the controlled
6617         properties. For now it just suggests last_sync + control_rate as
6618         new timestamp but this will be improved in the future.
6619
6620         While doing that change the control-rate property to a GstClockTime
6621         from guint and change it's meaning from samples to nanoseconds as
6622         the GstController doesn't know anything about sampling rate. Strictly
6623         speaking this breaks ABI but as the control-rate property didn't do
6624         anything in the past and as such couldn't be used this should be no
6625         problem.        
6626
6627 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6628
6629         reviewed by: Stefan Kost <ensonic@users.sf.net>
6630
6631         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6632         (gst_controller_unset_all):
6633         * libs/gst/controller/gstcontrollerprivate.h:
6634         * libs/gst/controller/gstinterpolation.c:
6635         (gst_controlled_property_find_control_point_node):
6636         Save last synced value from the list to continue searching from there
6637         in future syncs. This speeds everything up a bit.
6638         
6639 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6640
6641         reviewed by: Stefan Kost <ensonic@users.sf.net>
6642
6643         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
6644         (gst_control_point_find), (gst_controlled_property_new),
6645         (gst_control_point_free), (gst_controlled_property_free),
6646         (gst_controller_set), (gst_controller_set_from_list),
6647         (gst_controller_unset), (gst_controller_unset_all),
6648         (gst_controller_sync_values):
6649         * libs/gst/controller/gstcontroller.h:
6650         * libs/gst/controller/gstcontrollerprivate.h:
6651         * libs/gst/controller/gstinterpolation.c:
6652         (gst_controlled_property_find_control_point_node),
6653         (interpolate_none_get), (interpolate_trigger_get):
6654         Add a new private GstControlPoint struct which "inherits" from
6655         GstTimedValue to allow different interpolators to store internal
6656         values next to each control point. From the outside everything is
6657         still a GstControlPoint so we don't loose binary compatibility.
6658         Also fixup all the GValue handling to not leak GValues or list nodes.
6659         * tests/check/libs/controller.c: (GST_START_TEST):
6660         Free the list nodes and GValues in the controller_misc test.
6661
6662 2007-05-17  Edward Hervey  <edward@fluendo.com>
6663
6664         * gst/gstsegment.c:
6665         Small doc fix.
6666
6667 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
6668
6669         * gst/gstplugin.c: (gst_plugin_load_file):
6670           If we fail to load a plugin because of unresolved symbols or missing
6671           libraries and spew a warning to stderr, we may just as well mention
6672           which plugin it was that failed to load.
6673
6674 2007-05-13  David Schleef  <ds@schleef.org>
6675
6676         * docs/Makefile.am: the gtk-doc makefile snippet correctly
6677           handles the case when ENABLE_GTK_DOC is false, and installs
6678           the prebuilt documentation.  So gtk-doc subdirs are 
6679           unconditionally enabled.  Fixes: #349099.
6680
6681 2007-05-13  David Schleef  <ds@schleef.org>
6682
6683         * gst/gstutils.h: Reword some documentation.
6684
6685 2007-05-12  David Schleef  <ds@schleef.org>
6686
6687         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
6688           do anything with the passed "module" parameter, so remove it.
6689           Allows removal of additional vestigal code.
6690
6691 2007-05-12  David Schleef  <ds@schleef.org>
6692
6693         * gst/gstplugin.c:
6694           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
6695           Switch to using g_stat() because it's more portable.
6696
6697 2007-05-12  David Schleef  <ds@schleef.org>
6698
6699         * gst/gst.c:
6700           Add GST_DISABLE_OPTION_PARSING, in order to disable option
6701           parsing for embedded systems.
6702         * gst/gstelementfactory.c:
6703           Allow gst_element_register() to be called with plugin==NULL.
6704           Did nobody notice that static elements were broken?
6705
6706 2007-05-12  Wim Taymans  <wim@fluendo.com>
6707
6708         * tools/gst-launch.c: (event_loop):
6709         Give more interesting info when buffering starts and stops.
6710         Fix case where buffering starts but we fail to update the buffering flag
6711         because the target state is not PLAYING.
6712
6713 2007-05-12  Wim Taymans  <wim@fluendo.com>
6714
6715         * plugins/elements/gstqueue.c: (gst_queue_init),
6716         (gst_queue_finalize), (update_time_level), (apply_segment),
6717         (apply_buffer), (gst_queue_locked_flush),
6718         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
6719         (gst_queue_handle_sink_event), (gst_queue_chain),
6720         (gst_queue_push_one), (gst_queue_loop):
6721         * plugins/elements/gstqueue.h:
6722         Refactor an cleanup queue a bit.
6723         Do better time level calculations that also work when the srcpad is not
6724         yet running.
6725         Remove some unneeded debug lines.
6726
6727         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
6728         Added testcase for time level measurement.
6729         Try to make some stuff more racefree.
6730
6731 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
6732
6733         * gst/gsturi.c: (gst_element_make_from_uri):
6734           Don't leak plugin feature.
6735
6736         * tests/check/Makefile.am:
6737         * tests/check/gst/.cvsignore:
6738         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
6739           Add brain-dead unit test.
6740
6741 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
6742
6743         Patch by: Jeroen Wouters <woutersj at gmail com>
6744
6745         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
6746           Treat protocol strings in a case-insensitive way (#437563).
6747
6748 2007-05-11  Michael Smith <msmith@fluendo.com>
6749
6750         * gst/gstplugin.c: (gst_plugin_load_file):
6751         * gst/gstregistry.c: (gst_registry_scan_path_level):
6752           Don't print a g_warning for any failure to load a shared object.
6753           Instead, push this down into gstplugin.c, and warn _only_ if we
6754           failed to open the module (i.e. failure to link).
6755           Avoids warnings on normal, working, non-plugin .so files.
6756
6757 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
6758
6759         * gst/gstplugin.c (gst_plugin_load_file):
6760         * gst/gstregistry.c (GST_CAT_DEFAULT,
6761           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
6762           Print a g_warning if there was an error when loading a plugins during
6763           registry scan. The shuld help beginners starting with gst-plugin
6764           template.
6765
6766 2007-05-10  Wim Taymans  <wim@fluendo.com>
6767
6768         * plugins/elements/gstqueue.c: (gst_queue_class_init),
6769         (update_time_level), (gst_queue_locked_flush),
6770         (gst_queue_handle_sink_event), (gst_queue_chain),
6771         (gst_queue_push_one), (gst_queue_loop):
6772         * plugins/elements/gstqueue.h:
6773         Be smarter when calculating the current amount of data in the queue by
6774         measuring the difference between start and end timestamps (in running
6775         time) inside the queue. Fixes #432876.
6776         API: GstQueue::pushing to notify elements that we are pushing data again
6777         since the running signal is rather broken for this purpose.
6778
6779 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
6780
6781         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
6782           gst_queue_base_init, gst_queue_init):
6783           use GST_BOILERPLATE
6784
6785 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
6786
6787         * win32/common/libgstreamer.def:
6788         Add new exported functions.
6789         * win32/vs6/grammar.dsp:
6790         Use grammar pre-generated files.
6791
6792 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6793
6794         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
6795
6796         * gst/Makefile.am:
6797         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
6798         * gst/gstparse.h:
6799         * gst/gstutils.c: (gst_parse_bin_from_description):
6800         * gst/gstutils.h:
6801           Maintain API and ABI when --disable-parse is used. Now that
6802           we have an appropriate error code, we can just return NULL and the
6803           appropriate error when gst_parse_launch() is used despite it having
6804           been disabled (#342564).
6805
6806         * tests/check/Makefile.am:
6807         * tests/check/pipelines/.cvsignore:
6808         * tests/check/pipelines/parse-disabled.c:
6809           Make sure these functions exist and return NULL plus a GError when
6810           --disable-parse is used.
6811
6812 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6813
6814         * tests/benchmarks/complexity.c: (main):
6815         * tests/benchmarks/mass-elements.c: (main):
6816           Set a good example and don't leak messages.
6817
6818 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
6819
6820         * docs/gst/Makefile.am:
6821         * docs/libs/Makefile.am:
6822           Correct fixxrefs options.
6823
6824         * docs/plugins/Makefile.am:
6825         * docs/plugins/gstreamer-plugins-docs.sgml:
6826         * docs/plugins/gstreamer-plugins-sections.txt:
6827         * plugins/elements/Makefile.am:
6828         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
6829         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
6830           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
6831           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
6832           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
6833           _GstCapsFilterClass, trans_class):
6834         * plugins/elements/gstelements.c (name, rank, type, _elements):
6835         * plugins/elements/gstidentity.c
6836           (gst_identity_check_imperfect_timestamp,
6837           gst_identity_check_imperfect_offset):
6838           Document capsfilter and add doc-blurb to identity.
6839
6840 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6841
6842         * libs/gst/controller/gstcontroller.c:
6843         (gst_controlled_property_set_interpolation_mode):
6844         * libs/gst/controller/gstinterpolation.c:
6845           Don't crash if someone tries to set an interpolation mode that
6846           is invalid or that isn't supported yet. Fixes #422295.
6847
6848         * tests/check/libs/controller.c: (GST_START_TEST),
6849         (gst_controller_suite):
6850           Add a test case for the above.
6851
6852 2007-05-03  Edward Hervey  <edward@fluendo.com>
6853
6854         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6855         Properly set the last_stop position on GstSegment. This will only happen
6856         if there is a buffer to push out.
6857
6858 2007-05-03  Wim Taymans  <wim@fluendo.com>
6859
6860         * libs/gst/base/gstbasetransform.c:
6861         (gst_base_transform_buffer_alloc):
6862         always_in_place does not mean that the sink and source caps are the
6863         same! Make sure we don't blindly proxy the buffer_alloc in this case.
6864
6865 2007-05-03  Wim Taymans  <wim@fluendo.com>
6866
6867         * docs/libs/gstreamer-libs-sections.txt:
6868         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6869         (gst_base_src_default_query), (gst_base_src_get_range):
6870         * libs/gst/base/gstbasesrc.h:
6871         API: gst_base_src_query_latency(). Added method so that subclasses can
6872         easily get the latency values of the base source class.
6873
6874 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
6875
6876         * tools/gst-inspect.c (print_implementation_info):
6877         Remove 0.8 cruft.
6878
6879 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
6880
6881         * tools/Makefile.am:
6882         * tools/gst-launch.1.in:
6883           Don't create a customised man page based on the host architecture,
6884           describe the default registry path generically. That way the man
6885           page is the same for all architectures and packagers have one
6886           multilib issue less to deal with. Fixes #434926.
6887
6888 2007-05-02  Wim Taymans  <wim@fluendo.com>
6889
6890         * gst/gstpad.c:
6891         Fix documentation as spotted by rg on IRC. 
6892
6893 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
6894
6895         * gst/gstutils.c:
6896           Improve docs for gst_element_{link,unlink}.
6897
6898 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
6899
6900         * docs/design/part-events.txt:
6901         * docs/design/part-overview.txt:
6902         * gst/gstevent.c:
6903         * gst/gsturi.c:
6904         * gst/gsturi.h:
6905         * libs/gst/base/gstbasesink.c:
6906           Typo fixes; minor docs addition.
6907
6908 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6909
6910         * docs/gst/gstreamer-sections.txt:
6911         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
6912         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
6913         * gst/gsturi.h:
6914         API: Add gst_uri_protocol_is_supported(), which checks if a sink
6915         or src that supports a given URI protocol exists.
6916
6917 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6918
6919         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6920         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6921         Set the location to NULL if "file://" is set as URI. Otherwise
6922         some random previous URI would still be set if "file://" is
6923         set on an already used filesink/filesrc.
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         Special case the "file://" URI as as this is used by some
6930         applications to test with gst_element_make_from_uri if there's
6931         an element that supports the URI protocol.
6932         Also move the g_path_is_absolute() check for the location part
6933         of the URI to also check this for "file://localhost/bla" URIs.
6934
6935 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
6936
6937         * docs/gst/gstreamer-sections.txt:
6938         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
6939         * gst/gstbuffer.h:
6940         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6941         (gst_buffer_suite):
6942           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
6943
6944 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
6945
6946         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6947         (gst_registry_binary_load_pad_template),
6948         (gst_registry_binary_load_plugin),
6949         (gst_registry_binary_read_cache):
6950         * gst/gstregistrybinary.h:
6951           Implement no-mmap alternative for registry reading. Do code cleanups.
6952           Add more comments about avoiding strdups for all text data. Comments
6953           welcome.
6954
6955 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
6956
6957         * gst/gstregistrybinary.h (GstBinaryPluginElement,
6958           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
6959           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
6960           Comment structs and reformat to fix the build (that stuff should go
6961           into a priv. header).
6962
6963 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
6964
6965         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
6966         (gst_registry_binary_load_feature):
6967         * gst/gstregistrybinary.h:
6968           Refactor so that we can implement multiple features. Add support for
6969           TypeFindFactory features.
6970
6971 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
6972
6973         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
6974
6975         * configure.ac:
6976           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
6977
6978 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
6979
6980         * gst/gstbin.c: (gst_bin_element_set_state),
6981         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
6982         (bin_handle_async_done), (gst_bin_handle_message_func):
6983           Fix build with --gst-disable-gst-debug
6984
6985 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
6986
6987         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
6988           Make sure streaming has finished before calling the ::stop() vfunc,
6989           since that vfunc might clear state which is being used in the
6990           streaming thread. This fixes a race that caused crashes in
6991           audioresample when shutting down a pipeline (#420106).
6992
6993 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
6994
6995         * docs/gst/gstreamer-sections.txt:
6996           That was one byte missing.
6997
6998 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
6999
7000         * configure.ac:
7001         * docs/gst/gstreamer-sections.txt:
7002         * gst/Makefile.am:
7003         * gst/gstconfig.h.in:
7004         * gst/gstobject.c: (gst_object_class_init),
7005         (gst_signal_object_class_init):
7006         * gst/gstobject.h:
7007           2nd attempt to have a xml-less build as a joined effort of #413123
7008           and #421480.
7009
7010 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
7011
7012         * docs/design/draft-tagreading.txt:
7013           Added open issues/thoughts to draft.
7014
7015 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7016
7017         * gst/parse/grammar.tab.pre.c:
7018         * gst/parse/grammar.tab.pre.h:
7019         * gst/parse/lex._gst_parse_yy.pre.c:
7020         Update the prebuild parser sources.
7021
7022 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7023
7024         * gst/parse/Makefile.am:
7025         And now fix the building of the flex sources. Now everything should
7026         work as expected.
7027
7028 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7029
7030         * gst/parse/Makefile.am:
7031         Now hopefully fix the build failures by setting proper rule
7032         dependencies and moving instead of copying.
7033
7034 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7035
7036         * tests/benchmarks/complexity.gnuplot:
7037         * tests/benchmarks/complexity.scm:
7038         * tests/benchmarks/mass-elements.gnuplot:
7039         * tests/benchmarks/mass-elements.scm:
7040           Total licensification.
7041
7042 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7043
7044         * gst/parse/Makefile.am:
7045           Fix the build by correcting the rule that gave wrong files to flex.
7046
7047 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7048
7049         * tests/benchmarks/complexity.c:
7050         * tests/benchmarks/mass-elements.c:
7051           Change licence to LGPL as granted by Benjamin and Andy.
7052
7053 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7054
7055         * gst/parse/Makefile.am:
7056         Add correct grammar.tab.h dependency if compiling without new enough
7057         flex. Fixes #431150.
7058
7059 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
7060
7061         * gst/parse/Makefile.am:
7062         Fix typo and use outdated sources if the flex/bison sources are newer
7063         than the pregenerated ones but flex is too old. Print a warning in
7064         that case. This should fix the build on the build bot.
7065
7066 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
7067
7068         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
7069         * gst/parse/Makefile.am:
7070         * gst/parse/grammar.y:
7071         * gst/parse/parse.l:
7072         Make the parser reentrant and recursively callable. This requires flex
7073         >= 2.5.31, for older versions pregenerated sources are used as we
7074         can't bump the build dependency. Finally fixes #349180.
7075
7076         * gst/gstparse.c: (gst_parse_launch):
7077         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
7078         now anyway.
7079
7080         * docs/gst/Makefile.am:
7081         * docs/gst/Makefile.am:
7082         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
7083         (__gst_parse_strfree), (__gst_parse_link_new),
7084         (__gst_parse_link_free), (__gst_parse_chain_new),
7085         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
7086         (gst_parse_element_set), (gst_parse_free_link),
7087         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
7088         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
7089         (_gst_parse_launch):
7090         * gst/parse/grammar.tab.pre.h:
7091         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
7092         (yy_get_previous_state), (yy_try_NUL_trans), (input),
7093         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
7094         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
7095         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
7096         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
7097         (_gst_parse_yypop_buffer_state),
7098         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
7099         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
7100         (yy_fatal_error), (_gst_parse_yyget_extra),
7101         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
7102         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
7103         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
7104         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
7105         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
7106         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
7107         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
7108         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
7109         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
7110         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
7111         (_gst_parse_yyfree):
7112         If the installed flex version is too old use pre-generated parser
7113         sources. These pre-generated parser sources are always updated when
7114         the actual flex/bison sources change but require everybody who wants
7115         to change something in the parser to have flex >= 2.5.31 installed.
7116
7117 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
7118
7119         * common/m4/gst-gettext.m4:
7120         * gst/gst-i18n-lib.h:
7121           Make --disable-nls to work
7122
7123 2007-04-17  Wim Taymans  <wim@fluendo.com>
7124
7125         * gst/gstconfig.h.in:
7126         Revert previous change that broke the build.
7127
7128 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
7129
7130         * configure.ac:
7131         * gst/Makefile.am:
7132         * gst/gstconfig.h.in:
7133           Drop libxml2 dependency when building with 
7134           --enable-binary-registry --disable-loadsave
7135
7136 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
7137
7138         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7139         (gst_registry_binary_read_cache):
7140         * gst/gstregistrybinary.h:
7141           Remove unnecessary <sys/mman.h> include which broke the win32 build
7142           with MingW; move includes from header file to .c file, even if the
7143           header file isn't installed; use g_strerror() where UTF-8 strings
7144           are expected, such as in GST_DEBUG messages.
7145
7146 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7147
7148         * docs/libs/gstreamer-libs-sections.txt:
7149         Remove bogus addition for API I didn't end up keeping.
7150
7151         * libs/gst/base/gstbasesrc.h:
7152         Mention Since: 0.10.13 in the documentation.
7153
7154         Add the API keyword to the previous ChangeLog entry.
7155
7156 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7157
7158         * docs/libs/gstreamer-libs-sections.txt:
7159         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7160         (gst_base_src_default_prepare_seek_segment),
7161         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
7162         * libs/gst/base/gstbasesrc.h:
7163         Allow basesrc derived classes to execute seeks in other formats
7164         by providing a prepare_seek_segment vmethod. Sub-classes can choose
7165         to prepare the GstSegment in any format that their perform_seek method
7166         will be able to understand. The default implementation provides the
7167         old behaviour of attempting to convert the seek offsets to the 
7168         configured native format.
7169
7170         API: basesrc::prepare_seek_segment vmethod.
7171
7172 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7173
7174         * gst/gstelement.c: (gst_element_get_state_func):
7175         Don't output the same debug statement twice.
7176
7177         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
7178         (gst_adapter_peek), (gst_adapter_take_buffer):
7179         Optimise the case where we have buffers at the head of the queue that
7180         can be joined quickly (because they're contiguous sub-buffers) by
7181         merging them together rather than copying data out into new memory.
7182
7183         * gst/parse/grammar.y:
7184         * tests/check/pipelines/parse-launch.c:
7185         Fix a leak in an error path for parse_launch, and add a check 
7186         for it to the testsuite.
7187
7188 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7189
7190         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7191           Don't deadlock when releasing a pad - gst_pad_set_active may try
7192           and take the multiqueue lock too.
7193
7194 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
7195
7196         * gst/gsterror.c: (_gst_core_errors_init):
7197         * gst/gsterror.h:
7198           API: add GST_CORE_ERROR_DISABLED (#392804).
7199
7200 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7201
7202         * docs/faq/gst-uninstalled:
7203           don't get empty paths on the PATH variables
7204         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
7205           Don't format for the uncommon terminal width of 84 characters.
7206
7207 2007-04-06  Wim Taymans  <wim@fluendo.com>
7208
7209         * gst/gstpipeline.c: (reset_stream_time),
7210         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
7211         Only try to select a different pipeline clock when we went back to
7212         PAUSED and not when we merely got flushed.
7213
7214 2007-04-05  Michael Smith  <msmith@fluendo.com>
7215
7216         * tools/gst-launch.1.in:
7217           fractions are better supported in gstreamer than ractions, so
7218           suggest using those.
7219
7220 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7221
7222         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
7223
7224         * po/LINGUAS:
7225         * po/da.po:
7226           Added Danish translation.
7227
7228 2007-04-05  Wim Taymans  <wim@fluendo.com>
7229
7230         * libs/gst/base/gstbasesink.c:
7231         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
7232         Fix leak caused when refusing newsegment after EOS.
7233
7234         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7235         (gst_fake_sink_init), (gst_fake_sink_set_property),
7236         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
7237         (gst_fake_sink_render), (gst_fake_sink_change_state):
7238         * plugins/elements/gstfakesink.h:
7239         Add num-buffers property to make the element generate EOS after a
7240         configurable amount of buffers.
7241         API: fakesink::num-buffers property.
7242
7243         * tests/check/elements/fakesink.c: (GST_START_TEST),
7244         (fakesink_suite):
7245         Fix GstBus leak in test.
7246         Test for fakesink num-buffers.
7247
7248 2007-04-05  Wim Taymans  <wim@fluendo.com>
7249
7250         * libs/gst/base/gstbasesink.c:
7251         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
7252         (gst_base_sink_change_state):
7253         Don't accept anything after an EOS, return UNEXPECTED instead.
7254
7255         * tests/check/elements/fakesink.c: (GST_START_TEST),
7256         (fakesink_suite):
7257         Unit test for new EOS behaviour.
7258
7259 2007-04-05  Wim Taymans  <wim@fluendo.com>
7260
7261         * gst/gstelement.c: (gst_element_get_request_pad):
7262         Make padtemplates also work when they don't contain %s or %d.
7263
7264 2007-04-05  Wim Taymans  <wim@fluendo.com>
7265
7266         * docs/gst/gstreamer-sections.txt:
7267         * gst/gstclock.c: (gst_clock_adjust_unlocked),
7268         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
7269         * gst/gstclock.h:
7270         Improve _adjust_unlocked() so that it overflows less.
7271         Add gst_clock_unadjust_unlocked to convert from external time to
7272         internal time based on calibration.
7273         Add some more debug.
7274         API: GstClock::gst_clock_unadjust_unlocked()
7275
7276 2007-04-03  Wim Taymans  <wim@fluendo.com>
7277
7278         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7279
7280         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7281         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
7282         when releasing sink pad. Fixes #425400.
7283
7284 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
7285
7286         * docs/random/ensonic/dynlink.txt:
7287           More work on proposal for new core api.
7288
7289         * docs/libs/gstreamer-libs-sections.txt:
7290         * libs/gst/base/gstbasetransform.h:
7291           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
7292           
7293         * libs/gst/controller/gstcontroller.c:
7294         (on_object_controlled_property_changed),
7295         (gst_controller_sync_values),
7296         (gst_controller_set_interpolation_mode):
7297         * libs/gst/controller/gstcontroller.h:
7298           Less verbose logging add docs for unimplemented parts and correctly
7299           return when using unavailable parts.
7300
7301 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
7302
7303         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
7304         Move all the debug to the CLOCK category, and associate it with
7305         the clock object.
7306
7307 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
7308
7309         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
7310         Make take_buffer a bit quicker by removing redundant checks
7311         caused by calling gst_adapter_take.
7312
7313 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7314
7315         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
7316           Don't leak GCond.
7317
7318         * tests/check/Makefile.am:
7319         * tests/check/elements/.cvsignore:
7320         * tests/check/elements/multiqueue.c: (setup_multiqueue),
7321         (GST_START_TEST), (multiqueue_suite):
7322           Add some dead simple unit tests for the 'multiqueue' element
7323           (some bits don't work yet and are disabled for now).
7324
7325 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7326
7327         * gst/gstelement.c: (gst_element_get_request_pad),
7328         (gst_element_class_get_request_pad_template):
7329           Make gst_element_get_request_pad() create request pads only for
7330           request pad templates and not for, say, sometimes pad templates.
7331
7332 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
7333
7334         * docs/design/draft-klass.txt:
7335           Add example that needs more thinking.
7336         
7337         * docs/design/draft-missing-plugins.txt:
7338           More thoughts about wrapper plugins.
7339         
7340         * docs/random/ensonic/embedded.txt:
7341         * docs/random/ensonic/profiling.txt:
7342           More design work.
7343
7344 2007-03-25  Wim Taymans  <wim@fluendo.com>
7345
7346         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7347         (gst_base_src_loop):
7348         Only push the segment events in the PLAYING state for live sources.
7349
7350 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
7351
7352         * gst/gstpipeline.c: (gst_pipeline_change_state):
7353         Modify the clock distribution path in PAUSED->PLAYING so that we 
7354         never attempt to choose a new clock unless we're actually leaving
7355         the PAUSED state for the first time. This prevents choosing a
7356         different clock when the state_change gets called for a 2nd time due
7357         to some element doing an async state change.
7358
7359 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7360
7361         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7362         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7363         (gst_pad_chain_unchecked), (gst_pad_push):
7364         Revert last commit. This needs some more thoughts.
7365
7366 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7367
7368         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7369         (gst_pad_chain_unchecked), (gst_pad_push):
7370         Check in set_caps if the caps are compatible with the pad and remove
7371         two functions that are redundant now. Fixes #421543.
7372
7373 2007-03-22  Wim Taymans  <wim@fluendo.com>
7374
7375         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7376         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7377         Unref some more to make valgrind happy.
7378
7379 2007-03-22  Wim Taymans  <wim@fluendo.com>
7380
7381         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7382         (gst_system_clock_id_wait_jitter),
7383         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7384         Fix anoying regression that survived a few releases. When adding an
7385         async entry while blocking on a sync entry, the sync entry will unblock
7386         but still be busy, so it should continue to wait instead of returning
7387         _BUSY to the app.
7388         Add some comments here and there.
7389
7390         * tests/check/gst/gstsystemclock.c: (mixed_thread),
7391         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7392         Add testcase for this.
7393
7394 2007-03-22  Wim Taymans  <wim@fluendo.com>
7395
7396         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7397         Handle errors from the clock sync better, only UNSCHEDULED indicates a
7398         WRONG_STATE and can silently pause the task. All other cases should
7399         error out.
7400
7401 2007-03-22  Wim Taymans  <wim@fluendo.com>
7402
7403         Patch by: Ville Syrjala <syrjala at sci dot fi>
7404
7405         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7406         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
7407         Improve debugging.
7408
7409 2007-03-21  Michael Smith  <msmith@fluendo.com>
7410
7411         * docs/pwg/advanced-types.xml:
7412           Fix some errors in the typefinding docs pointed out on irc.
7413
7414 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
7415
7416         * libs/gst/base/gstbasesrc.c:
7417         Clarify FIXME comment in the face of having added unlock_stop()
7418
7419 2007-03-21  Wim Taymans  <wim@fluendo.com>
7420
7421         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7422         Prepare for release where we warn against possible app breakage in the
7423         case of live pipelines along with an env var to enable/disable live
7424         preroll mode (GST_COMPAT=[no-]live-preroll).
7425
7426 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7427
7428         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7429         So we should use correct constants for checking for None offset.
7430
7431 2007-03-20  Wim Taymans  <wim@fluendo.com>
7432
7433         * docs/design/part-block.txt:
7434         Mention the fact that the newly switched element should be set to at
7435         least PAUSED.
7436
7437 2007-03-20  Wim Taymans  <wim@fluendo.com>
7438
7439         * gst/gst.c:
7440         Fix compilation with registry disabled as spotted by Saur.
7441
7442 2007-03-20  Wim Taymans  <wim@fluendo.com>
7443
7444         Patch by: Olivier Crete <tester at tester dot ca>
7445
7446         * gst/gstelement.c: (gst_element_sync_state_with_parent):
7447         Look at the pending state too when syncing the element state to the
7448         parent. Fixes #420133.
7449
7450 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
7451
7452         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7453         (gst_base_sink_change_state):
7454         * libs/gst/base/gstbasesink.h:
7455         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7456         (gst_base_src_default_event), (gst_base_src_unlock_stop),
7457         (gst_base_src_deactivate):
7458         * libs/gst/base/gstbasesrc.h:
7459         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7460         for sub-classes to correctly clear any state they set trying to
7461         unlock, such as clearing out unlock commands from a command fd.
7462         API: basesrc::unlock_stop
7463         API: basesink::unlock_stop
7464
7465         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7466         (gst_fd_sink_render), (gst_fd_sink_unlock),
7467         (gst_fd_sink_unlock_stop):
7468         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7469         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7470         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7471
7472         Implement unlock_stop in fdsrc and fdsink.
7473         Implement seeking in fdsrc when a seekable fd is passed, as in
7474         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7475
7476 2007-03-19  Wim Taymans  <wim@fluendo.com>
7477
7478         Patch by: Evan Nemerson <evan at coeus dash group dot com>
7479
7480         * gst/gstelement.c: (gst_element_class_init):
7481         Fix pad-added and pad-removed signal signatures so that the pad type is
7482         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7483
7484 2007-03-19  Wim Taymans  <wim@fluendo.com>
7485
7486         * docs/gst/gstreamer-sections.txt:
7487         Add new element field and method.
7488
7489         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7490         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7491         (gst_bin_recalc_state), (gst_bin_get_state_func),
7492         (gst_bin_element_set_state), (gst_bin_change_state_func),
7493         (gst_bin_continue_func), (bin_bus_handler),
7494         (bin_push_state_continue), (bin_handle_async_start),
7495         (bin_handle_async_done), (gst_bin_handle_message_func):
7496         Make async state changes a bit smarter by using new ASYNC_START and
7497         ASYNC_DONE messages. This reduces the number of times we run the state
7498         recalculation thread.
7499         Don't change state of element with a pending ASYNC_START message.
7500         Deprecate STATE_DIRTY messages.
7501         
7502         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7503         (gst_element_get_state_func), (gst_element_continue_state),
7504         (gst_element_lost_state), (gst_element_set_state_func),
7505         (gst_element_change_state):
7506         * gst/gstelement.h:
7507         Keep the state that was last set by the app in a new element field.
7508         Don't allow state changes when handling an element event.
7509         Post ASYNC_START and ASYNC_DONE messages.
7510         Change lost_state so that we go to PAUSED and wait for the parent to set
7511         us to PLAYING again (so latency calculation can be performed)
7512         Export gst_element_change_state() method so that subclasses can use it.
7513         API: gst_element_change_state()
7514         API: GST_STATE_TARGET
7515
7516         * gst/gstpipeline.c: (gst_pipeline_class_init),
7517         (reset_stream_time), (gst_pipeline_change_state),
7518         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7519         Using the new ASYNC_START message we can reset the base_time when
7520         needed. This can then be used to implement base_time redistribution in
7521         flushing seeks so that we can remove the explicit seek handling.
7522         Perform latency query and configuration when going to PLAYING.
7523
7524         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7525         (gst_base_sink_query), (gst_base_sink_change_state):
7526         Post new ASYNC_START/ASYNC_DONE messages.
7527
7528         * tests/check/generic/sinks.c: (GST_START_TEST):
7529         Fix test because the bin will not set the async element to PLAYING right
7530         away.
7531
7532         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7533         Make the message check a little stronger.
7534         Handle ASYNC messages.
7535
7536         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7537         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7538         Expect ASYNC_DONE messages.
7539
7540 2007-03-19  Wim Taymans  <wim@fluendo.com>
7541
7542         * docs/gst/gstreamer-sections.txt:
7543         * gst/gstmessage.c: (gst_message_new_async_start),
7544         (gst_message_new_async_done), (gst_message_parse_info),
7545         (gst_message_parse_async_start):
7546         * gst/gstmessage.h:
7547         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7548         support.
7549
7550 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
7551
7552         * tools/gst-inspect.c:
7553         (print_plugin_automatic_install_info_codecs):
7554           Now that we don't check for the 'Codec' keyword any longer in the
7555           klass, we shouldn't spew a warning if the klass isn't a decoder or
7556           encoder (since it might be a Source/Network, for example).
7557
7558 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7559
7560         * tools/gst-inspect.c:
7561         (print_plugin_automatic_install_info_codecs):
7562           Don't require decoder/demuxer/depayloader elements or
7563           encoder/muxer/paylader elements to have 'Codec' as part of their
7564           factory class string when introspecting a plugin's capabilities.
7565           draft-klass.txt mentions that it might be removed in future, and
7566           flump3dec doesn't have it as part of its class string, so chances
7567           are others might also not have it.
7568
7569 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7570
7571         * po/af.po:
7572         * po/az.po:
7573         * po/bg.po:
7574         * po/ca.po:
7575         * po/cs.po:
7576         * po/de.po:
7577         * po/en_GB.po:
7578         * po/fr.po:
7579         * po/it.po:
7580         * po/nb.po:
7581         * po/nl.po:
7582         * po/ru.po:
7583         * po/sq.po:
7584         * po/sr.po:
7585         * po/sv.po:
7586         * po/tr.po:
7587         * po/uk.po:
7588         * po/vi.po:
7589         * po/zh_CN.po:
7590         * po/zh_TW.po:
7591           Update translations from translation project
7592
7593 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
7594
7595         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
7596         (gst_child_proxy_set_property):
7597           Invert precondition check to be alike the ones in the mimiced gobject
7598           api.
7599
7600 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
7601
7602         * docs/design/draft-tagreading.txt:
7603         * docs/random/ensonic/audiobaseclasses.txt:
7604           Do some Architect work.
7605
7606         * gst/gstobject.c: (gst_object_set_name):
7607           Add a WARNING.
7608
7609         * gst/gstpad.c:
7610           Add docs that point from gst_pad_get_range to gst_pad_pull_range
7611
7612 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
7613
7614         * gst/gstsystemclock.c: (gst_system_clock_init),
7615         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
7616         Defer starting the async system clock thread until the first async
7617         wait is scheduled. Fixes #414986.
7618
7619 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
7620
7621         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
7622         (gst_single_queue_free):
7623           Fix small leak (free GstSingleQueue structure too, not only contents).
7624
7625 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
7626
7627         * gst/gstbin.c:(gst_bin_add):
7628         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
7629         * win32/common/libgstbase.def:
7630         * win32/common/libgstreamer.def:
7631         Add new exported functions.
7632
7633 2007-03-09  Wim Taymans  <wim@fluendo.com>
7634
7635         * docs/plugins/gstreamer-plugins-sections.txt:
7636         Fix GstTee docs.
7637
7638 2007-03-09  Wim Taymans  <wim@fluendo.com>
7639
7640         * docs/gst/gstreamer-sections.txt:
7641         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
7642         * gst/gstbuffer.h:
7643         Add metadata copy functions. Fixes #393099.
7644         API: gst_buffer_copy_metadata()
7645
7646         * gst/gstutils.c: (gst_buffer_stamp):
7647         * libs/gst/base/gstbasetransform.c:
7648         (gst_base_transform_prepare_output_buffer):
7649         Use new metadata copy functions.
7650
7651 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7652
7653         * plugins/elements/gstidentity.c: (gst_identity_class_init),
7654         (gst_identity_init), (gst_identity_check_perfect),
7655         (gst_identity_check_imperfect_timestamp),
7656         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
7657         (gst_identity_set_property), (gst_identity_get_property):
7658         * plugins/elements/gstidentity.h:
7659         Separate out check-imperfect-timestamp and check-imperfect-offset.
7660         Put back check-perfect as it was to keep compatibility.
7661
7662 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
7663
7664         * gst/gstelement.c: (gst_element_dispose):
7665         There's no need to warn if VOID_PENDING is not NONE here, as
7666         long as the state is NULL it's ok, and that's checked immediately
7667         above.
7668
7669 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7670
7671         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7672         Fix check for perfect stream to ignore buffers with -1 
7673         offsets/offset ends when checking data contiguity.
7674
7675 2007-03-08  Wim Taymans  <wim@fluendo.com>
7676
7677         * tools/gst-launch.c: (event_loop):
7678         Print INFO messages.
7679
7680 2007-03-08  Wim Taymans  <wim@fluendo.com>
7681
7682         * libs/gst/base/gstbasetransform.c:
7683         (gst_base_transform_sink_eventfunc),
7684         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7685         (gst_base_transform_activate):
7686         * libs/gst/base/gstbasetransform.h:
7687         Add support for dropping buffers with custom GstFlowReturn.
7688         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
7689         buffers or dropped buffers.
7690
7691         * docs/libs/gstreamer-libs-sections.txt:
7692         docs for new custom return code.
7693
7694         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7695         Use drop support in base class to implement drop-probability.
7696
7697 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
7698
7699         * gst/gst.c: (load_plugin_func):
7700         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
7701         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7702         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
7703           Remove newlines at end of debug log strings.
7704
7705 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7706
7707         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7708         Only post bus message at max, once per buffer received.
7709
7710 2007-03-07  Wim Taymans  <wim@fluendo.com>
7711
7712         * docs/design/Makefile.am:
7713         * docs/design/part-synchronisation.txt:
7714         Add doc about synchronisation
7715
7716         * docs/design/draft-latency.txt:
7717         * docs/design/part-TODO.txt:
7718         * docs/design/part-clocks.txt:
7719         * docs/design/part-events.txt:
7720         * docs/design/part-gstbus.txt:
7721         * docs/design/part-gstpipeline.txt:
7722         * docs/design/part-live-source.txt:
7723         * docs/design/part-messages.txt:
7724         * docs/design/part-overview.txt:
7725         * docs/design/part-streams.txt:
7726         * docs/design/part-trickmodes.txt:
7727         Documentation updates.
7728
7729 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
7730
7731         * gstreamer.doap:
7732         Update the doap file.
7733
7734 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7735
7736         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7737         Rename non-perfect to imperfect for Mike and for the sanctity of the
7738         language.
7739         Also make sure bus message gets emitted for data-incontiguities.
7740
7741 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7742
7743         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
7744         (gst_identity_start):
7745         * plugins/elements/gstidentity.h:
7746         Emit bus message if check-perfect is true and we encounter a
7747         non-perfect stream between 2 consecutive buffers.
7748         Fixes #415394.
7749
7750 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
7751
7752         * configure.ac:
7753         Back to CVS
7754
7755 === release 0.10.12 ===
7756
7757 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
7758
7759         * configure.ac:
7760           releasing 0.10.12, "Inevitable Demise"
7761
7762 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
7763
7764         * configure.ac:
7765          Version 0.10.11.2 (0.10.12 pre-release)
7766          Bump libtool versioning.
7767
7768 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
7769
7770         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7771           Log flow-names and not numbers.
7772
7773 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7774
7775         * configure.ac:
7776           Convert to new AG_GST style.
7777
7778 2007-02-28  Wim Taymans  <wim@fluendo.com>
7779
7780         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
7781         Don't unref query twice.
7782
7783 2007-02-28  Wim Taymans  <wim@fluendo.com>
7784
7785         * gst/gstvalue.c: (gst_value_transform_object_string),
7786         (_gst_value_initialize):
7787         Implement GstObject -> string transform so we print object names
7788         when serializing GValues containing GstObjects.
7789
7790 2007-02-28  Wim Taymans  <wim@fluendo.com>
7791
7792         * docs/gst/gstreamer-sections.txt:
7793         Add new stuff to docs.
7794
7795 2007-02-28  Wim Taymans  <wim@fluendo.com>
7796
7797         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
7798         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
7799         (gst_base_sink_change_state):
7800         Improve latency query code.
7801         Don't leak latency events.
7802
7803         * tests/check/gst/gstbin.c: (GST_START_TEST):
7804         Improve debugging.
7805
7806 2007-02-28  Wim Taymans  <wim@fluendo.com>
7807
7808         * gst/gstelement.c: (gst_element_message_full),
7809         (gst_element_get_state_func):
7810         * gst/gstelement.h:
7811         Improve docs a little. Added Since: for new macro.
7812
7813         * gst/gstobject.c: (gst_object_sink):
7814         * gst/gstpipeline.c: (gst_pipeline_change_state),
7815         (gst_pipeline_set_new_stream_time):
7816         * gst/gstpipeline.h:
7817         Improve debugging and docs.
7818
7819         * gst/gstutils.c: (gst_element_state_change_return_get_name):
7820         Improve debugging.
7821
7822 2007-02-28  Wim Taymans  <wim@fluendo.com>
7823
7824         * gst/gstelement.c: (gst_element_message_full),
7825         (gst_element_set_locked_state), (gst_element_get_state_func),
7826         (gst_element_change_state):
7827         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
7828         Documentation updates.
7829         Small code cleanups.
7830
7831         * gst/gstmessage.c: (gst_message_new_info),
7832         (gst_message_parse_info):
7833         * gst/gstmessage.h:
7834         API: gst_message_new_info()
7835         API: gst_message_parse_info()
7836         Add INFO message create and parse code.
7837
7838 2007-02-28  Wim Taymans  <wim@fluendo.com>
7839
7840         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
7841         (bin_query_latency_done):
7842         Also report the live parameter of a latency query.
7843
7844 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7845
7846         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
7847           Copy the current generic/states example from -base and adapt so
7848           we can use the exact same code everywhere.
7849           Check a STATES_IGNORE_ELEMENTS env var which can be used
7850           to ignore certain element factories for this test, which is
7851           what is being done in -base
7852         * tests/check/Makefile.am:
7853           Mention this environment variable.
7854
7855 2007-02-27  Wim Taymans  <wim@fluendo.com>
7856
7857         * docs/gst/gstreamer-sections.txt:
7858         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7859         (gst_bus_timed_pop), (gst_bus_pop):
7860         * gst/gstbus.h:
7861         API: gst_bus_timed_pop()
7862         Implement gst_bus_timed_pop() to do a blocking timed wait for a
7863         message to arrive on the bus.
7864
7865         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
7866         (gst_bus_suite):
7867         Two unit tests for new _timed_pop() function.
7868
7869 2007-02-23  Wim Taymans  <wim@fluendo.com>
7870
7871         * gst/gstpipeline.c: (gst_pipeline_change_state),
7872         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
7873         Don't ref a NULL clock in _provide_clock_func().
7874         Don't allow an INVALID delay.
7875         Don't try to calculate base_time with an invalid start_time.
7876         Also distribute and notify a NULL clock when it was selected.
7877
7878         * tools/gst-launch.c: (event_loop):
7879         Don't crash when a NULL clock was selected in the pipeline.
7880
7881 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
7882
7883         * docs/design/Makefile.am:
7884         * docs/design/draft-missing-plugins.txt:
7885         * docs/random/draft-missing-plugins.txt:
7886           Some small updates: update plugin system identifier prefix
7887           ('gstreamer.net' to 'gstreamer'), mention our new install
7888           API in libgstbaseutils rather than libgimme-codec, add
7889           reference to the online docs.
7890
7891 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7892
7893         * win32/common/config.h:
7894           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
7895           use moap cl ci to only check in what is mentioned in the ChangeLog.
7896
7897 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7898
7899         * docs/gst/gstreamer-sections.txt:
7900         * gst/gstelement.h:
7901           Fix up documentation to link to the correct GstGError section.
7902           Add GST_ELEMENT_INFO macro since someone else added a Info message.
7903
7904 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7905
7906         * tools/gst-launch.c: (event_loop):
7907           Make sure that we actually show the important message part of a
7908           warning message.
7909           No need to check if the gerror is not NULL to free; first of all
7910           g_free accepts NULL; and second the default error handler would
7911           segfault if gerror was NULL.
7912
7913 2007-02-21  Wim Taymans  <wim@fluendo.com>
7914
7915         * docs/gst/gstreamer-sections.txt:
7916         Removed docs as well.
7917
7918 2007-02-21  Wim Taymans  <wim@fluendo.com>
7919
7920         * gst/gstmessage.c: (gst_message_parse_duration):
7921         * gst/gstmessage.h:
7922         Remove new messages for release.
7923
7924 2007-02-20  Wim Taymans  <wim@fluendo.com>
7925
7926         * docs/design/part-gstghostpad.txt:
7927         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
7928         (gst_ghost_pad_new_full):
7929         Make the ghostpad a parent of the internal pad again for better backward
7930         compatibility. Don't write code that relies on this however.
7931
7932         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7933         (gst_pad_link_check_hierarchy):
7934         Require that parents should be GstElements in the hierarchy check.
7935
7936 2007-02-20  Wim Taymans  <wim@fluendo.com>
7937
7938         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
7939         (gst_bin_change_state_func), (bin_query_min_max_init),
7940         (bin_query_latency_fold), (bin_query_latency_done),
7941         (gst_bin_query):
7942         Improve debug info.
7943         Implement latency query.
7944
7945 2007-02-20  Wim Taymans  <wim@fluendo.com>
7946
7947         * docs/design/part-gstghostpad.txt:
7948         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
7949         (gst_ghost_pad_internal_do_activate_push),
7950         (gst_ghost_pad_internal_do_activate_pull),
7951         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7952         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
7953         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
7954         Do not set the internal pad as a parent anymore so we can avoid
7955         hierarchy linking errors when the ghostpad has no parent yet. This also
7956         fixes failed activation because of unlinked internal pads, which in
7957         turn fixes the impossible case where you have to activate a pad before
7958         you can add it to a running element.
7959         Also fix the docs.
7960
7961         * gst/gstpad.c: (pre_activate), (post_activate),
7962         (gst_pad_set_active), (gst_pad_activate_pull),
7963         (gst_pad_activate_push), (gst_pad_check_pull_range):
7964         Add some more debug info.
7965         Mark activation mode in pre_activate so that we don't try to activate in
7966         endless loops. Fixes #385084.
7967
7968 2007-02-19  Wim Taymans  <wim@fluendo.com>
7969
7970         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
7971         (gst_base_transform_check_get_range):
7972         Implement a checkgetrange function instead of relying on the default
7973         core behaviour that assumes we can operate in pull mode if we have a
7974         getrange function. First step at fixing #385084.
7975
7976 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
7977
7978         * gst/gstchildproxy.h:
7979         * libs/gst/base/gstbasesink.h:
7980         * libs/gst/base/gstbasesrc.h:
7981         * libs/gst/base/gstbasetransform.h:
7982         More docs coverage and some ChangeLog surgery (add missing names)
7983
7984 2007-02-15  Wim Taymans  <wim@fluendo.com>
7985
7986         * docs/design/part-TODO.txt:
7987         * docs/design/part-activation.txt:
7988         * docs/design/part-block.txt:
7989         * docs/design/part-buffering.txt:
7990         * docs/design/part-clocks.txt:
7991         * docs/design/part-element-source.txt:
7992         * docs/design/part-events.txt:
7993         * docs/design/part-gstbin.txt:
7994         * docs/design/part-gstbus.txt:
7995         * docs/design/part-gstpipeline.txt:
7996         * docs/design/part-live-source.txt:
7997         * docs/design/part-messages.txt:
7998         * docs/design/part-overview.txt:
7999         * docs/design/part-qos.txt:
8000         * docs/design/part-query.txt:
8001         * docs/design/part-states.txt:
8002         * docs/design/part-trickmodes.txt:
8003         Some doc updates. Start renaming from stream_time to running_time where
8004         it was used wrongly.
8005
8006 2007-02-15  Wim Taymans  <wim@fluendo.com>
8007
8008         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
8009         Answer LATENCY query.
8010
8011 2007-02-15  Wim Taymans  <wim@fluendo.com>
8012
8013         * tests/check/gst/gstevent.c: (event_probe), (test_event),
8014         (GST_START_TEST):
8015         Improve debugging.
8016
8017 2007-02-15  Wim Taymans  <wim@fluendo.com>
8018
8019         * gst/gstpad.c: (gst_pad_get_internal_links_default),
8020         (gst_pad_dispatcher):
8021         Improve debugging of default pad dispatcher and query functions.
8022
8023 2007-02-15  Wim Taymans  <wim@fluendo.com>
8024
8025         * docs/gst/gstreamer-sections.txt:
8026         Remove old unused method.
8027
8028 2007-02-13  Wim Taymans  <wim@fluendo.com>
8029
8030         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8031         Fix check
8032
8033 2007-02-13  Wim Taymans  <wim@fluendo.com>
8034
8035         * docs/design/part-seeking.txt:
8036         Some small update.
8037
8038         * gst/gstsegment.c: (gst_segment_set_seek):
8039         Revert old bogus change that should make seeking work again.
8040
8041 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
8042
8043         * docs/random/ensonic/dynlink.txt:
8044         * docs/random/ensonic/interfaces.txt:
8045         * docs/random/ensonic/receipies.txt:
8046           Possible dynamic reconnection api, plus some type fixes the other two
8047           docs.
8048
8049 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
8050
8051         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8052         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8053         Also check for an absolute path following file:// in the filesrc
8054         element. Remove redundant check and call g_path_is_absolute() on the
8055         unescaped location.
8056
8057 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
8058
8059         * docs/design/draft-klass.txt:
8060           Add existing category analysis.
8061           
8062         * gst/gstcaps.c:
8063           Fix doc example, framerate is a fraction.
8064
8065 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
8066
8067         * configure.ac:
8068         * docs/gst/Makefile.am:
8069         * docs/gst/gstreamer-sections.txt:
8070         * docs/libs/Makefile.am:
8071           Erm, forgot a bunch of --extra-dir.
8072
8073 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
8074
8075         * configure.ac:
8076         * docs/gst/Makefile.am:
8077         * docs/libs/Makefile.am:
8078         * docs/plugins/Makefile.am:
8079           Add crossreferences to glib/gobject docs.
8080
8081 2007-02-12  Wim Taymans  <wim@fluendo.com>
8082
8083         * docs/design/draft-latency.txt:
8084         Small update.
8085
8086         * docs/libs/gstreamer-libs-sections.txt:
8087         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8088         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
8089         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
8090         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
8091         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
8092         (gst_base_sink_get_position), (gst_base_sink_query),
8093         (gst_base_sink_change_state):
8094         * libs/gst/base/gstbasesink.h:
8095         API: gst_base_sink_query_latency() to let subclasses query the upstream
8096         latency.
8097         API: gst_base_sink_get_latency() to let subclasses query the configured
8098         latency in the sink.
8099         Implement query and set latency.
8100         Update some docs.
8101         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
8102         don't continue preroll when we are flushing. Fixes #405284.
8103
8104         * tests/check/pipelines/stress.c: (change_state_timeout),
8105         (quit_timeout), (GST_START_TEST), (stress_suite):
8106         Test for #405284.
8107
8108 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
8109
8110         Patch by: René Stadler <mail at renestadler de>
8111
8112         * docs/gst/gstreamer-sections.txt:
8113         * gst/gsttaglist.c: (_gst_tag_initialize):
8114         * gst/gsttaglist.h:
8115           API: add GST_TAG_REFERENCE_LEVEL (#403597).
8116
8117 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
8118
8119         * docs/libs/Makefile.am:
8120           Fix path to core docs.
8121
8122         * gst/gstbin.c: (gst_bin_get_by_interface),
8123         (gst_bin_iterate_all_by_interface):
8124           Refix docs by also renaming 'interface' to 'iface' in implementation.
8125
8126         * docs/gst/gstreamer-sections.txt:
8127         * gst/gstcaps.c:
8128         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
8129         * gst/gstchildproxy.h:
8130         * gst/gstelementfactory.c:
8131         * gst/gstpadtemplate.h:
8132         * libs/gst/controller/gstcontroller.c:
8133         (gst_controlled_property_new):
8134           Document more.
8135
8136 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
8137
8138         * gst/gstbin.h:(gst_bin_get_by_interface),
8139         (gst_bin_iterate_all_by_interface):
8140         Replace interface parameter name by iface as interface is 
8141         a reserved keyword in Visual Studio for C++ projects so it removes
8142         a build error for application developpers using VS.
8143         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
8144         Fix a bug on Windows in uri format check. Now the prefix checked
8145         is file:// and next we check if the path after file:// is absolute.
8146         * win32/common/libgstbase.def:
8147         * win32/common/libgstdataprotocol.def:
8148         * win32/common/libgstgstreamer.def:
8149         Add new exported functions.
8150
8151 2007-02-09  Andy Wingo  <wingo@pobox.com>
8152
8153         * tests/check/pipelines/simple-launch-lines.c
8154         (simple_launch_lines_suite, test_tee): Disable tee test until I
8155         have time to fix it :-(
8156
8157         * tests/check/Makefile.am (noinst_HEADERS): 
8158         * tests/check/libs/libsabi.c: 
8159         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
8160         * tests/check/gst/gstabi.c: 
8161         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
8162
8163         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
8164         tests for push and pull tee behavior.
8165
8166         * plugins/elements/gsttee.h: 
8167         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
8168         mark as deprecated as well as unimplemented. It was a crack idea.
8169         Add support for tee operating in pull mode, off by default.
8170
8171         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
8172         normal-case logs down to LOG, raise errors to WARNING.
8173         (gst_registry_xml_read_cache): Don't log before calling a function
8174         that logs.
8175
8176         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
8177         exit (registry finalize).
8178         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
8179         DEBUG log when we emit signals that people don't even have the
8180         chance to connect to.
8181         (gst_registry_scan_path_level): Less logging in the normal case.
8182
8183 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
8184
8185         Patch by: Michal Benes <michal dot benes at itonis dot tv>
8186
8187         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8188         Correctly generate EOS for non-seekable files. We don't have a total
8189         length for them and would get an unexpected end of file if we only
8190         special-cased for regular files. (Fixes: #404569)
8191
8192 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
8193
8194         * tests/check/elements/filesrc.c: (GST_START_TEST),
8195         (filesrc_suite):
8196         Add unit test for the GstURIHandler interface in filesrc. This also
8197         tests the newly added file://localhost/foo/bar support.
8198
8199 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8200
8201         * gst/gstelementfactory.h:
8202           The klass string is not a hierarchy. Add reference to the design doc
8203           for more information and common types.
8204
8205 2007-02-02  Wim Taymans  <wim@fluendo.com>
8206
8207         * gst/gstquery.c: (gst_query_new_latency):
8208         Remove old structure field.
8209
8210 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
8211
8212         * tools/gst-launch.1.in:
8213           Give example for network streaming (#351998)
8214
8215 2007-02-02  Wim Taymans  <wim@fluendo.com>
8216
8217         * docs/gst/gstreamer-sections.txt:
8218         Add docs for new methods.
8219
8220         * gst/gstevent.c: (gst_event_new_latency),
8221         (gst_event_parse_latency):
8222         * gst/gstevent.h:
8223         Add new LATENCY event to configure latency in a pipeline.
8224         API: gst_event_new_latency
8225         API: gst_event_parse_latency
8226
8227         * gst/gstmessage.c: (gst_message_new_buffering),
8228         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
8229         (gst_message_new_latency), (gst_message_parse_buffering),
8230         (gst_message_parse_lost_preroll):
8231         * gst/gstmessage.h:
8232         Added messages used in draft-latency.
8233         API: gst_message_new_lost_preroll
8234         API: gst_message_parse_lost_preroll
8235         API: gst_message_new_prerolled
8236         API: gst_message_new_latency
8237
8238         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
8239         (gst_query_parse_latency):
8240         * gst/gstquery.h:
8241         Implemented new latency query as in design doc.
8242         API: gst_query_new_latency
8243         API: gst_query_set_latency
8244         API: gst_query_parse_latency
8245
8246 2007-02-02  Wim Taymans  <wim@fluendo.com>
8247
8248         * docs/design/draft-latency.txt:
8249         Slight redesign to allow for dynamic latency adjustments.
8250
8251         * docs/design/part-negotiation.txt:
8252         Fix some typos.
8253
8254 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
8255
8256         reviewed by: Wim Taymans <wim@fluendo.com>
8257
8258         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8259         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8260         Allow file://localhost/foo/bar URLs and correctly fail for every other
8261         hostname that one sets. This was gnomevfssrc is linked for those if
8262         installed as it can handle it (#403172)
8263
8264 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
8265
8266         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8267
8268         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8269         (unref_data), (gst_collect_pads_add_pad_full):
8270         * libs/gst/base/gstcollectpads.h:
8271         Don't put the previously added destroy notify in the GstCollectData
8272         struct as all it's padding is already used and we don't want to break
8273         ABI. Instead put in the pad's GObject data for now. This should be
8274         cleaned up for 0.11 (#402393).
8275
8276 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
8277
8278         reviewed by: Wim Taymans <wim@fluendo.com>
8279
8280         * docs/libs/gstreamer-libs-sections.txt:
8281         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8282         (unref_data), (gst_collect_pads_add_pad),
8283         (gst_collect_pads_add_pad_full):
8284         * libs/gst/base/gstcollectpads.h:
8285         API: Add function to specify a destroy notification for custom
8286         GstCollectData when adding new pads in GstCollectPads (#402393).
8287
8288 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
8289
8290         * po/sv.po:
8291           Update Swedish translation (#378255).
8292
8293 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
8294
8295         * docs/design/draft-klass.txt:
8296           Fix the previous change, this is a list of categories and not a hierarchy.
8297
8298 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
8299
8300         * docs/design/draft-klass.txt:
8301           Add info about how to get a list of used classes.
8302
8303 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
8304
8305         * plugins/elements/gsttypefindelement.c:
8306         (gst_type_find_element_chain_do_typefinding),
8307         (gst_type_find_element_change_state):
8308           Don't leak found caps in chain function (no idea why that never
8309           showed up as a leak anywhere).
8310
8311 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
8312
8313         * gst/gstplugin.h:
8314           Fix and expand GstPluginDesc API docs.
8315
8316 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8317
8318         * gst/gstcaps.c:
8319         * gst/gstelementfactory.c:
8320         * gst/gstpadtemplate.h:
8321           api doc fixes
8322
8323         * libs/gst/controller/gstcontroller.c:
8324         (gst_controlled_property_new):
8325         * tests/examples/controller/audio-example.c:
8326           comment fixes
8327
8328 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8329
8330         * configure.ac:
8331           comment about refining the xml deps
8332
8333         * docs/manuals.mak:
8334           comments about moving away from jade for docs
8335         
8336         * gst/gst.c:
8337           recommit the ifdefs to use the binary registry
8338         
8339         * gst/gstbin.c: (gst_bin_change_state_func):
8340           this break is obsolete
8341
8342         * gst/gstelementfactory.h:
8343           better GST_ELEMENT_DETAILS docs, add comment about translation
8344
8345         * gst/gstinfo.h:
8346           remove eol slash
8347
8348         * gst/gstobject.c: (gst_signal_object_get_type):
8349           add G_UNLIKELY as usual
8350
8351         * gst/gstpad.c: (gst_pad_event_default):
8352           add fall trhu comment
8353
8354         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8355         (gst_registry_binary_initialize_magic),
8356         (gst_registry_binary_save_string),
8357         (gst_registry_binary_save_pad_template),
8358         (gst_registry_binary_save_feature),
8359         (gst_registry_binary_save_plugin),
8360         (gst_registry_binary_write_cache),
8361         (gst_registry_binary_check_magic),
8362         (gst_registry_binary_load_pad_template),
8363         (gst_registry_binary_load_feature),
8364         (gst_registry_binary_load_plugin),
8365         (gst_registry_binary_read_cache):
8366           comment typo and formatting
8367
8368         * gst/gstutils.c: (gst_element_state_get_name),
8369         (gst_element_state_change_return_get_name):
8370           remove obsolete breaks
8371
8372         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8373           add FIXME 0.11 and remove cpp comment
8374
8375 2007-01-29  Edward Hervey  <edward@fluendo.com>
8376
8377         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8378         Fix print statement in an even more portable way.
8379
8380 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
8381
8382         * docs/gst/gstreamer-sections.txt:
8383         * gst/gstutils.h:
8384           API: add GST_ROUND_DOWN_* macros (#401781).
8385
8386 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
8387
8388         * docs/gst/gstreamer.types.in:
8389         * gst/gstregistry.c: (gst_registry_class_init):
8390           Document registry signals and make gtk-doc pick them up (#401381).
8391
8392 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8393
8394         * docs/pwg/building-testapp.xml:
8395           Add some audioconverts and audioresample to the pipeline, and some
8396           more comments and error handling.
8397
8398 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8399
8400         * docs/manual/manual.xml:
8401         * docs/pwg/pwg.xml:
8402           Fix typo (#400987).
8403
8404 2007-01-26  Wim Taymans  <wim@fluendo.com>
8405
8406         * gst/gstcaps.c: (gst_static_caps_get):
8407         Init caps flags too.
8408
8409 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
8410
8411         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8412
8413         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8414         If not using mmap'ed files try to seek to the end instead of the
8415         start to determine whether we can seek at all. This fixes the case
8416         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8417         seeks for everything afterwards fail. Fixes #400656
8418
8419 2007-01-25  Wim Taymans  <wim@fluendo.com>
8420
8421         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8422         Add some refcount debugging.
8423         Make gst_static_caps_get threadsafe, which is needed when autoplugging
8424         in multiple streaming threads.
8425
8426 2007-01-25  Wim Taymans  <wim@fluendo.com>
8427
8428         Patch by: David Schleef <ds at schleef dot org>
8429
8430         * docs/libs/gstreamer-libs-sections.txt:
8431         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8432         * libs/gst/base/gstadapter.h:
8433         API: gst_adapter_copy() that can reduce the amount of memcpy when
8434         getting data from the adapter. Fixes #388201.
8435
8436 2007-01-25  Edward Hervey  <edward@fluendo.com>
8437
8438         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8439         In print statements, "%x" is for guint. Fixes build on macosx.
8440
8441 2007-01-24  Edward Hervey  <edward@fluendo.com>
8442
8443         * plugins/elements/gstmultiqueue.c:
8444         (gst_multi_queue_loop):
8445         Small fix.
8446         (single_queue_overrun_cb), (single_queue_underrun_cb),
8447         (single_queue_check_full), (gst_single_queue_new):
8448         Implement single queue growth system.
8449         This uses the extra-size properties, and will grow single queues by
8450         that much if one goes full whereas there are others empty. This is
8451         called extra-mode in the code.
8452         When a single queue's levels go back below the initial max-size
8453         limits, it is no longer in extra-mode. This is to ensure we don't
8454         consume too much memory.
8455         Fixes #399875
8456
8457 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
8458
8459         * gst/gst.c: (gst_init_get_option_group):
8460           Make warning about late g_thread_init() calls a bit more explicit,
8461           so that it's more obvious to application developers what they need
8462           to do if a user files a bug against their application.
8463
8464 2007-01-22  Edward Hervey  <edward@fluendo.com>
8465
8466         * plugins/elements/gstmultiqueue.c:
8467         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8468         Remove previous hack of unsetting the flushing flag for the source pad
8469         instead of activating it. Instead, fix the source pad activate function
8470         so that it no longer depends on having a parent set or not.
8471
8472 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
8473
8474         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8475
8476         * docs/manual/basics-bus.xml:
8477           Fix example code, gst_element_unref() doesn't exist any longer.
8478
8479 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
8480
8481         Patch by: Mark Nauwelaerts <manauw at skynet be>
8482
8483         * gst/gstpad.c:
8484           Fix two docs typoes (#399094).
8485
8486 2007-01-19  Edward Hervey  <edward@fluendo.com>
8487
8488         * docs/faq/gst-uninstalled:
8489         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8490         depending on libgstbaseutils can work in uninstalled environment.
8491
8492 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
8493
8494         * gst/gsttaglist.h:
8495         * gst/gsttagsetter.c:
8496         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8497         statement for new tag.
8498
8499 2007-01-17  Edward Hervey  <edward@fluendo.com>
8500
8501         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8502         When dynamically creating single queues, activate sinkpad before adding
8503         it.
8504         We should be doing the same thing for the source pad, but we can't
8505         since it would call a method which needs the parent to be set in order
8506         to work propertly. Instead of activating the source pad, we just unset
8507         the flushing flag, which is the minimal requirement for adding a pad
8508         to an element in a state greater than READY.
8509
8510 2007-01-17  Edward Hervey  <edward@fluendo.com>
8511
8512         * docs/faq/gst-uninstalled:
8513         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8514         Mac OS X.
8515
8516 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
8517
8518         * tests/check/gst/gstabi.c:
8519         * tests/check/gst/struct_hppa.h:
8520         * tests/check/libs/libsabi.c:
8521         * tests/check/libs/struct_hppa.h:
8522           Add ABI structs for HPPA (see #393796).
8523
8524 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
8525
8526         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8527           Actually write ABI structs to the file specified in the GST_ABI
8528           environment variable, as the message we print claims we would.
8529
8530 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8531
8532         * tests/check/gst/gsttask.c:
8533           Fix header comment.
8534
8535 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8536
8537         * gst/gsttaglist.c: (_gst_tag_initialize):
8538           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8539           previous two entries.
8540
8541 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8542
8543         * docs/gst/gstreamer-sections.txt:
8544         * gst/gsttaglist.c: (_gst_tag_initialize):
8545         * gst/gsttaglist.h:
8546           Add tag support for beat-per-minute.
8547
8548 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8549
8550         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8551         (gst_registry_binary_initialize_magic),
8552         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8553         (gst_registry_binary_save_pad_template),
8554         (gst_registry_binary_save_feature),
8555         (gst_registry_binary_save_plugin),
8556         (gst_registry_binary_write_cache),
8557         (gst_registry_binary_check_magic),
8558         (gst_registry_binary_load_pad_template),
8559         (gst_registry_binary_load_feature),
8560         (gst_registry_binary_load_plugin),
8561         (gst_registry_binary_read_cache):
8562         * gst/gstregistrybinary.h:
8563           Use glib types, cleanup comments, impement interfaces and uri-types.
8564
8565 2007-01-13  Andy Wingo  <wingo@pobox.com>
8566
8567         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
8568         getrange() to return buffers with other caps, while we fix
8569         demuxers and typefind, or otherwise change part-negotiation.txt.
8570
8571 2007-01-12  Andy Wingo  <wingo@pobox.com>
8572
8573         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
8574         Factor start/stop into this private function instead of partially
8575         in activate functions and partially in the change_state function.
8576         Fixes setup before the element has changed from READY->PAUSED, as
8577         is the case in pull-mode pipelines.
8578         (gst_base_transform_sink_activate_push)
8579         (gst_base_transform_src_activate_pull): Refactor to use
8580         gst_base_transform_activate().
8581         (gst_base_transform_change_state): Removed, not needed any more.
8582
8583         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8584         Truncate before fixating.
8585         
8586         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8587         Don't set_caps() if the result of fixating is ANY, as it's not
8588         supported, and not necessary in the case of a link with no
8589         template caps on either side. Fixes tests/check/libs/basesrc in
8590         some pull-mode tests.
8591
8592         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
8593         (gst_base_transform_init, gst_base_transform_sink_activate_push)
8594         (gst_base_transform_src_activate_pull): 
8595         Track the activation mode.
8596         (gst_base_transform_setcaps): In pull mode, when activating the
8597         src pad, after activating the sink pad, activate the sink pad's
8598         peer, as discussed in part-negotiation.txt.
8599
8600         * libs/gst/base/gstbasesrc.h: 
8601         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
8602         vmethod, as in basesink.
8603
8604         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
8605
8606         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
8607         mode, first proxy the setcaps to the peer pad.
8608         (gst_base_sink_pad_fixate): Add a fixate function that calls the
8609         new fixate vmethod.
8610         (gst_base_sink_default_activate_pull): Rename from
8611         gst_base_sink_activate_pull.
8612         (gst_base_sink_negotiate_pull): New function, performs negotiation
8613         in pull mode before calling ::activate_pull().
8614         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
8615         vmethod instead of the default implementation. I have no idea how
8616         this worked before. Negotiate before calling activate_pull.
8617
8618         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
8619         sink pads in pull mode. In addition to being correct, fixes
8620         filesrc ! decodebin ! identity ! fakesink.
8621         (gst_pad_get_range, gst_pad_pull_range): Don't call
8622         gst_pad_set_caps() if the caps changes; instead error out with
8623         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
8624
8625 2007-01-12  Andy Wingo  <wingo@pobox.com>
8626
8627         * docs/design/part-negotiation.txt: Update with more policy.
8628
8629 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8630
8631         * libs/gst/check/gstbufferstraw.h:
8632         * libs/gst/check/gstcheck.h:
8633           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
8634           belongs.
8635
8636 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8637
8638         * tests/check/Makefile.am:
8639         * tests/check/gst/.cvsignore:
8640         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
8641         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
8642         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
8643         (GST_START_TEST), (gst_tag_setter_suite):
8644           Add minimal unit test for beforementioned GstTagSetter bug.
8645
8646 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8647
8648         Patch by: René Stadler <mail at renestadler dot de>
8649
8650         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
8651           gst_tag_list_merge() returns a new list, so it's not the best idea
8652           to ingore its return value. Effectively meant that tags could only
8653           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
8654           Also add function guard to require a non-NULL taglist as input (has
8655           always been so due to gst_tag_list_copy(), just making it explicit).
8656
8657 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8658
8659         * docs/random/draft-missing-plugins.txt:
8660           Some additions: mention new API that is supposed to be used at the
8661           various stages; short blob about new gst-inspect introspection
8662           option; mention potential future problem with plugins that have
8663           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
8664
8665 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8666
8667         * tools/gst-inspect.c:
8668         (print_plugin_automatic_install_info_codecs),
8669         (print_plugin_automatic_install_info_protocols),
8670         (print_plugin_automatic_install_info), (main):
8671         Add --print-plugin-auto-install-info option to gst-inspect, so we can
8672         introspect plugin files and get machine-parsable output that corresponds
8673         to the last bit of the missing-plugin installer string (small gotcha:
8674         doesn't take into account ranks).
8675
8676 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
8677
8678         * configure.ac:
8679         * docs/gst/gstreamer-sections.txt:
8680         * gst/Makefile.am:
8681         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
8682         (gst_registry_lookup_locked):
8683         * gst/gstregistry.h:
8684         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8685         (gst_registry_binary_initialize_magic),
8686         (gst_registry_binary_save_string),
8687         (gst_registry_binary_save_pad_template),
8688         (gst_registry_binary_save_feature),
8689         (gst_registry_binary_save_plugin),
8690         (gst_registry_binary_write_cache),
8691         (gst_registry_binary_check_magic),
8692         (gst_registry_binary_load_pad_template),
8693         (gst_registry_binary_load_feature),
8694         (gst_registry_binary_load_plugin),
8695         (gst_registry_binary_read_cache):
8696         * gst/gstregistrybinary.h:
8697         * gst/gstregistryxml.c: (load_feature),
8698         (gst_registry_xml_read_cache):
8699           commit binary registry (disabled by default, see #359653)
8700
8701 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8702
8703         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
8704           Fix 'make check' too.
8705
8706 2007-01-10  Andy Wingo  <wingo@pobox.com>
8707
8708         * docs/design/part-negotiation.txt: Fix a typo, add a couple
8709         notes.
8710         
8711         * docs/design/part-negotiation.txt: Update with, um, one way that
8712         pull-mode negotiation might work?
8713
8714         * gst/gstpad.h: 
8715         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
8716         that the pad must be a src pad; makes sense to call it the other
8717         way in pull mode, and the logic is symmetric anyway.
8718
8719 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
8720
8721         * plugins/elements/gstfilesink.c:
8722           Include <stdio.h> for fseeko().
8723
8724 2007-01-10  Wim Taymans  <wim@fluendo.com>
8725
8726         * gst/gstevent.c:
8727         * gst/gstevent.h:
8728         Reserve LATENCY event.
8729
8730 2007-01-09  Wim Taymans  <wim@fluendo.com>
8731
8732         * docs/design/draft-latency.txt:
8733         Updates.
8734
8735 2007-01-09  Wim Taymans  <wim@fluendo.com>
8736
8737         * docs/design/draft-latency.txt:
8738         Updates.
8739
8740         * gst/gstelement.h:
8741         * gst/gststructure.c:
8742         * gst/gsttrace.c:
8743         Small typo fixes.
8744
8745 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
8746
8747         * tests/check/.cvsignore:
8748           Ignore test-registry.xml as well.
8749
8750 2007-01-09  Wim Taymans  <wim@fluendo.com>
8751
8752         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8753         unref data at the end when we are done with the pad.
8754
8755 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
8756
8757         * docs/gst/gstreamer-sections.txt:
8758         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
8759         (init_post), (gst_deinit), (gst_update_registry):
8760         * gst/gst.h:
8761           API: add gst_update_registry() (#391296).
8762
8763         * tests/check/Makefile.am:
8764         * tests/check/gst/gstregistry.c:
8765         * tests/check/gst/.cvsignore:
8766           Simple unit test for the above.
8767
8768 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
8769
8770         * gst/gstregistry.c: (gst_registry_scan_path_level):
8771           Plugin extension on HP-UX is .sl, add that to the list of approved
8772           plugin extensions (see #393796).
8773
8774         * tests/check/gst/gstpad.c: (GST_START_TEST):
8775           ulong => gulong. Fixes compilation with HP-UX compiler.
8776
8777         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8778           Fix compilation if valgrind headers are not available.
8779
8780 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
8781
8782         * win32/common/libgstreamer.def: 
8783           Add new exported function.
8784         * win32/vs6/libgstbase.dsp: 
8785           Add gstdataqueue.c to the build.
8786         * win32/vs6/libgstcoreelements.dsp:
8787           Add gstmultiqueue.c to the build.
8788         
8789 2007-01-06  Andy Wingo  <wingo@pobox.com>
8790
8791         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
8792         activate_pull(), providing for a way to specialize the process of
8793         spawning a thread to pull on the sink pad. There is a default
8794         implementation.
8795
8796         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
8797         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
8798         (gst_base_sink_init): Renamed pad activation functions (inserting
8799         "_pad" in their names). Refactor to use the new activate_pull
8800         vmethod, as appropriate.
8801         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
8802         default activate_pull function to start a task pulling from the
8803         sink pad, as before.
8804
8805         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
8806         on the pads if necessary, as in push()/chain(). Update docs.
8807         Shouldn't affect existing pull() usage as it is currently only
8808         being used on buffers without caps.
8809
8810 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8811
8812         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8813         (init_pre):
8814           Call g_thread_init() first thing in gst_init() / gst_check_init().
8815           When initialisation is done via gst_init_get_option_group() and
8816           GOption parsing, issue a warning if the GLib thread system has not
8817           been initialised yet by the time gst_init_get_option_group() is
8818           called, as it's quite likely other GLib functions such as
8819           g_option_context_new() have been called already then, and
8820           g_thread_init() must be called before any other GLib function. The
8821           application in question must be fixed in that case, since memory
8822           corruption might happen otherwise.
8823           We issue the warning because even if the GLib folks decide to work
8824           around the problem on their end in future, this is still an issue
8825           with all GLib versions >= 2.10.0, so we should warn until we depend
8826           on a GLib version we know to be safe.
8827           Update documentation as well.
8828           Closes bug #391278.
8829
8830 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8831
8832         * tools/gst-inspect.c: (main):
8833         * tools/gst-launch.c: (main):
8834         * tools/gst-typefind.c: (main):
8835         * tools/gst-xmlinspect.c: (main):
8836           Call g_thread_init() really really early, before any other GLib
8837           function (see #342564 and recent discussion on gtk-devel-list).
8838
8839 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8840
8841         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
8842
8843         * gst/gst_private.h:
8844         * gst/gstconfig.h.in:
8845         * gst/gstinfo.h:
8846           On win32, all the __declspec stuff for symbol exporting is
8847           apparently only needed with MSVC, but doesn't work with MingW.
8848           Fixes compilation with MingW and #391909.
8849
8850 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8851
8852         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
8853           Change some GST_ERROR_OBJECT that aren't really errors to
8854           GST_WARNING_OBJECT in order to reduce terminal spam.
8855
8856 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
8857
8858         * tests/check/Makefile.am:
8859           disable test again, as there seem to be still race problems
8860
8861 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
8862
8863         * tests/check/Makefile.am:
8864         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8865         (GST_START_TEST), (queue_suite):
8866           enable queue test again, add tests for the leaky behaviour
8867
8868 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
8869
8870         * configure.ac:
8871         * tests/examples/Makefile.am:
8872           Compile adapter test/example only if the required headers are
8873           available (fixes #391915).
8874
8875 2007-01-01  David Schleef  <ds@schleef.org>
8876
8877         * gst/gstplugin.c:
8878           Restore the previous signal handler for SIGSEGV instead of
8879           setting to default, since we may have stolen it away from
8880           someone.  (i.e., Mono)
8881
8882 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
8883
8884         * docs/random/draft-missing-plugins.txt:
8885           Some small additions and clarifications.
8886
8887 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
8888
8889         * gst/gstregistryxml.c: (gst_registry_save_escaped):
8890           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
8891           since that can lead to random memory corruptions and crashes
8892           (may or may not be related to #383244, #386711, and #386711).
8893
8894 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8895
8896         * tests/check/.cvsignore:
8897         * tests/check/Makefile.am:
8898           sync .cvsignome and CLEANFILES
8899
8900 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8901
8902         * tests/check/Makefile.am:
8903           fix distcheck
8904
8905 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8906
8907         * docs/design/part-states.txt:
8908           two tiny additional comments
8909         
8910         * gst/gststructure.c:
8911           doc fixing
8912
8913         * tests/check/Makefile.am:
8914         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8915         (GST_START_TEST):
8916           disable test for now, unless it gets fixed
8917
8918 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8919
8920         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8921         (GST_START_TEST):
8922           fix race in underrun test
8923
8924 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8925
8926         * tests/check/elements/.cvsignore:
8927           ignore more
8928
8929         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8930         (GST_START_TEST):
8931           try to narrow test failure
8932
8933 2006-12-21  David Schleef  <ds@schleef.org>
8934
8935         * plugins/elements/gstfakesrc.c:
8936           Use g_random_int_range(), since it produces better random
8937           numbers in a range than almost-correct floating point code.
8938
8939 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8940
8941         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
8942         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8943         (gst_check_teardown_sink_pad):
8944           do not automatically (de)activate pads
8945
8946         * tests/check/Makefile.am:
8947         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8948         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
8949           add new, yet simple tests for queue
8950
8951         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
8952         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
8953         * tests/check/elements/filesrc.c: (cleanup_filesrc),
8954         (GST_START_TEST):
8955         * tests/check/elements/identity.c: (cleanup_identity):
8956           consistent pad (de)activation
8957
8958 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
8959
8960         Patch by: Sebastian Dröge  <slomo ubuntu com>
8961
8962         * libs/gst/base/gstcollectpads.c:
8963           Fix two doc typos (#387866).
8964
8965 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
8966
8967         * docs/manual/advanced-dparams.xml:
8968           Fix typo (g_object_control_properties() doesn't exist).
8969
8970 2006-12-19  Edward Hervey  <edward@fluendo.com>
8971
8972         * gst/gstsegment.c: (gst_segment_set_seek):
8973         Fine tune the cases where the segment start/stop values are really
8974         updated.
8975         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8976         Add tests for the return values of gst_segment_set_seek().
8977
8978 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
8979
8980         * gst/gst.c:
8981           Docs typo fix.
8982
8983         * plugins/elements/gstqueue.c: (gst_queue_class_init),
8984         (gst_queue_init):
8985           Fix incorrect documentation and flesh it out a bit more.
8986           Set default values for the max properties on the GParamSpec as well,
8987           so it shows up correctly in gst-inspect.
8988
8989 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
8990
8991         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
8992           Correct docs of queue, add more detail and crosslink it more.
8993
8994 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
8995
8996         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8997           Print additional debug info when the stream isn't perfectly
8998           timestamped; don't try to use invalid durations.
8999
9000 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
9001
9002         * docs/design/Makefile.am:
9003           Dist new design docs.
9004
9005 2006-12-16  Wim Taymans  <wim@fluendo.com>
9006
9007         Patch by: Sjoerd Simons <sjoerd at luon dot net>
9008
9009         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
9010         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9011         (gst_collect_pads_stop), (gst_collect_pads_event),
9012         (gst_collect_pads_chain):
9013         * libs/gst/base/gstcollectpads.h:
9014         Add refcounting to the collectpads data so we can track when it's safe
9015         to free the data. Fixes #383382.
9016
9017 2006-12-15  Wim Taymans  <wim@fluendo.com>
9018
9019         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
9020         (gst_collect_pads_remove_pad):
9021         Automatically activate/deactivate pads when they are added to a
9022         started/stoped collectpads.
9023
9024 2006-12-15  Wim Taymans  <wim@fluendo.com>
9025
9026         * gst/gstelement.c: (gst_element_add_pad):
9027         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
9028         * gst/gstpad.c: (gst_pad_init):
9029         Set pads to FLUSHING when they are created. Check, warn and fix when a
9030         demuxer adds an inactive pad to itself when running. Fixes #339326.
9031
9032 2006-12-15  Wim Taymans  <wim@fluendo.com>
9033
9034         * gst/gstelement.c: (gst_element_class_init),
9035         (gst_element_default_send_event), (gst_element_send_event),
9036         (gst_element_default_query), (gst_element_query):
9037         Expose default element send_event and query handling as vmethods that
9038         subclasses can chain up to.
9039
9040 2006-12-15  Wim Taymans  <wim@fluendo.com>
9041
9042         * gst/gstelement.c: (gst_element_set_state_func):
9043         Small documentation fixes.
9044
9045 2006-12-15  Wim Taymans  <wim@fluendo.com>
9046
9047         * docs/design/draft-latency.txt:
9048         Checked in draft for handling latency in pipelines.
9049
9050 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9051
9052         * Makefile.am:
9053         * gstreamer.doap:
9054         * gstreamer.spec.in:
9055           adding .doap file
9056
9057 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
9058
9059         * gst/gst.c: (init_pre), (init_post):
9060           init_pre() and init_post() might be called via our GOptionGroup or
9061           from gst_init(), and we should skip both of them if we've already
9062           been initialised, otherwise we will init some things twice or add
9063           two default log functions.
9064
9065 2006-12-13  Edward Hervey  <edward@fluendo.com>
9066
9067         * docs/manual/basics-bus.xml:
9068         No, gst_main_loop does not exist. Its g_main_loop.
9069         Discovered by somebody who abused the copy-paste technique of coding :)
9070
9071 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
9072
9073         * gst/gstghostpad.c:
9074           Log ghostpad debug stuff to the GST_PADS category as well rather
9075           than just to the default category.
9076
9077 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9078
9079         * configure.ac:
9080         * gst/gst.c: (init_pre):
9081           Add some basic system details such as OS and architecture
9082           to the debug output if possible, courtesy of uname().
9083
9084 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9085
9086         * docs/gst/running.xml:
9087           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
9088           environment variables.
9089
9090 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
9091
9092         * tests/check/gst/gstbin.c: (GST_START_TEST):
9093         It is acceptable to have a refcount of 2 or 3 at this point in the
9094         test, because the pipeline might be just posting its state_change
9095         message. The next line then waits for that message to appear using
9096         bus_poll, so that should be fine too.
9097
9098 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
9099
9100         * gst/gst.c: (ensure_current_registry_forking):
9101         Ignore EINTR when reading from the child registry pipe.
9102         Explicitly ignore the return value from close, since it makes no
9103         difference.
9104
9105         * gst/gstminiobject.c: (gst_mini_object_ref),
9106         (gst_mini_object_unref):
9107         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
9108
9109         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
9110         When removing cached plugins, remove their features too, so they're
9111         not visible after they've disappeared.
9112
9113         * gst/gstutils.c: (prepare_link_maybe_ghosting):
9114         In the unlikely case that we are linking pads with no parents, don't
9115         crash trying to get the non-existent parent bin.
9116
9117         * gst/parse/grammar.y:
9118         Output debug in the PIPELINE category
9119
9120 2005-03-08  Wim Taymans  <wim@fluendo.com>
9121
9122         Patch by: René Stadler <mail at renestadler dot de>
9123
9124         * gst/gstclock.c: (gst_clock_new_periodic_id):
9125         Reject invalid clock times for interval of periodic ids.
9126         Fixes ##383506.
9127
9128 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
9129
9130         * gst/gstelementfactory.c: (gst_element_factory_create):
9131         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9132         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9133         * tools/gst-inspect.c: (print_element_info):
9134         Fix refcounting of gst_plugin_feature_load to match the docs. 
9135         Fixes: #380129
9136
9137 2006-12-07  Wim Taymans  <wim@fluendo.com>
9138
9139         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
9140         (gst_base_sink_get_position):
9141         Improve debugging of events.
9142
9143 2006-12-07  Wim Taymans  <wim@fluendo.com>
9144
9145         Patch by: René Stadler <mail at renestadler dot de>
9146
9147         * gst/gstclock.c: (gst_clock_id_wait):
9148         Make period ids add the interval to the origial requested time instead
9149         of the possibly updated time which can be wrong when there are multiple
9150         waiters for the same id. Fixes #382592.
9151
9152         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
9153         (gst_system_clock_id_wait_jitter_unlocked),
9154         (gst_system_clock_id_wait_jitter):
9155         Fix restart in the async notify thread when an async entry is added to
9156         the front of the list. Fixes #381492. 
9157
9158         * tests/check/gst/gstsystemclock.c: (store_callback),
9159         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
9160         Added test for multiple async waits.
9161         Added test for async wait order.
9162
9163 2006-12-07  Wim Taymans  <wim@fluendo.com>
9164
9165         * gst/gstbin.c: (gst_bin_query):
9166         Add some more docs about the POSITION query.
9167
9168 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
9169
9170         * configure.ac:
9171         Bump version nano - back to CVS.
9172
9173 === release 0.10.11 ===
9174
9175 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
9176
9177         * configure.ac:
9178           releasing 0.10.11, "Love never runs on time"
9179
9180 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
9181
9182         * win32/common/libgstbase.def:
9183         * win32/common/libgstreamer.def:
9184         * win32/vs8/libgstbase.vcproj:
9185         * win32/vs8/libgstcoreelements.vcproj:
9186         * win32/vs8/libgstreamer.vcproj:
9187         Fix compilation on win32 under VS8
9188         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9189         Partially fixes #381175
9190
9191 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
9192
9193         * gst/gstvalue.c: (gst_value_compare_fraction):
9194         If someone is foolish enough to compare 2 fractions with denominator =
9195         0, return UNORDERED rather than aborting.
9196
9197 2006-11-28  Edward Hervey  <edward@fluendo.com>
9198
9199         * libs/gst/base/Makefile.am:
9200         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
9201         (gst_data_queue_base_init), (gst_data_queue_class_init),
9202         (gst_data_queue_init), (gst_data_queue_new),
9203         (gst_data_queue_cleanup), (gst_data_queue_finalize),
9204         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
9205         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
9206         (gst_data_queue_is_empty), (gst_data_queue_is_full),
9207         (gst_data_queue_set_flushing), (gst_data_queue_push),
9208         (gst_data_queue_pop), (gst_data_queue_drop_head),
9209         (gst_data_queue_set_property), (gst_data_queue_get_property):
9210         * libs/gst/base/gstdataqueue.h:
9211         New GstDataQueue object for threadsafe queueing. Most useful for
9212         elements that need some queueing functionnality.
9213         * docs/libs/gstreamer-libs-docs.sgml:
9214         * docs/libs/gstreamer-libs-sections.txt:
9215         Insert documentation for GstDataQueue
9216         * plugins/elements/Makefile.am:
9217         * plugins/elements/gstelements.c:
9218         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
9219         (gst_multi_queue_class_init), (gst_multi_queue_init),
9220         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
9221         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
9222         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
9223         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
9224         (gst_multi_queue_loop), (gst_multi_queue_chain),
9225         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
9226         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
9227         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
9228         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
9229         (wake_up_next_non_linked), (compute_next_non_linked),
9230         (single_queue_overrun_cb), (single_queue_underrun_cb),
9231         (single_queue_check_full), (gst_single_queue_new):
9232         * plugins/elements/gstmultiqueue.h:
9233         New multiqueue element, using GstDataQueue. Used for queuing multiple
9234         streams.
9235         Closes #344639 and #347785
9236
9237 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
9238
9239         * docs/pwg/advanced-types.xml:
9240           add more missing type details
9241
9242         * tools/gst-run.c: (main):
9243           remove unused variable
9244
9245 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
9246
9247         * docs/libs/Makefile.am:
9248         * docs/libs/gstreamer-libs.types:
9249           add types of base classes to enable gobject specific stuff in the docs
9250
9251         * docs/random/ensonic/embedded.txt:
9252           more ideas about isolating platform specific things
9253
9254 2006-11-20  Wim Taymans  <wim@fluendo.com>
9255
9256         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
9257
9258         * libs/gst/check/gstcheck.h:
9259         Fix compilation and running against 0.9.4. Fixes #377332.
9260
9261 2006-11-20  Wim Taymans  <wim@fluendo.com>
9262
9263         * gst/gstsegment.c: (gst_segment_set_seek),
9264         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9265         (gst_segment_to_running_time):
9266         Fix boundary checking in to_running_time() and to_stream_time().
9267         Fixes #377183.
9268
9269         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9270         stream and running time can now be calculated for the complete
9271         clipped segment.
9272
9273 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
9274
9275         * gst/gstpad.c: (gst_pad_push_event):
9276           Can't access event structure after giving away ownership of
9277           the event.
9278
9279 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
9280
9281         * docs/random/ensonic/embedded.txt:
9282         * docs/random/ensonic/profiling.txt:
9283         * docs/random/ensonic/receipies.txt:
9284           more thinking
9285
9286 2006-11-13  Wim Taymans  <wim@fluendo.com>
9287
9288         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9289
9290         * gst/gstpad.c:
9291         Fix documentation for gst_pad_dispatcher. Fixes #374475.
9292
9293 2006-11-13  Wim Taymans  <wim@fluendo.com>
9294
9295         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
9296
9297         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9298         Store new length in segment duration so we don't keep on calling the
9299         potentially expensize get_size() call. Fixes #370865.
9300
9301 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
9302
9303         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
9304
9305         * win32/common/libgstreamer.def:
9306           Add two missing symbols (#366492).
9307
9308 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
9309
9310         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
9311         (gst_adapter_take_buffer):
9312         Fix format string to use all its arguments.
9313         Remove useless >= check on a guint
9314
9315 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9316
9317         * tests/examples/adapter/.cvsignore:
9318         Ignore build file as commanded by the build-bot
9319
9320 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9321
9322         * tests/examples/adapter/Makefile.am:
9323         * tests/examples/adapter/adapter_test.c: (run_test_take),
9324         (run_test_take_buffer), (run_tests), (main):
9325
9326         Add new files from the previous commit
9327
9328 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9329
9330         * Makefile.am:
9331         * configure.ac:
9332         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9333         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9334         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9335         * libs/gst/base/gstadapter.h:
9336         * tests/check/libs/adapter.c: (create_and_fill_adapter),
9337         (GST_START_TEST), (gst_adapter_suite):
9338         * tests/examples/Makefile.am:
9339         Do some optimisation work in GstAdapter to avoid copies in more cases.
9340         It could still do slightly better by merging buffers when
9341         gst_buffer_is_span_fast is true, but is already faster. 
9342
9343         Also, avoid traversing a single-linked list to append each incoming 
9344         buffer inside the adapter.
9345
9346         Add simple test app that times the adapter behaviour in different
9347         situations, and extend the unit test to check that bytes enter and
9348         exit the adapter in their original order.
9349
9350 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
9351
9352         * docs/random/draft-missing-plugins.txt:
9353           Update: use element message instead of adding a new message
9354           type to the core; don't provide GStreamer API to initiate the
9355           plugin download, just provide API to compose the strings needed
9356           and let an external libgimmestuff handle the rest.
9357
9358 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
9359
9360         * tools/gst-inspect.c: (print_element_properties_info):
9361         Print a string instead of 'unknown type' for GValueArray properties
9362
9363 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
9364
9365         * docs/random/draft-missing-plugins.txt:
9366         More small fixes.
9367
9368 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9369
9370         * tests/examples/typefind/typefind.c: (type_found), (main):
9371           Make typefind element example work again (#371894); add a
9372           license header.
9373
9374 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9375
9376         * docs/random/draft-missing-plugins.txt:
9377           Commit initial draft about how to deal with missing plugins,
9378           needs work (API too).
9379
9380 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
9381
9382         * docs/pwg/advanced-types.xml:
9383           documents the new caps elements (see #363118)
9384
9385 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9386
9387         * gst/gstplugin.c: (gst_plugin_load_file):
9388         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9389         (gst_file_src_map_region), (gst_file_src_start):
9390         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9391         (gst_file_index_commit):
9392           Use g_strerror() instead of strerror() - we want UTF-8.
9393
9394 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9395
9396         Patch by: Peter Kjellerstedt <pkj at axis com>
9397
9398         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9399           Another printf fix (#371493).
9400
9401 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9402
9403         * tests/check/gst/gsttag.c:
9404           relicence (okay with author=company)
9405
9406 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9407
9408         * gst/gstpad.c: (gst_pad_event_default_dispatch),
9409         (gst_pad_push_event):
9410           Enhance debug and improve docs
9411         
9412         * gst/gsturi.c:
9413           Fix docs
9414
9415 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9416
9417         * docs/random/ensonic/distributed.txt:
9418         * docs/random/ensonic/profiling.txt:
9419           more ideas
9420
9421 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9422
9423         * docs/gst/gstreamer-sections.txt:
9424           add new API and fix the build
9425           
9426         * gst/gstbin.c: (gst_bin_recalc_state):
9427         * gst/gstelement.c: (gst_element_message_full),
9428         (gst_element_get_state_func), (gst_element_set_state_func):
9429           use new API and improve logging
9430         
9431         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9432         * gst/gstutils.h:
9433           API: add function to get StateChangereturn names to improve logs 
9434
9435 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9436
9437         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9438           I'm considering shooting the next person to put strerror stuff
9439           in the translateable part of the message.
9440
9441 2006-11-03  Wim Taymans  <wim@fluendo.com>
9442
9443         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9444         Get the type and printf conversion specifiers right.
9445
9446 2006-11-03  Wim Taymans  <wim@fluendo.com>
9447
9448         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9449
9450         * gst/gstpad.c: (gst_pad_init), (pre_activate),
9451         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9452         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9453         Some small cleanups. Improve debugging.
9454         * gst/gstpad.h:
9455         Signal all waiting threads with a broadcast instead of just one.
9456         Fixes #369942.
9457
9458 2006-11-03  Wim Taymans  <wim@fluendo.com>
9459
9460         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9461         (gst_fd_src_create):
9462         Add some debugging. 
9463         Only update fd when it's different from the old.
9464
9465 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9466
9467         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9468           Printf fixes for PPC/OSX, take two (#369366).
9469
9470 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9471
9472         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
9473
9474         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9475         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9476         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9477           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9478           don't cast to long long for portability reasons, but use
9479           GLib's types instead.
9480
9481 2006-10-30  Michael Smith  <msmith@fluendo.com>
9482
9483         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9484           Get the arguments to lseek() the right way around.
9485           Fixes 367677.
9486
9487 2006-10-30  Wim Taymans  <wim@fluendo.com>
9488
9489         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9490
9491         * gst/gstinfo.h:
9492         _declspec should be __declspec (two underscores, not one). Fixes 366572.
9493
9494 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9495
9496         Patch by: Kjartan Maraas  <kmaraas at gnome org>
9497
9498         * docs/design/part-MT-refcounting.txt:
9499         * docs/random/wtay/capsnego2-docs:
9500         * gst/gstclock.c:
9501         * gst/gstxml.c:
9502           Typo fixes (#366212).
9503
9504 2006-10-28  Wim Taymans  <wim@fluendo.com>
9505
9506         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9507
9508         * gst/gst.c:
9509         * win32/common/libgstbase.def:
9510         * win32/common/libgstreamer.def:
9511         * win32/vs8/libgstbase.vcproj:
9512         * win32/vs8/libgstcontroller.vcproj:
9513         Add needed entries in .def files.
9514         Use HAVE_UNISTD_H.
9515         Rearrange def files in vs8 solutions. Fixes #366286.
9516
9517 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9518
9519         * win32/common/gstconfig.h:
9520           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9521           hand-made win32 gstconfig.h. Fixes #366321.
9522
9523 2006-10-27  Wim Taymans  <wim@fluendo.com>
9524
9525         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9526         (gst_ghost_pad_new_full):
9527         Make acceptcaps return TRUE when we don't have a target, just like
9528         setcaps does.
9529
9530 2006-10-27  Wim Taymans  <wim@fluendo.com>
9531
9532         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9533         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9534
9535 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
9536
9537         * gst/gststructure.c: (gst_structure_id_set_value):
9538           If someone tries to set a non-UTF8 string field on a structure,
9539           don't just print a warning, but also ignore the request and do
9540           not change/add that field to the structure.
9541
9542         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9543           Test for the above.
9544
9545 2006-10-25  David Schleef  <ds@schleef.org>
9546
9547         * gst/gstinfo.c:
9548           g_hash_table_insert() needs a cast to a non-const pointer duh.
9549
9550 2006-10-25  David Schleef  <ds@schleef.org>
9551
9552         * gst/gstinfo.c:
9553         * gst/gstinfo.h:
9554           Change name parameter of _gst_debug_register_funcptr to const
9555           to reflect the constness of its use in the function as well
9556           as to quiet a gcc warning.
9557
9558 2006-10-25  Edward Hervey  <edward@fluendo.com>
9559
9560         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9561         Don't push the buffer if it's empty.
9562         Closes #363095
9563
9564 2006-10-24  Wim Taymans  <wim@fluendo.com>
9565
9566         * gst/gstevent.h:
9567         Add small comment.
9568
9569         * libs/gst/base/gstbasetransform.c:
9570         (gst_base_transform_sink_eventfunc):
9571         Debug segment values *after* updating them as this is more
9572         interesting.
9573
9574 2006-10-23  Wim Taymans  <wim@fluendo.com>
9575
9576         * docs/design/part-events.txt:
9577         Update some docs.
9578
9579         * docs/design/part-block.txt:
9580         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9581         (gst_pad_push_event):
9582         Revert BLOCKING patch, it tries to be smart without really having a
9583         clear idea what or how. So, now we discard all FLUSHING events again on
9584         a blocking pad. Should fix gnonlin again.
9585
9586 2006-10-23  Wim Taymans  <wim@fluendo.com>
9587
9588         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9589
9590         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9591         (gst_base_src_start), (gst_base_src_activate_push):
9592         Make sure size is always initialized. Fixes #364388.
9593
9594 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
9595
9596         * docs/random/ensonic/distributed.txt:
9597           add some ideas about doing distributed processing
9598
9599         * docs/random/ensonic/profiling.txt:
9600           get_rusage look promising
9601
9602 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
9603
9604         * docs/manual/basics-helloworld.xml:
9605           Add a cast in example to fix compile warning
9606
9607 2006-10-18  Wim Taymans  <wim@fluendo.com>
9608
9609         * gst/gstsegment.c: (gst_segment_set_last_stop),
9610         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9611         Relax arg checking again, -1 is allowed.
9612
9613 2006-10-18  Wim Taymans  <wim@fluendo.com>
9614
9615         * gst/gstsegment.c: (gst_segment_set_last_stop),
9616         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9617         _set_last_stop() must be with a value != -1
9618         A _TYPE_SET to -1 means seek to 0.
9619         Calc last_stop correctly for negative rates.
9620         Make sure we work with positive durations when updating a segment.
9621
9622 2006-10-18  Wim Taymans  <wim@fluendo.com>
9623
9624         * docs/design/part-live-source.txt:
9625         * gst/gstclock.h:
9626         Small docs fixes.
9627
9628 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
9629
9630         * gst/gstbuffer.h:
9631           Add an explicit cast to GstBuffer** to keep old code that added an
9632           explicit cast to GstMiniObject** for gst_mini_object_replace()
9633           compiling without warning.
9634
9635 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
9636
9637         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
9638           check for validity of dates
9639
9640 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9641
9642         * docs/gst/gstreamer-sections.txt:
9643           Forgot this one, makes gtk-doc shut up.
9644
9645 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9646
9647         Patch by: Peter Kjellerstedt <pkj at axis com>
9648
9649         * gst/gstobject.h:
9650           Don't define xmlNodePtr to gpointer if the core was built with
9651           --disable-loadsave and --disable-registry, this will break
9652           applications that want to use libxml2 but are buildling against a
9653           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
9654           instead so we don't have to mess with the libxml2 namespace
9655           (#361675).
9656
9657 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9658
9659         * gst/gstbuffer.h:
9660           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
9661           type-punned pointer warnings.
9662
9663 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
9664
9665         * gst/gstelement.h:
9666           Add casts to the correct return type to state <=> state transition
9667           macros.
9668
9669 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
9670
9671         * docs/design/part-live-source.txt:
9672           describe howto handle latency
9673         
9674         * docs/random/ensonic/profiling.txt:
9675           more ideas
9676
9677         * tools/gst-plot-timeline.py:
9678           fix log parsing for solaris, remove unused function
9679
9680 2006-10-16  Wim Taymans  <wim@fluendo.com>
9681
9682         * docs/design/part-trickmodes.txt:
9683         * gst/gstevent.c:
9684         Update some docs regarding reverse playback.
9685
9686 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
9687
9688         Patch by: Marcus Granado  <mrc dot gran at gmail com>
9689
9690         * win32/vs8/grammar.vcproj:
9691           Error out with a warning if glib-genmarshal.exe is not in path,
9692           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
9693
9694 2006-10-13  Wim Taymans  <wim@fluendo.com>
9695
9696         * gst/gstsegment.c: (gst_segment_set_seek):
9697         When seeking to stop -1, set last_stop (current position) to the
9698         duration of the segment.
9699
9700 2006-10-13  Wim Taymans  <wim@fluendo.com>
9701
9702         * gst/gstelement.h:
9703         Clarify _NO_PREROLL a bit more.
9704
9705         * gst/gstevent.c:
9706         Fix docs.
9707
9708         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
9709         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
9710         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
9711         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
9712         due to wrong locking order. Fixes #361769.
9713         Remove some redundant/misplaced checks in pad_block.
9714
9715         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9716         For negative rates, count backwards from the duration.
9717
9718 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
9719
9720         * gst/gsterror.c: (_gst_library_errors_init):
9721           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
9722           up with something better).
9723
9724 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
9725
9726         * win32/vs6/libgstreamer.dsp:
9727         * win32/vs7/libgstreamer.vcproj:
9728         * win32/vs8/libgstreamer.vcproj:
9729           Don't reference glib-compat.c which is currently not used and not
9730           disted; add gstquark.c which was recently added. Fixes #361730.
9731
9732 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
9733
9734         * win32/common/libgstbase.def:
9735         * win32/common/libgstcontroller.def:
9736         * win32/common/libgstreamer.def:
9737           Add gst_caps_merge() and a bunch of other recently-added functions.
9738           Fixes #361732.
9739
9740 2006-10-11  Wim Taymans  <wim@fluendo.com>
9741
9742         * docs/plugins/gstreamer-plugins.args:
9743         * docs/plugins/inspect/plugin-coreelements.xml:
9744         * docs/plugins/inspect/plugin-coreindexers.xml:
9745         Update element args.
9746
9747         * gst/gstsystemclock.c:
9748         Small comment update.
9749
9750         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9751         (gst_tee_request_new_pad), (gst_tee_release_pad),
9752         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
9753         (gst_tee_sink_activate_pull):
9754         * plugins/elements/gsttee.h:
9755         Some tee loving:
9756         Add default property defines.
9757         Implement release pad function.
9758         Give properties better blubs etc.
9759         Activate pads before adding them to a running tee.
9760         Do simple buffer_alloc on the first requested pad.
9761         Post error when activation fails.
9762
9763 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
9764
9765         * gst/gst.c: (ensure_current_registry_forking):
9766           Check return value of write() to make compiler happy.
9767
9768 2006-10-11  Wim Taymans  <wim@fluendo.com>
9769
9770         Patch by: Sjoerd Simons <sjoerd at luon dot net>
9771
9772         * plugins/elements/gstqueue.c: (gst_queue_chain):
9773         Recheck queue filledness after signalling the overrun when we're about
9774         to leak downstream because we released the lock when emitting the signal
9775         and the queue could be empty again. Fixes #352345.
9776
9777 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
9778
9779         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
9780           Fix refcounting here too, just like we did for _new_valist() a few
9781           days ago (#357180) (thanks to René Stadler). Also remove all those
9782           'Since: 0.9' from the gtk-doc blobs.
9783
9784         * tests/check/libs/controller.c: (controller_refcount_new_list),
9785         (gst_controller_suite):
9786           Unit test for the above.
9787
9788 2006-10-10  Wim Taymans  <wim@fluendo.com>
9789
9790         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
9791
9792         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
9793         (gst_pad_save_thyself):
9794         Update some docs.
9795         Write pad direction in XML output. Fixes #345496.
9796
9797 2006-10-10  Wim Taymans  <wim@fluendo.com>
9798
9799         Patch by: René Stadler <mail at renestadler dot de>
9800
9801         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9802         (gst_controller_new_list), (_gst_controller_dispose),
9803         (_gst_controller_finalize), (_gst_controller_class_init):
9804         Take ref to controlled object so that it cannot disappear. 
9805         Fixes #357432.
9806
9807 2006-10-10  Wim Taymans  <wim@fluendo.com>
9808
9809         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9810         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9811         (gst_check_teardown_sink_pad):
9812         Activate/deactivate pads in setup/teardown respectively.
9813
9814 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9815
9816         Patch by: Josep Torra Valles <josep@fluendo.com>
9817
9818         * gst/Makefile.am:
9819         Cast values when making gstenumtypes.h.  This pacifies Forte
9820         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
9821         in the enumeration.
9822
9823 2006-10-09  Wim Taymans  <wim@fluendo.com>
9824
9825         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
9826         Rename some more @cur to @start to fix docs. 
9827
9828         * gst/gstsegment.c: (gst_segment_set_seek):
9829         Fix typo.
9830         time and start must always stay in sync as defined in design doc.
9831
9832         * gst/gsttaglist.c: (gst_tag_list_is_empty):
9833         Rename param to fix docs.
9834
9835         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9836         Check that start and time are in sync.
9837
9838         * tests/check/pipelines/parse-launch.c:
9839         (gst_parse_test_element_change_state):
9840         Activate pad before adding to the element.
9841
9842 2006-10-09  Wim Taymans  <wim@fluendo.com>
9843
9844         * docs/design/part-qos.txt:
9845         Fix typo.
9846
9847         * gst/gstevent.c:
9848         * gst/gstevent.h:
9849         Update seek event docs regarding negative rates.
9850         Rename @cur to @start. 
9851
9852         * gst/gstsegment.c: (gst_segment_set_seek):
9853         * gst/gstsegment.h:
9854         Update set_seek docs regarding negative rates.
9855         Correctly update last_stop to @stop when dealing with negative
9856         rates.
9857         Rename @cur to @start. 
9858
9859         * tests/check/gst/gstpad.c: (GST_START_TEST):
9860         Activate pads before trying to use them.
9861
9862         * tests/check/gst/gstsegment.c: (GST_START_TEST),
9863         (gst_segment_suite):
9864         Add simple check for segments and negative rates.
9865
9866 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
9867
9868         * gst/gsttaglist.c: (gst_tag_list_is_empty):
9869         * gst/gsttaglist.h:
9870         * docs/gst/gstreamer-sections.txt:
9871           API: add gst_tag_list_is_empty() (#360467).
9872
9873         * tests/check/gst/gsttag.c: (GST_START_TEST):
9874           And a test case.
9875
9876 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9877
9878         * gst/gstmessage.h:
9879         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
9880         a value that doesn't fit on enumeration.
9881
9882 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9883
9884         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9885         Remove local debugging system and use Gstreamer's instead.
9886
9887 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9888
9889         Patch by: Josep Torra Valles <josep@fluendo.com>
9890
9891         * common/m4/gst-error.m4:
9892         Disable warning of statement not reached on Forte.
9893         * gst/gstmessage.h:
9894         Fix warning on Forte (value doesn't fit on enumeration).
9895         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
9896         Fix warning on Forte (value doesn't fit on enumeration).
9897         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9898         DEBUG macro says it takes minimum of 2 args and so Forte
9899         complains about the use with just 1 arg.
9900         * plugins/elements/gstfdsink.c:
9901         * plugins/elements/gstfdsrc.c:
9902         * plugins/elements/gstfilesink.c:
9903         * plugins/elements/gstfilesrc.c:
9904         Use correct return type for the uri handler implementations.
9905
9906         All these fix warnings in Forte.  Fixes bug #360860.
9907
9908 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
9909
9910         * gst/gstelement.h:
9911           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
9912           format string, so don't use G_GNUC_PRINTF for those versions.
9913
9914 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
9915
9916         * gst/gsttaglist.c: (gst_is_tag_list):
9917         * gst/gsttaglist.h:
9918           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
9919
9920         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9921           Small test for the above.
9922
9923 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
9924
9925         * gst/gsttaglist.h:
9926           Less tabs, more spaces.
9927
9928 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
9929
9930         * gst/gstinfo.h:
9931           Those two function declarations do actually belong there, revert
9932           commit from yesterday that turned them intro macros.
9933
9934 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9935
9936         Patch by: Josep Torra Valles <josep@fluendo.com>
9937
9938         * gst/gst.c: (gst_init_get_option_group):
9939         Fix empty declaration and type mismatch.
9940         * gst/gstbin.c: (gst_bin_change_state_func):
9941         Fix type mismatch.
9942         * gst/gstelement.c: (gst_element_continue_state),
9943         (gst_element_set_state_func), (gst_element_change_state),
9944         (gst_element_change_state_func):
9945         Fix type mismatches.
9946         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
9947         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
9948         Cast as appropriate.
9949         * gst/gstobject.c: (gst_class_signal_connect):
9950         Cast as appropriate.  The function pointer parameter really
9951         has the wrong type but would break API if we change it.
9952         * gst/gstquery.c:
9953         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
9954         order of including string.h.
9955         * gst/gstutils.c: (gst_element_state_get_name):
9956         Remove unreachable line.
9957         * gst/gstxml.c: (gst_xml_parse_doc):
9958         Fix type mismatch.
9959         All these caught by Forte.
9960
9961 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9962
9963         Patch by: Josep Torra Valles <josep@fluendo.com>
9964
9965         * common/m4/gst-error.m4:
9966         Fixed bug #360151.
9967         We need to disable warnings on Forte for empty declarations
9968         due to gst-indent adding ;s to lines that just use macros
9969         where the macro actually doesn't need a ; at end to end
9970         statement.
9971
9972 2006-10-06  Wim Taymans  <wim@fluendo.com>
9973
9974         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
9975         (gst_file_sink_close_file), (gst_file_sink_event),
9976         (gst_file_sink_render):
9977         Add some FIXME for the NEWSEGMENT handling.
9978
9979 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9980
9981         * gst/parse/grammar.y:
9982         Remove static function gst_parse_element_lock as all it does
9983         is return.  Looks like cruft from 0.8.
9984
9985 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9986
9987         Patch by: Josep Torra Valles <josep@fluendo.com>
9988
9989         * common/m4/gst-error.m4:
9990         * configure.ac:
9991         * libs/gst/net/Makefile.am:
9992         Fix a compilation issue with Forte on Solaris.  inet_aton is in
9993         libresolv.
9994
9995 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
9996
9997         * gst/gstpad.c: (pre_activate):
9998         * gst/gstregistry.c: (gst_registry_scan_path_level):
9999         * gst/gstregistryxml.c: (load_plugin):
10000         * libs/gst/controller/gstcontroller.c:
10001         (gst_controlled_property_set_interpolation_mode):
10002         * libs/gst/dataprotocol/dataprotocol.c:
10003         (gst_dp_packet_from_event_1_0):
10004         * libs/gst/net/gstnetclientclock.c:
10005         (gst_net_client_clock_observe_times):
10006         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
10007           Printf fixes.
10008
10009 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
10010
10011         * configure.ac:
10012         * docs/gst/gstreamer-sections.txt:
10013         * gst/gstconfig.h.in:
10014         * gst/gstelement.h:
10015         * gst/gstinfo.h:
10016           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
10017           whether we can use G_GNUC_PRINTF in other header files and at
10018           least check the printf format/arguments of debug messages and
10019           GST_ELEMENT_ERROR messages when the printf extension is not
10020           being used.
10021           Replace more tabs with spaces in gstinfo.h and remove two spurious
10022           function declarations in GST_DISABLE_DEBUG part with macros.
10023
10024 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
10025
10026         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
10027           More docs for the sync-message signal (mention that it is not
10028           emitted by default); log message structures of messages posted on
10029           the bus as well.
10030
10031 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
10032
10033         * gst/gst.c: (ensure_current_registry_forking):
10034         Use a pipe pair to receive status results from the forked child, and
10035         ignore the result from waitpid. Fixes #355499
10036
10037 2006-10-02  Wim Taymans  <wim@fluendo.com>
10038
10039         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10040         (gst_ghost_pad_suite):
10041         Fix leak in check.
10042
10043 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
10044
10045         * gst/gstpad.c:
10046           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
10047
10048 2006-10-02  Edward Hervey  <edward@fluendo.com>
10049
10050         * docs/design/part-block.txt:
10051         Further explain the use of flushing on blocked pads.
10052         * docs/gst/gstreamer-sections.txt:
10053         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
10054         (gst_pad_push_event):
10055         * gst/gstpad.h:
10056         Added new GstPadFlag : GST_PAD_BLOCKING.
10057         Adds the notion of pads really blocking, which enables to properly
10058         handle FLUSH_START/FLUSH_STOP events on blocked pads.
10059         Fixes #358999
10060         API: gst_pad_is_blocking()
10061         API: GST_PAD_IS_BLOCKING() macro
10062         API: GST_PAD_BLOCKING GstPadFlag
10063         
10064 2006-10-02  Wim Taymans  <wim@fluendo.com>
10065
10066         Patch by: mrcgran <mrc.gran at gmail dot com>
10067
10068         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
10069         Filter the proxied caps against the padtemplate if we have one.
10070
10071         * gst/gstquery.c: (gst_query_new_segment):
10072         Add include for gstinfo.h so that compilation with
10073         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
10074
10075 2006-10-02  Wim Taymans  <wim@fluendo.com>
10076
10077         Patch by: Alessandro Decina  <alessandro at nnva org>
10078
10079         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
10080         (gst_file_sink_set_location), (gst_file_sink_open_file),
10081         (gst_file_sink_close_file), (gst_file_sink_event),
10082         (gst_file_sink_render):
10083         Set file to NULL when closing filesink so that we can set a new filename
10084         in READY. Fixes #358613.
10085
10086 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
10087
10088         Patch by: Alessandro Decina  <alessandro at nnva org>
10089
10090         * gst/gstevent.c: (_gst_event_copy):
10091           Fix gst_mini_object_make_writable() and gst_event_copy() for events
10092           with event structures by setting the parent refcount address of the
10093           copied structure to the address of the refcount member of the newly
10094           copied event rather than the address of the refcount member of the
10095           original event. Fixes #358737.
10096
10097         * tests/check/gst/gstevent.c: (GST_START_TEST):
10098           Unit test for the above.
10099
10100 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
10101
10102         * docs/design/Makefile.am:
10103           Dist some more files.
10104
10105 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10106
10107         * tests/check/libs/controller.c: (GST_START_TEST),
10108         (gst_controller_suite):
10109           Add test for the previous fix; add some more tests
10110           for correct refcounting behaviour; fix a few leaks
10111           in test cases; call gst_controller_init() at start
10112           of all tests.
10113
10114 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10115
10116         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10117         (gst_controller_set_from_list):
10118           Don't g_return_val_if_fail() on timed values with invalid timestamps
10119           inside a critical section without unlocking the mutex. Spotted by
10120           René Stadler. (#357617)
10121           Also, fix up refcounting properly: when returning an existing
10122           controller, we should increase the reference only once and not
10123           once per property and when trying to control a property again
10124           we should also increase the refcount.
10125
10126 2006-09-29  Wim Taymans  <wim@fluendo.com>
10127
10128         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10129         * libs/gst/net/gstnettimeprovider.c:
10130         (gst_net_time_provider_thread):
10131         Stop reading commands when EOF as well.
10132
10133         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
10134         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
10135         * plugins/elements/gstidentity.c: (gst_identity_class_init):
10136         Unify description of the dump property.
10137
10138 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10139
10140         * tests/examples/manual/.cvsignore:
10141         OK, so it's actually cvsignore that needs changing. Stop laughing.
10142
10143 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10144
10145         * tests/examples/manual/Makefile.am:
10146         Gah, declare vars *before* using them
10147
10148 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10149
10150         * gst/gst.c: (init_pre), (scan_and_update_registry),
10151         (ensure_current_registry_nonforking),
10152         (ensure_current_registry_forking), (ensure_current_registry),
10153         (init_post), (gst_debug_help), (gst_deinit):
10154         * gst/gst_private.h:
10155         * gst/gstregistry.c: (gst_registry_finalize),
10156         (gst_registry_remove_features_for_plugin_unlocked),
10157         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10158         (gst_registry_scan_path),
10159         (_priv_gst_registry_remove_cache_plugins),
10160         (_priv_gst_registry_cleanup):
10161         * gst/gstregistry.h:
10162         Re-commit the registry changes, along with an extra fix:
10163           When a cached plugin is encountered at a different file path,
10164           update the stored path in the registry cache so that the parent
10165           process knows where it actually is now when it re-reads the registry
10166           cache. Fixes the thing that broke distcheck with the previous commit.
10167
10168         * tests/check/Makefile.am:
10169         Clean up files named 'core' too when running make clean.
10170
10171         * tests/examples/manual/Makefile.am:
10172         Set up a registry path for running these tests, and clean it properly
10173         for distcheck.
10174
10175 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10176
10177         * configure.ac:
10178         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
10179         want gmodule-no-export-2.0.pc instead so that we don't drag in
10180         --export-dynamic on every project that links to GStreamer.
10181
10182         Also, make our export regex only match the start of symbols, rather 
10183         than any symbol that contains '_gst' somewhere.
10184
10185         * libs/gst/check/Makefile.am:
10186         The libgstcheck we build does however need export-dynamic, as it
10187         produces some symbols that don't match our _gst... style regex.
10188         Fixes: #318031
10189
10190 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
10191
10192         * gst/gst.c: (init_pre), (scan_and_update_registry),
10193         (ensure_current_registry_nonforking),
10194         (ensure_current_registry_forking), (ensure_current_registry),
10195         (init_post), (gst_debug_help), (gst_deinit):
10196         * gst/gst_private.h:
10197         * gst/gstregistry.c: (gst_registry_finalize),
10198         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10199         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
10200         (_gst_registry_cleanup):
10201         * gst/gstregistry.h:
10202           Revert previous change until I figure out why it breaks distcheck.
10203
10204 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
10205
10206         * gst/gst.c: (init_pre), (scan_and_update_registry),
10207         (ensure_current_registry_nonforking),
10208         (ensure_current_registry_forking), (ensure_current_registry),
10209         (init_post), (gst_debug_help), (gst_deinit):
10210
10211           Make init_pre and init_post take the full complement of GOptionFunc
10212           args so they can return useful GErrors. Make the registry updating
10213           functions do so.
10214
10215           Call _priv_gst_registry_remove_cache_plugins after scanning files to
10216           ensure that the registry we're about to write out doesn't contain
10217           stale information about old-deleted plugin files.
10218
10219           Make _priv_gst_registry_remove_cache_plugins return a boolean so
10220           that deletion of plugin files is considered a registry change.
10221
10222         * gst/gst_private.h:
10223         * gst/gstregistry.c: (gst_registry_finalize),
10224         (gst_registry_remove_features_for_plugin_unlocked),
10225         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10226         (gst_registry_scan_path),
10227         (_priv_gst_registry_remove_cache_plugins),
10228         (_priv_gst_registry_cleanup):
10229         * gst/gstregistry.h:
10230         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
10231         by adding _priv prefix, so that they won't appear in the global
10232         symbol table. They still do atm though because of #318031. Move the
10233         prototypes to gst_private.h
10234
10235         When removing a plugin, remove all features for that plugin too. 
10236         Fixes #340878.
10237
10238 2006-09-27  Wim Taymans  <wim@fluendo.com>
10239
10240         * docs/random/moving-plugins:
10241         Make it clear that the "compiled-in descriptions" really mean
10242         the element details.
10243
10244         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10245         (gst_base_sink_wait_preroll):
10246         Update docs.
10247
10248         * docs/libs/gstreamer-libs-sections.txt:
10249         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10250         (gst_base_src_get_range), (gst_base_src_activate_push):
10251         * libs/gst/base/gstbasesrc.h:
10252         Added function to block while waiting for PLAYING, this function
10253         is used by live sources that block on the clock.
10254         API: gst_base_src_wait_playing()
10255
10256 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10257
10258         Patch by: Peter Kjellerstedt <pkj at axis com>
10259
10260         * Makefile.am:
10261           gst-element-check.m4 is generated and should therefore be
10262           copied from the build dir rather than the source dir (#357593).
10263           'make distcheck' hasn't noticed this because we were disting
10264           the file as well, so stop doing that.
10265
10266 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10267
10268         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10269           Add some tests for gst_caps_intersect().
10270
10271         * tools/gst-launch.c: (event_loop):
10272           Print all buffering percentages we get, even the 100% one.
10273
10274 2006-09-26  Wim Taymans  <wim@fluendo.com>
10275
10276         * tools/gst-inspect.c: (print_element_properties_info),
10277         (print_signal_info):
10278         Fix printing of flags to match the look of enums.
10279
10280 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10281
10282         * gst/gstelementfactory.c:
10283           Fix typo in docs blurb.
10284
10285 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10286
10287         * gst/gsturi.c: (search_by_entry):
10288           Don't assert/crash here if a uri handler doesn't return any
10289           supported protocols. The list of protocols could be generated
10290           dynamically at runtime or at plugin registration, and an error
10291           in the underlying library shouldn't be fatal (#353301).
10292
10293 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10294
10295         * gst/gstinfo.c:
10296           Fix warning if HAVE_PRINTF_EXTENSION is undefined
10297           (spotted by Peter Kjellerstedt).
10298
10299 2006-09-23  Wim Taymans  <wim@fluendo.com>
10300
10301         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
10302
10303         * libs/gst/base/gstbasesrc.c:
10304         (gst_base_src_default_check_get_range), (gst_base_src_start),
10305         (gst_base_src_activate_push), (gst_base_src_activate_pull),
10306         (gst_base_src_change_state):
10307         Match _start/_stop calls in the activate functions. Remove redundant
10308         _stop call from the state change function. Fixes #356910.
10309         Turn failure DEBUG into ERROR. 
10310
10311 2006-09-22  Wim Taymans  <wim@fluendo.com>
10312
10313         * docs/design/part-buffering.txt:
10314         * gst/gstmessage.c: (gst_message_new_buffering),
10315         (gst_message_parse_buffering):
10316         Update docs about buffering.
10317
10318         * docs/design/part-trickmodes.txt:
10319         Fix typo.
10320
10321 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
10322
10323         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10324         (gst_controller_new_list):
10325           Ref instances when returning them again (fixes #357180)
10326
10327 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
10328
10329         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10330           Don't forget to release proxy lock when there's an error.
10331
10332 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
10333
10334         * gst/gstcaps.h:
10335           Add extra initialisers for Caps things, to fix some plugin warnings
10336           when using -Wextra
10337
10338 2006-09-18  Wim Taymans  <wim@fluendo.com>
10339
10340         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10341           Also set template on the internal pad so that a getcaps from the 
10342           target pad returns the template caps.
10343
10344 2006-09-18  Wim Taymans  <wim@fluendo.com>
10345
10346         * gst/gstelement.c: (gst_element_post_message),
10347         (gst_element_dispose):
10348         Use _DEBUG_OBJECT some more.
10349
10350         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10351         Avoid typechecks.
10352
10353         * tools/gst-launch.c: (main):
10354         If the toplevel element is not a GstPipeline, it must be put in a
10355         pipeline so that a bus and clock is selected.
10356
10357 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10358
10359         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10360           JITTER, RATE, and LATENCY query should be handled by the
10361           default case and not by the CONVERT query code.
10362
10363 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10364
10365         * gst/gstformat.c: (gst_format_register):
10366           Fix locking order (must take lock before using n_values).
10367
10368         * gst/gstvalue.c: (gst_value_serialize_enum),
10369         (gst_value_deserialize_enum_iter_cmp),
10370         (gst_value_deserialize_enum):
10371           Fix serialisation/deserialisation of custom registered GstFormats.
10372
10373         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10374           Unit test for custom format serialisation/deserialisation.
10375
10376 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
10377
10378         * docs/pwg/building-boiler.xml:
10379         * plugins/elements/gstcapsfilter.c:
10380         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10381         section.
10382
10383 2006-09-16  Edward Hervey  <edward@fluendo.com>
10384
10385         * libs/gst/base/gstbasetransform.c:
10386         (gst_base_transform_buffer_alloc):
10387         Check if requested caps are the same as the sinks caps IF
10388         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10389         is FALSE.
10390         This fixes the renegotiation issues stated in #352827.
10391
10392 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10393
10394         * configure.ac:
10395         * docs/manual/advanced-autoplugging.xml:
10396         * tests/examples/Makefile.am:
10397         * tests/examples/manual/.cvsignore:
10398         * tests/examples/manual/Makefile.am:
10399         * tests/examples/manual/extract.pl:
10400           Extract the manual examples again like we used to do.
10401           Fix one of them.
10402
10403 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10404
10405         * win32/common/config.h:
10406           update for version
10407
10408 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
10409
10410         * gst/gsterror.c:
10411           Documents how to receive errors.
10412
10413 2006-09-15  Wim Taymans  <wim@fluendo.com>
10414
10415         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10416         (event_loop), (main):
10417         Added some comments here and there.
10418         Post an application message when an interrupt is caught instead of doing
10419         an uncontrolled state change.
10420         Clean up the event loop.
10421         Handle buffering messages, pause/resume the pipeline.
10422         Make shutdown because of an interrupt more reliable.
10423
10424 2006-09-15  Wim Taymans  <wim@fluendo.com>
10425
10426         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10427         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10428         (gst_base_sink_preroll_object):
10429         Make sure that our internal state is correct when we commit our state
10430         asynchronously. This solves a race where a state change to PLAYING
10431         could cause the sink to remain blocked in preroll in some situations.
10432
10433 2006-09-15  Wim Taymans  <wim@fluendo.com>
10434
10435         * tools/gst-inspect.c: (print_element_properties_info),
10436         (print_signal_info):
10437         List flags as hex so it's easier to deal with.
10438
10439 2006-09-15  Wim Taymans  <wim@fluendo.com>
10440
10441         * docs/libs/gstreamer-libs-sections.txt:
10442         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10443         (gst_base_sink_do_sync):
10444         * libs/gst/base/gstbasesink.h:
10445         Expose logic to wait for preroll so that subclasses such as audiosink
10446         can also use this method.
10447         API: gst_base_sink_wait_preroll()
10448
10449 2006-09-15  Wim Taymans  <wim@fluendo.com>
10450
10451         * gst/gstobject.c: (gst_object_set_parent):
10452         * gst/gstpipeline.c: (do_pipeline_seek):
10453         Small cleanups in docs and code.
10454
10455         * gst/gstsegment.c: (gst_segment_clip):
10456         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10457         if stop == start and start is in the segment, no clipping should be
10458         done. Also add a test for this.
10459
10460 2006-09-15  Wim Taymans  <wim@fluendo.com>
10461
10462         * docs/design/part-buffering.txt:
10463         * docs/gst/gstreamer-sections.txt:
10464         * gst/gstmessage.c: (gst_message_new_buffering),
10465         (gst_message_parse_buffering):
10466         * gst/gstmessage.h:
10467         Added methods to create and parse BUFFERING messages.
10468         Added preliminary docs about buffering.
10469         API: gst_message_new_buffering
10470         API: gst_message_parse_buffering
10471
10472 2006-09-06  Wim Taymans  <wim@fluendo.com>
10473
10474         * gst/gstbin.c:
10475         Update documentation.
10476
10477         * gst/gstelement.c: (gst_element_class_init),
10478         (gst_element_release_request_pad), (gst_element_set_clock),
10479         (gst_element_get_index), (gst_element_add_pad),
10480         (gst_element_remove_pad), (gst_element_get_random_pad),
10481         (gst_element_send_event), (gst_element_get_query_types),
10482         (gst_element_query), (gst_element_post_message),
10483         (gst_element_message_full), (gst_element_continue_state),
10484         (gst_element_lost_state), (gst_element_save_thyself),
10485         (gst_element_restore_thyself):
10486         Documentation updates.
10487         Rename last bit of the new-pad -> pad-added signal rename.
10488         Fix the case where an element query would only work if the source
10489         pad was linked.
10490         Avoid some useless type checking in message handling.
10491
10492         * gst/gstevent.c:
10493         * gst/gstevent.h:
10494         * gst/gstutils.c:
10495         Documentation updates.
10496
10497 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10498
10499         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10500           add an INFO line for when we actually update the fd
10501
10502 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10503
10504         * configure.ac:
10505           back to TRUNK
10506
10507 === release 0.10.10 ===
10508
10509 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
10510
10511         * configure.ac:
10512           releasing 0.10.10, "Pais"
10513
10514 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
10515
10516         * docs/manual/advanced-position.xml:
10517           Fix typo in sample code.
10518
10519 2006-09-05  Wim Taymans  <wim@fluendo.com>
10520
10521         * libs/gst/net/gstnetclientclock.c: (inet_aton),
10522         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10523         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10524         * libs/gst/net/gstnetclientclock.h:
10525         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10526         * libs/gst/net/gstnettimepacket.h:
10527         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10528         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10529         (gst_net_time_provider_thread), (gst_net_time_provider_new):
10530         * libs/gst/net/gstnettimeprovider.h:
10531         Make stuff compile on windows. Fixes #345295.
10532
10533 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10534
10535         * gst/gst.c: (ensure_current_registry_forking):
10536           Print better details when child was terminated by signal.
10537
10538 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10539
10540         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10541           Print a warning rather than g_assert() if a plugin feature
10542           is a URI handler but returns no protocols (#353976).
10543
10544 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
10545
10546         * docs/random/moving-plugins:
10547         Fix two typos.         
10548
10549 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
10550
10551         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10552           Fix locking order, handle NULL function values properly.
10553
10554         * gst/gstinfo.h:
10555           Fix docs.
10556
10557         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10558           Initialise variable before using it and fix debug statement to
10559           print the address of the function rather than the address of the
10560           variable on the stack holding the address of the function.
10561
10562 2006-09-01  Wim Taymans  <wim@fluendo.com>
10563
10564         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10565         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10566         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10567         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
10568         (gst_ghost_pad_parent_unset),
10569         (gst_ghost_pad_internal_do_activate_push),
10570         (gst_ghost_pad_internal_do_activate_pull),
10571         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10572         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10573         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10574         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
10575         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
10576         (gst_ghost_pad_new_no_target_from_template),
10577         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10578         More cleanups.
10579         Avoid needless typechecking in macros.
10580         Since the internal pad is always present and never changes, there is
10581         no need to locking or ref when retrieving it.
10582         Improve debugging a bit.
10583         Handle link errors when setting the target. Fixes #341029.
10584
10585 2006-09-01  Wim Taymans  <wim@fluendo.com>
10586
10587         * docs/libs/gstreamer-libs-sections.txt:
10588         * docs/plugins/gstreamer-plugins-sections.txt:
10589         Fix docs some more.
10590
10591         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10592         (gst_collect_pads_event):
10593         * libs/gst/base/gstcollectpads.h:
10594         Documentation updates.
10595         Free queued buffer when removing a pad.
10596
10597 2006-08-31  Michael Smith  <msmith@fluendo.com>
10598
10599         * gst/gstutils.c: (gst_element_link_pads),
10600         (gst_element_link_pads_filtered):
10601           Ensure that we set a capsfilter to NULL if we failed to link it
10602           when doing filtered linking, to avoid criticals.
10603
10604           No need to check for unreffing srcpad, which is explicly NULLed
10605           above (a trivial code cleanup).
10606
10607 2006-08-31  Wim Taymans  <wim@fluendo.com>
10608
10609         * docs/design/part-gstghostpad.txt:
10610         Update ascii art in documentation.
10611
10612         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
10613         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
10614         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10615         (gst_ghost_pad_internal_do_activate_push),
10616         (gst_ghost_pad_internal_do_activate_pull),
10617         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10618         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10619         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
10620         (gst_ghost_pad_set_target):
10621         Small cleanups and leak fixes.
10622         Remove some checks now that the internal pad is never NULL.
10623         Fix the case where linking pads without a target would create nasty
10624         criticals. Fixes #341029.
10625         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
10626         value of _set_target().
10627
10628         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10629         (gst_ghost_pad_suite):
10630         Some more tests for creating and linking untargeted ghostpads.
10631
10632 2006-08-31  Edward Hervey  <edward@fluendo.com>
10633
10634         * docs/gst/gstreamer-sections.txt:
10635         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
10636         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10637         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
10638         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
10639         (gst_ghost_pad_new_from_template),
10640         (gst_ghost_pad_new_no_target_from_template):
10641         * gst/gstghostpad.h:
10642         Refactored *_new() functions.
10643         Templates are now used as a g_object_new() parameter.
10644         Use template in _do_getcaps() if we don't have a target.
10645         Small documentation cleanups.
10646         Added two new constructors:
10647         gst_ghost_pad_new_from_template()
10648         gst_ghost_pad_new_no_target_from_template()
10649         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10650         (gst_ghost_pad_suite):
10651         Added tests for new ghostpad instanciation functions.
10652
10653         API additions: gst_ghost_pad_new_from_template,
10654         gst_ghost_pad_new_no_target_from_template
10655
10656 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
10657
10658         * docs/random/ensonic/profiling.txt:
10659           Ideas about qos profiling.
10660
10661 2006-08-29  Wim Taymans  <wim@fluendo.com>
10662
10663         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
10664         Code cleanups.
10665         Fix memleak.
10666
10667 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
10668
10669         * gst/gstxml.c:
10670           Improve and detypofy docs.
10671
10672         * tests/check/Makefile.am:
10673         * tests/check/gst/.cvsignore:
10674         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
10675           Add a basic test suite for GstXML.
10676
10677 2006-08-29  Wim Taymans  <wim@fluendo.com>
10678
10679         * gst/gstelement.c: (activate_pads), (clear_caps),
10680         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10681         Clear the pad caps when the element shut down all of the pads and
10682         is not streaming data that could modify the caps. 
10683         Fixes #352958.
10684
10685 2006-08-28  Michael Smith  <msmith@fluendo.com>
10686
10687         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10688           Revert previous change; I misunderstood single-segment mode.
10689
10690 2006-08-28  Michael Smith  <msmith@fluendo.com>
10691
10692         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10693           Unset DISCONT on buffers when using single-segment mode.
10694
10695 2006-08-28  Wim Taymans  <wim@fluendo.com>
10696
10697         * gst/gstcaps.c: (gst_caps_merge_structure):
10698         * gst/gstcaps.h:
10699         Fix docs and indentation again.
10700
10701         * tests/check/gst/gstquery.c: (GST_START_TEST):
10702         Fix leak in tests and add some more tests.
10703
10704 2006-08-28  Edward Hervey  <edward@fluendo.com>
10705
10706         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10707         Inform GstSegment of the last stop position in order for the current
10708         segment to have a proper duration if it doesn't have a specific stop
10709         position from which a duration could be calculated.
10710         This bug was noticeable when a non-flushing, non-update new segment was
10711         followed by another segment (all buffers from the new segment were being
10712         dropped).
10713
10714 2006-08-28  Wim Taymans  <wim@fluendo.com>
10715
10716         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10717         Small comment update.
10718
10719         * plugins/elements/gstidentity.c: (gst_identity_class_init),
10720         (gst_identity_transform_ip):
10721         Drop-probability is broken, mention this in the code with a 
10722         FIXME and also in the property description.
10723         Make silent also be silent about the drop messages.
10724
10725 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
10726
10727         * docs/manual/appendix-win32.xml:
10728           Remove mention of popt, we don't depend on that any
10729           longer (#353136). Add some comments pointing out that
10730           this section is slightly outdated.
10731
10732 2006-08-28  Wim Taymans  <wim@fluendo.com>
10733
10734         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10735
10736         * gst/gstquery.c: (gst_query_new_segment):
10737         * tests/check/gst/gstquery.c: (GST_START_TEST):
10738         Initialize variables when creating a new segment query.
10739         Fixes #353121.
10740
10741 2006-08-28  Wim Taymans  <wim@fluendo.com>
10742
10743         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10744
10745         * gst/gstelement.c: (gst_element_get_bus):
10746         * tests/check/gst/gstelement.c: (GST_START_TEST):
10747         Check for NULL before _reffing the bus. Fixes #353122.
10748
10749 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
10750
10751         * docs/manual/basics-bus.xml:
10752           Docs update: fix wrong callback return value explanation; add
10753           some lines about the implicit relationship between main loop
10754           and main context; remove duplicate main loop variable declaration.
10755
10756 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
10757
10758         * tests/check/gst/gstcaps.c: (GST_START_TEST):
10759           Don't leak caps in unit test; add a few more simple
10760           checks. 
10761
10762 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
10763
10764         * docs/gst/gstreamer-sections.txt:
10765         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
10766         (gst_caps_structure_is_subset), (gst_caps_merge),
10767         (gst_caps_merge_structure):
10768         * gst/gstcaps.h:
10769         * libs/gst/base/gstbasetransform.c:
10770         (gst_base_transform_transform_caps):
10771         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10772           implement caps merging (fixes #352580)
10773
10774 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
10775
10776         * tools/Makefile.am:
10777         * tools/gst-plot-timeline.py:
10778           add debug-log plotting developer tool (#340674)
10779
10780 2006-08-23  Wim Taymans  <wim@fluendo.com>
10781
10782         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
10783         (gst_pad_stop_task):
10784         Improve debugging for task functions.
10785
10786         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
10787         (gst_task_start), (gst_task_pause), (gst_task_join):
10788         Make sure that the task function started and finished after a 
10789         join(). 
10790         Don't try to push the task function on the threadpool multiple
10791         times.
10792         Improve the g_warning message with some useful suggestions
10793         about how to fix the problem. 
10794
10795 2006-08-23  Wim Taymans  <wim@fluendo.com>
10796
10797         * gst/gstutils.c: (gst_pad_proxy_getcaps):
10798         Handle RESYNC correctly in _proxy_getcaps.
10799
10800 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
10801
10802         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
10803         (gst_xml_parse_memory), (gst_xml_get_element):
10804           Chain up to parent class in dispose function and also
10805           unref the elements in the toplevel_elements GList.
10806           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
10807           Always return a reference in gst_xml_get_element() rather
10808           than only sometimes.
10809
10810         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10811           Don't leak GstXml object.
10812
10813 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
10814
10815         * docs/gst/gstreamer-sections.txt:
10816         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
10817         (gst_caps_merge):
10818         * gst/gstcaps.h:
10819         * libs/gst/base/gstbasetransform.c:
10820         (gst_base_transform_transform_caps):
10821           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
10822           in a better way
10823
10824 2006-08-21  Edward Hervey  <edward@fluendo.com>
10825
10826         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
10827         Implement GObject::dispose virtual method in GstXML so we can free the
10828         top_elements GList.
10829
10830 2006-08-21  Wim Taymans  <wim@fluendo.com>
10831
10832         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
10833         (gst_buffer_create_sub):
10834         Copy duration/offset_end/caps when creating a subbuffer of the
10835         complete parent.
10836         Make the subbuffer read-only when we make the metadata writable for
10837         now. Fixes #351768.
10838
10839         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10840         Added check for metadata copy when creating subbuffers.
10841
10842 2006-08-21  Edward Hervey  <edward@fluendo.com>
10843
10844         * libs/gst/base/gstbasetransform.c:
10845         (gst_base_transform_buffer_alloc):
10846         Only call downstream buffer_alloc if transform element is passthrough
10847         or always_in_place. Closes #350449.
10848
10849 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10850
10851         * ChangeLog:
10852           ChangeLog surgery to add comments to previous changes
10853
10854 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10855
10856         * gst/gst.c:
10857           Add comments
10858
10859         * gst/gstpad.c: (gst_pad_set_active):
10860           Be more verbose in the log
10861
10862         * libs/gst/base/gstbasetransform.c:
10863         (gst_base_transform_transform_caps):
10864           Simplify caps to get rid of duplicates, fixes #345444
10865
10866 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10867
10868         * gst/gstvalue.c:
10869         * gst/gstvalue.h:
10870           Use these optimizations only internally.
10871
10872 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10873
10874         * gst/gstvalue.c: (gst_value_compare_list),
10875         (gst_value_compare_fraction_range),
10876         (gst_value_intersect_fraction_fraction_range),
10877         (gst_value_intersect_fraction_range_fraction_range),
10878         (gst_value_subtract_fraction_fraction_range),
10879         (gst_value_subtract_fraction_range_fraction_range),
10880         (gst_value_get_compare_func), (gst_value_compare),
10881         (gst_value_compare_with_func):
10882         * gst/gstvalue.h:
10883           Saves the expensive lookup of the compare function in many cases
10884          (#345444)
10885
10886 2006-08-18  Edward Hervey  <edward@fluendo.com>
10887
10888         * tests/check/gst/gstinfo.c: (gst_info_suite):
10889         Disable test that require gstdebug if it wasn't built in core.
10890
10891 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
10892
10893         * docs/random/ensonic/logging.txt:
10894           update ideas
10895           
10896         * gst/gstinfo.c: (gst_debug_log_default):
10897           reorder fields, save some columns, add optional color codes for log
10898           levels
10899
10900 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
10901
10902         * docs/random/ensonic/logging.txt:
10903           add ideas about making the logs a bit more useful
10904
10905 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
10906
10907         * docs/pwg/advanced-events.xml:
10908         * docs/pwg/titlepage.xml:
10909           Update for 0.10 API (#340627). Add myself
10910           to authors list.
10911
10912 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
10913
10914         * docs/libs/gstreamer-libs-docs.sgml:
10915         * docs/libs/gstreamer-libs-sections.txt:
10916         * libs/gst/check/gstbufferstraw.c:
10917           Make gstcheck stuff show up in docs (still needs to
10918           be documented properly though).
10919
10920 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
10921
10922         * docs/gst/gstreamer-sections.txt:
10923         * gst/Makefile.am:
10924         * gst/gst.c: (init_post):
10925         * gst/gst_private.h:
10926         * gst/gstquark.c: (_priv_gst_quarks_initialize):
10927         * gst/gstquark.h:
10928         * gst/gstquery.c: (gst_query_new_position),
10929         (gst_query_set_position), (gst_query_parse_position),
10930         (gst_query_new_duration), (gst_query_set_duration),
10931         (gst_query_parse_duration), (gst_query_new_convert),
10932         (gst_query_set_convert), (gst_query_parse_convert),
10933         (gst_query_new_segment), (gst_query_set_segment),
10934         (gst_query_parse_segment), (gst_query_new_seeking),
10935         (gst_query_set_seeking), (gst_query_parse_seeking):
10936         Add internal helpers for pre-registering quarks from static strings
10937         and using the quark values directly instead of looking them up when
10938         creating and parsing queries. Can be used for event construction too.
10939         Closes #350432.
10940
10941 2006-08-16  Wim Taymans  <wim@fluendo.com>
10942
10943         * gst/gstbin.c:
10944         Fix bogus docs.
10945
10946 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10947
10948         * gst/gstutils.c: (gst_util_set_value_from_string):
10949           Fix memleak (#351502).
10950
10951         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10952           Add unit test for most of gst_util_set_value_from_string()
10953           (not that one would want to encourage use of this function).
10954
10955 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10956
10957         * libs/gst/check/gstcheck.h:
10958           Use const gchar * variables in fail_unless_equals_string
10959           macro to avoid compiler warnings (and don't use tabs for
10960           indenting).
10961
10962 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10963
10964         * tools/gst-launch.c: (print_tag):
10965           More space on the left for the tag names, to cater
10966           for the 'extended comment' tag (not touching the
10967           string for the first line since it's translated).
10968
10969 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10970
10971         * libs/gst/check/gstcheck.h:
10972           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
10973           print something when they fail.
10974
10975 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
10976
10977         * docs/gst/gstreamer-sections.txt:
10978         * gst/gsttaglist.c: (_gst_tag_initialize):
10979         * gst/gsttaglist.h:
10980           API: add GST_TAG_EXTENDED_COMMENT (#350935).
10981           Also change merge function for GST_TAG_COMMENT to
10982           use_first.
10983
10984 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
10985
10986         * gst/gstinfo.c: (gst_debug_print_object):
10987           Make GST_PTR_FORMAT print messages as well.
10988
10989         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
10990         (GST_START_TEST), (gst_info_suite):
10991           More tests.
10992
10993 2006-08-14  Edward Hervey  <edward@fluendo.com>
10994
10995         * gst/gstelementfactory.c: (gst_element_register):
10996         If the GstElementClass doesn't have a GstElementDetails with all fields
10997         filled up correctly (longname, description AND author), then error out
10998         nicely instead of crashing.
10999
11000 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
11001
11002         * gst/gststructure.c:
11003           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
11004
11005         * gst/gstvalue.h:
11006           Expand on the difference between arrays and lists as we use them.
11007           
11008 2006-08-14  Wim Taymans  <wim@fluendo.com>
11009
11010         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11011         If the parent state change function failed, don't assume we can safely
11012         stop the source, this will be done when the pads are deactivated.
11013
11014 2006-08-14  Wim Taymans  <wim@fluendo.com>
11015
11016         * gst/gstbuffer.c:
11017         * gst/gsttask.c: (gst_task_join):
11018         Small doc updates.
11019
11020         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
11021         (gst_pad_stop_task):
11022         When pad (de)activation failed for some reason, restore the old
11023         activation mode and set the pad to flushing instead of assuming the
11024         pad is deactivated.
11025         If the _task_join() failed, reinstall the task on the pad so that it can
11026         be stopped later and return an error.
11027
11028 2006-08-11  Andy Wingo  <wingo@pobox.com>
11029
11030         * configure.ac:
11031         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11032         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
11033         is only for users of API that don't want to see deprecated
11034         functions in the headers; people that want to compile out
11035         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
11036         CFLAGS. Fixes the build of multifdsink, or will soon..
11037
11038 2006-08-11  Wim Taymans  <wim@fluendo.com>
11039
11040         * docs/gst/gstreamer-sections.txt:
11041         Add GstClockClass vmethod docs.
11042
11043         * gst/gstcaps.h:
11044         Mark #endif with comment for associated #if
11045
11046         * gst/gstclock.c: (gst_clock_id_wait):
11047         * gst/gstclock.h:
11048         Add vmethod wait_jitter to avoid an unneeded _get_time() for
11049         most clock implementations.
11050         Document vmethods.
11051         Flesh out docs about resolution methods.
11052         API: GstClockClass::wait_jitter
11053
11054         * gst/gstsystemclock.c: (gst_system_clock_class_init),
11055         (gst_system_clock_async_thread),
11056         (gst_system_clock_id_wait_jitter_unlocked),
11057         (gst_system_clock_id_wait_jitter):
11058         Use base class wait_jitter variant for improved performance
11059         due to less clock polling.
11060
11061 2006-08-11  Edward Hervey  <edward@fluendo.com>
11062
11063         * gst/gst.c: (gst_init_check), (init_post):
11064         Set gst as being initialized before scanning/updating the registry,
11065         since there might be my python plugin loader that calls gst_init() and
11066         we don't want to loop back in.
11067         Closes #350879
11068
11069 2006-08-11  Wim Taymans  <wim@fluendo.com>
11070
11071         * docs/design/part-qos.txt:
11072         Bring docs in line with the code. Mostly the sign of the jitter was
11073         wrong in the docs. Fixes #349943.
11074
11075         * gst/gstclock.c:
11076         Fix the docs for the jitter.
11077
11078         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
11079         (gst_event_parse_tag), (gst_event_new_buffer_size),
11080         (gst_event_parse_buffer_size), (gst_event_parse_qos),
11081         (gst_event_new_seek), (gst_event_parse_seek),
11082         (gst_event_new_navigation):
11083         Make sure the GstStructure has no parent when creating custom
11084         events.
11085         Add some more argument checking so that we avoid 0.0 rates.
11086         Flesh out the docs for the QoS event some more.
11087
11088 2006-08-11  Wim Taymans  <wim@fluendo.com>
11089
11090         * docs/gst/gstreamer-sections.txt:
11091         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11092         (ensure_current_registry_forking), (ensure_current_registry),
11093         (parse_one_option), (parse_goption_arg), (gst_deinit),
11094         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
11095         * gst/gst.h:
11096         Doc updates.
11097         Added API and command line option to disable registry forking in
11098         addition to the environment variable.
11099         Constify some static arrays.
11100         Added some more debug.
11101         Don't deinit twice.
11102         API: gst_registry_fork_is_enabled()
11103         API: gst_registry_fork_set_enabled()
11104         API: --gst-disable-registry-fork command line option
11105         Fixes #348918.
11106
11107 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
11108
11109         * gst/gst.c: (gst_init):
11110           Fix typo in error message.
11111
11112 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
11113
11114         * libs/gst/controller/gstcontroller.h:
11115           fix ABI size-correction
11116
11117         * tests/check/libs/gdp.c: (gst_dp_suite):
11118           make tests that use deprecated API conditional
11119
11120 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
11121
11122         * docs/libs/gstreamer-libs-sections.txt:
11123         * libs/gst/controller/gstcontroller.c:
11124         (_gst_controller_get_property), (_gst_controller_set_property),
11125         (_gst_controller_init), (_gst_controller_class_init):
11126         * libs/gst/controller/gstcontroller.h:
11127         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
11128         (gst_object_set_control_rate):
11129           API: add gst_object_{s,g}et_control_rate(), add private data section,
11130           fix docs
11131
11132         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11133         * libs/gst/dataprotocol/dataprotocol.h:
11134           add deprecation guards to make gtk-doc happy and allow disabling cruft
11135
11136 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
11137
11138         * tests/check/Makefile.am:
11139         * tests/check/gst/.cvsignore:
11140           Let's enable the new unit test as well.
11141
11142 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
11143
11144         * configure.ac:
11145         * docs/gst/gstreamer-sections.txt:
11146         * gst/gstconfig.h.in:
11147         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
11148         (_gst_info_printf_extension_ptr),
11149         (_gst_info_printf_extension_segment):
11150           API: add GST_SEGMENT_FORMAT, which is a printf extension we
11151           register that lets us easily dump GstSegments into debug
11152           logs (#350419).
11153
11154         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
11155         (info_segment_format_printf_extension), (gst_info_suite):
11156           Add simple unit test that logs a bunch of different segments (not
11157           valgrinded at the moment because of leaks in
11158           gst_debug_add_log_function).
11159
11160 2006-08-09  Edward Hervey  <edward@fluendo.com>
11161
11162         * libs/gst/base/gstbasetransform.c:
11163         (gst_base_transform_buffer_alloc):
11164         Even if we can't figure out the proper format to request downstream,
11165         call buffer_alloc() downstream with the input parameters without setting
11166         the caps on the srcpad. This will force negotiation in the chain
11167         function.
11168         Closes #350449
11169
11170 2006-08-08  Edward Hervey  <edward@fluendo.com>
11171
11172         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
11173         Unlinking from a pad without a target is now a perfectly valid case
11174         which should NOT raise an assertion.
11175         This case would happen if a linked ghostpad its target set to NULL after
11176         it was previously linked.
11177
11178 2006-08-08  Edward Hervey  <edward@fluendo.com>
11179
11180         * tests/check/libs/gdp.c:
11181         Also comment out the test (see below).
11182
11183 2006-08-08  Edward Hervey  <edward@fluendo.com>
11184
11185         * tests/check/libs/gdp.c: (gst_dp_suite):
11186         Use the architecture information from config.h and not gcc macros
11187         in order to properly disable a test that fails on PPC64.
11188
11189 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
11190
11191         * gst/gstelement.c: (gst_element_remove_pad):
11192           Don't crash printing the warning if the pad has no parent.
11193
11194 2006-08-02  Wim Taymans  <wim@fluendo.com>
11195
11196         * libs/gst/dataprotocol/dataprotocol.c:
11197         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
11198         (gst_dp_crc), (gst_dp_header_payload_length),
11199         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
11200         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
11201         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
11202         (gst_dp_event_from_packet), (gst_dp_validate_header),
11203         (gst_dp_validate_payload):
11204         Make debug category static
11205         Constify the crc table.
11206         Do some more arg checking in public functions.
11207         Fix some docs and do some small cleanups.
11208
11209         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
11210         Add some more checks to see if GDP deals with bogus input.
11211
11212 2006-07-31  Wim Taymans  <wim@fluendo.com>
11213
11214         * gst/gstvalue.c: (gst_value_compare_list):
11215         Fix GstValueList comparison code. Fixes #347293.
11216
11217         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11218         Check to test GstValueList comparison.
11219
11220 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
11221
11222         * gst/gstelementfactory.c: (gst_element_factory_create):
11223         Remove unnecessary ref/unref pair
11224
11225         * gst/parse/grammar.y:
11226         Make sure to free the parse buffer on all code paths.
11227         Move a g_free up to the error handler where it's easier to see.
11228
11229         * tests/check/gst/gstevent.c: (test_event):
11230         Extending timeout for downstream travelling events to 10 seconds to
11231         hopefully avoid intermittent failure on the buildbots.
11232
11233         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
11234         Don't manually set the state of the src element - it will happen as a
11235         natural consequence of the pipeline changing state, and that way it
11236         will do it in the right order too.
11237
11238 2006-07-31  Wim Taymans  <wim@fluendo.com>
11239
11240         * libs/gst/base/gstbasetransform.c:
11241         (gst_base_transform_buffer_alloc):
11242         Use OBJECT_LOCK and refcounting to get the pad caps in the
11243         buffer_alloc function because the caps could change while we are
11244         busy with them. Fixes #349105
11245
11246 2006-07-31  Wim Taymans  <wim@fluendo.com>
11247
11248         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
11249         Protect _PAD_CAPS with OBJECT_LOCK.
11250
11251 2006-07-31  Wim Taymans  <wim@fluendo.com>
11252
11253         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11254         (gst_pad_get_property), (gst_pad_activate_pull),
11255         (gst_pad_activate_push), (gst_pad_set_blocked_async),
11256         (gst_pad_set_activate_function),
11257         (gst_pad_set_activatepull_function),
11258         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
11259         (gst_pad_set_getrange_function),
11260         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
11261         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11262         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
11263         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
11264         (gst_pad_set_acceptcaps_function),
11265         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11266         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
11267         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
11268         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
11269         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
11270         (gst_pad_configure_sink), (gst_pad_configure_src),
11271         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
11272         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
11273         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
11274         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
11275         (gst_pad_send_event):
11276         Use _DEBUG_OBJECT when it makes sense.
11277         Protect GST_PAD_CAPS with the OBJECT_LOCK.
11278         Small cleanups and code reflows.
11279         Avoid caps refcounting in _accept_caps.
11280         Refactor alloc_buffer so that the code performed on the peer is in a
11281         separate function. Also if the pad does not implement a buffer alloc
11282         function, we should still check if the pad is flushing before falling
11283         back to the default allocator.
11284
11285 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
11286
11287         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11288         Make all uses of identity and fakesink have silent=true to avoid
11289         serialising every passing data structure, which is breaking tests
11290         on FC4 for some unknown reason.
11291
11292 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
11293
11294         * gst/parse/Makefile.am:
11295         * gst/parse/grammar.y:
11296         * gst/parse/parse.l:
11297           Reverted previous patch as it required to bump the flex dependency to
11298           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
11299
11300 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
11301
11302         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
11303
11304         * gst/parse/Makefile.am:
11305         * gst/parse/grammar.y:
11306         * gst/parse/parse.l:
11307           push & pop the state of the lexer for reentrant use case
11308           Fixes #349180
11309
11310 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
11311
11312         * libs/gst/base/gstbasesrc.h:
11313           Note in the docs that the ::newsegment vfunc is not actually used by
11314           GstBaseSrc.
11315
11316 2006-07-28  Wim Taymans  <wim@fluendo.com>
11317
11318         * libs/gst/base/gstcollectpads.c:
11319         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11320         (gst_collect_pads_clear), (gst_collect_pads_flush),
11321         (gst_collect_pads_event), (gst_collect_pads_chain):
11322         When flushing a pad, also clear the queued buffer so that we don't
11323         accidentally use it when we shouldn't.
11324         Fix leaks by inreffing incomming buffer.
11325         Flush out queued buffers in case of errors.
11326         Fixes #347452.
11327
11328 2006-07-28  Wim Taymans  <wim@fluendo.com>
11329
11330         * docs/random/phonon-gst:
11331         Random notes about a Phonon backend.
11332
11333 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11334
11335         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11336         Extra debug output
11337         * tests/check/libs/gdp.c: (gst_dp_suite):
11338         Take a whack at fixing the ppc compile using a different define to
11339         disable the broken test.
11340
11341         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11342         Remove excess g_print()
11343
11344 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11345
11346         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11347         Oops, meant to uncomment this line too to dampen the noise a bit.
11348
11349 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11350
11351         * gst/parse/grammar.y:
11352         * gst/parse/parse.l:
11353         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11354         (GST_START_TEST), (parse_suite):
11355         Fix some of the leaks exposed by extending the parse-launch testsuite,
11356         and move the 3 I can't figure out into a separate test that won't run
11357         the pipelines unless the appropriate line is uncommented.
11358
11359 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11360
11361         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11362           Requesting 0 bytes before the end of the file should result in
11363           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11364           unit test.
11365
11366 2006-07-27  Wim Taymans  <wim@fluendo.com>
11367
11368         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11369         Fix useless assert, a uint is always positive.
11370
11371         * gst/gststructure.c: (gst_structure_nth_field_name),
11372         (gst_structure_foreach), (gst_structure_map_in_place):
11373         Check input arguments for public functions to avoid obvious crashes.
11374
11375         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11376         * plugins/elements/gstfakesink.h:
11377         Do less useless typechecking.
11378
11379 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11380
11381         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11382           Do not use mmap() by default since there are a number of error
11383           conditions that we would like to handle in a non-fatal way that
11384           will result in a SIGBUS if we use mmap(). Examples: external
11385           devices (USB harddrive, portable music player) being unplugged
11386           while in use; file on mounted CD/DVD that can't be read because
11387           the medium is partly damaged. Fixes #348455 and #348475.
11388
11389 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11390
11391         * gst/gstquery.h:
11392         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11393         rates are a gdouble
11394
11395 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
11396
11397         * gst/gstregistry.c:
11398           Move big documentation comment into class section header, so that it
11399           appears in the API docs.
11400
11401 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11402
11403         * docs/gst/gstreamer-sections.txt:
11404         Oops. Commit the docs additions too for new API.
11405         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11406
11407 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11408
11409         * gst/gststructure.c: (gst_structure_id_set),
11410         (gst_structure_id_set_valist):
11411         * gst/gststructure.h:
11412         Add API for setting values into structures without performing
11413         a quark lookup, if the appropriate quark is already known.
11414
11415         API: gst_structure_id_set
11416         API: gst_structure_id_set_valist
11417
11418         * gst/parse/grammar.y:
11419         * gst/parse/parse.l:
11420         Remove some dead code shown by the coverage information.
11421         Don't throw a critical g_warning when encountering a syntax error,
11422         just warn and let the normal error path handle it.
11423
11424         * plugins/elements/gstelements.c:
11425         Bump the rank of filesink up to PRIMARY so that it is preferred over
11426         gnomevfssink for file:// sink uri's
11427
11428         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11429         (GST_START_TEST), (run_delayed_test),
11430         (gst_parse_test_element_base_init),
11431         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11432         (gst_parse_test_element_change_state),
11433         (gst_register_parse_element), (parse_suite):
11434         Beef up the tests for parse syntax to check that more error cases
11435         fail as they are supposed to. Increases the test coverage a bit.
11436
11437 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
11438
11439         * docs/manual/basics-elements.xml:
11440           Fix gst_element_link() example.
11441
11442         * gst/gstutils.c:
11443           Mention in API docs that one should usually gst_bin_add()
11444           elements to a bin or pipeline before doing the linking.
11445           
11446 2006-07-26  Wim Taymans  <wim@fluendo.com>
11447
11448         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11449         (gst_subbuffer_get_type), (gst_buffer_create_sub):
11450         Avoid function call for known types by keeping the buffer and
11451         subbuffer GType global.
11452
11453         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11454         Random silly optimisations in read() path.
11455
11456 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11457
11458         * tools/gst-launch.c: (main):
11459           If the top-level of the parse is a normal bin, it doesn't do the
11460           right logic to run as a top-level element, so place it inside a
11461           pipeline.
11462
11463 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
11464
11465         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11466           Remove superfluous g_object_notify() calls, GObject does
11467           that for us automatically.
11468
11469 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
11470
11471         * gst/gstinfo.h:
11472           on Win32, use dllspec to export the debug category symbols
11473
11474 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
11475
11476         * gst/gsttaglist.c: (_gst_tag_initialize):
11477           Allow more than one GST_TAG_IMAGE per taglist.
11478
11479 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11480
11481         * gst/gstminiobject.c:
11482           update docs
11483         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11484         (gst_fd_src_create):
11485           log recurring events at LOG level
11486           add more debug for when the fd gets set
11487
11488 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11489
11490         * gst/gstparse.c: (gst_parse_launch):
11491           Also remove reentrance checks if flex is MT safe (#348179)
11492          Fix my empty ChangeLog entry below
11493
11494 2006-07-21  Andy Wingo  <wingo@pobox.com>
11495
11496         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11497
11498         * libs/gst/check/Makefile.am
11499         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11500         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
11501         * libs/gst/check/gstbufferstraw.h:
11502         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11503         functions, thus proving I am still a GStreamer haxor. OK I wrote
11504         them a long time ago, but anyways.
11505
11506 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11507
11508         * configure.ac:
11509         * gst/gstparse.c: (gst_parse_launch):
11510           Check for flex version and omit mutex if we have a MT save flex
11511           (fixes #348179)
11512
11513 2006-07-21  Wim Taymans  <wim@fluendo.com>
11514
11515         * gst/gstparse.c: (gst_parse_launch):
11516         Protect recursive calls to _parse with a recursive mutex
11517         and busy flag.
11518
11519 2006-07-21  Wim Taymans  <wim@fluendo.com>
11520
11521         * tests/check/gst/gstpad.c: (GST_START_TEST):
11522         Fix leak in test.
11523
11524 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
11525
11526         * gst/gstparse.c: (gst_parse_launch):
11527           Do not hang on recursive usage of gst_parse_launch()
11528
11529 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11530
11531         * gst/gsttaglist.c:
11532           Add some more docs, comments and FIXME 0.11s here and there
11533           and also fix some typos.
11534
11535 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11536
11537         * gst/gstsegment.h:
11538           Convert tabs to spaces for better readability. 
11539
11540 2006-07-20  Edward Hervey  <edward@fluendo.com>
11541
11542         * tests/check/libs/gdp.c: (gst_dp_suite):
11543         the test_buffer test fails at line 140 on ppc64 at the following
11544         check:
11545         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11546                 GST_BUFFER_FLAG_IN_CAPS),
11547                 "GST_BUFFER_IN_CAPS flag should have been copied !");
11548         See bug #348114 for more details.
11549
11550 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
11551
11552         * docs/pwg/advanced-scheduling.xml:
11553         * gst/gstpad.c:
11554           Fix typos (#348000).
11555
11556 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
11557
11558         * docs/pwg/intro-basics.xml:
11559           Fix wrong links (#347927).
11560
11561 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
11562
11563         * gst/gstregistry.h:
11564         * gst/gstregistryxml.c: (load_feature),
11565         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11566         * win32/common/config.h:
11567           make --disable-index work (#342564)
11568
11569 2006-07-18  Wim Taymans  <wim@fluendo.com>
11570
11571         Patch by: Peter Kjellerstedt <pkj at axis dot com>
11572
11573         * gst/Makefile.am:
11574         * gst/gsttrace.h:
11575         The attached patch adds two missing defines to gsttrace.h when tracing
11576         is disabled.  It also corrects one existing define.
11577         Fixes #347756.
11578
11579 2006-07-17  Wim Taymans  <wim@fluendo.com>
11580
11581         * docs/gst/gstreamer-sections.txt:
11582         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
11583         * gst/gst.h:
11584         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
11585         Add two functions to check and change the SIGSEGV behaviour
11586         when loading plugins.
11587         Don't mess with the SIGSEGV handler when we were told not to.
11588         Fixes #347794.
11589         API: gst_segtrap_is_enabled
11590         API: gst_segtrap_set_enabled
11591
11592 2006-07-14  Wim Taymans  <wim@fluendo.com>
11593
11594         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11595         * tests/check/elements/filesrc.c: (GST_START_TEST):
11596         Revert fix for regression in #347408 after release.
11597
11598 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
11599
11600         Patch by: Antoine Tremblay <hexa00 at gmail com>
11601
11602         * gst/gstutils.c: (gst_element_unlink):
11603           Free iterator when done (#347311).
11604
11605         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11606           And add a test case for this.
11607
11608 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
11609
11610         * configure.ac:
11611         Bump nano back to CVS
11612
11613 === release 0.10.9 ===
11614
11615 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
11616
11617         * configure.ac:
11618           releasing 0.10.9, "On the road again"
11619
11620 2006-07-13  Wim Taymans  <wim@fluendo.com>
11621
11622         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11623         * tests/check/elements/filesrc.c: (GST_START_TEST):
11624         Revert pull-0 fix for release. Disable check. Fixes #347408.
11625
11626 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11627
11628         * libs/gst/dataprotocol/dataprotocol.c:
11629         (gst_dp_event_from_packet_1_0):
11630           Fixes #347337: failure to deserialize event packets with
11631           empty payload (only event type)
11632
11633 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11634
11635         * gst/Makefile.am:
11636           do not install a .c file in the header directory
11637
11638 2006-07-13  Edward Hervey  <edward@fluendo.com>
11639
11640         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11641         GhostPad no longer implicitely use the padtemplates of the targets.
11642         Fixes #347384
11643
11644 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
11645
11646         * gst/gstvalue.c: (gst_value_compare_list),
11647         (gst_value_compare_array), (_gst_value_initialize):
11648         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11649         Make GstValueArray comparison be order dependent as designed.
11650         Add checks for value lists and value array comparisons.
11651         Fixes #347221
11652
11653 2006-07-11  Edward Hervey  <edward@fluendo.com>
11654
11655         * gst/gstbin.c: (activate_pads),
11656         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
11657         (gst_bin_change_state_func):
11658         (de)activate src pads before calling state_change on the childs.
11659         This is to avoid the case where a src ghostpad is blocked (holding the
11660         stream lock), which would block the deactivation of the ghostpad's
11661         target pad.
11662         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
11663         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
11664         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
11665         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
11666         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
11667         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
11668         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11669         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
11670         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
11671         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11672         (gst_ghost_pad_class_init),
11673         (gst_ghost_pad_internal_do_activate_push),
11674         (gst_ghost_pad_internal_do_activate_pull),
11675         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11676         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11677         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
11678         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
11679         GhostPads now create their internal GstProxyPad at creation (and not
11680         when they're linked, as it was being done previously).
11681         The internal and target pads are linked straight away.
11682         The data will also travel through the other pad in order to make
11683         pad blocking and probes non-hackish (the probe/block now really happens
11684         on the GhostPad and not on the target).
11685         * gst/gstpad.c: (gst_pad_set_blocked_async),
11686         (gst_pad_link_prepare), (gst_pad_push_event):
11687         Remove previous ghostpad cruft.
11688         * gst/gstutils.c: (gst_pad_add_data_probe),
11689         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11690         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11691         (gst_pad_remove_buffer_probe):
11692         Remove previous ghost pad cruft.
11693         Added more detailed debug statements.
11694         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11695         Fix the testsuite for refcounting changes.
11696         The comments about who has references were correct, but the refcount
11697         being checked wasn't the same (!?!).
11698
11699         Fixes #341029
11700
11701 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
11702
11703         * docs/gst/gstreamer-sections.txt:
11704         * gst/gstconfig.h.in:
11705         More docs for configuration options, add docs to gtk-doc.
11706
11707 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
11708
11709         * gst/Makefile.am:
11710         * gst/gstconfig.h.in:
11711         * win32/common/config.h:
11712         Fix build when disabling tracing (fixes #344016). Also start to document
11713         the defines that disable the sub-systems.
11714
11715 2006-07-10  Edward Hervey  <edward@fluendo.com>
11716
11717         * gst/gst.c: (ensure_current_registry_forking):
11718         let's make valgrind happy...
11719
11720 2006-07-09  Wim Taymans  <wim@fluendo.com>
11721
11722         * gst/gstelement.c: (activate_pads),
11723         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11724         Better pad activation code: Reset the collect value too on resync.
11725         Add some comments.
11726
11727 2006-07-09  Wim Taymans  <wim@fluendo.com>
11728
11729         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
11730         (gst_pad_activate_push):
11731         Use some more macros where it makes sense.
11732         Allow pad mode switching instead of asserting. When a pad
11733         is activated in one mode and we activate it in another, 
11734         deactivate it first before activating it in a different mode.
11735         Fixes #329198.
11736
11737 2006-07-08  Andy Wingo  <wingo@pobox.com>
11738
11739         * tools/gst-launch.c (main): Handle err == NULL.
11740
11741         * gst/gst.c (init_post, ensure_current_registry)
11742         (ensure_current_registry_forking)
11743         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
11744         factoring out the registry scanning into separate functions. Don't
11745         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
11746         Better environment var name/interface suggestions accepted.
11747
11748 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11749
11750         * gst/gstobject.c: (gst_object_set_name_default),
11751         (gst_object_set_name):
11752           Random micro-optimisation: don't use a hash table
11753           with strings as keys and the usual strdup/strcmp
11754           involved, but rather just use the GQuark of the
11755           type name as key, since it needs to be looked up
11756           anyway to get the type name string.
11757
11758         * tests/check/gst/gstobject.c: (GST_START_TEST):
11759           Fix various leaks.
11760
11761 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11762
11763         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
11764         (gst_bin_iterate_all_by_interface):
11765           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
11766           GTypes are gulongs and thus the top 4 bytes might be cut
11767           off on some platforms when doing GPOINTER_TO_INT, leading
11768           to invalid GTypes and bad things happening (see RH bug #179654).
11769           Also add a check to make sure the type passed in is really
11770           an interface type.
11771
11772 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11773
11774         * .cvsignore:
11775           Ignore more.
11776
11777 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11778
11779         * Makefile.am:
11780         * configure.ac:
11781         * gst-element-check.m4:
11782         * gst-element-check.m4.in:
11783           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
11784           instead of the unversioned gst-inspect (#324176, #168659).
11785
11786 2006-07-06  Wim Taymans  <wim@fluendo.com>
11787
11788         * gst/gstmessage.h:
11789         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
11790         warnings.
11791
11792 2006-07-06  Wim Taymans  <wim@fluendo.com>
11793
11794         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11795         (gst_base_src_wait), (gst_base_src_update_length),
11796         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
11797         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
11798         (gst_base_src_loop), (gst_base_src_start),
11799         (gst_base_src_activate_pull):
11800         Update docs.
11801         blocksize == 0 now means the default blocksize when working in push
11802         based mode.
11803         Remove some pointless asserts in _wait function.
11804         Fix offset/length calculations and EOS handling. We can now pull 0
11805         bytes as well, which is allowed.
11806         use _check_get_range() to decide if we can operate in _pull based
11807         mode.
11808         Fix refcounting leak when check_get_range function was not 
11809         implemented.
11810         API GstBaseSrc::blocksize range can be 0 too now (default)
11811
11812         * tests/check/elements/filesrc.c: (GST_START_TEST),
11813         (filesrc_suite):
11814         Added check to test _get_range() behaviour.
11815
11816 2006-07-06  Wim Taymans  <wim@fluendo.com>
11817
11818         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
11819         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
11820         (gst_pad_pull_range):
11821         * gst/gstpad.h:
11822         Lots of comments and docs added to the pad functions.
11823         Flesh out the expected behaviour of the get_range() functions.
11824
11825 2006-07-06  Wim Taymans  <wim@fluendo.com>
11826
11827         * gst/gstbus.h:
11828         * gst/gstclock.h:
11829         * gst/gstevent.h:
11830         * gst/gstiterator.h:
11831         * gst/gstpad.h:
11832         * gst/gstplugin.h:
11833         * gst/gsttask.h:
11834         Remove comma at end of enumerator list. 
11835
11836 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
11837
11838         * win32/common/libgstbase.def:
11839         * win32/common/libgstdataprotocol.def:
11840         * win32/common/libsgtreamer.def:
11841         Add new exported functions.
11842
11843 2006-07-05  Wim Taymans  <wim@fluendo.com>
11844
11845         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
11846         Add some more docs here and there.
11847
11848 2006-07-05  Wim Taymans  <wim@fluendo.com>
11849
11850         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
11851         (gst_base_sink_loop), (gst_base_sink_get_position):
11852         When operating in pull mode update the offset so that we
11853         read sequentially.
11854
11855 2006-07-05  Wim Taymans  <wim@fluendo.com>
11856
11857         * gst/gstregistryxml.c: (read_string):
11858         Avoid strdup. (will happen in libxml, but hey!)
11859
11860         * gst/gsturi.c:
11861         Add some more docs.
11862
11863 2006-07-05  Wim Taymans  <wim@fluendo.com>
11864
11865         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
11866         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
11867         (gst_buffer_suite):
11868         No point in checking if the size of the subbuffer > 0, the
11869         code handles it correclty as demonstrated by unit test.
11870         Also add a unit test for the zero sized _new_and_alloc and
11871         _copy. Fixes #346663.
11872
11873 2006-07-05  Wim Taymans  <wim@fluendo.com>
11874
11875         * libs/gst/base/gstbasetransform.c:
11876         (gst_base_transform_prepare_output_buffer),
11877         (gst_base_transform_buffer_alloc),
11878         (gst_base_transform_handle_buffer):
11879         Make sure the buffer we pass to transform_ip has a refcount of
11880         1 and thus is writable. Fixes #343196
11881
11882 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
11883
11884         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11885         (gst_file_src_init), (gst_file_src_set_property),
11886         (gst_file_src_get_property), (gst_file_src_map_region):
11887         * plugins/elements/gstfilesrc.h:
11888         Add "sequential" property, off by default, to use madvise and hint
11889         to the kernel that sequential access is desired.
11890         Touch all retrieved pages by default to ensure they are pulled
11891         into memory. (Closes #345720)
11892
11893 2006-07-03  Wim Taymans  <wim@fluendo.com>
11894
11895         * docs/design/part-block.txt:
11896         * docs/design/part-dynamic.txt:
11897         Small docs updates.
11898
11899 2006-07-03  Wim Taymans  <wim@fluendo.com>
11900
11901         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
11902         (gst_caps_unref), (gst_static_caps_get),
11903         (gst_caps_append_structure):
11904         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
11905         Use GSlice when the glib we build against is >= 2.10
11906
11907 2006-07-03  Wim Taymans  <wim@fluendo.com>
11908
11909         * gst/gstelement.c: (gst_element_pads_activate):
11910         Small cleanup in pad activation code.
11911
11912 2006-07-03  Wim Taymans  <wim@fluendo.com>
11913
11914         Patch by: Peter Kjellerstedt <pkj at axis dot com>
11915
11916         * gst/gst-i18n-app.h:
11917         * gst/gst-i18n-lib.h:
11918         * tools/gst-inspect.c: (print_signal_info):
11919         The attached patch will make the inclusion of gettext.h unconditional in
11920         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
11921         libintl.h in tools/gst-inspect.c.
11922         This allows use of --disable-nls again and fixes #344642.
11923
11924 2006-07-03  Edward Hervey  <edward@fluendo.com>
11925
11926         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
11927         Implement pad blocking on events according to part-block.txt.
11928         More comments on behaviour.
11929         * tests/check/gst/gstevent.c: (test_event):
11930         Send event to peer pad of blocked pad (else it will block).
11931
11932 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11933
11934         * libs/gst/check/gstcheck.c: (gst_check_message_error),
11935         (gst_check_run_suite):
11936           if we get the wrong message, give us the types as string
11937         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11938           Fix a translatable
11939         * tests/check/elements/filesrc.c: (GST_START_TEST):
11940           add a test for trying to open a non-existing file
11941
11942 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11943
11944         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
11945           add a test for adding self
11946
11947 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11948
11949         * libs/gst/check/gstcheck.h:
11950           add some assert_ as alias for fail_unless_*
11951         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
11952           increase test coverage
11953
11954 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11955
11956         * Makefile.am:
11957           include lcov.mak for lcov coverage generation
11958         * tools/Makefile.am:
11959           add to CLEANFILES
11960
11961 2006-07-02  Edward Hervey  <edward@fluendo.com>
11962
11963         * tests/check/elements/.cvsignore:
11964         moaping
11965
11966 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11967
11968         * configure.ac:
11969           don't set CFLAGS and friends for gcov, done from GST_GCOV now
11970         * tests/check/Makefile.am:
11971           clean up gcov files
11972
11973 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11974
11975         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
11976           remove gst_caps_simplify; it was not declared and not used
11977           and deprecated in 0.8
11978
11979 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11980
11981         * docs/faq/gst-uninstalled:
11982           don't put empty paths on PYTHONPATH
11983         * docs/gst/gstreamer-sections.txt:
11984           remove some symbols that are not there
11985
11986 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11987
11988         * gst/gstcaps.c: (gst_caps_compare_structures):
11989           whitespace fixes
11990         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11991         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11992           add more tests
11993
11994 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11995
11996         * libs/gst/dataprotocol/Makefile.am:
11997           build dataprotocol test by linking to the lib, instead of
11998           compiling the source, so we get coverage
11999         * tests/check/Makefile.am:
12000         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
12001         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
12002           add a test for filesrc
12003
12004 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12005
12006         * tests/check/gst/gststructure.c: (GST_START_TEST),
12007         (gst_structure_suite):
12008           Push coverage from 59.04% to 70.00%
12009
12010 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12011
12012         * tests/check/Makefile.am:
12013           gst-inspect every element; this makes sure that we also get
12014           coverage on element's get/set functions
12015
12016 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12017
12018         * configure.ac:
12019           set CFLAGS and friends to -O0 if gcov is being used
12020           add GCOV LIBS
12021         * gst/Makefile.am:
12022         * libs/gst/base/Makefile.am:
12023         * libs/gst/check/Makefile.am:
12024         * libs/gst/controller/Makefile.am:
12025         * libs/gst/dataprotocol/Makefile.am:
12026         * libs/gst/net/Makefile.am:
12027         * plugins/elements/Makefile.am:
12028         * plugins/indexers/Makefile.am:
12029           add makefile rules to generate gcov data and clean up
12030         * tests/check/Makefile.am:
12031           add a coverage target that generates an html overview
12032           of coverage data
12033
12034 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12035
12036         * tests/check/elements/fakesink.c:
12037         * tests/check/elements/fakesrc.c:
12038         * tests/check/elements/fdsrc.c:
12039         * tests/check/elements/identity.c:
12040         * tests/check/generic/sinks.c: (gst_sinks_suite):
12041         * tests/check/generic/states.c:
12042         * tests/check/gst/gst.c:
12043         * tests/check/gst/gstabi.c:
12044         * tests/check/gst/gstbin.c:
12045         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
12046         * tests/check/gst/gstbus.c: (gst_bus_suite):
12047         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12048         * tests/check/gst/gstelement.c:
12049         * tests/check/gst/gstevent.c: (gst_event_suite):
12050         * tests/check/gst/gstghostpad.c:
12051         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
12052         * tests/check/gst/gstmessage.c: (gst_message_suite):
12053         * tests/check/gst/gstminiobject.c:
12054         * tests/check/gst/gstobject.c:
12055         * tests/check/gst/gstpad.c:
12056         * tests/check/gst/gstpipeline.c:
12057         * tests/check/gst/gstplugin.c:
12058         * tests/check/gst/gstquery.c: (gst_query_suite):
12059         * tests/check/gst/gstsegment.c: (gst_segment_suite):
12060         * tests/check/gst/gststructure.c:
12061         * tests/check/gst/gstsystemclock.c:
12062         * tests/check/gst/gsttag.c:
12063         * tests/check/gst/gsttask.c: (gst_task_suite):
12064         * tests/check/gst/gstutils.c:
12065         * tests/check/gst/gstvalue.c:
12066         * tests/check/libs/adapter.c:
12067         * tests/check/libs/basesrc.c:
12068         * tests/check/libs/collectpads.c:
12069         * tests/check/libs/controller.c:
12070         * tests/check/libs/gdp.c: (gst_dp_suite):
12071         * tests/check/libs/gstnetclientclock.c:
12072         * tests/check/libs/gstnettimeprovider.c:
12073         * tests/check/libs/libsabi.c: (libsabi_suite):
12074         * tests/check/libs/typefindhelper.c:
12075         * tests/check/pipelines/cleanup.c:
12076         * tests/check/pipelines/parse-launch.c:
12077         * tests/check/pipelines/simple-launch-lines.c:
12078         * tests/check/pipelines/stress.c: (stress_suite):
12079           use the new macro
12080
12081 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12082
12083         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
12084         * libs/gst/check/gstcheck.h:
12085           create a macro and function so that the simple unit test
12086           case can be just one macro to create main()
12087
12088 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
12089
12090         * gst/gstbin.c: (gst_bin_restore_thyself):
12091         * gst/gstxml.c: (gst_xml_make_element):
12092           Fix deserialisation from XML. Set parent manually
12093           instead of using gst_bin_add(), since gst_bin_add()
12094           will unlink all pads of the element being added.
12095           Fixes #341667.
12096
12097 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
12098
12099         Patch by: Peter Kjellerstedt <pkj at axis com>
12100
12101         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
12102           Fix missing g_strdup() and double free when using the
12103           --gst-plugin-load command line option (#346097).
12104
12105 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
12106
12107         * gst/gstinfo.c:
12108           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
12109
12110         * libs/gst/net/gstnetclientclock.c:
12111         * libs/gst/net/gstnettimeprovider.c:
12112           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
12113
12114 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
12115
12116         * docs/manual/advanced-dataaccess.xml:
12117           Fix buffer probe example compilation in
12118           ADM (#345708).
12119         
12120 2006-06-22  Edward Hervey  <edward@fluendo.com>
12121
12122         * gst/gstelement.c: (gst_element_pads_activate):
12123         We need to deactivate src pads first and then sink pads.
12124         The reason is the src pads might be blocking while holding the streaming
12125         lock, so we need to deactivate them first so that deactivating the sink
12126         pads doesn't block (since it will require the streaming lock).
12127
12128 2006-06-22  Wim Taymans  <wim@fluendo.com>
12129
12130         * libs/gst/base/gstbasetransform.c:
12131         (gst_base_transform_buffer_alloc):
12132         Forgot to remove two unneeded unrefs.
12133         Simplify a check _is_equal allready checks the obvious case.
12134
12135 2006-06-22  Wim Taymans  <wim@fluendo.com>
12136
12137         * docs/design/part-block.txt:
12138         Some docs about what pad_block should do.
12139
12140 2006-06-22  Wim Taymans  <wim@fluendo.com>
12141
12142         * gst/gstcaps.c: (gst_caps_replace):
12143         Fix crasher when passed NULL. Doc clarification.
12144         Optimize for the trivial case.
12145
12146         * gst/gstpipeline.c: (gst_pipeline_change_state):
12147         Small cleanups.
12148
12149         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12150         Small documentation cleanup.
12151
12152         * libs/gst/base/gstbasetransform.c:
12153         (gst_base_transform_buffer_alloc):
12154         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
12155         is what we need and it avoids a whole lot of redundant 
12156         refcount operations.
12157
12158 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
12159
12160         Patch by: Philip Jägenstedt  <philip at lysator liu se>
12161
12162         * docs/manual/advanced-dataaccess.xml:
12163           Fix 'Embedding static elements' section to use
12164           GST_PLUGIN_DEFINE_STATIC (#345607).
12165
12166 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12167
12168         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
12169           Attempt to 'fix' spuriously failing test case: it seems like the
12170           timeout of half a second is simply too small when the system is under
12171           load otherwise, and the timeout doesn't really seem to serve any
12172           particular purpose here. Give the pipeline a few seconds to preroll
12173           first, and then give it another half a second to go from PAUSED to
12174           PLAYING and marshal the message into the main thread.
12175
12176 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12177
12178         * tools/gst-feedback-m.m:
12179           Don't only use unversioned tools, try versioned tools as well
12180           (#345086).
12181
12182 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12183
12184         * gst/gstbus.c: (gst_bus_class_init):
12185           Fix some typos, make docs more explicit.
12186
12187 2006-06-20  Wim Taymans  <wim@fluendo.com>
12188
12189         * tests/check/gst/gstghostpad.c: (block_callback),
12190         (GST_START_TEST), (gst_ghost_pad_suite):
12191         Added some more ghostpad tests, mainly blocking
12192         and probes.
12193
12194 2006-06-16  Wim Taymans  <wim@fluendo.com>
12195
12196         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12197         (gst_file_sink_close_file), (gst_file_sink_do_seek),
12198         (gst_file_sink_event), (gst_file_sink_render):
12199         * plugins/elements/gstfilesink.h:
12200         Check if we can seek in the file instead of assuming
12201         we always can. Post an error when we are asked to seek in a
12202         non-seekable file (like a fifo). Fixes #343312.
12203         Some cleanups.
12204
12205 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
12206
12207         * tools/gst-launch.1.in:
12208           Un-garble (fourcc) bit in filtered caps section.
12209
12210 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
12211
12212         * docs/manual/advanced-autoplugging.xml:
12213         * docs/manual/basics-helloworld.xml:
12214         * docs/manual/highlevel-components.xml:
12215           Don't leak bus reference in sample code.
12216
12217 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
12218
12219         * autogen.sh:
12220           Add default for new --enable-plugin-docs switch.
12221
12222         * configure.ac:
12223           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
12224           Fixes #344039.
12225
12226         * docs/Makefile.am:
12227           Use new ENABLE_PLUGIN_DOCS conditional.
12228
12229 2006-06-14  Wim Taymans  <wim@fluendo.com>
12230
12231         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
12232         Make it clear with a FIXME and a real define what the #if 0
12233         previously disabled.
12234
12235 2006-06-14  Wim Taymans  <wim@fluendo.com>
12236
12237         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12238         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12239         * libs/gst/base/gstbasetransform.c:
12240         (gst_base_transform_sink_eventfunc):
12241         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12242         Don't randomly and silently reset a segment when the format 
12243         changes as this is a bug somewhere upstream. Fixes #330379.
12244
12245 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
12246
12247         Patch by: Wouter Paesen  <wouter at kangaroot net>
12248
12249         * libs/gst/controller/gstcontroller.c:
12250         (gst_controlled_property_new):
12251           Fix controlling of float properties (#344849).
12252
12253         * tests/check/libs/controller.c:
12254         (gst_test_mono_source_get_property),
12255         (gst_test_mono_source_set_property),
12256         (gst_test_mono_source_class_init), (GST_START_TEST):
12257           While we're at it, add some float stuff to unit test.
12258
12259 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12260
12261         * docs/README:
12262         * docs/images/gdp-header.svg:
12263           add a gdp image
12264         * docs/libs/Makefile.am:
12265         * docs/libs/gdp-header.png:
12266         * libs/gst/dataprotocol/dataprotocol.c:
12267           add it to the API docs
12268         * docs/manual/intro-motivation.xml:
12269           fix typo
12270
12271 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
12272
12273         * gst/gst.c: (scan_and_update_registry), (init_post):
12274           If the fork()'ed child process can't write the updated registry cache
12275           file to disk for some reason, make it exit with a failure exit code,
12276           so that the parent can then re-scan the plugins itself and update the
12277           registry structures in memory and work with that (rather than failing
12278           when creating elements because seemingly no plugins are available).
12279           Refactor registry scanning code into separate function for this and
12280           also separate fork() and non-fork() code paths. Fixes #344748.
12281
12282 2006-06-13  Wim Taymans  <wim@fluendo.com>
12283
12284         * docs/manual/advanced-dataaccess.xml:
12285         Fix wrong PluginDesc. Fixes #344755.
12286
12287 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
12288
12289         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12290           Fix silly bug that prevented us from creating
12291           ~/.gstreamer-0.10 and writing the registry in one
12292           go (the first call to g_mkstemp() would overwrite the
12293           placeholder in the template string, so the second call
12294           to g_mkstemp() after creating the missing directory
12295           would then error out with 'invalid argument').
12296
12297 2006-06-13  Edward Hervey  <edward@fluendo.com>
12298
12299         * gst/gst.c: (init_post):
12300         Free string.
12301
12302 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12303
12304         * gst/glib-compat-private.h:
12305         * gst/glib-compat.c:
12306         * gst/glib-compat.h:
12307         * gst/gstvalue.c: (gst_value_serialize_flags):
12308           remove GLib 2.6 compatibility code
12309
12310 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
12311
12312         * gst/parse/Makefile.am:
12313           Fix build with 'make -j N' even more (#340016).
12314
12315 2006-06-12  Wim Taymans  <wim@fluendo.com>
12316
12317         * docs/gst/gstreamer-sections.txt:
12318         Fix docs.
12319
12320 2006-06-12  Wim Taymans  <wim@fluendo.com>
12321
12322         * gst/gstsegment.c: (gst_segment_set_duration),
12323         (gst_segment_set_last_stop), (gst_segment_set_seek),
12324         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12325         (gst_segment_to_running_time), (gst_segment_clip):
12326         Use G_UNLIKELY to help the compiler a bit.
12327
12328 2006-06-12  Wim Taymans  <wim@fluendo.com>
12329
12330         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12331
12332         * gst/gstevent.c: (gst_event_get_type):
12333         * gst/gstmessage.c:
12334         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12335         (gst_pad_push):
12336         constify quark registration strings. Fixes #344115
12337         Avoid unneeded type checking is _pad_push() by internally
12338         calling gst_pad_chain_unchecked().
12339
12340 2006-06-12  Wim Taymans  <wim@fluendo.com>
12341
12342         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12343         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12344         (gst_subbuffer_finalize), (gst_buffer_create_sub),
12345         (gst_buffer_is_span_fast), (gst_buffer_span):
12346         Init _type for consistency.
12347         Use _FLAGS macro to avoid type check.
12348         Avoid unneeded type checks in subbufer code.
12349
12350 2006-06-12  Wim Taymans  <wim@fluendo.com>
12351
12352         * gst/gst.c: (gst_debug_help):
12353         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12354         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12355         (gst_plugin_feature_list_free):
12356         * gst/gstregistry.c: (gst_registry_add_plugin),
12357         (gst_registry_add_feature), (gst_registry_plugin_filter),
12358         (gst_registry_feature_filter), (gst_registry_find_plugin),
12359         (gst_registry_find_feature), (gst_registry_get_plugin_list),
12360         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12361         * gst/gstregistryxml.c: (load_feature),
12362         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12363         * gst/gstminiobject.c: (gst_mini_object_unref),
12364         (gst_mini_object_replace), (gst_value_mini_object_free),
12365         (gst_value_mini_object_copy):
12366         Use _CAST macros to avoid unneeded type checking.
12367         Added some more G_UNLIKELY.
12368
12369 2006-06-12  Wim Taymans  <wim@fluendo.com>
12370
12371         * gst/gstbuffer.h:
12372         Avoid unneeded type checking.
12373         API: GST_BUFFER_IS_DISCONT
12374
12375         * gst/gstminiobject.h:
12376         Avoid type check in flag accessor.
12377
12378         * gst/gstelementfactory.h:
12379         * gst/gstplugin.h:
12380         * gst/gstpluginfeature.h:
12381         Add _CAST macros.
12382         API: GST_ELEMENT_FACTORY_CAST
12383         API: GST_PLUGIN_CAST
12384         API: GST_PLUGIN_FEATURE_CAST
12385
12386 2006-06-12  Wim Taymans  <wim@fluendo.com>
12387
12388         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12389         (gst_object_unref):
12390         Add G_UNLIKELY in type registration.
12391         Avoid type check in _ref/_unref since that is also
12392         done in glib.
12393
12394 2006-06-12  Wim Taymans  <wim@fluendo.com>
12395
12396         * gst/gsterror.c: (gst_g_error_get_type):
12397         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12398         (gst_static_pad_template_get_type):
12399         * gst/gsttaglist.c: (gst_tag_list_get_type):
12400         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12401         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12402         * gst/gsturi.c: (gst_uri_handler_get_type):
12403         * gst/gstvalue.c: (gst_date_get_type):
12404         * gst/gstxml.c: (gst_xml_get_type):
12405         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12406         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12407         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12408         Add G_UNLIKELY in type registration.
12409
12410 2006-06-12  Wim Taymans  <wim@fluendo.com>
12411
12412         * tools/gst-inspect.c: (print_signal_info):
12413         Properly print enum values.
12414
12415 2006-06-12  Wim Taymans  <wim@fluendo.com>
12416
12417         * gst/gstinfo.c: (gst_debug_set_active),
12418         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12419         * gst/gstinfo.h:
12420         Add some G_[UN]LIKELY.
12421         Maintain __gst_debug_min to avoid formatting the arguments of
12422         debug messages that will be dropped anyway to avoid a lot of 
12423         overhead from the debugging system.
12424
12425 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12426
12427         * po/POTFILES.in:
12428         * po/POTFILES.skip:
12429           add missing files containing translatable strings, tell intltool about
12430           one exception
12431
12432 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12433
12434         * tests/check/libs/.cvsignore:
12435         add test-binary to ignore list
12436
12437 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12438
12439         * docs/libs/gstreamer-libs-docs.sgml:
12440         reorder (put dp into a chapter) and indent
12441
12442 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12443
12444         * configure.ac:
12445           back to HEAD
12446
12447 === release 0.10.8 ===
12448
12449 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
12450
12451         * configure.ac:
12452           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12453
12454 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12455
12456         * gst/gst.c: (init_post):
12457           move pid declaration to declaration block
12458
12459 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12460
12461         * gst/gst.c: (init_post):
12462           use _exit() instead of exit() in our forked child; this ensures
12463           that none of the registered exit handlers from whatever is using
12464           GStreamer get executed.  This fixes gnome-mixer-applet failing
12465           to load, because ORBit would shut down.
12466           Spotted by: Edward Hervey  <edward@fluendo.com>
12467           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
12468           Fixes #344474
12469
12470 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
12471
12472         * configure.ac:
12473           back to TRUNK
12474
12475 === release 0.10.7 ===
12476
12477 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
12478
12479         * configure.ac:
12480           releasing 0.10.7, "Soepeke, ik zie ou"
12481
12482 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12483
12484         * configure.ac:
12485         * po/af.po:
12486         * po/az.po:
12487         * po/bg.po:
12488         * po/ca.po:
12489         * po/cs.po:
12490         * po/de.po:
12491         * po/en_GB.po:
12492         * po/fr.po:
12493         * po/it.po:
12494         * po/nb.po:
12495         * po/nl.po:
12496         * po/ru.po:
12497         * po/sq.po:
12498         * po/sr.po:
12499         * po/sv.po:
12500         * po/tr.po:
12501         * po/uk.po:
12502         * po/vi.po:
12503         * po/zh_CN.po:
12504         * po/zh_TW.po:
12505         * win32/common/config.h:
12506           0.10.6.2 prerelease
12507
12508 2006-06-07  Wim Taymans  <wim@fluendo.com>
12509
12510         * gst/gstindex.c: (gst_index_gtype_resolver):
12511         * tools/gst-xmlinspect.c: (print_plugin_info):
12512         Fix leak spotted by coverity checker. Fixes #343827
12513         Fix another other leak found by paolo borelli.
12514
12515 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12516
12517         * libs/gst/dataprotocol/dataprotocol.c:
12518         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12519         (gst_dp_version_get_type), (gst_dp_init),
12520         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12521         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12522         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12523         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12524         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12525         (gst_dp_packetizer_free):
12526         * libs/gst/dataprotocol/dataprotocol.h:
12527           API: add a GstDPPacketizer object, and create/free functions
12528           API: add GstDPVersion enum
12529           Add 1.0 event function that uses the string serialization
12530           Serialize more useful buffer flags
12531           Fixes #343988
12532
12533 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12534
12535         * tests/check/Makefile.am:
12536         * tests/check/gst/gstabi.c:
12537         * tests/check/gst/struct_ppc64.h:
12538         * tests/check/libs/libsabi.c:
12539         * tests/check/libs/struct_ppc64.h:
12540           add ppc64 structure sizes
12541
12542 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12543
12544         * tests/check/Makefile.am:
12545         * tests/check/gst/gstabi.c:
12546         * tests/check/gst/struct_x86_64.h:
12547         * tests/check/libs/libsabi.c:
12548         * tests/check/libs/struct_x86_64.h:
12549           generate and add structure size lists for x86_64
12550
12551 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12552
12553         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12554         * libs/gst/check/gstcheck.h:
12555           factor out the method from tests that checks size of structures,
12556           and add code to generate the header containing these sizes
12557         * tests/check/gst/gstabi.c: (GST_START_TEST):
12558         * tests/check/gst/struct_i386.h:
12559         * tests/check/libs/libsabi.c: (GST_START_TEST):
12560         * tests/check/libs/struct_i386.h:
12561           use it
12562
12563 2006-06-06  Michael Smith  <msmith@fluendo.com>
12564
12565         * gst/gstsegment.h:
12566           Don't use c++-style comments, fixes #343929
12567
12568 2006-06-05  Edward Hervey  <edward@fluendo.com>
12569
12570         * gst/gst.c:
12571         plugin_paths is not used if we build without registry support.
12572
12573         * gst/gstsegment.c: (gst_segment_copy): 
12574         _copy() was always returning NULL...
12575
12576 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12577
12578         * libs/gst/dataprotocol/dataprotocol.c:
12579         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12580         (gst_dp_packet_from_event):
12581           factor out CRC code
12582
12583 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12584
12585         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
12586           make sure we unset caps
12587
12588 2006-06-02  Michael Smith  <msmith@fluendo.com>
12589
12590         * libs/gst/check/gstcheck.c: (gst_check_init),
12591         (gst_check_chain_func):
12592         * libs/gst/check/gstcheck.h:
12593           Add a cond/mutex to the check support lib, signal this whenever we
12594           add to the buffers list. This will allow tests to not busy-wait on
12595           the buffer-list.
12596
12597 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12598
12599         * libs/gst/dataprotocol/dataprotocol.c:
12600         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12601         (gst_dp_packet_from_event):
12602           factor out some common header init code
12603
12604 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12605
12606         * docs/libs/gstreamer-libs-sections.txt:
12607         * docs/libs/tmpl/gstdataprotocol.sgml:
12608         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
12609         * libs/gst/dataprotocol/dataprotocol.h:
12610           API: make gst_dp_crc() public
12611
12612 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
12613
12614         * plugins/indexers/gstindexers.c: (plugin_init):
12615         conditionally register fileindexer (fixes #343598)
12616
12617 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
12618
12619         * gst/gsttagsetter.h:
12620         Can't cast ifaces to a class
12621
12622         * libs/gst/net/gstnetclientclock.h:
12623         * libs/gst/net/gstnettimeprovider.h:
12624         * plugins/elements/gstfakesink.h:
12625         * plugins/elements/gstfakesrc.h:
12626         * plugins/elements/gstfdsink.h:
12627         * plugins/elements/gstfdsrc.h:
12628         * plugins/elements/gstfilesink.h:
12629         * plugins/elements/gstfilesrc.h:
12630         * plugins/elements/gstidentity.h:
12631         * plugins/elements/gstqueue.h:
12632         * plugins/elements/gsttee.h:
12633         * plugins/indexers/gstfileindex.c:
12634         * plugins/indexers/gstmemindex.c:
12635         * tests/old/examples/plugins/example.h:
12636         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
12637
12638 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12639
12640         * libs/gst/dataprotocol/dataprotocol.c:
12641         (gst_dp_header_from_buffer):
12642           make sure we zero the whole ABI-compatible area
12643
12644 2006-06-01  Wim Taymans  <wim@fluendo.com>
12645
12646         Patch by: Alessandro Decina <alessandro at nnva dot org>
12647
12648         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
12649         Make sure the EOS flag is cleared from pads after a flush
12650         or stop. Fixes #343538.
12651
12652         * tests/check/libs/collectpads.c: (GST_START_TEST),
12653         (gst_collect_pads_suite):
12654         Added test for collectpads reusage after EOS.
12655
12656 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
12657
12658         * gst/gst.c:
12659          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
12660         * win32/common/libgstbase.def:
12661          export gst_collect_pads_set_flushing
12662         * win32/common/libgstreamer.def:
12663          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
12664          gst_value_fraction_multiply
12665         * win32/vs6/gst_inspect.dsp:
12666          add a link to intl.lib
12667
12668 2006-05-30  Wim Taymans  <wim@fluendo.com>
12669
12670         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12671         (gst_collect_pads_chain):
12672         Handle the case where a pad is removed from the collection
12673         that could cause the other pads to become collectable.
12674
12675 2006-05-30  Wim Taymans  <wim@fluendo.com>
12676
12677         * gst/gstelement.c:
12678         Clarify the use of _release_request_pad() and
12679         _get_request_pad() a bit better.
12680
12681         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
12682         (gst_adapter_take_buffer):
12683         Fix some doc and comment typos.
12684
12685 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12686
12687         * docs/gst/gstreamer-sections.txt:
12688         * docs/libs/gstreamer-libs-sections.txt:
12689           add declared symbols
12690
12691 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
12692
12693         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12694         Add debug that can be enabled using a #define at the top of the file,
12695         for dumping stats about how late/early we were when waking up from
12696         waiting on the clock.
12697
12698 2006-05-30  Wim Taymans  <wim@fluendo.com>
12699
12700         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
12701         When rebuilding the pad list, don't leak the previous list.
12702
12703 2006-05-30  Wim Taymans  <wim@fluendo.com>
12704
12705         Patch by: Lutz Mueller <lutz at topfrose dot de>
12706
12707         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12708         (gst_base_src_get_query_types), (gst_base_src_update_length):
12709         Publish supported query types.
12710         Update last_stop field in get_range mode so the position
12711         query works. Fixes #342321.
12712
12713 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
12714
12715         * docs/gst/gstreamer-sections.txt:
12716         * gst/gsttaglist.c: (_gst_tag_initialize):
12717         * gst/gsttaglist.h:
12718           API: add GST_TAG_PREVIEW_IMAGE (#343341).
12719
12720 2006-05-30  Wim Taymans  <wim@fluendo.com>
12721
12722         Patch by: Alessandro Decina <alessandro at nnva dot org>
12723
12724         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
12725         Unlock mutex when removing an unknown pad.
12726         Fixes #343334.
12727
12728         * tests/check/Makefile.am:
12729         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
12730         (push_event), (setup), (teardown), (GST_START_TEST),
12731         (gst_collect_pads_suite), (main):
12732         Added collecpads check, disabled for now as check crashes for
12733         some reason.
12734
12735 2006-05-29  Wim Taymans  <wim@fluendo.com>
12736
12737         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
12738         Don't leak pads lists.
12739
12740 2006-05-29  Wim Taymans  <wim@fluendo.com>
12741
12742         * docs/libs/gstreamer-libs-sections.txt:
12743         * libs/gst/base/gstcollectpads.c:
12744         (gst_collect_pads_set_flushing_unlocked),
12745         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12746         (gst_collect_pads_stop):
12747         * libs/gst/base/gstcollectpads.h:
12748         API: gst_collect_pads_set_flushing()
12749         Added api to set the pads to flushing, useful for seeking
12750         code in elements using collectpads.
12751         Clear segment when receiving a flush.
12752
12753 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
12754
12755         * gst/gst.c: (add_path_func), (init_post):
12756           Don't scan registry paths passed via --gst-plugin-path immediately
12757           (will crash, because absolutely nothing is set up and no types are
12758           registered etc.); do this later in init_post(). Fixes #343057.
12759
12760 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12761
12762         * gst/gst.c: (init_post):
12763           if we have fork, fork while reading/rebuilding the registry
12764           so the parent doesn't take the hit of having all plugins loaded
12765           in memory.  Fixes #342777.
12766         * configure.ac:
12767           Check if we have fork()
12768         * win32/common/config.h.in:
12769           no fork() on win32
12770
12771 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
12772
12773         * plugins/elements/gstelements.c:
12774         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12775         (gst_file_src_init), (gst_file_src_set_property),
12776         (gst_file_src_get_property), (gst_file_src_start):
12777         * plugins/elements/gstfilesrc.h:
12778           API: GstFileSrc::use-mmap
12779
12780         Add a use-mmap property to enable easier testing of all code paths.
12781         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
12782         in the absence of gnomevfssrc. (Closes #340501)
12783
12784 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12785
12786         * tools/gst-inspect.c:
12787         Add missing include, removes warning of ngettext not being defined on
12788         some arches.
12789
12790 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
12791
12792         * gst/gstvalue.c: (gst_value_deserialize_fraction):
12793         Handle NULL input and output pointers silently as a failed conversion,
12794         rather than g_warnings.
12795
12796 2006-05-25  Wim Taymans  <wim@fluendo.com>
12797
12798         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
12799         Initialize variable before using. Fixes #342820.
12800
12801 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
12802
12803         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
12804           Fix off-by-one bug that would only allow peeks of N-1 bytes
12805           from the start even if the buffer to typefind on contains
12806           in fact N bytes of data (makes vorbis typefinding from a
12807           vorbis identification header buffer work).
12808
12809         * tests/check/Makefile.am:
12810         * tests/check/libs/.cvsignore:
12811         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
12812         (gst_typefindhelper_suite), (main), (foobar_typefind),
12813         (plugin_init):
12814           Add very basic unit test for gst_type_find_helper_for_buffer()
12815           that checks for the problem fixed above.
12816
12817 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12818
12819         * tools/gst-inspect.c: (print_interfaces),
12820         (print_element_properties_info), (print_element_list), (main):
12821           add more translatable strings
12822
12823 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
12824
12825         Patch by: Julien Moutte  <julien at moutte net>
12826
12827         * docs/gst/gstreamer-sections.txt:
12828           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
12829           
12830         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
12831         (gst_fake_sink_preroll):
12832         * plugins/elements/gstfakesink.h:
12833           API: Add new GstFakeSink::preroll-handoff signal (#337100).
12834
12835 2006-05-23  Wim Taymans  <wim@fluendo.com>
12836
12837         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
12838         * gst/gstpad.h:
12839         Added _CUSTOM error and success GstFlowReturn that can be
12840         used be elements internally. 
12841         Added macro to check for SUCCESS flowreturns.
12842         API: GST_FLOW_CUSTOM_SUCCESS
12843         API: GST_FLOW_CUSTOM_ERROR
12844         API: GST_FLOW_IS_SUCCESS
12845
12846         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
12847         Added check for GstFlowReturn sanity.
12848
12849 2006-05-23  Wim Taymans  <wim@fluendo.com>
12850
12851         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
12852
12853         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12854         (gst_collect_pads_event):
12855         clear/reset segment info in FLUSH_STOP.
12856         Fixes #336929.
12857
12858 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
12859
12860         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
12861         (gst_collect_pads_check_collected):
12862         Flush queued buffer on _stop(), fixes playing again (#342454)
12863
12864 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12865
12866         * tests/check/gst/gststructure.c: (GST_START_TEST),
12867         (gst_structure_suite):
12868           add a test for a complete structure
12869
12870 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
12871
12872         * docs/faq/developing.xml:
12873         * docs/faq/faq.xml:
12874         * docs/faq/troubleshooting.xml:
12875         * docs/faq/using.xml:
12876           Some minor FAQ updates that won't change the fact that
12877           our FAQ is badly structured, full of information hardly
12878           anyone new to GStreamer needs to know and lacking lots
12879           of information people constantly ask for.
12880           
12881 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
12882
12883         * gst/gstpad.c: (gst_pad_set_caps):
12884           Short-circuit gst_pad_set_caps if setting the existing
12885           caps pointer again, and avoid printing debug and 
12886           reffing/unreffing the caps.
12887
12888         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12889           There's actually no need to set the caps before pushing -
12890           the acceptcaps method will handle it anyway.
12891
12892 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
12893
12894         * docs/gst/gstreamer-sections.txt:
12895         * win32/common/libgstreamer.def:
12896         * gst/gstutils.c: (gst_element_seek_simple):
12897         * gst/gstutils.h:
12898           API: add gst_element_seek_simple() (#342238).
12899
12900 2006-05-18  Edward Hervey  <edward@fluendo.com>
12901
12902         * gst/gsttypefind.c: (gst_type_find_get_type):
12903         * gst/gsttypefind.h:
12904         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
12905         registered for GstTypeFind pointers. This allows wrapping the structure
12906         in bindings (i.e. gst-python).
12907
12908 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
12909
12910         * gst/gsttagsetter.c:
12911           Docs additions and fixes (see #339918).
12912
12913 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
12914
12915         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12916         The caps intersection algorithm can produce multiple copies of the
12917         caps. Until that is fixed, we need to simplify the result to be
12918         sure whether the allowed caps are fixed or not.
12919
12920         * plugins/elements/gstqueue.c: (gst_queue_init),
12921         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
12922         (gst_queue_push_one):
12923         Proxied buffer alloc should not set the caps on the source pad.
12924         When pushing buffers, we always accept the caps change that triggers.
12925         This prevents negotiation errors caused by caps changing mid-stream 
12926         and then being refused on our source pad (because upstream is now
12927         refusing those caps).
12928
12929 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
12930
12931         * tests/examples/helloworld/helloworld.c: (main):
12932           Must plug audioconvert and audioresample between decoder
12933           and audio sink.
12934
12935 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
12936
12937         * gst/gstregistryxml.c: (read_string), (load_pad_template),
12938         (load_feature), (load_plugin):
12939         Allow empty strings for some of the plugin fields so we don't 
12940         drop valid plugin entries that were written out correctly
12941         (Fixes #341479)
12942
12943 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
12944         
12945         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12946           Use g_remove and g_rename instead of remove and rename that don't 
12947           handle utf8 characters. rename was failing for users who had specific
12948           characters in their name then the registry was built at each 
12949           gstreamer init.
12950         * win32/vs6/gst_inspect.dsp:
12951         * win32/vs6/gst_launch.dsp:
12952         * win32/vs6/libgstbase.dsp:
12953         * win32/vs6/libgstcoreelements.dsp:
12954         * win32/vs6/libgstreamer.dsp:
12955           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
12956           build of libgstreamer and clean unused libraries in projects link 
12957           settings.
12958
12959 2006-05-17  Edward Hervey  <edward@fluendo.com>
12960
12961         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12962         The queue is not responsible for pushing an EOS when receiving a fatal
12963         flow error. It's up to the real element driving the pipeline to do that.
12964
12965 2006-05-16  Edward Hervey  <edward@fluendo.com>
12966
12967         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12968         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
12969         buffer returned a fatal error. It should just send an EOS and stop
12970         its task.
12971         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
12972         when pushing buffers on the queue and will be able to handle the event.
12973
12974 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
12975
12976         * docs/manual/basics-bins.xml:
12977         * docs/manual/basics-init.xml:
12978           Fix typos and minor errors in sample code (#341856).
12979
12980 2006-05-16  Wim Taymans  <wim@fluendo.com>
12981
12982         * docs/design/part-qos.txt:
12983         Fix indexes in formulas to make more sense.
12984
12985 2006-05-15  Wim Taymans  <wim@fluendo.com>
12986
12987         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12988         Don't report POSITION based on clock time if sync is
12989         disabled in a sink.
12990
12991 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
12992
12993         * gst/gstobject.h:
12994           Add cast to make compiler happy - refcount variable was a gint
12995           in GstObject but is a guint in GObject and g_atomic_int_get()
12996           wants a gint *.
12997
12998 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
12999
13000         * gst/parse/Makefile.am:
13001           chain commands using &&, which also makes parallel make work
13002
13003 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
13004
13005         * docs/gst/gstreamer-sections.txt:
13006         * gst/gstevent.c:
13007         * gst/gstevent.h:
13008         * gst/gstmessage.h:
13009           Minor docs fixes.
13010
13011 === release 0.10.6 ===
13012
13013 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
13014
13015         * configure.ac:
13016           releasing 0.10.6, "Take the cannoli"
13017
13018 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
13019
13020         * tools/gst-launch.c: (print_tag):
13021           Fix use of uninitialized variable in the hypothetical
13022           case that some broken plugin creates a GST_TAG_IMAGE
13023           tag containing a NULL buffer (#341667).
13024
13025 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
13026
13027         * tools/gst-launch.c: (print_tag):
13028           Print something more intelligible for image tags when
13029           using the -t switch (#341556).
13030
13031 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13032
13033         * Makefile.am:
13034           updates for win32
13035         * configure.ac:
13036           define GST_MAJORMINOR so we have it available in win32/common/config.h
13037           Possibly remove it from our Makefile.am files later
13038         * win32/common/config.h:
13039         * win32/common/config.h.in:
13040           added GST_MAJORMINOR
13041         * win32/common/gstenumtypes.c: (register_gst_resource_error):
13042         * win32/common/gstversion.h:
13043           updated
13044
13045 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
13046
13047         * win32/MANIFEST:
13048           Update win32 files listing.
13049         * win32/common/gstversion.h:
13050           Add GST_MAJORMINOR definition.
13051         * win32/common/libgstreamer.def:
13052           Add new exported functions.
13053           
13054 2006-05-12  Michael Smith  <msmith@fluendo.com>
13055
13056         * gst/gstplugin.c: (gst_plugin_load_file):
13057           If an so file has no plugin entry point, unload the module.
13058
13059 2006-05-11  Wim Taymans  <wim@fluendo.com>
13060
13061         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
13062         (gst_queue_set_property):
13063         Don't forget to signal the _chain or _loop function 
13064         when the queue size or thresholds change since that might
13065         cause them to make progres again.
13066
13067 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
13068
13069         * gst/gstclock.c: (gst_clock_class_init):
13070         * gst/gstindex.c: (gst_index_class_init):
13071         * gst/gstobject.c: (gst_object_class_init):
13072         * gst/gstpad.c: (gst_pad_class_init):
13073         * gst/gstpipeline.c: (gst_pipeline_class_init):
13074         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13075         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
13076         * libs/gst/base/gstbasetransform.c:
13077         (gst_base_transform_class_init):
13078         * libs/gst/net/gstnetclientclock.c:
13079         (gst_net_client_clock_class_init):
13080         * libs/gst/net/gstnettimeprovider.c:
13081         (gst_net_time_provider_class_init):
13082         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
13083         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
13084         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
13085         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
13086         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13087         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
13088         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13089         * plugins/elements/gstidentity.c: (gst_identity_class_init):
13090         * plugins/elements/gsttee.c: (gst_tee_class_init):
13091         * tests/old/examples/plugins/example.c: (gst_example_class_init):
13092         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13093           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
13094
13095 2006-05-11  Wim Taymans  <wim@fluendo.com>
13096
13097         * gst/gstbuffer.c: (_gst_buffer_initialize):
13098         Register subbufer along with the buffer type so that
13099         it does not accidentally gets registered from N
13100         different streaming threads in a non threadsafe way.
13101
13102 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
13103
13104         * gst/gstbuffer.h:
13105         * gst/gstevent.h:
13106         * gst/gstmessage.h:
13107           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
13108           gst_event_ref() and gst_message_ref() functions again
13109           (ugly hack, please do fix if there's a better way besides
13110           overrides.txt, which doesn't seem to work).
13111
13112 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13113
13114         * libs/gst/check/gstcheck.h:
13115           add an assert for setting state to avoid lots of repetitive code
13116           in the future
13117
13118 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13119
13120         * gst/gstvalue.c: (gst_value_serialize_flags):
13121           fix a leak if no flags are set
13122         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13123           fix leak in tests
13124
13125 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
13126
13127         * docs/manual/basics-pads.xml:
13128           Expand a bit on caps and filtered links and update
13129           examples that were still using the no longer existing
13130           gst_pad_link_filtered() (#338206).
13131
13132 2006-05-10  Wim Taymans  <wim@fluendo.com>
13133
13134         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13135         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13136         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13137         (gst_collect_pads_stop):
13138         * libs/gst/base/gstcollectpads.h:
13139         No need to call _stop in _finalize.
13140         Iterate the main pad list in _finalize.
13141         Added some more debug.
13142         Free lists and data in the right order.
13143         Also free data whem doing _remove_pad when stopped for
13144         backward compatibility protect ::started with PAD_LOCK as
13145         well.
13146
13147 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13148
13149         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
13150         (gst_structure_parse_value):
13151           add some comments
13152           rename a method so that it actually says what it does better
13153
13154 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13155
13156         * gst/gstevent.c: (_gst_event_initialize):
13157         * gst/gstformat.c: (_gst_format_initialize):
13158           make sure some essential types used by events are registered
13159           as part of gst_init()
13160         * gst/gstvalue.c: (gst_value_serialize_flags):
13161           if no flags are set, serialize them to a value that represents NONE
13162           so that deserializing them works
13163         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13164           add tests for serialization and deserialization of flags
13165
13166 2006-05-10  Wim Taymans  <wim@fluendo.com>
13167
13168         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
13169         (gst_collect_pads_collect_range), (gst_collect_pads_available),
13170         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
13171         (gst_collect_pads_event), (gst_collect_pads_chain):
13172         Update docs.
13173         Better debug info.
13174         Catch and return errors from the collect function
13175         Refuse data on eos pads.
13176
13177 2006-05-10  Edward Hervey  <edward@fluendo.com>
13178
13179         * gst/gstinterface.h:
13180         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
13181         GInterface type checking.
13182         They were previously using non-defined macros.
13183
13184 2006-05-09  Wim Taymans  <wim@fluendo.com>
13185
13186         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
13187         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
13188         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
13189         (gst_collect_pads_start), (gst_collect_pads_stop),
13190         (gst_collect_pads_peek), (gst_collect_pads_pop),
13191         (gst_collect_pads_available), (gst_collect_pads_read),
13192         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
13193         (gst_collect_pads_is_collected), (gst_collect_pads_event),
13194         (gst_collect_pads_chain):
13195         * libs/gst/base/gstcollectpads.h:
13196         Clean up the mess that is collectpads, add comments and
13197         FIXMEs where needed.
13198         Maintain a separate pad list so we can add pads while
13199         collecting the other ones. For this we need a new separate 
13200         lock (see comics).
13201         Fix memory leak in finalize.
13202         Refactor some weird code to set/unset pad flushing flags, mark
13203         with comments.
13204         Don't crash in _available, _read, _flush when we're EOS.
13205
13206         * tests/check/libs/.cvsignore:
13207         Ignore adapter check binary.
13208
13209 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13210
13211         * gst/gstindex.c: (gst_index_resolver_get_type):
13212         * plugins/elements/gstfakesink.c:
13213         (gst_fake_sink_state_error_get_type):
13214         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13215         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
13216         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
13217           Const-ify GEnumValue arrays.
13218
13219 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13220
13221         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13222           Add test case for flags + gst_buffer_make_metadata_writable().
13223
13224 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13225
13226         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
13227           gst_buffer_make_metadata_writable() should maintain the
13228           buffer flags (those that make sense at least) (see #340859).
13229
13230 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13231
13232         * tools/gst-inspect.c:
13233         * tools/gst-launch.c:
13234         * tools/gst-typefind.c:
13235         * tools/gst-xmlinspect.c:
13236         * tools/tools.h:
13237           Fix up includes: need to include stdlib.h in tools.h for exit().
13238
13239 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13240
13241         * gst/gsttaglist.c: (_gst_tag_initialize):
13242         * gst/gsttaglist.h:
13243           API: add GST_TAG_IMAGE tag (#340721).
13244
13245 2006-05-08  Wim Taymans  <wim@fluendo.com>
13246
13247         * gst/gstquery.c:
13248         Added some docs for the segment query.
13249
13250 2006-05-08  Wim Taymans  <wim@fluendo.com>
13251
13252         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13253         (gst_base_src_loop), (gst_base_src_change_state):
13254         Always push non-flushing serialized events in the streaming 
13255         thread.
13256
13257 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
13258
13259         * gst/gsterror.c: (_gst_stream_errors_init):
13260           Add a missing error string.
13261
13262 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
13263
13264         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
13265         Add applied_rate to the debug
13266
13267         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13268         Copy applied_rate into the outgoing NEWSEGMENT event
13269
13270 2006-05-08  Wim Taymans  <wim@fluendo.com>
13271
13272         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
13273
13274         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
13275         (gst_base_sink_change_state):
13276         call ::unlock before taking the PREROLL_LOCK so we can safely
13277         handle elements that lock in ::render.
13278         Fixes #340174.
13279
13280 2006-05-08  Edward Hervey  <edward@fluendo.com>
13281
13282         * autogen.sh: (CONFIGURE_DEF_OPT): 
13283         Darwin's libtoolize is in fact called glibtoolize.
13284         Adding glibtoolize to the list of accepted names for libtoolize.
13285
13286 2006-05-08  Wim Taymans  <wim@fluendo.com>
13287
13288         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13289         Unify error handling, don't post an error message
13290         when a push() returns EOS but perform our normal EOS
13291         handling code. Fixes #340772.
13292
13293 2006-05-08  Wim Taymans  <wim@fluendo.com>
13294
13295         * docs/design/part-overview.txt:
13296         Make upsteam/downstream concepts more clear.
13297         Give an example of serialized/non-serialized events.
13298
13299         * docs/design/part-events.txt:
13300         * docs/design/part-streams.txt:
13301         Mention applied_rate.
13302
13303         * docs/design/part-trickmodes.txt:
13304         Mention applied rate, flesh out some more use cases.
13305
13306         * gst/gstevent.c: (gst_event_new_new_segment),
13307         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
13308         (gst_event_parse_new_segment_full), (gst_event_new_tag),
13309         (gst_event_parse_tag), (gst_event_new_buffer_size),
13310         (gst_event_parse_buffer_size), (gst_event_new_qos),
13311         (gst_event_parse_qos), (gst_event_parse_seek),
13312         (gst_event_new_navigation):
13313         * gst/gstevent.h:
13314         Add applied_rate field to NEWSEGMENT event.
13315         API: gst_event_new_new_segment_full()
13316         API: gst_event_parse_new_segment_full()
13317
13318         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13319         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13320         (gst_segment_to_stream_time), (gst_segment_to_running_time):
13321         * gst/gstsegment.h:
13322         Add applied_rate to GstSegment structure.
13323         Make calculation of stream_time and running_time more correct
13324         wrt rate/applied_rate.
13325         Add some more docs.
13326         API: GstSegment::applied_rate field
13327         API: gst_segment_set_newsegment_full();
13328
13329         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13330         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13331         * libs/gst/base/gstbasetransform.c:
13332         (gst_base_transform_sink_eventfunc),
13333         (gst_base_transform_handle_buffer):
13334         Parse and use applied_rate in the GstSegment field.
13335
13336         * tests/check/gst/gstevent.c: (GST_START_TEST):
13337         Add check for applied_rate field.
13338
13339         * tests/check/gst/gstsegment.c: (GST_START_TEST),
13340         (gstsegments_suite):
13341         Add more checks for various GstSegment operations.
13342
13343 2006-05-08  Wim Taymans  <wim@fluendo.com>
13344
13345         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13346         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13347         (gst_base_sink_get_position), (gst_base_sink_change_state):
13348         Store the sync time of the buffer end position separatly in a
13349         new variable eos_rtime so we can properly sync the EOS event.
13350         Fixes #340697.
13351         Fix the docs for gst_base_sink_set_qos_enabled().
13352         Don't set segment start to invalid value when we receive a 
13353         non TIME newsegment.
13354         get closer to handling position reporting for negative rates 
13355         correctly.
13356
13357 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13358
13359         * gst/gstcaps.c:
13360         Docs about how to print caps for debug purposes.
13361
13362         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13363         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13364
13365 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13366
13367         * gst/gstelement.c:
13368           use full enum names and preprend a '%' in docs strings to make recent 
13369           gtk-doc turn that into a link
13370
13371 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13372
13373         * docs/manual/basics-bins.xml:
13374         * docs/manual/basics-bus.xml:
13375         * docs/manual/basics-pads.xml:
13376           Some typo fixes, some additions, some clarifications. 
13377
13378 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13379
13380         * tools/gst-inspect.c: (main):
13381         * tools/gst-launch.c: (main):
13382         * tools/gst-run.c: (main):
13383         * tools/gst-typefind.c: (main):
13384         * tools/gst-xmlinspect.c: (main):
13385           Use the string passed to g_option_context_new() for
13386           what it's intended for - the program name is already
13387           printed elsewhere.
13388
13389 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13390
13391         * tools/Makefile.am:
13392         * tools/gst-inspect.c: (main):
13393         * tools/gst-launch.c: (main):
13394         * tools/gst-xmlinspect.c: (main):
13395         * tools/tools.h:
13396           Add back --version command line option (#340460).
13397
13398         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13399           Add --version option and use GOption for argument parsing; refactor a
13400           bit; accept directories as arguments and recurse into them; lastly,
13401           print a decent error message when things go wrong.
13402
13403 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13404
13405         * docs/manual/basics-bins.xml:
13406         Don't mention GstThread (#340611)
13407         * docs/manual/basics-elements.xml:
13408         Update link to GObject tutorial (#340607)
13409         
13410 2006-05-05  Wim Taymans  <wim@fluendo.com>
13411
13412         * gst/gstbuffer.h:
13413         * gst/gstminiobject.c:
13414         Add note about refcounting and miniobject/buffer writeability
13415         to docs. Fixes #340604
13416
13417         * gst/gstelementfactory.h:
13418         Added some explanation about @klass.
13419
13420 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13421
13422         * docs/manual/intro-motivation.xml:
13423         * docs/manual/manual.xml:
13424         Avoid CORBA & Bonobo references (#340598)
13425
13426 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13427
13428         * docs/manual/basics-bus.xml:
13429         * docs/manual/basics-pads.xml:
13430         Fix up some inaccuracies and omissions (#340609)
13431         
13432 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13433
13434         * gst/gstghostpad.c:
13435           Small typo in docs (#340625)
13436
13437 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13438
13439         * gst/parse/Makefile.am:
13440           Make 'make -j' proof (see #340698).
13441
13442 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13443
13444         * configure.ac:
13445           Require GLib-2.8 here as well.
13446
13447 2006-05-05  Wim Taymans  <wim@fluendo.com>
13448
13449         * gst/glib-compat.c:
13450         * gst/gst.c: (init_pre):
13451         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13452         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13453         (gst_object_dispatch_properties_changed):
13454         * gst/gstobject.h:
13455         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13456         * gst/gststructure.c: (gst_structure_set_valist):
13457         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13458         Remove pre glib2.8 compatibility, fixes #340508
13459
13460 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13461
13462         * gst/gsttaglist.h:
13463           Mention type of tags in doc blurbs.
13464
13465 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
13466
13467         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13468         (gst_pad_configure_src), (gst_pad_push):
13469         Restore acceptcaps checking behaviour now that good plugins have
13470         been released.
13471
13472 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13473
13474         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13475
13476         * gst/gst.c:
13477         * gst/gstbus.c:
13478         * gst/gstclock.c:
13479         * gst/gstevent.c:
13480         * gst/gstformat.c:
13481         * gst/gstmessage.c:
13482         * gst/gstparse.c:
13483         * gst/gstquery.c:
13484         * gst/gstutils.c:
13485         * gst/parse/Makefile.am:
13486         * libs/gst/base/gstadapter.c:
13487         * libs/gst/base/gstbasesrc.c:
13488         * libs/gst/base/gstpushsrc.c:
13489         * libs/gst/base/gsttypefindhelper.c:
13490         * plugins/elements/gstfakesrc.c:
13491         * plugins/elements/gstidentity.c:
13492           Make sure gstprivate.h and/or config.h are
13493           always included first, otherwise some of our
13494           defines (like _FILE_OFFSET_BITS) might be
13495           redefined in the system headers. Fixes build
13496           on opensolaris (#340016).
13497
13498 2006-05-04  Wim Taymans  <wim@fluendo.com>
13499
13500         * docs/libs/gstreamer-libs-sections.txt:
13501         API: addition: gst_adapter_take_buffer()
13502         
13503         * libs/gst/base/gstadapter.c: (gst_adapter_push),
13504         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13505         (gst_adapter_available_fast):
13506         * libs/gst/base/gstadapter.h:
13507         Prepare for optimizing the hell out of this hugely inefficient
13508         piece of code. 
13509         Added gst_adapter_take_buffer() so we can at least start thinking
13510         about subbuffering and merging.
13511         Added some comments.
13512
13513         * tests/check/Makefile.am:
13514         * tests/check/libs/adapter.c: (GST_START_TEST),
13515         (gst_adapter_suite), (main):
13516         Added GstAdapter check.
13517
13518 2006-05-04  Wim Taymans  <wim@fluendo.com>
13519
13520         * docs/design/part-overview.txt:
13521         Fix some typos, add blurb about buffer flags.
13522
13523 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13524
13525         * docs/libs/gstreamer-libs-sections.txt:
13526           make sure GstBaseTransformClass shows up in the docs
13527         * libs/gst/base/gstbasetransform.c:
13528         * libs/gst/base/gstbasetransform.h:
13529           move docs so gtk-doc picks it up now
13530
13531 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13532
13533         * docs/libs/gstreamer-libs-sections.txt:
13534           add missing symbols to docs
13535
13536 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13537
13538         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13539           back out the newsegment handling change, see #340060 for ongoing
13540           discussion
13541
13542 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
13543
13544         * tools/gst-run.c: (get_candidates), (main):
13545           Fix wrong g_file_test() usage (see glib docs for why it doesn't
13546           work); fix typo in error message. Fixes #340079.
13547
13548 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13549
13550         * common/Makefile.am:
13551         * docs/Makefile.am:
13552         * docs/faq/Makefile.am:
13553         * docs/gst/Makefile.am:
13554         * docs/libs/Makefile.am:
13555         * docs/manual/Makefile.am:
13556         * docs/plugins/Makefile.am:
13557         * docs/pwg/Makefile.am:
13558         * docs/slides/Makefile.am:
13559         * docs/upload.mak:
13560         * common/upload.mak:
13561           move upload.mak to common
13562
13563 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13564
13565         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13566           add more asserts on refcounts
13567           do more cleanup at end of tests
13568           fix test leaks showing in FC5
13569
13570 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
13571
13572         * plugins/elements/gsttypefindelement.c:
13573         (gst_type_find_element_handle_event):
13574         reverted wrong change and reflowed code to avoid others falling into
13575         this trap
13576
13577 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13578
13579         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13580           fix changelog entry about last collectpads change,
13581           add notes about proper fix
13582
13583 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13584
13585         * gst/gst.c:
13586         * gst/gstregistry.c: (gst_registry_scan_path_level),
13587         (gst_registry_scan_path):
13588         * gst/gstregistry.h:
13589           only write out registry if it has changed, fixes #338339
13590
13591 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13592
13593         * gst/gstbin.c:
13594         * gst/gstpipeline.c:
13595         * plugins/elements/gstcapsfilter.c:
13596         * plugins/elements/gstfakesink.c:
13597         * plugins/elements/gstfakesrc.c:
13598         * plugins/elements/gstfdsink.c:
13599         * plugins/elements/gstfdsrc.c:
13600         * plugins/elements/gstfilesink.c:
13601         * plugins/elements/gstfilesrc.c:
13602         * plugins/elements/gstidentity.c:
13603         * plugins/elements/gstqueue.c:
13604         * plugins/elements/gsttee.c:
13605         * plugins/elements/gsttypefindelement.c:
13606         (gst_type_find_element_handle_event):
13607           make GstElementDetails const
13608
13609 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13610
13611         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
13612         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13613         (gst_collect_pads_is_collected), (gst_collect_pads_event):
13614           more detailed debug and formatting cleanup,
13615           forward newsegments to src-pad (so that e.g. adder not eats them)
13616
13617 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13618
13619         * gst/gstutils.c: (gst_element_link_pads):
13620           cleanup double code
13621
13622 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13623
13624         * libs/gst/controller/gstcontroller.c:
13625         (gst_controller_sync_values):
13626           some little tuning
13627         * tests/check/libs/controller.c: (GST_START_TEST),
13628         (gst_controller_suite):
13629           a new test for live value handling
13630
13631 2006-04-28  Wim Taymans  <wim@fluendo.com>
13632
13633         * gst/gstutils.c: (push_and_ref):
13634         Added some more docs.
13635         Fix refcount issue whith gst_element_found_tags() helper 
13636         function. Fixes #338335
13637
13638         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13639         Added testsuite for gst_element_found_tags().
13640
13641 2006-04-28  Michael Smith  <msmith@fluendo.com>
13642
13643         * gst/gstvalue.c: (gst_value_serialize_flags):
13644           Avoid NULL dereference when trying to serialize flags containing
13645           invalid values.
13646
13647 2006-04-28  Michael Smith  <msmith@fluendo.com>
13648
13649         * plugins/elements/gsttypefindelement.c:
13650         (gst_type_find_element_handle_event):
13651           If we get EOS before any data is accumulated, don't use
13652           uninitialised local variables.
13653
13654 2006-04-28  Michael Smith  <msmith@fluendo.com>
13655
13656         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13657         (gst_dp_event_from_packet):
13658           Fixes in reading/writing events over GDP (not currently used?) - 
13659           dereferencing NULL events for unknown/invalid event types, memory
13660           leak, and change g_warning to GST_WARNING.
13661
13662 2006-04-28  Wim Taymans  <wim@fluendo.com>
13663
13664         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
13665         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13666         (gst_base_sink_get_position), (gst_base_sink_change_state):
13667         When frame dropping is enabled, we should not ignore frames
13668         without a duration.
13669         Update some documentation.
13670
13671 2006-04-28  Wim Taymans  <wim@fluendo.com>
13672
13673         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13674         (gst_base_src_send_event), (gst_base_src_change_state):
13675         Documentation updates.
13676
13677 2006-04-28  Wim Taymans  <wim@fluendo.com>
13678
13679         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
13680         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
13681         handle EAGAIN, EINTR and short writes correctly. Also clean
13682         up some error cases, avoid a deadlock on bad file descriptors and
13683         use GST_DEBUG_OBJECT.
13684         Fixes #339843
13685
13686 2006-04-28  Wim Taymans  <wim@fluendo.com>
13687
13688         * gst/gstvalue.c: (gst_value_serialize_buffer),
13689         (gst_value_deserialize_buffer):
13690         Don't try to serialize a GValue with a NULL buffer. 
13691         Fixes #339821.
13692
13693         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13694         Added check for serialisation of NULL buffers.
13695
13696 2006-04-28  Wim Taymans  <wim@fluendo.com>
13697
13698         * gst/gstminiobject.c: (gst_value_take_mini_object):
13699         Taking a NULL miniobject is valid, fix the case where
13700         we try to unref the NULL miniobject.
13701
13702 2006-04-28  Wim Taymans  <wim@fluendo.com>
13703
13704         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13705
13706         * gst/gstbin.c: (gst_bin_handle_message_func):
13707         Update docs.
13708         Don't leak bin refcount when a state recalc is
13709         in progress and we delay another one #339808.
13710
13711 2006-04-28  Wim Taymans  <wim@fluendo.com>
13712
13713         * docs/design/part-TODO.txt:
13714         Mention QoS as an ongoing work item.
13715
13716         * docs/design/part-buffering.txt:
13717         New doc about buffering that needs to be fleshed out
13718         at some point.
13719
13720         * docs/design/part-qos.txt:
13721         More QoS policy for decoders/demuxers/transforms
13722
13723         * docs/design/part-trickmodes.txt:
13724         Small update.
13725
13726 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13727
13728         * configure.ac:
13729           back to HEAD
13730
13731 === release 0.10.5 ===
13732
13733 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
13734
13735         * configure.ac:
13736           releasing 0.10.5, "Fogo"
13737
13738 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13739
13740         patch by: Wim Taymans
13741
13742         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13743         (gst_pad_configure_src), (gst_pad_push):
13744         * gst/gstpipeline.c: (gst_pipeline_init):
13745           Fix internal data flow errors.  Fixes #338711.
13746
13747 2006-04-12  Wim Taymans  <wim@fluendo.com>
13748
13749         * tests/check/gst/gstelement.c: (GST_START_TEST):
13750         Don't leak the factory.
13751
13752 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13753
13754         * configure.ac:
13755         * win32/common/config.h:
13756           prerelease
13757
13758 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
13759
13760         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13761         (gst_controller_unset_all):
13762           Free allocated GstTimedValues when freeing list nodes.
13763           Should fix leaks 'make check-valgrind' complains about.
13764
13765         * win32/common/libgstcontroller.def:
13766           Add gst_controller_unset_all.
13767
13768 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
13769
13770         * docs/libs/gstreamer-libs-sections.txt:
13771         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13772         (gst_controller_unset_all):
13773         * libs/gst/controller/gstcontroller.h:
13774         API: Added new method gst_controller_unset_all()
13775         fixed gst_controller_unset()
13776         * tests/check/libs/controller.c: (GST_START_TEST),
13777         (gst_controller_suite):
13778         Added two testcases for new and fixed method
13779
13780 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
13781
13782         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
13783           MSG_DONTWAIT is not defined on Cygwin, so work
13784           around that (fixes #317048).
13785           
13786 2006-04-11  Wim Taymans  <wim@fluendo.com>
13787
13788         * gst/gstelementfactory.c: (gst_element_register),
13789         (gst_element_factory_create), (gst_element_factory_make):
13790         Some cleanups.
13791         Fixed a FIXME.
13792         Updated docs (Fixes #131079)
13793
13794         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13795         Small cleanups.
13796
13797         * tests/check/gst/gstelement.c: (GST_START_TEST),
13798         (gst_element_suite):
13799         Added testcase for elementfactory class field.
13800
13801 2006-04-10  Wim Taymans  <wim@fluendo.com>
13802
13803         * gst/gstsegment.c:
13804         Added some more docs.
13805
13806         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
13807         (gst_base_sink_reset_qos):
13808         Calculate more accurate rate values.
13809
13810 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
13811
13812         * gst/gst_private.h:
13813           add a new #ifdef to use __declspec(dllimport) only for
13814           other modules and not for gstreamer core
13815         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
13816           use gst_guint64_to_gdouble for conversion
13817         * win32/common/libgstreamer.def:
13818           add new exported functions
13819         * win32/vs6/gst_inspect.dsp:
13820         * win32/vs6/gst_launch.dsp:
13821         * win32/vs6/libgstbase.dsp:
13822         * win32/vs6/libgstcontroller.dsp:
13823         * win32/vs6/libgstcoreelements.dsp:
13824         * win32/vs6/libgstdataprotocol.dsp:
13825         * win32/vs6/libgstnet.dsp:
13826           update project files
13827
13828 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
13829
13830         * gst/gstbuffer.c: (gst_subbuffer_class_init):
13831         * gst/gstclock.c: (gst_clock_class_init):
13832         * gst/gstelement.c: (gst_element_class_init):
13833         * gst/gstindex.c: (gst_index_class_init):
13834         * gst/gstindexfactory.c: (gst_index_factory_class_init):
13835         * gst/gstobject.c: (gst_object_class_init),
13836         (gst_signal_object_class_init):
13837         * gst/gstpad.c: (gst_pad_class_init):
13838         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
13839         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
13840         * gst/gstregistry.c: (gst_registry_class_init):
13841         * gst/gstsystemclock.c: (gst_system_clock_class_init):
13842         * gst/gsttask.c: (gst_task_class_init):
13843         * gst/gstxml.c: (gst_xml_class_init):
13844         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13845         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13846         (gst_base_src_loop):
13847         * libs/gst/controller/gstcontroller.c:/
13848         (_gst_controller_class_init):
13849         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13850         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
13851         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
13852         * tests/old/examples/plugins/example.c: (gst_example_class_init):
13853         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13854         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
13855
13856 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
13857
13858         * gst/gstpad.c: (gst_pad_link):
13859           Must set peer pads before calling the link function, otherwise
13860           a task started from a link function might get a flow-not-linked
13861           result when trying to push because the other thread where the
13862           linking happens hasn't had a chance to set the peers yet. This
13863           might happen for example when a queue gets linked to a downstream
13864           element, as queue starts a streaming task when its source pad
13865           gets linked. Happens in real life when playing back flac/musepack
13866           files in playbin (#332390).
13867           
13868 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
13869
13870         * gst/gstindex.h:
13871         * gst/gstxml.h:
13872         * libs/gst/base/gstadapter.h:
13873         * libs/gst/base/gstbasesink.h:
13874         * libs/gst/base/gstbasesrc.h:
13875         * libs/gst/base/gstbasetransform.h:
13876         * libs/gst/base/gstcollectpads.h:
13877         * libs/gst/base/gstpushsrc.h:
13878         Fix broken GObject macros
13879
13880 2006-04-07  Wim Taymans  <wim@fluendo.com>
13881
13882         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13883         Initialize start and stop times, thanks valgrind.
13884
13885 2006-04-07  Wim Taymans  <wim@fluendo.com>
13886
13887         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13888         Be a bit nicer to badly behaving upstream elements that expect
13889         us to deal with non TIME segments and timestamps (such as fakesrc
13890         in the testsuite).
13891
13892 2006-04-07  Wim Taymans  <wim@fluendo.com>
13893
13894         * gst/gstbus.c:
13895         Small documentation clarification about the signal watch.
13896
13897         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13898         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13899         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13900         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13901         (gst_base_sink_get_position_last),
13902         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
13903         Convert and store timestamps in stream time and running time, the
13904         raw timestamps are not useful, also document this better.
13905         Use different window sizes for good and bad QoS observations so
13906         we react to badness a little quicker.
13907         Keep track of the amount of rendered and dropped buffers.
13908         Send QoS timestamps in running time.
13909
13910         * libs/gst/base/gstbasetransform.c:
13911         (gst_base_transform_sink_eventfunc),
13912         (gst_base_transform_handle_buffer):
13913         Compare QoS timestamps against running time.
13914
13915 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
13916
13917         * gst/gstpad.c:
13918           Typo fixes in docs.
13919
13920 2006-04-06  Michael Smith  <msmith@fluendo.com>
13921
13922         * gst/gstpad.c: (gst_pad_set_property):
13923           Use g_value_get_object() instead of g_value_dup_gst_object(),
13924           to avoid double-reffing the pad template (which we then sink,
13925           so this worked previously if (and only if) the pad template
13926           was floating.
13927
13928         * gst/gstpadtemplate.c: (gst_pad_template_init),
13929         (gst_pad_template_pad_created):
13930           Never return floating references to pad templates, create
13931           them as initially-sunken.
13932
13933           Document an extra function (and make this stop sinking our
13934           pad template, since that is now guaranteed to do nothing,
13935           since we created it sunken).
13936
13937         * gst/gstghostpad.c:
13938           Fix docs typo.
13939
13940 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
13941
13942         * gst/gstinfo.c: (__gst_in_valgrind):
13943           Add some newlines.
13944
13945         * plugins/elements/gsttypefindelement.c:
13946         (gst_type_find_element_chain):
13947           Don't leak buffer caps.
13948
13949 2006-04-06  Michael Smith  <msmith@fluendo.com>
13950
13951         * gst/parse/grammar.y:
13952           Fix a leak in parse-launch for any source-or-sink named element 
13953           references used.
13954
13955         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13956           Unref the pipeline if it exists after we've failed parsing.
13957
13958 2006-04-05  Michael Smith  <msmith@fluendo.com>
13959
13960         * gst/gstpipeline.c: (gst_pipeline_init):
13961           When we create a pipeline bus, initially create it in flushing mode.
13962           Fixes leaks in at least one test, and makes a new pipeline work the
13963           same as one that has gone to READY and then back to NULL.
13964
13965         * gst/gstelement.c:
13966           Typo fix in docs.
13967
13968 2006-04-05  Michael Smith  <msmith@fluendo.com>
13969
13970         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13971           Unref a pad we reffed.
13972         * tests/check/gst/gstutils.c: (GST_START_TEST):
13973           Unref bins
13974
13975 2006-04-05  Michael Smith  <msmith@fluendo.com>
13976
13977         * gst/gstquery.c: (gst_query_set_formats),
13978         (gst_query_set_formatsv):
13979           Fix leaking GValues in queries, as shown by valgrind/testsuite.
13980
13981 2006-04-05  Michael Smith  <msmith@fluendo.com>
13982
13983         * tests/check/generic/sinks.c: (GST_START_TEST):
13984           Fix a variety of memleaks in sinks check, which are only sometimes 
13985           shown by running the tests under valgrind (weird?).
13986
13987 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
13988
13989         * docs/version.entities.in:
13990           Fix the substituted entity name after thomas' changes on the
13991           weekend.
13992
13993 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
13994
13995         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
13996         VALGRIND_PRINTF
13997         
13998 2006-04-05  Andy Wingo  <wingo@pobox.com>
13999
14000         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
14001
14002         * libs/gst/base/gstbasetransform.c
14003         (gst_base_transform_sink_eventfunc): When resetting our segment on
14004         FLUSH_STOP, also update the flag saying we haven't seen a
14005         newsegment.
14006
14007 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14008
14009         Patch by: Paolo Borelli  <pborelli at katamail dot com>
14010
14011         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
14012         (gst_plugin_check_license):
14013           minor clean-ups: G_DEFINE_TYPE already takes care of the
14014           parent_class stuff, no need to do it twice. Mark array of
14015           license strings as constant. (#337103)
14016           
14017 2006-04-04  Michael Smith  <msmith@fluendo.com>
14018
14019         * tools/gst-inspect.c: (print_element_list):
14020           Free the right plugin list; fixes a memory leak.
14021
14022 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14023
14024         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
14025
14026         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14027           Don't error out on empty buffers (#336945).
14028           
14029 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
14030
14031         * docs/libs/gstreamer-libs-sections.txt:
14032         * gst/gsttaglist.c:
14033         * libs/gst/base/gstbasesink.c:
14034         * libs/gst/base/gstbasesink.h:
14035         * libs/gst/base/gstbasesrc.c:
14036         * libs/gst/base/gstbasesrc.h:
14037           Documentation updates. Make BaseSink and BaseSrc docs contain the
14038           class structure so that people can actually see the prototypes for
14039           virtual functions they're supposed to be overriding.
14040
14041 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14042
14043         * plugins/elements/gsttypefindelement.c:
14044         (gst_type_find_element_chain):
14045           More debug info; when skipping typefinding, send cached
14046           events in all cases.
14047
14048 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14049
14050         * configure.ac:
14051           use new AS_VERSION and AS_NANO macros
14052         * gst/gst-i18n-lib.h:
14053         * gst/gst.c:
14054         * gst/gsterror.c:
14055         * gst/gstversion.h.in:
14056         * win32/common/config.h:
14057         * win32/common/config.h.in:
14058           update accordingly
14059
14060 2006-03-31  Michael Smith  <msmith@fluendo.com>
14061
14062         * plugins/elements/gsttypefindelement.c:
14063         (gst_type_find_element_chain):
14064           Do not typefind content if the buffers already have caps.
14065           Neccesary for icydemux (#333657), and the right thing to do anyway.
14066
14067 2006-03-30  Wim Taymans  <wim@fluendo.com>
14068
14069         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14070         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
14071         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
14072         (gst_base_sink_record_qos_observation),
14073         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14074         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14075         (gst_base_sink_change_state):
14076         More QoS measurements as described in the design doc.
14077         Get rid of ringbuffer with observations, running average is
14078         more simple and equally good.
14079         Calculates valid proportion now.
14080         Added beginning of flood measurement.
14081
14082 2006-03-29  Wim Taymans  <wim@fluendo.com>
14083
14084         * docs/design/part-qos.txt:
14085         * gst/gstclock.c:
14086         Small documentation updates and additions.
14087
14088 2006-03-29  Wim Taymans  <wim@fluendo.com>
14089
14090         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14091         (gst_base_src_send_event), (gst_base_src_loop),
14092         (gst_base_src_change_state):
14093         Perform the EOS logic when we reach the segment stop position.
14094         Fix compilation on gcc4.1
14095
14096 2006-03-29  Wim Taymans  <wim@fluendo.com>
14097
14098         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
14099
14100         * plugins/elements/gstqueue.c: (gst_queue_init),
14101         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
14102         (gst_queue_set_property):
14103         * plugins/elements/gstqueue.h:
14104         In queue, when EOS is received, if minimum threshold > max_size -
14105         current_level, there is chance that queue blocks forever in conditional
14106         item del wait. This is because the queue is not emptied completely due
14107         to minimum threshold.  Here is another approach. Instead of setting
14108         cur_levels to max in EOS, just zero all minimum threshold levels. This
14109         should make sure that queue gives out all data. When going to READY
14110         (stop) state, just reset the original minimum threshold levels.
14111         Fixes #336336.
14112
14113 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
14114
14115         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
14116         (gst_type_find_element_handle_event),
14117         (gst_type_find_element_send_cached_events),
14118         (gst_type_find_element_change_state):
14119         * plugins/elements/gsttypefindelement.h:
14120           When typefinding is done in push mode, we should cache
14121           events we receive during typefinding instead of just
14122           dropping them (e.g. newsegment, custom events from
14123           dvdreadsrc etc.) and then send them out once we've
14124           determined the type of the stream (and decodebin
14125           has had a chance to plug in a decoder/demuxer).
14126           
14127 2006-03-27  Wim Taymans  <wim@fluendo.com>
14128
14129         * docs/design/part-qos.txt:
14130         First QoS ideas.
14131
14132 2006-03-27  Wim Taymans  <wim@fluendo.com>
14133
14134         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
14135
14136         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14137         (gst_base_src_send_event), (gst_base_src_change_state):
14138         Handle element seek correctly when we are streaming.
14139         Fixes #326998.
14140
14141 2006-03-24  Michael Smith  <msmith@fluendo.com>
14142
14143         * docs/faq/gst-uninstalled:
14144           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
14145           allow you to correctly run intalled applications built against old 
14146           core, using plugins that require updated core (e.g. running
14147           installed totem against a full uninstalled gstreamer stack)
14148
14149 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14150
14151         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
14152         more debug details
14153
14154 2006-03-24  Wim Taymans  <wim@fluendo.com>
14155
14156         * docs/gst/gstreamer-sections.txt:
14157         Rearrange the order of the methods so that related methods
14158         are grouped together in sections.
14159
14160 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14161
14162         * gst/gstelement.c:
14163           Little clarification in the docs
14164
14165 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14166
14167         * docs/README:
14168         formatting fix
14169         * plugins/elements/gstidentity.c:
14170         * plugins/elements/gstqueue.c:
14171         * plugins/elements/gsttee.c:
14172         * plugins/elements/gsttypefindelement.c:
14173         GST_ELEMENT_DETAILS formatting
14174
14175 2006-03-24  Wim Taymans  <wim@fluendo.com>
14176
14177         * libs/gst/base/gstbasesink.h:
14178         Only add fields, not insert or we break ABI.
14179
14180 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14181
14182         * win32/common/libgstbase.def:
14183         * win32/common/libgstreamer.def:
14184           Update, add recently added functions.
14185
14186 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14187
14188         * docs/gst/gstreamer-sections.txt:
14189         * gst/gstutils.c: (gst_pad_query_peer_position),
14190         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
14191         * gst/gstutils.h:
14192           API: add some new utility functions:
14193            - gst_pad_query_peer_position()
14194            - gst_pad_query_peer_duration()
14195            - gst_pad_query_peer_convert()
14196           
14197 2006-03-23  Wim Taymans  <wim@fluendo.com>
14198
14199         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14200         (gst_base_sink_init), (gst_base_sink_finalize),
14201         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
14202         (gst_base_sink_set_property), (gst_base_sink_get_property),
14203         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
14204         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14205         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
14206         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14207         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14208         (gst_base_sink_preroll_object), (gst_base_sink_event),
14209         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
14210         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
14211         (gst_base_sink_query), (gst_base_sink_change_state):
14212         Decouple max-lateness and the fact that QoS messages are generated
14213         with a new property (qos).
14214         added API: GstBaseSink::async_play()
14215         Add vmethod so subclasses can be notified of ASYNC playing
14216         state changes.
14217         Collect timestamp start and stop to report better current
14218         position in EOS/PLAYING/PAUSED/READY/NULL.
14219         Refactor QoS/frame dropping and other measurements.
14220         API: GstBaseSrc::qos
14221         Fixes #326311
14222
14223         * libs/gst/base/gstbasesink.h:
14224         Added Private struct.
14225         API: gst_base_sink_set_qos_enabled()
14226         API: gst_base_sink_is_qos_enabled()
14227
14228 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14229
14230         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14231           If compiling against GLib-2.8 or newer, try to read the
14232           registry file using GMappedFile first before falling back
14233           to fopen() + fread() (#332151).
14234
14235 2006-03-22  Wim Taymans  <wim@fluendo.com>
14236
14237         * gst/gstinfo.c: (gst_debug_set_active),
14238         (gst_debug_category_set_threshold):
14239         Disable debugging unless explicitly activated.
14240         Fixes #335480.
14241
14242 2006-03-22  Wim Taymans  <wim@fluendo.com>
14243
14244         * gst/gstelement.c: (gst_element_set_locked_state),
14245         (gst_element_dispose):
14246         Cleanup the error case.
14247
14248         * gst/gstobject.c: (gst_object_dispose):
14249         print a critical when some object was disposed with
14250         a parent, also revive the object since it might
14251         crash the parent.
14252
14253 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
14254
14255         * tools/gst-launch.1.in:
14256           Fix another typo.
14257
14258 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14259
14260         * configure.ac:
14261         * tests/check/Makefile.am:
14262           disable some tests when we don't have a registry
14263         * tests/check/gst/gstutils.c: (gst_utils_suite):
14264           don't build the part that needs parsing
14265
14266 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14267
14268         * gst/Makefile.am
14269         * tests/examples/Makefile.am:
14270           fix --disable-parse build
14271
14272 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14273
14274         * tools/gst-feedback.1.in:
14275           Fix typo: s/feeback/feedback/ (#133494).
14276
14277 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14278
14279         * tools/Makefile.am:
14280         * tools/gst-launch.1.in:
14281           Add FILES section and correct entry about GST_REGISTRY_PATH
14282           environment variable (#133495; #133494).
14283
14284 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14285
14286         * tools/Makefile.am:
14287         * tools/gst-md5sum.1.in:
14288         * tools/gst-md5sum.c:
14289           Remove gst-md5sum and man page (the md5sink element
14290           required was removed ages ago)
14291
14292 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14293
14294         * gst/gststructure.c: (gst_structure_id_set_value):
14295           Make sure that string fields in structures/taglists
14296           contain valid UTF-8 - we don't want to pass rubbish to
14297           applications because of a buggy plugin (cp. #334167).
14298
14299 2006-03-21  Edward Hervey  <edward@fluendo.com>
14300
14301         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14302         (gst_bin_handle_message_func):
14303         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
14304         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
14305         (gst_element_set_bus_func):
14306         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
14307         * gst/gstminiobject.c: (gst_value_set_mini_object),
14308         (gst_value_take_mini_object):
14309         * gst/gstpad.c: (gst_pad_set_pad_template):
14310         * gst/gstpipeline.c: (gst_pipeline_dispose),
14311         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14312         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
14313         (gst_collect_pads_chain):
14314         * libs/gst/net/gstnettimeprovider.c:
14315         (gst_net_time_provider_set_property):
14316         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
14317         It's in fact all issues with gst_*object_replace().
14318
14319 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14320
14321         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
14322         
14323         * pkgconfig/gstreamer-check-uninstalled.pc.in:
14324         * pkgconfig/gstreamer-check.pc.in:
14325           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14326
14327 2006-03-21  Edward Hervey  <edward@fluendo.com>
14328
14329         * gst/gstbuffer.h:
14330         * gst/gstevent.h:
14331         * gst/gstmessage.h:
14332         gst_[buffer|event|message]_ref() macros are replaced by a static
14333         inline functions because gcc-4.1 will about if the return value
14334         isn't used.
14335         * tests/check/gst/gstevent.c: (event_probe):
14336         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14337
14338 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
14339
14340         * gst/gstutils.h:
14341         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14342         the type' case. (Closes: #335195 for now). In the future, when we
14343         depend on GLib 2.10, we could also intern the type name using
14344         g_intern_static_string()
14345
14346 2006-03-20  Wim Taymans  <wim@fluendo.com>
14347
14348         * gst/gstbin.c: (gst_bin_handle_message_func),
14349         (bin_query_max_init), (bin_query_position_fold),
14350         (bin_query_position_done), (gst_bin_query):
14351         Position query should also take max of all streams.
14352
14353 2006-03-20  Wim Taymans  <wim@fluendo.com>
14354
14355         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14356         (gst_fake_src_finalize):
14357         Fix leaks in fakesrc.
14358
14359         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14360         Fix leaks in the testcase.
14361
14362 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
14363
14364         * gst/gst_private.h:
14365           add win32 specific import decoration(__declspec(dllimport)) 
14366           for all extern GstDebugCategory * variables
14367         * win32/common/libgstbase.def:
14368         * win32/common/libgstcontroller.def:
14369         * win32/common/libgstreamer.def:
14370           Add some exports, remove empty lines
14371         * win32/common/libgstdataprotocol.def:
14372         * win32/common/libgstdataprotocol.dsp:
14373         * win32/common/libgstnet.def:
14374         * win32/common/libgstnet.dsp:
14375           new project files and exportation files added
14376         
14377 2006-03-19  Wim Taymans  <wim@fluendo.com>
14378
14379         * tests/check/libs/basesrc.c: (eos_event_counter):
14380         Use proper return value for probe.
14381
14382 2006-03-17  Wim Taymans  <wim@fluendo.com>
14383
14384         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14385         (gst_pad_push):
14386         Don't leak buffers, caps and pads on negotiation errors.
14387
14388 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
14389
14390         * docs/faq/cvs.xml:
14391         * docs/faq/dependencies.xml:
14392         * docs/faq/developing.xml:
14393         * docs/faq/faq.xml:
14394         * docs/faq/general.xml:
14395         * docs/faq/getting.xml:
14396         * docs/faq/legal.xml:
14397         * docs/faq/troubleshooting.xml:
14398         * docs/faq/using.xml:
14399         Faq review and update.
14400
14401 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
14402
14403         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14404         (gst_pad_push):
14405         Don't pound the cpu to pieces by checking get_caps when accept_caps
14406         is called with the same caps as the pad already has.
14407         Use GST_DEBUG_OBJECT when outputting caps change information.
14408
14409 2006-03-15  Wim Taymans  <wim@fluendo.com>
14410
14411         * gst/gstclock.c: (gst_clock_class_init):
14412         Fix docs.
14413
14414 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
14415
14416         * gst/gstbuffer.h:
14417         Documentation fix.
14418
14419         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14420         (gst_pad_accept_caps), (gst_pad_configure_sink),
14421         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14422         Make the default acceptcaps behaviour be to check the requested 
14423         caps against the gst_pad_get_caps output. 
14424
14425         Ensure that gst_pad_accept_caps is used to check caps when a pad
14426         doesn't have a setcaps function, so that pads automatically refuse 
14427         caps that they don't allow in their pad template. (Fixes #332986)
14428
14429         When a buffer with attached caps is pushed, ensure that the source 
14430         pad receives those caps even if the element didn't call
14431         gst_pad_set_caps first.
14432
14433 2006-03-15  Wim Taymans  <wim@fluendo.com>
14434
14435         * libs/gst/base/gstadapter.c:
14436         Add some docs.
14437
14438 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
14439
14440         * win32/common/libgstbase.def:
14441         * win32/common/libgstcontroller.def:
14442         * win32/common/libgstreamer.def:
14443           Add a whole bunch of missing functions (#334434).
14444
14445 2006-03-14  Wim Taymans  <wim@fluendo.com>
14446
14447         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14448         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14449         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14450         Better debug info when we receive a segment event.
14451         Reorganize a bit so we can pass the get_times() results around.
14452         Use the segment format when calculating the running time.
14453         Don't do QoS is sync is disabled or we have no clock or the
14454         element does not want us to sync to the clock.
14455         Don't drop buffers if QoS is disabled for now.
14456
14457 2006-03-14  Wim Taymans  <wim@fluendo.com>
14458
14459         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14460         Marked the stats property as unimplemented so people don't get
14461         wild ideas.
14462         Add debug message when regression goes wrong.
14463         Added some more docs.
14464
14465 2006-03-14  Wim Taymans  <wim@fluendo.com>
14466
14467         * gst/gstsegment.c: (gst_segment_to_stream_time):
14468         Return correct return type in case of errors.
14469
14470 2006-03-14  Wim Taymans  <wim@fluendo.com>
14471
14472         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14473           Don't segfault on invalid formats.
14474
14475 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14476
14477         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14478           Can't use gst_segment_to_running_time() when the segment
14479           is not in GST_TIME_FORMAT (like with filesink, for example).
14480           Stops flac encoding pipelines from spewing critical warnings
14481           at EOS (#331248).
14482           
14483 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14484
14485         * gst/gstpipeline.c: (gst_pipeline_class_init):
14486           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14487
14488         * plugins/elements/gsttypefindelement.c:
14489         (gst_type_find_element_handle_event):
14490           Don't try to typefind empty streams.
14491
14492 2006-03-14  Wim Taymans  <wim@fluendo.com>
14493
14494         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14495         (gst_base_sink_do_qos):
14496         Separate QoS calculation.
14497         Only drop buffers when lateness is bigger than the 
14498         duration of the buffer.
14499
14500 2006-03-13  Wim Taymans  <wim@fluendo.com>
14501
14502         * gst/gstpipeline.c: (gst_pipeline_set_property),
14503         (gst_pipeline_get_property), (do_pipeline_seek),
14504         (gst_pipeline_change_state), (gst_pipeline_set_delay),
14505         (gst_pipeline_get_delay):
14506         Don't deadlock when reading properties.
14507
14508 2006-03-13  Wim Taymans  <wim@fluendo.com>
14509
14510         * libs/gst/base/gstbasetransform.c:
14511         (gst_base_transform_class_init), (gst_base_transform_init),
14512         (gst_base_transform_sink_event),
14513         (gst_base_transform_sink_eventfunc),
14514         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14515         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14516         (gst_base_transform_set_property),
14517         (gst_base_transform_get_property),
14518         (gst_base_transform_change_state), (gst_base_transform_update_qos),
14519         (gst_base_transform_set_qos_enabled),
14520         (gst_base_transform_is_qos_enabled):
14521         * libs/gst/base/gstbasetransform.h:
14522         Make basetransform virtual method for src events too.
14523         Handle QOS in basetransform.
14524         API: gst_base_transform_update_qos()
14525         API: gst_base_transform_set_qos_enabled()
14526         API: gst_base_transform_is_qos_enabled()
14527
14528 2006-03-13  Wim Taymans  <wim@fluendo.com>
14529
14530         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14531         (gst_base_sink_do_sync):
14532         Small cleanups.
14533         Use QOS debug category.
14534
14535 2006-03-13  Wim Taymans  <wim@fluendo.com>
14536
14537         * plugins/elements/gstqueue.c:
14538         Very small doc update.
14539
14540 2006-03-13  Wim Taymans  <wim@fluendo.com>
14541
14542         * gst/gst_private.h:
14543         * gst/gstinfo.c: (_gst_debug_init):
14544         Added QOS debug category
14545
14546 2006-03-13  Wim Taymans  <wim@fluendo.com>
14547
14548         * docs/gst/gstreamer-sections.txt:
14549         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14550         * gst/gstbin.h:
14551         * gst/gstbus.c: (gst_bus_class_init):
14552         * gst/gstbus.h:
14553         * gst/gstclock.c:
14554         * gst/gstelement.c: (gst_element_set_locked_state):
14555         * gst/gstsegment.c:
14556         Documentation updates.
14557
14558         * gst/gstpipeline.c: (gst_pipeline_get_type),
14559         (gst_pipeline_class_init), (gst_pipeline_init),
14560         (gst_pipeline_dispose), (gst_pipeline_set_property),
14561         (gst_pipeline_get_property), (do_pipeline_seek),
14562         (gst_pipeline_send_event), (gst_pipeline_change_state),
14563         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14564         (gst_pipeline_get_delay):
14565         * gst/gstpipeline.h:
14566         Added methods for setting the delay.
14567         API: gst_pipeline_set_delay()
14568         API: gst_pipeline_get_delay()
14569         Add pipeline debug category
14570         Various cleanups.
14571         Updated docs.
14572         Don't reset stream time when seek failed.
14573
14574 2006-03-13  Wim Taymans  <wim@fluendo.com>
14575
14576         * docs/design/draft-klass.txt:
14577         * docs/design/part-clocks.txt:
14578         * docs/design/part-events.txt:
14579         * docs/design/part-gstbin.txt:
14580         * docs/design/part-gstpipeline.txt:
14581         * docs/design/part-messages.txt:
14582         * docs/design/part-negotiation.txt:
14583         * docs/design/part-overview.txt:
14584         * docs/design/part-preroll.txt:
14585         * docs/design/part-seeking.txt:
14586         * docs/design/part-states.txt:
14587         * docs/design/part-streams.txt:
14588         Documentation updates.
14589
14590 2006-03-12  Julien MOUTTE  <julien@moutte.net>
14591
14592         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
14593         us to leak strings...
14594
14595 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14596
14597         * libs/gst/net/gstnettimeprovider.c:
14598           fix docs
14599         * win32/common/config.h:
14600           update
14601
14602 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
14603
14604         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
14605
14606         * configure.ac:
14607           Don't check for libgnomeui (leftover from old examples
14608           that aren't built or disted any longer) (#334303).
14609           
14610 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
14611
14612         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
14613         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14614           Emit RESOURCE_NO_SPACE_LEFT error here as well when
14615           there's no space left on the device.
14616
14617 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
14618
14619         * gst/gstclock.h:
14620           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
14621           to cast the input to GstClockTime before comparing with
14622           another GstClockTime value.
14623
14624 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14625
14626         * configure.ac:
14627           back to trunk
14628
14629 === release 0.10.4 ===
14630
14631 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
14632
14633         * configure.ac:
14634           releasing 0.10.4, "Light"
14635
14636 2006-03-10  Michael Smith  <msmith@fluendo.com>
14637
14638         * libs/gst/dataprotocol/dataprotocol.c:
14639           Fix docs for dataprocotol to not get the return types completely
14640           wrong for a few functions.
14641
14642 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14643
14644         * docs/gst/gstreamer-sections.txt:
14645         * gst/gstpipeline.c: (gst_pipeline_class_init),
14646         (gst_pipeline_init), (gst_pipeline_set_property),
14647         (gst_pipeline_get_property), (gst_pipeline_change_state),
14648         (gst_pipeline_set_auto_flush_bus),
14649         (gst_pipeline_get_auto_flush_bus):
14650         * gst/gstpipeline.h:
14651           Add new API: gst_pipeline_set_auto_flush_bus() and
14652           gst_pipeline_get_auto_flush_bus() to disable automatic
14653           flushing of the pipeline's GstBus when going from READY
14654           to NULL state (#332045).
14655
14656 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14657
14658         * docs/gst/gstreamer-sections.txt:
14659         * gst/gsturi.c: (gst_uri_has_protocol):
14660         * gst/gsturi.h:
14661            Add new API: gst_uri_has_protocol() (#333779).
14662
14663 2006-03-09  Wim Taymans  <wim@fluendo.com>
14664
14665         * gst/gstclock.c: (gst_clock_entry_new),
14666         (gst_clock_id_compare_func), (gst_clock_id_wait),
14667         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
14668         (gst_clock_init), (gst_clock_get_internal_time),
14669         (gst_clock_set_master), (do_linear_regression),
14670         (gst_clock_add_observation), (gst_clock_set_property):
14671         * gst/gstclock.h:
14672         Review docs.
14673         Small cleanups.
14674         Fix a possible segfault when the window-size is made smaller.
14675         Calculate jitter before performing the clock wait. Ideally
14676         the clock implementation should calculate jitter but we need
14677         API breakage for that.
14678
14679         * gst/gstsystemclock.c: (gst_system_clock_init):
14680         Docs review.
14681         
14682         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14683         Remove leftover else
14684
14685         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
14686         (gst_systemclock_suite):
14687         Added check to test GST_CLOCK_DIFF.
14688
14689 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14690
14691         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
14692         (gst_type_find_helper_get_range):
14693           If we are provided with the size, we should implement
14694           GstTypeFind::get_length, so that typefind functions who
14695           want to can actually peek at the middle of a file.
14696
14697 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
14698
14699         * docs/manual/advanced-dataaccess.xml:
14700           Add some very very basic error checking.
14701
14702         * docs/pwg/appendix-checklist.xml:
14703           Some updates to the list of things to check when writing an element.
14704
14705 2006-03-08  Wim Taymans  <wim@fluendo.com>
14706
14707         * docs/design/part-element-transform.txt:
14708         Added some docs about the design of tranform elements.
14709
14710         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14711         (gst_base_src_loop), (gst_base_src_change_state):
14712         Mark buffers with the DISCONT flag.
14713
14714 2006-03-08  Michael Smith  <msmith@fluendo.com>
14715
14716         * gst/gstregistry.h:
14717         * gst/gstregistryxml.c: (gst_registry_save),
14718         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
14719         (gst_registry_xml_save_pad_template),
14720         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
14721         (gst_registry_xml_write_cache):
14722           Rewrite registry-saving to avoid race conditions and check for
14723           failed writes.
14724
14725 2006-03-08  Wim Taymans  <wim@fluendo.com>
14726
14727         * libs/gst/base/gstbasetransform.c:
14728         (gst_base_transform_transform_caps),
14729         (gst_base_transform_transform_size),
14730         (gst_base_transform_prepare_output_buffer),
14731         (gst_base_transform_get_unit_size),
14732         (gst_base_transform_buffer_alloc),
14733         (gst_base_transform_handle_buffer),
14734         (gst_base_transform_change_state):
14735         Cleanups, separate normal flow from errors, add sensible
14736         DEBUG lines.
14737         Don't try to renegotiate when allocating an output buffer.
14738         Also copy DISCONT buffer flag when copying a buffer.
14739         Reset the transform after we finish streaming, not during.
14740
14741 2006-03-08  Wim Taymans  <wim@fluendo.com>
14742
14743         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14744         Use last buffer timestamp in qos message.
14745
14746 2006-03-07  Wim Taymans  <wim@fluendo.com>
14747
14748         Patch by: Christophe Fergeau
14749
14750         * docs/pwg/advanced-tagging.xml:
14751         * docs/pwg/building-pads.xml:
14752           fixes #333416
14753
14754 2006-03-07  Wim Taymans  <wim@fluendo.com>
14755
14756         * docs/libs/gstreamer-libs-sections.txt:
14757         Added basesink new methods.
14758
14759         * gst/gstevent.c:
14760         * gst/gstevent.h:
14761         Docs updates. Flesh out the QoS docs.
14762
14763         * libs/gst/base/gstadapter.c:
14764         Small doc clarification about ownership and flushing.
14765
14766         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
14767         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
14768         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
14769         (gst_base_sink_get_property), (gst_base_sink_do_sync):
14770         * libs/gst/base/gstbasesink.h:
14771         API additions: 
14772         Added new methods to allow subclass to control max-lateness 
14773         and sync.
14774         Generate very basic QoS events based on last sync observation.
14775         Updated docs, fix typo, added some QoS blurb.
14776
14777         * libs/gst/base/gstbasesrc.c:
14778         Remove obsolete _get_state() calls from docs.
14779
14780 2006-03-07  Wim Taymans  <wim@fluendo.com>
14781
14782         * docs/libs/gstreamer-libs-sections.txt:
14783         * libs/gst/base/gstbasetransform.h:
14784         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
14785         Fix docs for GstBaseSrc.
14786
14787 2006-03-07  Wim Taymans  <wim@fluendo.com>
14788
14789         * docs/gst/gstreamer-sections.txt:
14790         * gst/gstbuffer.h:
14791         * gst/gstvalue.c:
14792         * libs/gst/base/gstbasetransform.h:
14793         Small documentation fixes.
14794
14795 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
14796
14797         * gst/gstvalue.c:
14798           Document thread-unsafety of gst_value_register_foo_func()
14799           when used at the same time as gst_value_foo() (#322628).
14800
14801 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
14802
14803         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
14804         (gst_push_src_check_get_range):
14805           Push sources don't support pull mode by default.
14806
14807 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
14808
14809         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14810         (gst_base_src_init), (gst_base_src_pad_check_get_range),
14811         (gst_base_src_default_check_get_range):
14812         * libs/gst/base/gstbasesrc.h:
14813           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
14814           provide default implementation, and rename
14815           gst_base_src_check_get_range() to
14816           gst_base_src_pad_check_get_range() for clarity.
14817
14818 2006-03-06  Wim Taymans  <wim@fluendo.com>
14819
14820         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14821         Make property overridable.
14822
14823 2006-03-06  Wim Taymans  <wim@fluendo.com>
14824
14825         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14826         (gst_base_sink_init), (gst_base_sink_set_property),
14827         (gst_base_sink_get_property), (gst_base_sink_do_sync):
14828         * libs/gst/base/gstbasesink.h:
14829         API addition: Make max-lateness a property.
14830
14831 2006-03-06  Wim Taymans  <wim@fluendo.com>
14832
14833         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
14834         (gst_base_sink_do_sync), (gst_base_sink_render_object):
14835         Don't ever draw a frame that is >10ms late.
14836
14837 2006-03-06  Michael Smith  <msmith@fluendo.com>
14838
14839         * gst/gstmessage.c: (_gst_message_copy):
14840           When copying a message, set the parent_refcount of the enclosed
14841           structure to point at the copy, not the original message.
14842
14843 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
14844
14845         Patch by: Christophe Fergeau
14846
14847         * gst/gstutils.h:
14848           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
14849           usable in c++ code (#333417)
14850
14851 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14852
14853         * gst/gstclock.h:
14854           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
14855
14856 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
14857
14858         * libs/gst/base/gstbasetransform.c:
14859         (gst_base_transform_transform_caps):
14860           Make sure caps are writable before passing them to
14861           gst_caps_append().
14862
14863 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
14864
14865         * gst/gsterror.h:
14866           Fix some minor docs errors.
14867
14868 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
14869
14870           Patch by: Ross Burton <ross at burtonini dot com>
14871
14872         * gst/gsterror.c: (_gst_resource_errors_init):
14873         * gst/gsterror.h:
14874           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
14875
14876 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
14877
14878         * gst/gst.c:
14879         Add a check and output a g_warning when GStreamer is built
14880         against GLib 2.6 but running against 2.8 or higher, and vice 
14881         versa. (Closes: #323542)
14882
14883 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
14884
14885         * gst/parse/parse.l:
14886           Commit patch for parse_launch syntax from #331255. Removes 
14887           support for quoted strings and mimetypes when writing filtered 
14888           caps. See the bug report for more details - I'm pretty sure this
14889           obscure feature is not in use by _anyone_ anywhere.
14890
14891           With this simple change, the size of the gstreamer.so here 
14892           drops from 2193KB to 1565KB.
14893
14894 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14895
14896         * plugins/elements/gsttypefindelement.h:
14897         * plugins/elements/gsttypefindelement.c:
14898         (gst_type_find_element_src_event), (start_typefinding),
14899         (stop_typefinding), (gst_type_find_element_handle_event),
14900         (gst_type_find_element_chain),
14901         (gst_type_find_element_chain_do_typefinding):
14902           Use gst_type_find_helper_for_buffer() for chain-based
14903           typefinding.
14904
14905 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14906
14907         * plugins/elements/gsttypefindelement.c:
14908         (gst_type_find_element_class_init),
14909         (gst_type_find_element_set_property),
14910         (gst_type_find_element_get_property):
14911           Deprecate "maximum" property (not only was it only taken into
14912           account for typefinding in push-mode anyway, it also was never
14913           actually possible to set it in the first place because the
14914           property was registered with the numeric property ID for the
14915           "minimum" property). Register "maximum" property correctly,
14916           for the sake of future copy'n'pasters. Remove some cruft
14917           from property get/set functions.
14918
14919 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14920
14921         * plugins/elements/gsttypefindelement.c:
14922         (gst_type_find_element_activate):
14923           Use gst_type_find_helper_get_range() here, so we
14924           can honour the "minimum" property and also emit
14925           the signal with the correct probability of the found caps.
14926
14927 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
14928
14929         * docs/libs/gstreamer-libs-sections.txt:
14930         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
14931         (helper_find_suggest), (gst_type_find_helper_get_range),
14932         (gst_type_find_helper):
14933         * libs/gst/base/gsttypefindhelper.h:
14934           New API: gst_type_find_helper_get_range() (#333042).
14935
14936 2006-03-02  Michael Smith  <msmith@fluendo.com>
14937
14938         * gst/gstregistryxml.c: (load_feature):
14939           Asserting on a failure to read part of the registry is Not Cool.
14940           Just log a warning and return NULL (which is already handled)
14941
14942 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
14943
14944         * win32/common/libgstbase.def:
14945           added export of gst_type_find_helper_for_buffer
14946         * win32/common/libgstbase.def:
14947           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
14948           gst_ghost_pad_get_target
14949
14950 2006-02-28  Wim Taymans  <wim@fluendo.com>
14951
14952         * docs/design/draft-klass.txt:
14953         We use Filter now.
14954         Added Connector to mark elements that are only used to
14955         allow pipeline connections.
14956         Moved Debug to extra feature since most of them are 
14957         functionally something else.
14958
14959 2006-02-28  Wim Taymans  <wim@fluendo.com>
14960
14961         * docs/design/draft-klass.txt:
14962         Some updates and clarifications.
14963
14964 2006-02-28  Wim Taymans  <wim@fluendo.com>
14965
14966         * docs/design/draft-klass.txt:
14967         Proposal for klass field values.
14968
14969         * docs/design/part-streams.txt:
14970         Start of a doc describing stream anatomy.
14971
14972 2006-02-28  Wim Taymans  <wim@fluendo.com>
14973
14974         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
14975         Help the compiler a bit with type registration.
14976         Use existing forward cod path instead of duplicating it when 
14977         handling a message.
14978         
14979         * gst/gstbus.c: (gst_bus_get_type):
14980         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
14981         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
14982         * gst/gstclock.c: (gst_clock_get_type):
14983         * gst/gstelement.c: (gst_element_get_type),
14984         * gst/gstelementfactory.c: (gst_element_factory_get_type):
14985         * gst/gstindexfactory.c: (gst_index_factory_get_type):
14986         * gst/gstminiobject.c: (gst_mini_object_get_type):
14987         * gst/gstpad.c: (gst_pad_get_type):
14988         * gst/gstsegment.c: (gst_segment_get_type):
14989         * gst/gststructure.c: (gst_structure_get_type):
14990         * gst/gstsystemclock.c: (gst_system_clock_get_type):
14991         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
14992         * gst/gstvalue.c:
14993         Help compiler with type registration.
14994
14995         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
14996         Small doc update.
14997
14998 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14999
15000         * plugins/elements/gsttypefindelement.c:
15001         (gst_type_find_element_handle_event):
15002           When we get an EOS event and have not found a type yet
15003           (most likely because we had not yet accumulated
15004           TYPE_FIND_MIN_SIZE of data yet), try to determine the
15005           type given the data we have so far. Fixes typefinding
15006           for very short streams again, most notably quicktime
15007           redirections as used on Apple's trailer site (#331701).
15008
15009 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15010
15011         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
15012         (gst_type_find_helper):
15013           Try typefinding factories with the highest rank first.
15014
15015 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15016
15017         * docs/libs/gstreamer-libs-docs.sgml:
15018         * docs/libs/gstreamer-libs-sections.txt:
15019         * libs/gst/base/gsttypefindhelper.c:
15020           Add section for typefind helper and add documentation
15021           for the old and the new function.
15022
15023 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15024
15025         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
15026         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
15027         (gst_type_find_helper_for_buffer):
15028         * libs/gst/base/gsttypefindhelper.h:
15029           New API: gst_type_find_helper_for_buffer() (#332723).
15030           
15031 2006-02-27  Michael Smith  <msmith@fluendo.com>
15032
15033         Patch by: Loïc Minier
15034
15035         * configure.ac:
15036         * docs/Makefile.am:
15037         * docs/slides/Makefile.am:
15038           prevent CVS directories getting disted.
15039
15040 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15041
15042         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
15043           Use the REFCOUNTING category for caps refcounting.
15044           
15045 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
15046
15047         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
15048           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
15049
15050 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
15051
15052         * plugins/elements/gsttypefindelement.c:
15053         (gst_type_find_element_activate):
15054           Use gst_pad_check_pull_range() before _activate_pull()
15055           to avoid unnecessary open/close (see #331690).
15056
15057 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
15058
15059         * gst/gstutils.c:
15060           Docs enhancement: make it crystal clear what the
15061           gst_pad_add_*_probe() callbacks should look like.
15062
15063 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
15064
15065         * libs/gst/base/gstbasesrc.c:
15066           Document how applications can stop recording from
15067           live sources (see #330996).
15068
15069 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15070
15071         * tests/check/Makefile.am:
15072         * tests/check/libs/basesrc.c: (eos_event_counter),
15073         (basesrc_eos_events_pull), (basesrc_eos_events_push),
15074         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
15075         (gst_basesrc_suite), (main):
15076           ... and add some tests for the base source EOS stuff.
15077
15078 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15079
15080         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
15081           Test case originally showed the problem fixed below,
15082           but was then amended. Add checks back at the place
15083           where they used to be.
15084
15085 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15086
15087         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15088         (gst_base_src_init), (gst_base_src_loop),
15089         (gst_base_src_activate_push), (gst_base_src_activate_pull),
15090         (gst_base_src_change_state):
15091         * libs/gst/base/gstbasesrc.h:
15092           Don't unconditionally send EOS when going from PAUSED to
15093           READY state, esp. make sure we don't send two EOS events
15094           in some cases (e.g. one when reaching EOS and one when
15095           going from PAUSED to READY). Also, we don't want to send
15096           EOS events when operating in pull mode. However, we do
15097           want to send an EOS event when shutting down a live
15098           source explicitly, for example (fixes #330996).
15099           
15100 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15101
15102         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
15103           Update src->read_position after a seek when not using mmap.
15104           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
15105
15106 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
15107
15108         * gst/Makefile.am:
15109         * gst/gstparse.h:
15110         * gst/gstutils.c:
15111         * gst/gstutils.h:
15112         Make things work with --disable-parse as they do with 
15113         --disable-load-save - the symbols involved disappear, but the
15114         header is still installed and GST_DISABLE_PARSE is included via
15115         gstconfig.h
15116
15117 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15118
15119         * libs/gst/base/gstbasetransform.c:
15120         (gst_base_transform_change_state): Fix a stupid bug. I was 
15121         sure I compiled that.
15122
15123 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15124
15125         * gst/gstpad.c: (gst_pad_set_blocked_async):
15126         * gst/gstutils.c: (gst_pad_add_data_probe),
15127         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15128         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15129         (gst_pad_remove_buffer_probe): Make those function act on the
15130         ghostpad target when it's a ghostpad. (Closes #331727)
15131
15132 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15133
15134         * libs/gst/base/gstbasetransform.c:
15135         (gst_base_transform_change_state): Make basetransform reusable.
15136         (Closes #331898)
15137
15138 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
15139
15140         * docs/random/release:
15141         Move the current documentation of how to do a release to the top
15142         of the file.
15143
15144         * gst/gstbin.c: (gst_bin_class_init),
15145         (gst_bin_handle_message_func):
15146         Allow multiple state-recalculation threads. (Closes #328873)
15147
15148 2006-02-19  Julien MOUTTE  <julien@moutte.net>
15149
15150         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
15151         * gst/gstpad.c: (gst_pad_set_event_function),
15152         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15153         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
15154         2 strings. You can't use the STR_NULL macro on that.
15155
15156 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
15157
15158         * gst/gstpad.c: (gst_pad_set_event_function),
15159         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15160         (gst_pad_set_getcaps_function)
15161         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
15162           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
15163           So now, we can use --gst-debug-level=5 on Windows
15164         * win32/common/libgstcontroller.def:
15165           Added export of gst_controller_init
15166         * win32/vs6/libgstcontroller.dsp:
15167           Fixed Release post build configuration
15168
15169 2006-02-17  Wim Taymans  <wim@fluendo.com>
15170
15171         * tests/check/gst/gstquery.c: (GST_START_TEST):
15172         Added another check.
15173
15174 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
15175
15176         * plugins/elements/gsttypefindelement.c: (find_peek):
15177           We can do peeks at non-zero offsets, as long as they
15178           fall within the buffer we have.
15179
15180 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
15181
15182         * tests/check/Makefile.am:
15183         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
15184         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
15185         (parse_suite), (main):
15186           Add testsuite for parse launch syntax
15187
15188 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
15189
15190         * plugins/elements/gsttypefindelement.c:
15191         (gst_type_find_element_chain):
15192           When typefinding is unsuccessful in the chain function, don't
15193           error out immediately. Only error out with NO_CAPS_FOUND if
15194           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
15195           otherwise simply wait for more data so we can try typefinding
15196           again with more data later. Also, don't attempt to typefind
15197           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
15198           this should improve typefinding from network sources where the
15199           size of the first buffer can be somewhat random.
15200
15201 2006-02-14  Wim Taymans  <wim@fluendo.com>
15202
15203         * docs/gst/gstreamer-sections.txt:
15204         * gst/gstpadtemplate.c:
15205         * gst/gstpadtemplate.h:
15206         Fix padtemplate docs, fixes #328805.
15207
15208 2006-02-14  Wim Taymans  <wim@fluendo.com>
15209
15210         * tools/gst-launch.c: (main):
15211         NO_PREROLL is not an ERROR so don't send confusing messages
15212         to the user.
15213
15214 2006-02-14  Wim Taymans  <wim@fluendo.com>
15215
15216         Patch by: Torsten Schoenfeld
15217
15218         * gst/gstregistry.c: (gst_registry_get_default),
15219         (_gst_registry_cleanup):
15220         Protect default registry with lock and ref/sink it.
15221         Fixes #324818
15222
15223 2006-02-14  Wim Taymans  <wim@fluendo.com>
15224
15225         * gst/gstbuffer.c:
15226         * gst/gstquery.c: (gst_query_list_add_format),
15227         (gst_query_set_formatsv), (gst_query_parse_formats_length),
15228         (gst_query_parse_formats_nth):
15229         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15230         Docs fixes.
15231
15232 2006-02-14  Wim Taymans  <wim@fluendo.com>
15233
15234         * docs/gst/gstreamer-sections.txt:
15235         Reworked query docs.
15236
15237         * gst/gstquery.c: (gst_query_new_formats),
15238         (gst_query_list_add_format), (gst_query_set_formats),
15239         (gst_query_set_formatsv), (gst_query_parse_formats_length),
15240         (gst_query_parse_formats_nth):
15241         * gst/gstquery.h:
15242         Flesh out formats query, added some new methods.
15243         Fix part of #324398.
15244
15245         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
15246         Added query creation tests.
15247
15248 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
15249
15250         * gst/gstpad.c: (fixate_value):
15251         Add a default fixation for fraction lists.
15252
15253 2006-02-13  Wim Taymans  <wim@fluendo.com>
15254
15255         * gst/gsttask.c: (gst_task_init), (gst_task_func),
15256         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
15257         (gst_task_join):
15258         * gst/gsttask.h:
15259         Detect and warn for obvious deadlocks. fixes #320340
15260         Fix error case where lock was not released.
15261
15262         * tests/check/Makefile.am:
15263         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
15264         (task_func), (gst_element_suite), (main):
15265         Add task check.
15266
15267 2006-02-13  Wim Taymans  <wim@fluendo.com>
15268
15269         * docs/gst/gstreamer-sections.txt:
15270         * gst/gstbus.c:
15271         Add new functions to docs.
15272
15273 2006-02-13  Wim Taymans  <wim@fluendo.com>
15274
15275         * docs/design/part-TODO.txt:
15276         Updated TODO list, basesrc supports seeking to non-bytes
15277         formats.
15278
15279         * docs/design/part-element-sink.txt:
15280         Update docs.
15281
15282         * gst/gstbin.c: (bin_replace_message),
15283         (gst_bin_handle_message_func):
15284         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
15285         * gst/gstevent.c: (gst_event_finalize):
15286         * gst/gstpad.c: (gst_pad_event_default_dispatch),
15287         (gst_pad_send_event):
15288         Use shiny new _TYPE_NAME macros.
15289
15290         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15291         Move debug statement up.
15292
15293         * gst/gstelement.c: (gst_element_set_locked_state):
15294         Add some debugging.
15295
15296 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
15297
15298         * docs/gst/gstreamer-sections.txt:
15299         * gst/gstmessage.h:
15300         * gst/gstquery.h:
15301           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
15302           macros (#330906). Also, document the already existing
15303           GST_QUERY_TYPE macro.
15304
15305 2006-02-13  Wim Taymans  <wim@fluendo.com>
15306
15307         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
15308         (event_probe), (GST_START_TEST):
15309         Only events up to the pipeline EOS are counted, there are
15310         some more when going to NULL currently which we don't care
15311         about for now.
15312
15313 2006-02-13  Wim Taymans  <wim@fluendo.com>
15314
15315         * gst/gstpad.c: (gst_pad_send_event):
15316         Correctly check flushing and emit probes. fixes #330125
15317
15318 2006-02-10  Andy Wingo  <wingo@pobox.com>
15319
15320         * gst/gstbus.c (gst_bus_class_init): Declare our private data
15321         structure.
15322         (gst_bus_init): Cache the location of the private data in the
15323         instance structure.
15324         (gst_bus_enable_sync_message_emission) 
15325         (gst_bus_disable_sync_message_emission): Implement new public
15326         functions.
15327         (gst_bus_post): Emit the sync-message signal if the user asked for
15328         it. Fixes #330684.
15329
15330         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15331         location of the bus-private structure.
15332         (gst_bus_enable_sync_message_emission)
15333         (gst_bus_disable_sync_message_emission): API addition
15334
15335 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
15336
15337         Patch by: Vincent Torri
15338
15339         * docs/pwg/building-boiler.xml:
15340         PWG patch from #326800
15341
15342 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
15343
15344         * configure.ac:
15345         * docs/Makefile.am:
15346         * docs/design/Makefile.am:
15347           Dist design docs.
15348
15349 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15350
15351         * configure.ac:
15352           back to CVS
15353
15354 === release 0.10.3 ===
15355
15356 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
15357
15358         * configure.ac:
15359           releasing 0.10.3, "Like a virgin"
15360
15361 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15362
15363         * configure.ac:
15364           2nd prerelease of 0.10.3
15365           Bump libtool versioning.
15366
15367 2006-02-07  Andy Wingo  <wingo@pobox.com>
15368
15369         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15370         update last_stop if we're in TIME format and the timestamp is
15371         valid.
15372
15373         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
15374         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
15375         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15376         If we get a new newsegment with a different format, adapt
15377         accordingly.
15378
15379         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15380         of 0. Not a problem, really.
15381
15382         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15383         warn if sync=true.
15384
15385 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
15386
15387         * configure.ac:
15388           Prelease of 0.10.3
15389
15390 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
15391
15392         * win32/vs7:
15393           project files updated to the default vs7 configuration
15394         * win32/common/libgstbase.def:
15395         * win32/common/libgstreamer.def:
15396           added new symbols,
15397           removed empty lines,
15398           sorted all exported symbols alphabetically
15399         * win32/common/dirent.c:
15400         * win32/common/dirent.h:
15401         * win32/common/gchar.h:
15402           use windows line end.
15403           
15404 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15405
15406         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15407           Send EOS event when stopping.
15408
15409 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15410
15411         * docs/README:
15412           Tell folks what to do if the plugin-foobar.xml file
15413           hasn't been generated for a newly-added plugin.
15414
15415 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15416
15417         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15418         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15419         (gst_collect_pads_start), (gst_collect_pads_stop),
15420         (gst_collect_pads_event): Collectpads now holds a reference
15421         to the GstPad that was added. Indeed we don't want to look
15422         at pads that might just go away with no warning...
15423
15424 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15425
15426         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15427         (gst_collect_pads_start), (gst_collect_pads_stop),
15428         (gst_collect_pads_event), (gst_collect_pads_chain):
15429         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15430         Mark Nauwelaerts's patch on bug #328491.
15431
15432 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15433
15434         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15435         (gst_utils_suite):
15436           Add some simple tests for gst_parse_bin_from_description() and
15437           gst_bin_find_unconnected_pad() (#329069).
15438
15439 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15440
15441         * tools/gst-launch.c: (event_loop), (main):
15442           Catch errors during preroll (#320084).
15443
15444 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
15445
15446         * plugins/elements/gsttypefindelement.c:
15447         (gst_type_find_element_activate):
15448           Post TYPE_NOT_FOUND error message when typefinding
15449           is unsuccessful in the activate function as well.
15450
15451 2006-02-02  Wim Taymans  <wim@fluendo.com>
15452
15453         * docs/design/part-element-sink.txt:
15454         Updated doc.
15455
15456 2006-02-02  Wim Taymans  <wim@fluendo.com>
15457
15458         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15459         (gst_base_sink_render_object),
15460         (gst_base_sink_queue_object_unlocked):
15461         Only keep track of prerollable items when we are 
15462         prerolling.
15463         Before rendering after preroll, always check if we
15464         have queued items.
15465         Added some more debugging.
15466
15467 2006-02-02  Wim Taymans  <wim@fluendo.com>
15468
15469         * gst/gstelement.c: (gst_element_continue_state),
15470         (gst_element_set_state_func), (gst_element_change_state):
15471         Fixed #326576, been running this for quite some time with
15472         no regressions at all.
15473
15474 2006-02-02  Wim Taymans  <wim@fluendo.com>
15475
15476         * common/gst.supp:
15477         Added more suppressions
15478
15479 2006-02-02  Wim Taymans  <wim@fluendo.com>
15480
15481         * docs/design/part-element-sink.txt:
15482         Updated document.
15483
15484         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15485         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15486         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15487         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15488         (gst_base_sink_do_sync), (gst_base_sink_render_object),
15489         (gst_base_sink_preroll_object),
15490         (gst_base_sink_queue_object_unlocked),
15491         (gst_base_sink_queue_object), (gst_base_sink_event),
15492         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15493         (gst_base_sink_loop), (gst_base_sink_activate_pull),
15494         (gst_base_sink_get_position), (gst_base_sink_change_state):
15495         * libs/gst/base/gstbasesink.h:
15496         Totally refactored matching the design doc.
15497         Use two segments, one to clip incomming buffers and another to
15498         perform sync.
15499         Handle queueing correctly, bypass the queue when playing.
15500         Make EOS cancelable.
15501         Handle errors correctly when operating in pull based mode.
15502
15503         * tests/check/elements/fakesink.c: (GST_START_TEST),
15504         (fakesink_suite):
15505         Added new check for sinks.
15506
15507 2006-02-02  Wim Taymans  <wim@fluendo.com>
15508
15509         * gst/gstsegment.c: (gst_segment_clip):
15510         No reason to refuse to clip when start == -1
15511
15512 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
15513
15514         * docs/README:
15515         * docs/manual/intro-basics.xml:
15516         * docs/manual/intro-preface.xml:
15517         * docs/manual/manual.xml:
15518         * docs/pwg/advanced-dparams.xml:
15519         * docs/pwg/intro-basics.xml:
15520         * docs/pwg/intro-preface.xml:
15521         * docs/pwg/pwg.xml:
15522           describe dparams (controller) for plugins
15523           unify docs a little more
15524
15525 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
15526
15527         * docs/gst/gstreamer-sections.txt:
15528         * gst/gstutils.c: (element_find_unconnected_pad),
15529         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15530         * gst/gstutils.h:
15531           Add new API: gst_parse_bin_from_description() and
15532           gst_bin_find_unconnected_pad() (#329069).
15533
15534 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
15535
15536         * docs/manual/README:
15537           uncover a nasty detail of the docs build
15538
15539 2006-01-31  Wim Taymans  <wim@fluendo.com>
15540
15541         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15542         Don't cache duration messages if we're not going to use or
15543         free them.
15544
15545 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
15546
15547         * docs/manual/advanced-dparams.xml:
15548         * docs/pwg/advanced-dparams.xml:
15549           more dparam docs
15550         * gst/gstindex.c:
15551           fix docs
15552         * libs/gst/controller/lib.c: (gst_controller_init):
15553           init just once
15554
15555 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
15556
15557         * gst/gstelement.c: (gst_element_message_full):
15558           also show file/line/func if no additional debug was given
15559
15560 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
15561         
15562         * win32/vs7/grammar.vcproj:
15563           activate copy of autogenerated files for Release mode
15564
15565 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
15566         
15567         * win32/common/libgstreamer.def:
15568           export gst_value_compare
15569
15570 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
15571
15572         * plugins/elements/Makefile.am:
15573         * plugins/elements/gstelements.c:
15574         * plugins/elements/gstfdsink.c: (_do_init),
15575         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
15576         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
15577         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
15578         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
15579         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
15580         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
15581         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
15582         * plugins/elements/gstfdsink.h:
15583         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
15584
15585 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
15586
15587         * docs/manual/advanced-dparams.xml:
15588           describe controller
15589         * docs/manual/advanced-position.xml:
15590         * docs/manual/basics-init.xml:
15591         * docs/manual/manual.xml:
15592         * docs/manual/titlepage.xml:
15593         * docs/pwg/pwg.xml:
15594         * docs/pwg/titlepage.xml:
15595           cleanup xml (more to come)
15596         * libs/gst/controller/gstcontroller.c:
15597           fix typo
15598
15599 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
15600         
15601         * win32/vs6/grammar.dsp:
15602           add autogen of gstmarshal.c,h for Release mode
15603                 
15604 2006-01-30  Wim Taymans  <wim@fluendo.com>
15605
15606         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15607         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
15608         (gst_base_sink_handle_object), (gst_base_sink_event),
15609         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
15610         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15611         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
15612         (gst_base_sink_deactivate), (gst_base_sink_activate),
15613         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15614         (gst_base_sink_query), (gst_base_sink_change_state):
15615         Basesink cleanups, remove some old code.
15616         Handle the case where a subclass can preroll in the render
15617         method (mostly audiosinks).
15618         Handle more events.
15619         Remove some locks around variables that are now protected
15620         with the PREROLL_LOCK (clock_id, flushing, ..).
15621         Optimize position query some more, do correct locking.
15622         Remove old code to push queue in state change, this is not
15623         needed anymore since preroll blocks on all prerollable items 
15624         now.
15625         Almost implemented as described in design doc.
15626
15627 2006-01-30  Wim Taymans  <wim@fluendo.com>
15628
15629         * tests/check/gst/gstbin.c: (GST_START_TEST):
15630         Wait for refcount to settle down before checking.
15631
15632 2006-01-30  Wim Taymans  <wim@fluendo.com>
15633
15634         * docs/design/part-element-sink.txt:
15635         Pseudo code overview of desired sink behaviour regarding
15636         preroll.
15637
15638 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15639         * win32/vs6/grammar.dsp:
15640           fix some bugs in Release mode for autogenerated files
15641                 
15642 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15643         * win32/common/libgstbase.def:
15644         * win32/common/libgstreamer.def:
15645           export some new symbols: gst_base_src_set_format,
15646           gst_iterator_next, gst_structure_set_valist
15647
15648 2006-01-29  Julien MOUTTE  <julien@moutte.net>
15649
15650         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
15651         Set pad functions unconditionally. Fixes #329105.
15652
15653 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15654         * win32/vs8:
15655           add vs8 project files created by Sergey Scobich
15656
15657 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
15658
15659         * gst/gstutils.c: (gst_element_unlink_pads):
15660         Don't leak pad references.
15661
15662         * tests/check/elements/fakesink.c: (GST_START_TEST):
15663         * tests/check/generic/sinks.c: (GST_START_TEST):
15664         * tests/check/generic/states.c: (GST_START_TEST):
15665         * tests/check/gst/gstbin.c: (GST_START_TEST):
15666         * tests/check/gst/gstcaps.c: (GST_START_TEST):
15667         * tests/check/gst/gstelement.c: (GST_START_TEST):
15668         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15669         * tests/check/gst/gstiterator.c: (GST_START_TEST):
15670         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15671         Fix a bunch of leaks. Make generic/sinks.c
15672         use a bit less cpu by slowing the buffer rate
15673         between fakesrc and fakesink.
15674         
15675 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
15676         * gst/gstcaps.c:
15677         * gst/gstelement.c: (gst_element_send_event):
15678         * gst/gstevent.c:
15679         * gst/gstinfo.c:
15680         * gst/gstiterator.c:
15681         * gst/gstiterator.h:
15682         * gst/gstpad.c: (gst_pad_send_event):
15683         * gst/gststructure.c:
15684         * gst/gsturi.c:
15685         * gst/gstutils.c:
15686         * gst/gstvalue.c:
15687         * libs/gst/base/gstadapter.c:
15688           doc fixes, to link to function, just write gst_cool_function(), don't
15689           prefix with '#'
15690
15691 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15692
15693         * plugins/elements/gsttee.c: (gst_tee_do_push),
15694         (gst_tee_handle_buffer):
15695         Always prefer an actual return value from a src
15696         pad in place of NOT_LINKED. This means we return
15697         WRONG_STATE when all src pads are WRONG_STATE
15698         instead of NOT_LINKED.
15699
15700         Lock when replacing the last message to prevent
15701         racing with the get_property method.
15702
15703         Add debug output
15704
15705 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15706
15707         * tests/check/Makefile.am:
15708         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
15709         (main):
15710         Add a very simple check that should have caught the memleak I fixed
15711         last night (if not for the slice allocator hiding it)
15712
15713 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15714
15715         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15716         (gst_bin_remove_func), (gst_bin_handle_message_func),
15717         (bin_query_duration_fold), (bin_query_generic_fold):
15718         Clean up references to the clock provider when disposed or when
15719         handling a clock-lost message from it.
15720
15721         Unref sinks when performing a query via gst_iterator_fold, as the
15722         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
15723
15724         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
15725         (gst_clock_set_master):
15726         Drop our reference to the master clock, if any, when we are disposed.
15727
15728         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
15729         Chain up in dispose. 
15730
15731 2006-01-26  Wim Taymans  <wim@fluendo.com>
15732
15733         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15734         Add some debugging.
15735
15736 2006-01-26  Julien MOUTTE  <julien@moutte.net>
15737
15738         * plugins/elements/gsttee.c: (gst_tee_do_push),
15739         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
15740         handles pad being NOT_LINKED or in WRONG_STATE.
15741
15742 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15743
15744         * win32/MANIFEST:
15745           more updating
15746
15747 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15748
15749         * win32/MANIFEST:
15750           remove obsolete entry
15751
15752 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15753
15754         * docs/gst/gstreamer-sections.txt:
15755         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
15756         (gst_bin_iterate_sources), (gst_bin_send_event):
15757         * gst/gstbin.h:
15758         * gst/gstelement.c: (gst_element_send_event):
15759         * gst/gstevent.c:
15760         * gst/gstpad.c: (gst_pad_send_event):
15761           added code for downstream events, reviewed docs in gstevent.c
15762
15763 2006-01-25  Julien MOUTTE  <julien@moutte.net>
15764
15765         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15766         We only query position using the clock in the playing state.
15767         Query peer in the other cases.
15768         * win32/common/config.h: Updates.
15769
15770 2006-01-24  Wim Taymans  <wim@fluendo.com>
15771
15772         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15773         A clock entry that is scheduled for the exact time of the
15774         clock is still in time.
15775
15776         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15777         (gst_base_sink_do_sync):
15778         Add some more debug info.
15779
15780 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
15781
15782         * win32/vs7:
15783           Add new vs7 project files and solution.
15784
15785 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
15786
15787         * win32/vs7:
15788           all files removed as they were out-dated.
15789
15790 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15791
15792         * docs/random/release:
15793           update notes
15794         * gst/gstbin.c: (gst_bin_init):
15795         * gst/gstbus.c: (gst_bus_new):
15796         * gst/gstbus.h:
15797         * gst/gstpipeline.c: (gst_pipeline_init):
15798           use gst_bus_new(), improve logging, fix docs
15799         * win32/common/config.h:
15800           update for cvs build
15801
15802 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15803
15804         * autogen.sh:
15805           up required version of automake to 1.7
15806
15807 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
15808
15809         * win32/common/libgstreamer.def:
15810           export gst_buffer_is_metadata_writable
15811
15812 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
15813
15814         * docs/gst/gstreamer-sections.txt:
15815         * gst/gstevent.h:
15816           Add gst_event_replace() (#327001)
15817
15818 2006-01-20  Wim Taymans  <wim@fluendo.com>
15819
15820         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15821         Make it actually compile too..
15822
15823 2006-01-20  Wim Taymans  <wim@fluendo.com>
15824
15825         * gst/gstcaps.c:
15826         Clarify behaviour of _is_equal() when passing NULL parameters.
15827
15828         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15829         (gst_pad_set_caps):
15830         Cleanups. Don't unref NULL caps.
15831         When setting the same caps, protect caps of the pad with
15832         proper lock.
15833         Use full functionality of _is_equal() when comparing caps.
15834
15835 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
15836
15837         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15838         Don't loop infinitely if there are no buffers to present. Partially
15839         fixes #327197, but collectpads is just broken for reusing elements
15840         to do multiple encodes atm.
15841
15842 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
15843
15844         * tools/gst-inspect.c: (print_element_features):
15845         * tools/gst-xmlinspect.c: (main):
15846         URL_HANDLER is not a plugin feature we can search for in
15847         the registry.
15848
15849 2006-01-19  Edward Hervey  <edward@fluendo.com>
15850
15851         * gst/gstelement.c: (gst_element_pads_activate): 
15852         When activating, do src pads first, then sink pads.
15853         When de-activating, do sink pads first, then src pads.
15854
15855 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15856
15857         * docs/gst/gstreamer-sections.txt:
15858         Add gst_index_add_associationv to the docs
15859
15860 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15861
15862         * gst/gstevent.c:
15863           Fix docs typo
15864
15865         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
15866         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
15867           Do some refactoring. Doesn't actually change functionality,
15868           but makes landing the DRAIN event easier later.
15869
15870 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
15871
15872         * docs/pwg/advanced-scheduling.xml:
15873           Update from 0.9.x to 0.10 API and make example a bit
15874           clearer.
15875
15876 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15877
15878         * docs/gst/gstreamer-sections.txt:
15879         Add gst_buffer_(is|make)_metadata_writable methods.
15880
15881 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15882
15883         * docs/design/part-sparsestreams.txt:
15884         Update sparse streams doc, hopefully for greater clarity
15885
15886 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
15887
15888         * docs/design/part-events.txt:
15889         Remove mention of FILLER events.
15890         Add DRAIN event.
15891
15892         * docs/design/part-sparsestreams.txt:
15893         Write some things about using NEWSEGMENT to keep sparse streams
15894         flowing.
15895
15896 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
15897
15898         * gst/gstbin.c: (gst_bin_dispose):
15899           Guard gst_object_unref call against a NULL object (dispose
15900           can theoretically be called multiple times).
15901           
15902 2006-01-18  Wim Taymans  <wim@fluendo.com>
15903
15904         * gst/gstbin.c: (gst_bin_element_set_state):
15905         * gst/gstclock.c: (gst_clock_id_wait):
15906         Added some more debug info.
15907
15908         * libs/gst/base/gstadapter.c:
15909         Added more docs.
15910
15911         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15912         (gst_base_sink_do_sync), (gst_base_sink_chain):
15913         Added some comments.
15914
15915 2006-01-18  Wim Taymans  <wim@fluendo.com>
15916
15917         * tests/check/Makefile.am:
15918         * tests/check/elements/fakesink.c: (chain_async_buffer),
15919         (chain_async), (chain_async_return), (GST_START_TEST),
15920         (fakesink_suite), (main):
15921         Added fakesink test that checks prerolling and clipping
15922         behaviour.
15923
15924         * tests/check/gst/gstutils.c: (GST_START_TEST):
15925         Make check run faster so that buildbots don't timeout.
15926
15927 2006-01-18  Wim Taymans  <wim@fluendo.com>
15928
15929         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15930         (gst_base_sink_do_sync):
15931         Some cleanups.
15932         When the sink finishes blocking on the preroll buffer, it can
15933         immediatly render it instead of rendering when the next buffer
15934         arrives.
15935
15936 2006-01-18  Wim Taymans  <wim@fluendo.com>
15937
15938         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
15939         (gst_base_sink_get_property), (gst_base_sink_do_sync),
15940         (gst_base_sink_chain):
15941         Small cleanups.
15942         GST_ELEMENT_CLOCK and sync are protected with LOCK.
15943         Don't store _last_stop if the buffer is dropped.
15944
15945 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
15946
15947         * plugins/elements/gsttypefindelement.c:
15948         (gst_type_find_element_class_init):
15949           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
15950           object method handler that sets the caps on the pad and we want
15951           that to happen before we emit the signal (fixes e.g. feeding a
15952           plain text file to decodebin).
15953
15954 2006-01-18  Christian Schaller  <Christian@fluendo.com>
15955
15956         * gst/gstplugin.c: Add MPL and Proprietary as license options
15957
15958 2006-01-18  Andy Wingo  <wingo@pobox.com>
15959
15960         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
15961         symbol was exported before, it appears this was just an oversight.
15962         Fixes #168703.
15963         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
15964
15965         * gst/gstindex.c (gst_index_add_associationv): Changed int in
15966         prototype to gint. OK since this prototype was not in the header.
15967
15968 2006-01-17  Andy Wingo  <wingo@pobox.com>
15969
15970         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
15971         registry while we remove plugins.
15972
15973         * tools/gst-inspect.c (print_element_info): Don't unref the
15974         factory arg, that should be the responsibility of whatever code
15975         received the ref. Fixes a double-free when called from
15976         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
15977         (main): Unref the factory if we have one.
15978         (print_element_list): No change -- relies on the
15979         plugin_feature_list_free to free the list of features.
15980
15981 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
15982
15983         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15984         (gst_buffer_make_metadata_writable):
15985         * gst/gstbuffer.h:
15986         * libs/gst/base/gstbasetransform.c:
15987         (gst_base_transform_prepare_output_buf):
15988         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15989         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15990           Replace gst_buffer_(make|is)_metadata_writable patch now
15991           that the release is out.
15992
15993 2006-01-17  Andy Wingo  <wingo@pobox.com>
15994
15995         * gst/gstregistry.c: Reflow design comment. Update so as to speak
15996         in the present tense without reference to versions.
15997
15998         * gst/gstregistry.c (gst_registry_add_plugin)
15999         (gst_registry_remove_plugin, gst_registry_remove_feature)
16000         (gst_registry_find_feature, gst_registry_get_feature_list)
16001         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
16002         (gst_registry_lookup, gst_registry_scan_path)
16003         (_gst_registry_remove_cache_plugins)
16004         (gst_registry_get_feature_list_by_plugin): Add argument
16005         validation.
16006
16007 === release 0.10.2 ===
16008
16009 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
16010
16011         * configure.ac:
16012           releasing 0.10.2, "If man is five"
16013
16014 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16015
16016         * gst/gstbuffer.c:
16017         * gst/gstbuffer.h:
16018         * libs/gst/base/gstbasetransform.c:
16019         (gst_base_transform_prepare_output_buf):
16020         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16021         * tests/check/gst/gstbuffer.c: (gst_test_suite):
16022           Back out patch until after the release.
16023
16024 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16025
16026         * gst/gstminiobject.c:
16027           Spelling fix in docs.
16028         * ChangeLog - remove conflict indicator
16029
16030 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16031
16032         Reviewed By: Andy Wingo
16033
16034         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16035         (gst_buffer_make_metadata_writable):
16036         * gst/gstbuffer.h:
16037           Add gst_buffer_(is|make)_metadata_writable as analogues of
16038           gst_buffer_(is|make)_writable.
16039
16040         * libs/gst/base/gstbasetransform.c:
16041         (gst_base_transform_prepare_output_buf):
16042         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16043           Use name gst_buffer_(is|make)_metadata_writable functions.
16044
16045         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16046           Test gst_buffer_(is|make)_metadata_writable
16047         
16048           (Closes: #324162)
16049
16050 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
16051
16052         * docs/manual/Makefile.am:
16053           don't do parallel make
16054         * configure.ac:
16055           AC_SUBST HOST_CPU
16056         * win32/common/config.h.in:
16057           add generations for HOST_CPU and GST_MAJORMINOR
16058         * win32/common/config.h:
16059           commit generated result
16060
16061 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
16062
16063         * docs/manual/appendix-integration.xml:
16064           Update GNOME integration section to use gst_init_get_option_group()
16065           instead of the old popt stuff (#322911). Also, GNOME applications
16066           should  now use gconf*sink and gconf*src instead of the old gconf
16067           helper lib we had.
16068
16069 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
16070
16071
16072         * docs/gst/gstreamer-docs.sgml:
16073         * docs/gst/gstreamer-sections.txt:
16074         * docs/libs/gstreamer-libs-sections.txt:
16075           add new API entries to the docs
16076         * libs/gst/controller/Makefile.am:
16077         * libs/gst/controller/gstcontroller.c:
16078         * libs/gst/controller/gstcontroller.h:
16079         * libs/gst/controller/gstcontrollerprivate.h:
16080         * libs/gst/controller/gsthelper.c:
16081         * libs/gst/controller/gstinterpolation.c:
16082           move private structs to private header
16083         * po/README:
16084           gstreamer-0.7 -> gstreamer-0.10
16085         * tests/check/libs/struct_i386.h:
16086           remove private structs
16087
16088 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16089
16090         * plugins/indexers/Makefile.am:
16091           Fixes as part of #317048
16092
16093 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16094
16095         * plugins/indexers/Makefile.am:
16096           fix #316086 - compilation when mmap is missing
16097
16098 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
16099
16100         * libs/gst/base/gstbasesink.c:
16101           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
16102           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
16103         * win32/common/config.h:
16104           added some defines GST_MAJORMINOR and HOST_CPU
16105         * win32/common/libgstbase.def:
16106         * win32/common/libgstreamer.def:
16107           added some exported functions.
16108
16109 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
16110
16111         * libs/gst/controller/gstcontroller.c:
16112         (gst_controlled_property_set_interpolation_mode),
16113         (gst_controlled_property_new):
16114         * libs/gst/controller/gstcontroller.h:
16115         * libs/gst/controller/gstinterpolation.c:
16116         (interpolate_none_get_string_value_array):
16117           make G_TYPE_STRING controlable
16118
16119 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
16120
16121         * tools/README:
16122         * tools/gst-feedback.1.in:
16123         * tools/gst-inspect.1.in:
16124         * tools/gst-launch.1.in:
16125         * tools/gst-md5sum.1.in:
16126         * tools/gst-typefind.1.in:
16127         * tools/gst-xmlinspect.1.in:
16128         * tools/gst-xmllaunch.1.in:
16129           cleanup man-pages, remove reference to gst-register, document env-vars
16130
16131 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
16132
16133         * gst/gstbuffer.c: (gst_buffer_span):
16134           gst_buffer_span should copy the timestamp of the first buffer
16135           if they were both originally overlapping subbuffers of the 
16136           same parent, using the same logic as the 'slow copy' case.
16137
16138 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
16139
16140         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
16141           Need to awaken ALL the pads when we pop a buffer, otherwise
16142           collectpads only works when there is 2 input streams.
16143
16144 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
16145
16146         * docs/random/ensonic/media-device-daemon.txt:
16147           more ideas (dbus)
16148         * gst/gstbuffer.c:
16149           fix doc example, add clarification
16150         * tools/gst-launch.1.in:
16151           add initial info about GST_PLUGIN_PATH, needs more work
16152
16153 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
16154
16155         * docs/manual/basics-bins.xml:
16156         * docs/manual/basics-elements.xml:
16157         * docs/manual/intro-basics.xml:
16158           Some more minor docs additions and updates.
16159
16160 2006-01-11  Wim Taymans  <wim@fluendo.com>
16161
16162         * docs/manual/basics-bins.xml:
16163         * docs/manual/basics-elements.xml:
16164         Some small fixes as pointed out by Ser-ver on IRC.
16165
16166 2006-01-10  Edward Hervey  <edward@fluendo.com>
16167
16168         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
16169         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
16170         the single-segment mode.
16171
16172 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
16173
16174         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16175
16176         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
16177         (gst_base_src_perform_seek), (gst_base_src_send_event),
16178         (gst_base_src_set_property), (gst_base_src_get_property),
16179         (gst_base_src_loop), (gst_base_src_start),
16180         (gst_base_src_activate_push):
16181         * libs/gst/base/gstbasesrc.h:
16182           Name (private) union; makes Sun's Forte compiler happy (#324900).
16183
16184 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
16185
16186         * README:
16187           gst-register is gone.
16188
16189 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16190
16191         * gst/gstvalue.c: (_gst_value_initialize):
16192           make the G_TYPE_DATE instantiation work if debug is disabled
16193
16194 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
16195
16196         * gst/gstmessage.c: (gst_message_parse_tag),
16197         (gst_message_parse_error), (gst_message_parse_warning):
16198           Don't crash when return location for error/warning debug
16199           string is NULL; add fact that return locations can be
16200           NULL to docs where appropriate.
16201
16202 2006-01-05  Wim Taymans  <wim@fluendo.com>
16203
16204         * gst/gstplugin.c: (gst_plugin_load_file):
16205         Replace strdup by g_strdup.
16206
16207 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16208
16209         * docs/pwg/advanced-types.xml:
16210           fix doc borkage
16211
16212 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16213
16214         submitted by: Abel Cheung
16215
16216         * po/LINGUAS:
16217         * po/zh_TW.po:
16218           Added Chinese (traditional) translation
16219
16220 2006-01-04  Wim Taymans  <wim@fluendo.com>
16221
16222         * docs/manual/basics-pads.xml:
16223         * docs/plugins/Makefile.am:
16224         * docs/plugins/gstreamer-plugins-docs.sgml:
16225         * docs/plugins/gstreamer-plugins-sections.txt:
16226         * docs/pwg/advanced-clock.xml:
16227         * docs/pwg/advanced-scheduling.xml:
16228         * docs/pwg/advanced-types.xml:
16229         * plugins/elements/gstfdsink.c:
16230         * plugins/elements/gstfdsrc.c:
16231         * plugins/elements/gstfdsrc.h:
16232         * plugins/elements/gstidentity.c: (gst_identity_class_init):
16233         * plugins/elements/gstidentity.h:
16234         * plugins/elements/gstqueue.h:
16235         * plugins/elements/gsttee.c:
16236         * plugins/elements/gsttee.h:
16237         * plugins/elements/gsttypefindelement.c:
16238         (gst_type_find_element_class_init):
16239         * plugins/elements/gsttypefindelement.h:
16240         Small updates to various docs.
16241         Added core plugins to docs.
16242
16243 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16244
16245         * common/gst.supp:
16246           add a suppression for liboil's uninitialized variable
16247
16248 2006-01-02  James Livingston  <jrl at ids dot org dot au>
16249
16250         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16251
16252         * gst/gstutils.h:
16253           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
16254           macro, so that gcc doesn't complain if the -Wmissing-prototypes
16255           compiler switch is being used (#325429).
16256
16257 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
16258
16259         * gst/gstbin.c: (gst_bin_query):
16260           Disable duration query caching in bins until it gets
16261           fixed (see #324807).
16262
16263 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
16264
16265         * tools/gst-inspect.c: (print_element_properties_info):
16266           Handle properties of POINTER and BOXED type.
16267
16268 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
16269
16270         * gst/gst.c: (init_post):
16271           Init tags stuff and some other things before loading
16272           any static plugins (there may be other static plugins
16273           than just the GStreamer ones, and they may want to
16274           register their own tags or formats or whatever, and
16275           preferably without segfaulting).
16276
16277         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
16278           Print at least a warning in the debug logs if we drop a
16279           query just because we don't know how to adjust the value
16280           in the particular format.
16281
16282 2005-12-24  David Schleef  <ds@schleef.org>
16283
16284         * tools/gstreamer-completion:
16285           Replacement for gst-complete written in sh and sed.  Only
16286           completes names of features, but that's 90% of what I want
16287           it for.  Properties are not available in registry.xml.  (Maybe
16288           they should be...)
16289
16290 === release 0.10.1 ===
16291
16292 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
16293
16294         * configure.ac:
16295           releasing 0.10.1, "Nollaig chridheil"
16296
16297 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
16298
16299         * docs/faq/cvs.xml:
16300           Add missing quote, should be make ERROR_CFLAGS="".
16301
16302 2005-12-20  Wim Taymans  <wim@fluendo.com>
16303
16304         * docs/design/part-trickmodes.txt:
16305         More documentation on trickmodes.
16306
16307 2005-12-20  Edward Hervey  <edward@fluendo.com>
16308
16309         * gst/gstcaps.c: (gst_static_caps_get_type):
16310         * gst/gstcaps.h:
16311           API addition: GST_TYPE_STATIC_CAPS
16312         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
16313         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
16314         * gst/gstpadtemplate.h:
16315           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
16316         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
16317         bindings.
16318
16319 2005-12-18  Wim Taymans  <wim@fluendo.com>
16320
16321         * libs/gst/base/gstadapter.c:
16322         * libs/gst/base/gstadapter.h:
16323         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16324         (gst_base_sink_get_position):
16325         * libs/gst/base/gstbasesink.h:
16326         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16327         (gst_base_src_default_query), (gst_base_src_default_do_seek),
16328         (gst_base_src_do_seek), (gst_base_src_perform_seek),
16329         (gst_base_src_send_event), (gst_base_src_update_length),
16330         (gst_base_src_get_range), (gst_base_src_loop),
16331         (gst_base_src_start):
16332         * libs/gst/base/gstbasesrc.h:
16333         * libs/gst/base/gstbasetransform.h:
16334         * libs/gst/base/gstcollectpads.h:
16335         * libs/gst/base/gstpushsrc.c:
16336         * libs/gst/base/gstpushsrc.h:
16337         * libs/gst/dataprotocol/dataprotocol.c:
16338         * libs/gst/dataprotocol/dataprotocol.h:
16339         * libs/gst/net/gstnetclientclock.h:
16340         * libs/gst/net/gstnettimeprovider.h:
16341         Documentation updates.
16342
16343 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
16344
16345         * docs/manual/basics-helloworld.xml:
16346           Remove superfluous closing bracket in helloworld example.
16347
16348 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
16349
16350         * tools/gst-launch.1.in:
16351           Update gst-launch man page; add a section with useful
16352           environment variables. Fixes #323882.
16353
16354 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
16355
16356         * gst/gst.c:
16357         * gst/gst_private.h:
16358           change some char* into char[]
16359
16360 2005-12-16  Wim Taymans  <wim@fluendo.com>
16361
16362         * gst/gstregistryxml.c: (load_feature):
16363         Cleanups.
16364         Don't use g_object_unref on GstObjects so that we avoid
16365         leaks on unsafe glibs.
16366
16367 2005-12-16  Wim Taymans  <wim@fluendo.com>
16368
16369         * gst/gstbin.c: (gst_bin_recalc_state):
16370         Small doc updates.
16371
16372 2005-12-16  Wim Taymans  <wim@fluendo.com>
16373
16374         * common/check.mak:
16375         Added make forever target for check.
16376
16377 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16378
16379         * gst/gst.c: (init_post):
16380           make the registry cache file HOST_CPU-dependent
16381
16382 2005-12-16  Andy Wingo  <wingo@pobox.com>
16383
16384         * plugins/elements/gstbufferstore.c
16385         (gst_buffer_store_cleared_func): Pay attention to g_list_append
16386         return value.
16387
16388         * tests/check/gst/gstobject.c
16389         (test_fake_object_name_threaded_unique): Pay attention to
16390         g_list_sort return value.
16391
16392 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
16393
16394         * tools/gst-feedback-m.m:
16395           Update for 0.9/0.10 (fixes #323870).
16396
16397 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
16398
16399         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16400           Fix lcopy for mini objects, the mini object needs to be ref'ed.
16401           
16402         * tests/check/gst/gstminiobject.c: (my_foo_init),
16403         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16404         (test_value_collection), (gst_mini_object_suite):
16405           Add test to ensure refcounts end up as expected when passing
16406           GstMiniObjects through g_object_get() and g_object_set().
16407
16408 2005-12-14  Julien MOUTTE  <julien@moutte.net>
16409
16410         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16411         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16412         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16413         of collectpads. This version removes a lot of races without
16414         touching API/ABI. Yay !
16415
16416 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
16417
16418         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16419           Don't allow activation of a srcpad in pull_range if it has no
16420           getrange function.
16421           Change some debug statements to be a little clearer
16422
16423         * plugins/elements/gsttypefindelement.c:
16424         (gst_type_find_handle_src_query):
16425           Check that we have a peer before executing queries thereupon.
16426
16427         * tests/examples/metadata/read-metadata.c: (message_loop):
16428           Use gst_bus_pop instead of gst_bus_poll when we just want it to
16429           immediately return us any available message with 0 timeout.
16430
16431 2005-12-12  Michael Smith  <msmith@fluendo.com>
16432
16433         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16434           Don't unref factories after calling them.
16435         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16436         * plugins/elements/gsttypefindelement.c:
16437         (gst_type_find_element_chain):
16438           Free lists of factories after using them. Fixing typefinding memory
16439           leaks.
16440
16441 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16442
16443         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16444         (gst_plugin_feature_load):
16445           more meaningful debug output
16446         * configure.ac:
16447         * tests/Makefile.am:
16448         * tests/old/examples/Makefile.am:
16449           make make distcheck happy again
16450
16451 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16452
16453         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16454           Catch the special case where we are operating chain-based,
16455           but the downstream peer pad has no chain function. Emit a
16456           custom error message in this case instead of letting the
16457           core generate one implying that this is some sort of core
16458           bug. It's not, it just means that whatever got plugged
16459           into the pipeline downstream when we announced the type
16460           can only operate pull-based, while our source can only
16461           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16462           Error string has not been marked for translation yet, as
16463           it probably needs some more work first.
16464
16465         (gst_type_find_element_get_best_possibility):
16466           Add helper function to find the best of all available
16467           found possibilities that qualify given the min. threshold.
16468
16469         (gst_type_find_element_handle_event):
16470           Fix the case where we get an EOS while still in TYPEFIND
16471           mode (we want to chose the best of all possible types,
16472           not just the first type that happens to be in our unsorted
16473           list of possible types).
16474
16475         (gst_type_find_element_chain):
16476           Make sure we return GST_FLOW_ERROR when we errored out
16477           in stop_typefinding(); also, don't just find the best of
16478           all found type entries and then use the last examined
16479           type entry, but actually use the best entry.
16480
16481 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16482
16483         * tests/examples/typefind/typefind.c: (type_found):
16484         * tests/examples/xml/runxml.c: (xml_loaded):
16485           More gcc4 fixes and a mem leak fix.
16486
16487 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16488
16489         * tests/examples/xml/createxml.c: (object_saved):
16490           gcc 4 fixes
16491
16492 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16493
16494         * tests/Makefile.am:
16495           enable the examples even more
16496
16497 2005-12-12  Andy Wingo  <wingo@pobox.com>
16498
16499         * libs/gst/net/gstnettimeprovider.c
16500         (gst_net_time_provider_class_init, gst_net_time_provider_init)
16501         (gst_net_time_provider_set_property)
16502         (gst_net_time_provider_get_property):
16503         API addition: Export "active" as a GObject property.
16504         (gst_net_time_provider_thread): Only respond to time queries if
16505         the time provider is active.
16506
16507         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16508         NetTimeProvider, preserving binary compat.
16509
16510 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16511
16512         * tests/examples/controller/audio-example.c: (main):
16513         * tests/examples/launch/Makefile.am:
16514           convert comments again
16515
16516 2005-12-12  Wim Taymans  <wim@fluendo.com>
16517
16518         * libs/gst/base/gstpushsrc.c:
16519         Fix typo.
16520
16521 2005-12-12  Wim Taymans  <wim@fluendo.com>
16522
16523         * docs/libs/gstreamer-libs-sections.txt:
16524         Added new symbol to docs.
16525
16526         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16527         (gst_base_src_init), (gst_base_src_set_format),
16528         (gst_base_src_default_query), (gst_base_src_query),
16529         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16530         (gst_base_src_perform_seek), (gst_base_src_send_event),
16531         (gst_base_src_default_event), (gst_base_src_event_handler),
16532         (gst_base_src_set_property), (gst_base_src_get_property),
16533         (gst_base_src_wait), (gst_base_src_do_sync),
16534         (gst_base_src_update_length), (gst_base_src_get_range),
16535         (gst_base_src_check_get_range), (gst_base_src_loop),
16536         (gst_base_src_default_negotiate), (gst_base_src_start),
16537         (gst_base_src_activate_push), (gst_base_src_activate_pull),
16538         (gst_base_src_change_state):
16539         * libs/gst/base/gstbasesrc.h:
16540         Implement seeking to other formats than _BYTES.
16541         Implement more seeking methods correctly.
16542         Doc updates.
16543         Added query vmethod.
16544         Added do_seek vmethod to make life easier for subclasses
16545         when seeking.
16546         API addition: gst_base_src_set_format()
16547
16548 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16549
16550         * tests/examples/Makefile.am:
16551           added that too
16552
16553 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16554
16555         * configure.ac:
16556         * docs/random/ensonic/media-device-daemon.txt:
16557         * tests/examples/controller/.cvsignore:
16558         * tests/examples/controller/Makefile.am:
16559         * tests/examples/controller/audio-example.c: (main):
16560         * tests/examples/helloworld/.cvsignore:
16561         * tests/examples/helloworld/Makefile.am:
16562         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16563         * tests/examples/launch/.cvsignore:
16564         * tests/examples/launch/Makefile.am:
16565         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16566         * tests/examples/metadata/.cvsignore:
16567         * tests/examples/metadata/Makefile.am:
16568         * tests/examples/metadata/read-metadata.c: (message_loop),
16569         (make_pipeline), (print_tag), (main):
16570         * tests/examples/queue/.cvsignore:
16571         * tests/examples/queue/Makefile.am:
16572         * tests/examples/queue/queue.c: (event_loop), (main):
16573         * tests/examples/typefind/.cvsignore:
16574         * tests/examples/typefind/Makefile.am:
16575         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
16576         (main):
16577         * tests/examples/xml/.cvsignore:
16578         * tests/examples/xml/Makefile.am:
16579         * tests/examples/xml/createxml.c: (object_saved), (main):
16580         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
16581         * tests/old/examples/Makefile.am:
16582         * tests/old/examples/TODO:
16583         * tests/old/examples/controller/.cvsignore:
16584         * tests/old/examples/controller/Makefile.am:
16585         * tests/old/examples/controller/audio-example.c:
16586         * tests/old/examples/helloworld/.cvsignore:
16587         * tests/old/examples/helloworld/Makefile.am:
16588         * tests/old/examples/helloworld/helloworld.c:
16589         * tests/old/examples/launch/.cvsignore:
16590         * tests/old/examples/launch/Makefile.am:
16591         * tests/old/examples/launch/mp3parselaunch.c:
16592         * tests/old/examples/launch/mp3play:
16593         * tests/old/examples/manual/Makefile.am:
16594         * tests/old/examples/metadata/Makefile.am:
16595         * tests/old/examples/metadata/read-metadata.c:
16596         * tests/old/examples/queue/.cvsignore:
16597         * tests/old/examples/queue/Makefile.am:
16598         * tests/old/examples/queue/queue.c:
16599         * tests/old/examples/typefind/.cvsignore:
16600         * tests/old/examples/typefind/Makefile.am:
16601         * tests/old/examples/typefind/typefind.c:
16602         * tests/old/examples/xml/.cvsignore:
16603         * tests/old/examples/xml/Makefile.am:
16604         * tests/old/examples/xml/createxml.c:
16605         * tests/old/examples/xml/runxml.c:
16606           applied some simple fixing to some examples
16607           re-enabled the working examples
16608
16609 2005-12-12  Wim Taymans  <wim@fluendo.com>
16610
16611         * gst/gstsegment.c: (gst_segment_init),
16612         (gst_segment_set_last_stop), (gst_segment_set_seek),
16613         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16614         (gst_segment_to_running_time):
16615         Added more documentation.
16616         Make sure the last_pos value is updated properly.
16617         Make sure to_stream_time and to_running_time don't
16618         operate on wrong values.
16619
16620         * tests/check/gst/gstsegment.c: (GST_START_TEST):
16621         Update check.
16622
16623 2005-12-12  Michael Smith  <msmith@fluendo.com>
16624
16625         * plugins/elements/gsttypefindelement.c: (free_entry),
16626         (gst_type_find_element_chain):
16627           Now that we're not leaking factories, make sure we keep references
16628           to them while we need them.
16629
16630 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16631
16632         * tests/check/gst/struct_i386.h:
16633           ifdef out the XML structs
16634
16635 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16636
16637         * gst/gstvalue.c: (gst_value_transform_double_fraction):
16638           floor is not needed, F is always positive; this obviates the
16639           need for adding -lm when building without libxml
16640
16641 2005-12-12  Wim Taymans  <wim@fluendo.com>
16642
16643         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16644         Take current playback rate into account when reporting
16645         the position.
16646
16647 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16648
16649         * docs/manual/mime-world.fig:
16650           Let's try this again, this time with a file that is
16651           actually in XFig format.
16652
16653 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16654
16655         * docs/manual/mime-world.fig:
16656           Add audioconvert element to diagram so that it
16657           matches the text and the code (fixes #319526).
16658
16659 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16660
16661         * docs/pwg/building-chainfn.xml:
16662         * docs/pwg/building-pads.xml:
16663         * docs/pwg/building-state.xml:
16664         * docs/pwg/other-source.xml:
16665           Update state change stuff for 0.10 (fixes #322969).
16666
16667 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16668
16669         * docs/manual/advanced-dataaccess.xml:
16670         * docs/manual/appendix-checklist.xml:
16671         * docs/manual/appendix-programs.xml:
16672         * docs/manual/basics-pads.xml:
16673         * docs/manual/highlevel-components.xml:
16674         * docs/manual/manual.xml:
16675           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
16676           add converters in front of pipelines; remove curly
16677           brackets for threads stuff, they no longer exist; use
16678           GST_TYPE_FRACTION for framerates; update some pieces of
16679           code to 0.10, but there's plenty more to do.
16680
16681         * docs/manual/appendix-porting.xml:
16682           Expand on asynchroneous state changes; s/0.9/0.10/;
16683           mention disappearance of gst_init_get_popt_table()
16684           (fixes #322916).
16685
16686 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16687
16688         * docs/faq/using.xml:
16689           Spider no longer exists, and neither does gst-launch-ext.
16690           Update examples to use decodebin and playbin and put
16691           converters in front of sinks (fixes #323726).
16692
16693 2005-12-09  Michael Smith  <msmith@fluendo.com>
16694
16695         * plugins/elements/gsttypefindelement.c: (find_peek),
16696         (gst_type_find_element_chain):
16697           Fix leaking element factories in typefinding.
16698           Fix problem where we forgot about a probable type on non-seekable
16699           files, and thus later mis-typefound it.
16700
16701 2005-12-09  Michael Smith  <msmith@fluendo.com>
16702
16703         * common/m4/gst-makecontext.m4:
16704         * common/m4/gst-mcsc.m4:
16705         * configure.ac:
16706         * win32/common/config.h:
16707         * win32/common/config.h.in:
16708           Remove makecontext stuff; not used in 0.10 and causes problems on
16709           HPUX according to bug #322441
16710
16711 2005-12-07  Wim Taymans  <wim@fluendo.com>
16712
16713         * tests/check/Makefile.am:
16714         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
16715         (main):
16716         * tests/check/libs/struct_i386.h:
16717         Added ABI check for libs
16718
16719 2005-12-07  Wim Taymans  <wim@fluendo.com>
16720
16721         * tests/check/Makefile.am:
16722         And add the struct_i386.h to dist.
16723
16724 2005-12-07  Wim Taymans  <wim@fluendo.com>
16725
16726         * tests/check/Makefile.am:
16727         * tests/check/gst/.cvsignore:
16728         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
16729         (main):
16730         * tests/check/gst/struct_i386.h:
16731         Added check for ABI compatibility.
16732
16733 2005-12-07  Wim Taymans  <wim@fluendo.com>
16734
16735         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16736         (gst_fake_src_get_times), (gst_fake_src_create):
16737         Fix broken sync option, fixes #323259
16738
16739 2005-12-07  Wim Taymans  <wim@fluendo.com>
16740
16741         * gst/gstbuffer.c:
16742         Small docs update.
16743
16744         * gst/gstcaps.c: (gst_caps_is_equal):
16745         Don't assert on NULL <--> X. Fixes #323260
16746
16747         * gst/gstminiobject.c: (gst_mini_object_replace):
16748         If we're doing atomic operations, we might just as well use
16749         the proper way to get an atomic pointer.
16750
16751         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16752         Clean up debugging.
16753
16754 2005-12-07  Michael Smith  <msmith@fluendo.com>
16755
16756         * gst/parse/grammar.y:
16757           Remove handling of { } for threads.
16758
16759 2005-12-06  David Schleef  <ds@schleef.org>
16760
16761         * libs/gst/base/gstbasetransform.c: speling fix.
16762
16763 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16764
16765         * docs/libs/tmpl/gstdataprotocol.sgml:
16766         * docs/random/omega/testing/gstobject.c:
16767         * gst/gst.c:
16768         * gst/gstclock.c:
16769         * gst/gstelement.c:
16770         * gst/gstelementfactory.c:
16771         * gst/gsterror.c:
16772         * gst/gstevent.c:
16773         * gst/gstghostpad.c:
16774         * gst/gstinfo.c:
16775         * gst/gstpadtemplate.c:
16776         * gst/gstregistryxml.c:
16777         * gst/gsttaglist.c:
16778         * gst/gsttagsetter.c:
16779         * gst/gsttypefind.c:
16780         * gst/gstvalue.c:
16781         * libs/gst/base/gstbasesrc.c:
16782         * libs/gst/net/gstnetclientclock.c:
16783         * libs/gst/net/gstnettimeprovider.c:
16784         * plugins/elements/gstfakesrc.c:
16785         * plugins/elements/gstfdsrc.c:
16786         * plugins/elements/gstfilesrc.c:
16787         * plugins/elements/gstidentity.c:
16788         * plugins/elements/gstqueue.c:
16789         * plugins/elements/gsttypefindelement.c:
16790         * plugins/indexers/gstfileindex.c:
16791         * plugins/indexers/gstmemindex.c:
16792         * tests/check/gst/gsttag.c:
16793         * tests/old/examples/cutter/cutter.c:
16794         * tests/old/examples/mixer/mixer.c:
16795         * tests/old/examples/xml/runxml.c: (main):
16796         * tests/old/testsuite/caps/normalisation.c:
16797         * tests/old/testsuite/debug/global.c:
16798         * tests/old/testsuite/parse/parse1.c:
16799         * tools/gst-xmlinspect.c:
16800         * win32/common/dirent.c:
16801           expand tabs
16802
16803 === release 0.10.0 ===
16804
16805 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16806
16807         * configure.ac:
16808           releasing 0.10.0, "Maroilles"
16809
16810 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16811
16812         submitted by: Funda Wang <fundawang@linux.net.cn>
16813
16814         * po/LINGUAS:
16815         * po/zh_CN.po:
16816           added Chinese (Traditional) translation
16817
16818 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16819
16820         * docs/gst/gstreamer-sections.txt:
16821         * docs/libs/tmpl/gstdataprotocol.sgml:
16822         * docs/random/thomasvs/TODO:
16823         * gst/gstutils.c:
16824         * gst/gstutils.h:
16825           fix docs
16826
16827 2005-12-05  Andy Wingo  <wingo@pobox.com>
16828
16829         patch by: Wim Taymans <wim@fluendo.com>
16830
16831         * libs/gst/base/gstbasetransform.c
16832         (gst_base_transform_prepare_output_buf)
16833         (gst_base_transform_buffer_alloc):
16834         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
16835         alloc_buffer_and_set_caps.
16836
16837         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
16838         set_caps on the source pad.
16839         (gst_pad_alloc_buffer_and_set_caps): New function, does what
16840         alloc_buffer used to do. Fixes #322874.
16841
16842         * docs/gst/gstreamer-sections.txt: 
16843         * docs/design/part-negotiation.txt: 
16844         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
16845         changes.
16846
16847 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16848
16849         patch by: Sebastien Moutte
16850
16851         * win32/MANIFEST:
16852         * win32/common/config.h.in:
16853         * win32/vs6/libgstcontroller.dsp:
16854           win32 build fixes
16855
16856 2005-12-05  Wim Taymans  <wim@fluendo.com>
16857
16858         * gst/gstcaps.c: (gst_caps_is_equal):
16859         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16860         (gst_fake_src_create):
16861         Back out previous code changes, leave doc updates, file bugs 
16862         instead. 
16863
16864 2005-12-05  Wim Taymans  <wim@fluendo.com>
16865
16866         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16867         (gst_fake_src_get_times), (gst_fake_src_create):
16868         * plugins/elements/gstfakesrc.h:
16869         Fix broken sync code.
16870
16871 2005-12-05  Wim Taymans  <wim@fluendo.com>
16872
16873         * gst/gstcaps.c: (gst_caps_is_equal):
16874         Comparing NULL against !NULL yields different caps, not a
16875         failure.
16876
16877 2005-12-05  Wim Taymans  <wim@fluendo.com>
16878
16879         * gst/gstpipeline.c:
16880         Fix small typo in docs.
16881
16882 2005-12-05  Andy Wingo  <wingo@pobox.com>
16883
16884         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
16885
16886         * gst/gst.c (init_post): remove hard-coded 0.9 location for
16887         registries/plugins with a MAJORMINOR one.
16888         (plugin_desc): Rename library from gstcoreleements to
16889         staticelements. Fixes #323222.
16890
16891 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
16892
16893         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
16894           Change debug category to 'collectpads' from 'collect_pads'
16895           (fixes #323250).
16896
16897 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
16898
16899         patch by: Sebastien Moutte
16900
16901         * libs/gst/controller/gstinterpolation.c:
16902           use convert function for uint64/double
16903         * win32/vs6/libgstcontroller.dsp:
16904           link to GLib
16905
16906 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
16907
16908         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
16909         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
16910         * gst/gstutils.h:
16911         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16912           add tests that seem to show that the guint64/gdouble conversions
16913           are correct.
16914
16915 2005-12-02  Wim Taymans  <wim@fluendo.com>
16916
16917         * gst/gstregistry.c: (gst_registry_add_path):
16918         * gst/gstregistry.h:
16919         * gst/gstregistryxml.c:
16920         Fix docs again.
16921
16922 2005-12-02  Wim Taymans  <wim@fluendo.com>
16923
16924         * gst/gstutils.c: (gst_util_uint64_scale_int64),
16925         (gst_util_uint64_scale_int):
16926         Small cleanup.
16927
16928         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16929         Add debug log line.
16930
16931         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
16932         Add FIXME.
16933
16934 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16935
16936         * win32/MANIFEST:
16937         * win32/common/config.h:
16938         * win32/vs6/gstreamer.dsw:
16939         * win32/vs6/libgstcoreelements.dsp:
16940         * win32/vs6/libgstelements.dsp:
16941           renamed core elements plugin
16942
16943 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16944
16945         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
16946         (get_candidates):
16947           do piece-wise major/minor comparison so 0.9 < 0.10
16948           also allow .exe extensions for tools
16949
16950 2005-12-02  Michael Smith  <msmith@fluendo.com>
16951
16952         * gst/gst.c:
16953           Escape a % to make gtkdoc happier; bug 322958.
16954
16955 === release 0.9.7 ===
16956
16957 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16958
16959         * configure.ac:
16960           releasing 0.9.7, "My Dog Has No Nose"
16961
16962 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16963
16964         * common/gst-xmlinspect.py:
16965         * configure.ac:
16966         * docs/libs/tmpl/gstdataprotocol.sgml:
16967         * docs/random/release:
16968         * po/af.po:
16969         * po/az.po:
16970         * po/bg.po:
16971         * po/ca.po:
16972         * po/cs.po:
16973         * po/de.po:
16974         * po/en_GB.po:
16975         * po/fr.po:
16976         * po/it.po:
16977         * po/nb.po:
16978         * po/nl.po:
16979         * po/ru.po:
16980         * po/sq.po:
16981         * po/sr.po:
16982         * po/sv.po:
16983         * po/tr.po:
16984         * po/uk.po:
16985         * po/vi.po:
16986         * win32/common/config.h:
16987         * win32/common/config.h.in:
16988         * win32/vs6/gst_inspect.dsp:
16989         * win32/vs6/gst_launch.dsp:
16990         * win32/vs6/libgstbase.dsp:
16991         * win32/vs6/libgstelements.dsp:
16992         * win32/vs6/libgstreamer.dsp:
16993         * win32/vs7/GStreamer.vcproj:
16994         * win32/vs7/gst-inspect.vcproj:
16995         * win32/vs7/gst-launch.vcproj:
16996         * win32/vs7/libgstbase.vcproj:
16997           bump GST_MAJORMINOR to 0.10
16998           reset libtool version
16999
17000 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17001
17002         * po/LINGUAS:
17003         * po/bg.po:
17004           Added Bulgarian translation by (Alexander Shopov)
17005
17006 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17007
17008         * tests/check/gst/gstplugin.c:
17009           fix test
17010
17011 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17012
17013         * common/gst-xmlinspect.py:
17014         * common/gtk-doc-plugins.mak:
17015         * configure.ac:
17016         * docs/Makefile.am:
17017         * docs/gst/Makefile.am:
17018         * docs/gst/gstreamer-docs.sgml:
17019         * docs/gst/gstreamer-sections.txt:
17020         * docs/gst/gstreamer.types:
17021         * docs/gst/gstreamer.types.in:
17022         * docs/plugins/Makefile.am:
17023         * docs/plugins/gstreamer-plugins-docs.sgml:
17024         * docs/plugins/gstreamer-plugins-sections.txt:
17025         * docs/plugins/gstreamer-plugins.types:
17026         * docs/plugins/inspect.stamp:
17027         * docs/plugins/inspect/plugin-coreelements.xml:
17028         * docs/plugins/inspect/plugin-coreindexers.xml:
17029         * docs/plugins/scanobj-build.stamp:
17030         * gstreamer.spec.in:
17031         * plugins/elements/Makefile.am:
17032         * plugins/elements/gstelements.c:
17033         * plugins/elements/gstfakesink.c:
17034         * plugins/elements/gstfakesrc.c:
17035         * plugins/elements/gstfilesink.c:
17036         * plugins/elements/gstfilesrc.c:
17037         * plugins/elements/gstqueue.c:
17038         * plugins/indexers/Makefile.am:
17039         * plugins/indexers/gstindexers.c:
17040           document core plugins in a separate document just like all the
17041           others
17042           rename these plugins to something starting with core
17043
17044 2005-12-01  Andy Wingo  <wingo@pobox.com>
17045
17046         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
17047         padding here before, but it missed the commit.
17048
17049 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17050
17051         * libs/gst/controller/gstinterpolation.c:
17052           whitespace prices have crashed, we should feel free to use some now
17053           use gst_guint64_to_gdouble
17054
17055 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17056
17057         * libs/gst/controller/gstcontroller.c:
17058         * libs/gst/controller/gsthelper.c:
17059         * libs/gst/controller/gstinterpolation.c:
17060         * libs/gst/controller/lib.c:
17061           wrap config.h include
17062
17063 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17064
17065         * docs/gst/gstreamer-sections.txt:
17066           update docs
17067
17068 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17069
17070         * plugins/elements/gstelements.c:
17071         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
17072         (gst_fd_sink__class_init), (gst_fd_sink__init),
17073         (gst_fd_sink__chain), (gst_fd_sink__set_property),
17074         (gst_fd_sink__get_property):
17075         * plugins/elements/gstfdsink.h:
17076         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
17077         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
17078         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
17079         (gst_fd_src_unlock), (gst_fd_src_set_property),
17080         (gst_fd_src_get_property), (gst_fd_src_create),
17081         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
17082         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
17083         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
17084         (gst_fd_src_uri_handler_init):
17085         * plugins/elements/gstfdsrc.h:
17086         * plugins/elements/gstqueue.c: (gst_queue_get_type):
17087           more anal cleanup
17088
17089 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17090
17091         * docs/gst/Makefile.am:
17092         * docs/gst/gstreamer.types.in:
17093         * gst/Makefile.am:
17094           fix the docs build
17095
17096 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17097
17098         * configure.ac:
17099         * gst/Makefile.am:
17100         * gst/gst.c:
17101         * gst/gstplugin.h:
17102         * gst/gstregistry.h:
17103         * tests/benchmarks/complexity.c:
17104         * tests/benchmarks/mass-elements.c:
17105         * tests/check/Makefile.am:
17106         * tools/Makefile.am:
17107         * tools/gst-inspect.c:
17108         * tools/gst-xmlinspect.c:
17109           various fixes to make
17110           --disable-nls --disable-registry --disable-loadsave
17111           --disable-parse --disable-gst-debug
17112           work and get the core .so down to 360444 bytes after stripping
17113
17114 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17115
17116         * Makefile.am:
17117         * configure.ac:
17118           descend into tests
17119         * docs/random/thomasvs/TODO:
17120         * tests/Makefile.am:
17121         * tests/README:
17122           add a README
17123
17124 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17125
17126         * win32/GStreamer.vcproj:
17127         * win32/MANIFEST:
17128         * win32/Makefile:
17129         * win32/Makefile.inspect:
17130         * win32/Makefile.launch:
17131         * win32/Makefile.register:
17132         * win32/README.txt:
17133         * win32/gst-inspect.vcproj:
17134         * win32/gst-launch.vcproj:
17135         * win32/gst-register.vcproj:
17136         * win32/gstelements.vcproj:
17137         * win32/gstgetbits.def:
17138         * win32/gstgetbits.vcproj:
17139         * win32/gstreamer-dbg.def:
17140         * win32/gstreamer.def:
17141         * win32/libgstbase.def:
17142         * win32/libgstbase.vcproj:
17143         * win32/link_oldruntime.c:
17144         * win32/mman.c:
17145         * win32/mman.h:
17146         * win32/mman.inl:
17147         * win32/msvc71.sln:
17148           move even more stuff, win32/ is nice and clean now
17149
17150 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17151
17152         * libs/gst/control/.cvsignore:
17153         * win32/MANIFEST:
17154         * win32/config.h:
17155         * win32/dirent.c:
17156         * win32/dirent.h:
17157         * win32/gstbytestream.def:
17158         * win32/gstbytestream.vcproj:
17159         * win32/gstconfig.h:
17160         * win32/gstenumtypes.c:
17161         * win32/gstenumtypes.h:
17162         * win32/gstoptimalscheduler.vcproj:
17163         * win32/gstversion.h:
17164         * win32/gtchar.h:
17165         * win32/testsuite/bins.vcproj:
17166         * win32/testsuite/bytestream.vcproj:
17167         * win32/testsuite/caps.vcproj:
17168         * win32/testsuite/cleanup.vcproj:
17169         * win32/testsuite/clock.vcproj:
17170         * win32/testsuite/debug.vcproj:
17171         * win32/testsuite/dlopen.vcproj:
17172         * win32/testsuite/dynparams.vcproj:
17173         * win32/testsuite/elements.vcproj:
17174         * win32/testsuite/ghostpads.vcproj:
17175         * win32/testsuite/indexers.vcproj:
17176         * win32/testsuite/negotiation.vcproj:
17177         * win32/testsuite/parse.vcproj:
17178         * win32/testsuite/plugin.vcproj:
17179         * win32/testsuite/refcounting.vcproj:
17180         * win32/testsuite/schedulers.vcproj:
17181         * win32/testsuite/states.vcproj:
17182         * win32/testsuite/tags.vcproj:
17183         * win32/testsuite/threads.vcproj:
17184           remove old win32 stuff that isn't maintained and should be
17185           reorganized
17186
17187 2005-11-30  Andy Wingo  <wingo@pobox.com>
17188
17189         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
17190         loading the gst.interfaces python module bork.
17191
17192         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
17193         available since GLib 2.2. Fixes #318031.
17194
17195 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17196
17197         * Makefile.am:
17198         * check/.cvsignore:
17199         * check/Makefile.am:
17200         * check/elements/.cvsignore:
17201         * check/elements/fakesrc.c:
17202         * check/elements/fdsrc.c:
17203         * check/elements/identity.c:
17204         * check/generic/.cvsignore:
17205         * check/generic/states.c:
17206         * check/gst-libs/.cvsignore:
17207         * check/gst-libs/controller.c:
17208         * check/gst-libs/gdp.c:
17209         * check/gst/.cvsignore:
17210         * check/gst/capslist.h:
17211         * check/gst/gst.c:
17212         * check/gst/gstbin.c:
17213         * check/gst/gstbuffer.c:
17214         * check/gst/gstbus.c:
17215         * check/gst/gstcaps.c:
17216         * check/gst/gstelement.c:
17217         * check/gst/gstevent.c:
17218         * check/gst/gstghostpad.c:
17219         * check/gst/gstiterator.c:
17220         * check/gst/gstmessage.c:
17221         * check/gst/gstminiobject.c:
17222         * check/gst/gstobject.c:
17223         * check/gst/gstpad.c:
17224         * check/gst/gstpipeline.c:
17225         * check/gst/gstplugin.c:
17226         * check/gst/gstsegment.c:
17227         * check/gst/gststructure.c:
17228         * check/gst/gstsystemclock.c:
17229         * check/gst/gsttag.c:
17230         * check/gst/gstutils.c:
17231         * check/gst/gstvalue.c:
17232         * check/net/.cvsignore:
17233         * check/net/gstnetclientclock.c:
17234         * check/net/gstnettimeprovider.c:
17235         * check/pipelines/.cvsignore:
17236         * check/pipelines/cleanup.c:
17237         * check/pipelines/simple_launch_lines.c:
17238         * check/pipelines/stress.c:
17239         * check/states/.cvsignore:
17240         * check/states/sinks.c:
17241         * configure.ac:
17242         * examples/Makefile.am:
17243         * examples/appreader/.cvsignore:
17244         * examples/appreader/Makefile.am:
17245         * examples/appreader/appreader.c:
17246         * examples/controller/.cvsignore:
17247         * examples/controller/Makefile.am:
17248         * examples/controller/audio-example.c:
17249         * examples/cutter/.cvsignore:
17250         * examples/cutter/Makefile.am:
17251         * examples/cutter/cutter.c:
17252         * examples/cutter/cutter.h:
17253         * examples/events/Makefile.am:
17254         * examples/events/seek.c:
17255         * examples/helloworld/.cvsignore:
17256         * examples/helloworld/Makefile.am:
17257         * examples/helloworld/helloworld.c:
17258         * examples/helloworld2/.cvsignore:
17259         * examples/helloworld2/Makefile.am:
17260         * examples/helloworld2/helloworld2.c:
17261         * examples/launch/.cvsignore:
17262         * examples/launch/Makefile.am:
17263         * examples/launch/mp3parselaunch.c:
17264         * examples/launch/mp3play:
17265         * examples/manual/.cvsignore:
17266         * examples/manual/Makefile.am:
17267         * examples/manual/extract.pl:
17268         * examples/metadata/Makefile.am:
17269         * examples/metadata/read-metadata.c:
17270         * examples/mixer/.cvsignore:
17271         * examples/mixer/Makefile.am:
17272         * examples/mixer/mixer.c:
17273         * examples/mixer/mixer.h:
17274         * examples/pingpong/.cvsignore:
17275         * examples/pingpong/Makefile.am:
17276         * examples/pingpong/pingpong.c:
17277         * examples/plugins/.cvsignore:
17278         * examples/plugins/Makefile.am:
17279         * examples/plugins/example.c:
17280         * examples/plugins/example.h:
17281         * examples/pwg/.cvsignore:
17282         * examples/pwg/Makefile.am:
17283         * examples/pwg/extract.pl:
17284         * examples/queue/.cvsignore:
17285         * examples/queue/Makefile.am:
17286         * examples/queue/queue.c:
17287         * examples/queue2/.cvsignore:
17288         * examples/queue2/Makefile.am:
17289         * examples/queue2/queue2.c:
17290         * examples/queue3/.cvsignore:
17291         * examples/queue3/Makefile.am:
17292         * examples/queue3/queue3.c:
17293         * examples/queue4/.cvsignore:
17294         * examples/queue4/Makefile.am:
17295         * examples/queue4/queue4.c:
17296         * examples/retag/.cvsignore:
17297         * examples/retag/Makefile.am:
17298         * examples/retag/retag.c:
17299         * examples/retag/transcode.c:
17300         * examples/thread/.cvsignore:
17301         * examples/thread/Makefile.am:
17302         * examples/thread/thread.c:
17303         * examples/typefind/.cvsignore:
17304         * examples/typefind/Makefile.am:
17305         * examples/typefind/typefind.c:
17306         * examples/xml/.cvsignore:
17307         * examples/xml/Makefile.am:
17308         * examples/xml/createxml.c:
17309         * examples/xml/runxml.c:
17310         * tests/Makefile.am:
17311         * tests/check/Makefile.am:
17312         * testsuite/.cvsignore:
17313         * testsuite/Makefile.am:
17314         * testsuite/Rules:
17315         * testsuite/caps/.cvsignore:
17316         * testsuite/caps/Makefile.am:
17317         * testsuite/caps/app_fixate.c:
17318         * testsuite/caps/audioscale.c:
17319         * testsuite/caps/caps.c:
17320         * testsuite/caps/caps.h:
17321         * testsuite/caps/caps_strings:
17322         * testsuite/caps/compatibility.c:
17323         * testsuite/caps/deserialize.c:
17324         * testsuite/caps/enumcaps.c:
17325         * testsuite/caps/eratosthenes.c:
17326         * testsuite/caps/filtercaps.c:
17327         * testsuite/caps/fixed.c:
17328         * testsuite/caps/fraction-convert.c:
17329         * testsuite/caps/fraction-multiply-and-zero.c:
17330         * testsuite/caps/intersect2.c:
17331         * testsuite/caps/intersection.c:
17332         * testsuite/caps/normalisation.c:
17333         * testsuite/caps/random.c:
17334         * testsuite/caps/renegotiate.c:
17335         * testsuite/caps/sets.c:
17336         * testsuite/caps/simplify.c:
17337         * testsuite/caps/string-conversions.c:
17338         * testsuite/caps/structure.c:
17339         * testsuite/caps/subtract.c:
17340         * testsuite/caps/union.c:
17341         * testsuite/debug/.cvsignore:
17342         * testsuite/debug/Makefile.am:
17343         * testsuite/debug/category.c:
17344         * testsuite/debug/commandline.c:
17345         * testsuite/debug/global.c:
17346         * testsuite/debug/output.c:
17347         * testsuite/debug/printf_extension.c:
17348         * testsuite/dlopen/.cvsignore:
17349         * testsuite/dlopen/Makefile.am:
17350         * testsuite/dlopen/dlopen_gst.c:
17351         * testsuite/dlopen/loadgst.c:
17352         * testsuite/elements/.cvsignore:
17353         * testsuite/elements/Makefile.am:
17354         * testsuite/elements/gst-inspect-check.in:
17355         * testsuite/elements/struct_i386.h:
17356         * testsuite/elements/struct_size.c:
17357         * testsuite/indexers/.cvsignore:
17358         * testsuite/indexers/Makefile.am:
17359         * testsuite/indexers/cache1.c:
17360         * testsuite/indexers/indexdump.c:
17361         * testsuite/parse/.cvsignore:
17362         * testsuite/parse/Makefile.am:
17363         * testsuite/parse/parse1.c:
17364         * testsuite/parse/parse2.c:
17365         * testsuite/plugin/.cvsignore:
17366         * testsuite/plugin/Makefile.am:
17367         * testsuite/plugin/README:
17368         * testsuite/plugin/dynamic.c:
17369         * testsuite/plugin/linked.c:
17370         * testsuite/plugin/loading.c:
17371         * testsuite/plugin/registry.c:
17372         * testsuite/plugin/static.c:
17373         * testsuite/plugin/static2.c:
17374         * testsuite/plugin/testplugin.c:
17375         * testsuite/plugin/testplugin2.c:
17376         * testsuite/plugin/testplugin2_s.c:
17377         * testsuite/plugin/testplugin_s.c:
17378         * testsuite/refcounting/.cvsignore:
17379         * testsuite/refcounting/Makefile.am:
17380         * testsuite/refcounting/bin.c:
17381         * testsuite/refcounting/element.c:
17382         * testsuite/refcounting/element_pad.c:
17383         * testsuite/refcounting/mainloop.c:
17384         * testsuite/refcounting/mem.c:
17385         * testsuite/refcounting/mem.h:
17386         * testsuite/refcounting/object.c:
17387         * testsuite/refcounting/pad.c:
17388         * testsuite/refcounting/sched.c:
17389         * testsuite/refcounting/thread.c:
17390         * testsuite/states/.cvsignore:
17391         * testsuite/states/Makefile.am:
17392         * testsuite/states/bin.c:
17393         * testsuite/states/locked.c:
17394         * testsuite/states/parent.c:
17395         * testsuite/threads/.cvsignore:
17396         * testsuite/threads/159566.c:
17397         * testsuite/threads/159852.c:
17398         * testsuite/threads/Makefile.am:
17399         * testsuite/threads/queue.c:
17400         * testsuite/threads/signals.c:
17401         * testsuite/threads/staticrec.c:
17402         * testsuite/threads/thread.c:
17403         * testsuite/threads/threadb.c:
17404         * testsuite/threads/threadc.c:
17405         * testsuite/threads/threadd.c:
17406         * testsuite/threads/threade.c:
17407         * testsuite/threads/threadf.c:
17408         * testsuite/threads/threadg.c:
17409         * testsuite/threads/threadh.c:
17410         * testsuite/threads/threadi.c:
17411           move all of these under tests
17412
17413 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17414
17415         * configure.ac:
17416         * tests/Makefile.am:
17417           fix distcheck
17418
17419 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17420
17421         * docs/gst/gstreamer-sections.txt:
17422         * tests/sched/.cvsignore:
17423         * tests/sched/Makefile.am:
17424         * tests/sched/cases/(fs-fs).xml:
17425         * tests/sched/cases/(fs-i-fs).xml:
17426         * tests/sched/cases/(fs-i-i-fs).xml:
17427         * tests/sched/cases/(fs-i-q[i-fs]).xml:
17428         * tests/sched/dynamic-pipeline.c:
17429         * tests/sched/interrupt1.c:
17430         * tests/sched/interrupt2.c:
17431         * tests/sched/interrupt3.c:
17432         * tests/sched/runtestcases:
17433         * tests/sched/runxml.c:
17434         * tests/sched/sched-stress.c:
17435         * tests/sched/sort.c:
17436         * tests/sched/testcases:
17437         * tests/sched/testcases1.tc:
17438         * tests/seeking/.cvsignore:
17439         * tests/seeking/Makefile.am:
17440         * tests/seeking/seeking1.c:
17441         * tests/threadstate/.cvsignore:
17442         * tests/threadstate/Makefile.am:
17443         * tests/threadstate/test1.c:
17444         * tests/threadstate/test2.c:
17445         * tests/threadstate/threadstate1.c:
17446         * tests/threadstate/threadstate2.c:
17447         * tests/threadstate/threadstate3.c:
17448         * tests/threadstate/threadstate4.c:
17449         * tests/threadstate/threadstate5.c:
17450           remove obsolete tests
17451         * configure.ac:
17452         * tests/bench-complexity.scm:
17453         * tests/bench-mass_elements.scm:
17454         * tests/complexity.c:
17455         * tests/complexity.gnuplot:
17456         * tests/instantiate/.cvsignore:
17457         * tests/instantiate/Makefile.am:
17458         * tests/instantiate/caps.c:
17459         * tests/mass_elements.c:
17460         * tests/network-clock-utils.scm:
17461         * tests/network-clock.scm:
17462         * tests/plot-data:
17463         First pass at cleaning up tests/ dir before moving the rest
17464         Combined with CVS surgery
17465
17466 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17467
17468         * po/POTFILES.in:
17469           queue has moved, update
17470
17471 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17472
17473         * docs/gst/gstreamer-sections.txt:
17474           remove double entries from the docs
17475         * gst/gst_private.h:
17476         * gst/gstinfo.c: (_gst_debug_init):
17477           remove the THREAD debug category
17478         * gst/Makefile.am:
17479         * gst/gstqueue.c:
17480         * gst/gstqueue.h:
17481         * docs/gst/gstreamer.types:
17482         * plugins/elements/gstqueue.c: (gst_queue_get_type),
17483         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17484           completely move queue and fix up debugging categories
17485
17486 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17487
17488         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17489           make initialization portable, using LL is not
17490
17491 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17492
17493         * win32/common/gstconfig.h:
17494           add large padding
17495
17496 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17497
17498         * win32/common/libgstreamer.def:
17499           rename symbols; sort base section
17500
17501 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17502
17503         * gst/gstclock.c: (do_linear_regression):
17504           remove crack non-portable handrolled DEBUG macro
17505
17506 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17507
17508         * docs/random/release:
17509           update notes
17510         * win32/common/gstenumtypes.c: (register_gst_object_flags),
17511         (gst_object_flags_get_type), (register_gst_bin_flags),
17512         (gst_bin_flags_get_type), (register_gst_buffer_flag),
17513         (gst_buffer_flag_get_type), (register_gst_bus_flags),
17514         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17515         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17516         (gst_caps_flags_get_type), (register_gst_clock_return),
17517         (gst_clock_return_get_type), (register_gst_clock_entry_type),
17518         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17519         (gst_clock_flags_get_type), (register_gst_state),
17520         (gst_state_get_type), (register_gst_state_change_return),
17521         (gst_state_change_return_get_type), (register_gst_state_change),
17522         (gst_state_change_get_type), (register_gst_element_flags),
17523         (gst_element_flags_get_type), (register_gst_core_error),
17524         (gst_core_error_get_type), (register_gst_library_error),
17525         (gst_library_error_get_type), (register_gst_resource_error),
17526         (gst_resource_error_get_type), (register_gst_stream_error),
17527         (gst_stream_error_get_type), (register_gst_event_type_flags),
17528         (gst_event_type_flags_get_type), (register_gst_event_type),
17529         (gst_event_type_get_type), (register_gst_seek_type),
17530         (gst_seek_type_get_type), (register_gst_seek_flags),
17531         (gst_seek_flags_get_type), (register_gst_format),
17532         (gst_format_get_type), (register_gst_index_certainty),
17533         (gst_index_certainty_get_type), (register_gst_index_entry_type),
17534         (gst_index_entry_type_get_type),
17535         (register_gst_index_lookup_method),
17536         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17537         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17538         (gst_index_resolver_method_get_type), (register_gst_index_flags),
17539         (gst_index_flags_get_type), (register_gst_debug_level),
17540         (gst_debug_level_get_type), (register_gst_debug_color_flags),
17541         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17542         (gst_iterator_result_get_type), (register_gst_iterator_item),
17543         (gst_iterator_item_get_type), (register_gst_message_type),
17544         (gst_message_type_get_type), (register_gst_mini_object_flags),
17545         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17546         (gst_pad_link_return_get_type), (register_gst_flow_return),
17547         (gst_flow_return_get_type), (register_gst_activate_mode),
17548         (gst_activate_mode_get_type), (register_gst_pad_direction),
17549         (gst_pad_direction_get_type), (register_gst_pad_flags),
17550         (gst_pad_flags_get_type), (register_gst_pad_presence),
17551         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17552         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17553         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17554         (gst_plugin_error_get_type), (register_gst_plugin_flags),
17555         (gst_plugin_flags_get_type), (register_gst_rank),
17556         (gst_rank_get_type), (register_gst_query_type),
17557         (gst_query_type_get_type), (register_gst_tag_merge_mode),
17558         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17559         (gst_tag_flag_get_type), (register_gst_task_state),
17560         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17561         (gst_alloc_trace_flags_get_type),
17562         (register_gst_type_find_probability),
17563         (gst_type_find_probability_get_type), (register_gst_uri_type),
17564         (gst_uri_type_get_type), (register_gst_parse_error),
17565         (gst_parse_error_get_type):
17566         * win32/common/gstenumtypes.h:
17567         * win32/common/gstversion.h:
17568           update visual studio generated files
17569
17570 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17571
17572         * win32/vs6/libgstbase.dsp:
17573         * win32/vs6/libgstelements.dsp:
17574           update project files for new locations
17575
17576 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17577
17578         * Makefile.am:
17579           remove some files
17580         * README:
17581           reinstate and update
17582         * DEVEL:
17583         * REQUIREMENTS:
17584           removed
17585         * LICENSE:
17586         * docs/random/LICENSE:
17587           moved to random
17588
17589 2005-11-30  Edward Hervey  <edward@fluendo.com>
17590
17591         * gst/gsttypefind.c: (gst_type_find_register):
17592         * gst/gsttypefind.h:
17593         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
17594         (gst_type_find_factory_dispose):
17595         * gst/gsttypefindfactory.h:
17596         Fix memory leak in GstTypeFindFactory.
17597
17598 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17599
17600         * gst/gst.c:
17601         * plugins/elements/Makefile.am:
17602         * plugins/elements/gstelements.c:
17603         * plugins/elements/gstqueue.c:
17604           move queue from core to the elements plugin
17605
17606 2005-11-29  Andy Wingo  <wingo@pobox.com>
17607
17608         * libs/gst/base/gstbasetransform.h: 
17609         * libs/gst/base/gstbasesrc.h: 
17610         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
17611
17612         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
17613         of pointers by which to pad very extensible base classes (like the
17614         ones in libs/gst/base).
17615
17616 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17617
17618         * docs/gst/gstreamer-docs.sgml:
17619         * docs/gst/gstreamer-sections.txt:
17620         * docs/libs/gstreamer-libs-docs.sgml:
17621         * docs/libs/gstreamer-libs-sections.txt:
17622           moving documentation from core to lib
17623
17624 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17625
17626         * check/Makefile.am:
17627         * configure.ac:
17628         * docs/gst/Makefile.am:
17629         * gst/Makefile.am:
17630         * gst/base/.cvsignore:
17631         * gst/base/Makefile.am:
17632         * gst/base/README:
17633         * gst/base/gstadapter.c:
17634         * gst/base/gstadapter.h:
17635         * gst/base/gstbasesink.c:
17636         * gst/base/gstbasesink.h:
17637         * gst/base/gstbasesrc.c:
17638         * gst/base/gstbasesrc.h:
17639         * gst/base/gstbasetransform.c:
17640         * gst/base/gstbasetransform.h:
17641         * gst/base/gstcollectpads.c:
17642         * gst/base/gstcollectpads.h:
17643         * gst/base/gstpushsrc.c:
17644         * gst/base/gstpushsrc.h:
17645         * gst/base/gsttypefindhelper.c:
17646         * gst/base/gsttypefindhelper.h:
17647         * gst/check/Makefile.am:
17648         * gst/check/gstcheck.c:
17649         * gst/check/gstcheck.h:
17650         * gst/net/Makefile.am:
17651         * gst/net/gstnet.h:
17652         * gst/net/gstnetclientclock.c:
17653         * gst/net/gstnetclientclock.h:
17654         * gst/net/gstnettimepacket.c:
17655         * gst/net/gstnettimepacket.h:
17656         * gst/net/gstnettimeprovider.c:
17657         * gst/net/gstnettimeprovider.h:
17658         * libs/gst/Makefile.am:
17659         * libs/gst/base/Makefile.am:
17660         * libs/gst/base/gstbasetransform.c:
17661         * libs/gst/check/Makefile.am:
17662         * plugins/elements/Makefile.am:
17663         * po/POTFILES.in:
17664           CVS surgery + support to move base, check, and net out of gst
17665           and into libs/gst
17666
17667 2005-11-29  Andy Wingo  <wingo@pobox.com>
17668
17669         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
17670
17671         * gst/gststructure.h (struct _GstStructure): Only one pointer of
17672         padding.
17673
17674         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
17675
17676         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
17677
17678         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
17679
17680         * gst/gstobject.h: (struct _GstObject): Only one pointer of
17681         padding; reduces object size by about 30%. We don't expect
17682         anything else to go into gstobject.
17683
17684         * gst/gstminiobject.h (struct _GstMiniObject)
17685         (struct _GstMiniObjectClass): Only one pointer of padding; the
17686         payload is only a pointer and two ints anyway. For the class there
17687         are only two methods as well.
17688         
17689         * gst/gstelement.h (struct _GstElementClass): Removed
17690         the state_changed signal callback, it is not used.
17691
17692 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17693
17694         * docs/gst/gstreamer.types:
17695           fix includes, though they are a little dinky
17696
17697 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17698
17699         * check/Makefile.am:
17700           look in the right place for elements, a lot more chance of
17701           success
17702         * gst/Makefile.am:
17703           remove indexers and elements subdirs
17704         * plugins/Makefile.am:
17705           make indexers conditional
17706
17707 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17708
17709         * Makefile.am:
17710         * configure.ac:
17711         * plugins/elements/Makefile.am:
17712         * plugins/elements/gstcapsfilter.c:
17713         * plugins/elements/gstfilesink.c:
17714         * plugins/elements/gstfilesrc.c:
17715         * plugins/elements/gstidentity.c:
17716         * plugins/indexers/Makefile.am:
17717           do CVS surgery and related build fixery to move elements
17718           and indexers in a new gstreamer/plugins directory, out of the
17719           gst/ directory
17720
17721 2005-11-29  Andy Wingo  <wingo@pobox.com>
17722
17723         * check/Makefile.am:
17724         * pkgconfig/gstreamer-net-uninstalled.pc.in:
17725         * pkgconfig/gstreamer-net.pc.in:
17726         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
17727         #322257.
17728
17729 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17730
17731         * tools/Makefile.am:
17732         * tools/gst-complete.1.in:
17733         * tools/gst-complete.c:
17734         * tools/gst-compprep.1.in:
17735         * tools/gst-compprep.c:
17736           removing -compprep and -complete
17737
17738 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17739
17740         * gst/gstevent.c: (gst_event_new_new_segment),
17741         (gst_event_parse_new_segment):
17742         * gst/gstevent.h:
17743           fix #320529 - clean up new_segment API and structure.
17744           Let's hope everyone was using the methods, and not the structure.
17745
17746 2005-11-29  Edward Hervey  <edward@fluendo.com>
17747
17748         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17749         (gst_base_sink_event), (gst_base_sink_do_sync),
17750         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
17751         Properly handle non GST_FORMAT_TIME segment
17752         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17753         Properly handle non GST_FORMAT_TIME segment
17754         * gst/gstsegment.c:
17755         This function is valid if the accumulator is 0 and the format
17756         is different from the requested format.
17757         
17758 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
17759
17760         * docs/gst/gstreamer-sections.txt:
17761         Add gst_query_new_seeking and gst_query_parse_seeking to the
17762         docs.
17763
17764 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
17765
17766         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17767           Treat a pad alloc with new caps the same as if we were not
17768           negotiated, in order to allow a changing upstream output
17769           to produce a new format of data.
17770
17771 2005-11-29  Edward Hervey  <edward@fluendo.com>
17772
17773         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17774         (gst_base_transform_event), (gst_base_transform_eventfunc):
17775         The event virtual method is now properly implemented, with a default
17776         handler
17777         Sub classes should call the parent_class event method. They should
17778         return FALSE if they had a problem handling the given event, or don't
17779         want GstBaseTransform to send that even downstream
17780         * gst/elements/gstidentity.c: (gst_identity_class_init),
17781         (gst_identity_init), (gst_identity_event),
17782         (gst_identity_transform_ip), (gst_identity_set_property),
17783         (gst_identity_get_property):
17784         * gst/elements/gstidentity.h:
17785         Added the single-segment boolean property.
17786         If set to TRUE, it will output a single segment of data, starting from
17787         0, will eat up all incoming newsegment, and modify the timestamp of the
17788         buffers accordingly
17789
17790 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
17791
17792         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
17793           Don't ref NULL target pad (#322751). Improve docs.
17794
17795 2005-11-29  Michael Smith  <msmith@fluendo.com>
17796
17797         * gst/gstregistryxml.c: (load_plugin):
17798           Don't crash if we failed to load a feature from a plugin. 
17799
17800 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17801
17802         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17803         (GST_START_TEST):
17804           use more check API and less GLib API
17805
17806 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17807
17808         * Makefile.am:
17809           don't run checks if we don't have check
17810         * common/check.mak:
17811           remove the registry when running make torture
17812         * docs/gst/gstreamer-sections.txt:
17813           remove second multiply
17814         * gst/gstqueue.c: (gst_queue_loop):
17815           fix a compile warning when disabling debug
17816
17817 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17818
17819         * gst/gstinfo.h:
17820         Hey! Let's print the pad name if the pointer != NULL instead
17821         of when it == NULL :-)
17822
17823 2005-11-28  Wim Taymans  <wim@fluendo.com>
17824
17825         * check/gst/gstutils.c: (GST_START_TEST):
17826         Updated check, add some scaling accuracy checking code.
17827
17828         * gst/gstutils.c: (gst_util_div128_64),
17829         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
17830         (gst_util_uint64_scale_int):
17831         Fix 6 times faster division code. Optimize for common 
17832         1/1 and less common X/1 cases.
17833
17834 2005-11-28  Wim Taymans  <wim@fluendo.com>
17835
17836         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17837         More checks.
17838
17839         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
17840         (do_linear_regression), (gst_clock_add_observation):
17841         Cleanups.
17842         Release lock when the clock cannot be slaved.
17843         Catch the case where the regression returned an invalid denominator.
17844
17845         * gst/gstutils.c: (gst_util_div128_64_iterate),
17846         (gst_util_div128_64), (gst_util_uint64_scale_int64),
17847         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17848         Add protentially more performant non-iterative 128/64 divide function
17849         that unfortunatly does not work yet.
17850         Shortcut the trivial 0/X = 0 case.
17851         Remove the warnings on overflow.
17852
17853 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17854
17855         * gst/gstplugin.c: (gst_plugin_register_func):
17856           everything causing a plugin not to load should be at least a WARNING
17857
17858 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
17859
17860         * docs/random/ensonic/dparams.txt:
17861           some TODOs for the next dev cycle
17862         * libs/gst/controller/gstcontroller.c:
17863         (gst_controlled_property_set_interpolation_mode),
17864         (gst_controlled_property_new):
17865         * libs/gst/controller/gstcontroller.h:
17866           use base type to assign acccessor functions
17867
17868 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17869
17870         * check/Makefile.am:
17871         Oops, that should have been top_srcdir
17872
17873 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17874
17875         * check/Makefile.am:
17876         * check/elements/fdsrc.c: (GST_START_TEST):
17877         Use a cmdline define to specify the location of a file to use for
17878         testing, to avoid breaking distcheck.
17879
17880 2005-11-28  Andy Wingo  <wingo@pobox.com>
17881
17882         * gst/gstpad.c (fixate_value): Use array functions for arrays.
17883
17884 2005-11-28  Edward Hervey  <edward@fluendo.com>
17885
17886         * tools/gst-launch.c: (main):
17887         Clarify the output strings, makes it easier to translate.
17888         Fixes #322626
17889
17890 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17891
17892         * gst/Makefile.am:
17893           don't try and build net if we don't even have <sys/socket.h>
17894
17895 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
17896
17897         * check/Makefile.am:
17898         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
17899         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
17900           Add tests for fdsrc seekability
17901
17902         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17903         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
17904         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
17905         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
17906         * gst/elements/gstfdsrc.h:
17907           fdsrc should not be a 'live' source.
17908           Implement seeking on seekable fd's.
17909
17910         * gst/gstquery.c: (gst_query_new_seeking),
17911         (gst_query_parse_seeking):
17912         * gst/gstquery.h:
17913           Implement SEEKING query functions: 
17914             *_new_seeking and *_parse_seeking
17915
17916 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
17917
17918         * gst/gstelement.c: (gst_element_dispose):
17919           don't loop forever
17920
17921         * gst/gstiterator.c:
17922         * gst/gststructure.c:
17923           doc fixes
17924
17925         * libs/gst/controller/gstcontroller.c:
17926         (gst_controlled_property_set_interpolation_mode):
17927         * libs/gst/controller/gstcontroller.h:
17928         * libs/gst/controller/gstinterpolation.c:
17929         (interpolate_none_get_enum_value_array):
17930           support controlling enums
17931
17932 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
17933
17934         * gst/gstvalue.c:
17935           Improve documentation for gst_value_union().
17936
17937         * gst/gstvalue.h:
17938           Change return value for union, intersect and subtract functions
17939           from gint to gboolean.
17940
17941 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
17942
17943         * gst/gstvalue.c: (gst_value_serialize_any_list),
17944         (gst_value_transform_any_list_string),
17945         (gst_value_deserialize_list), (gst_value_deserialize_array),
17946         (gst_value_set_int_range), (gst_value_deserialize_int_range),
17947         (gst_value_set_double_range), (gst_value_deserialize_double_range),
17948         (gst_value_set_fraction_range_full),
17949         (gst_value_deserialize_fraction_range),
17950         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
17951         (gst_value_deserialize_boolean),
17952         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
17953         (gst_value_serialize_float), (gst_value_deserialize_float),
17954         (gst_string_wrap), (gst_value_deserialize_string),
17955         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
17956         (gst_value_union_int_range_int_range),
17957         (gst_value_intersect_int_range_int_range),
17958         (gst_value_intersect_double_range_double_range),
17959         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
17960         (gst_value_subtract_int_range_int_range),
17961         (gst_value_subtract_double_double_range),
17962         (gst_value_subtract_double_range_double_range),
17963         (gst_value_deserialize_fraction):
17964         * gst/gstvalue.h:
17965           Use gint, gdouble and gchar in our API instead of int, double and
17966           char (and make usage in gstvalue.c more consistent).
17967
17968 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17969
17970         * check/Makefile.am:
17971         * libs/gst/controller/Makefile.am:
17972         * libs/gst/dataprotocol/Makefile.am:
17973           fix up Makefile.am and remove GST_ENABLE_NEW
17974
17975 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17976
17977         * configure.ac:
17978         * gst/Makefile.am:
17979         * gst/base/Makefile.am:
17980         * gst/check/Makefile.am:
17981         * gst/elements/Makefile.am:
17982         * gst/net/Makefile.am:
17983           update LDFLAGS use some more
17984
17985 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17986
17987         * common/m4/gst-doc.m4:
17988           Fixes #312589
17989
17990 2005-11-26  Edward Hervey  <edward@fluendo.com>
17991
17992         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17993         This shouldn't issue a g_warning since it returns NULL if it
17994         couldn't find the plugin, and all functions using this behave
17995         properly on a NULL return. Switching to a GST_WARNING.
17996
17997 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
17998
17999         * gst/gstbin.c: (gst_bin_handle_message_func):
18000         Don't leak clock messages.
18001
18002 2005-11-25  Wim Taymans  <wim@fluendo.com>
18003
18004         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18005         (gst_util_uint64_scale_int):
18006         Optimisations, remove unneeded vars.
18007
18008 2005-11-25  Wim Taymans  <wim@fluendo.com>
18009
18010         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18011         Added more checks for the high precision uint64 cases.
18012
18013         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18014         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18015         Implement high precision (guint64 * guint64) / guint64.
18016
18017 2005-11-24  Wim Taymans  <wim@fluendo.com>
18018
18019         * gst/base/gstbasesrc.c: (gst_base_src_query):
18020         Fix wrong percentage query.
18021
18022         * gst/gstutils.c: (gst_util_uint64_scale),
18023         (gst_util_uint64_scale_int):
18024         Add some more common cases that can be handled 
18025         efficiently to _scale.
18026
18027 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18028
18029         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
18030         (gst_mini_object_suite):
18031           don't use check calls from threads; check probably isn't
18032           threadsafe and using a lock to make it threadsafe would
18033           defeat the purpose of this check
18034         * gst/check/gstcheck.c:
18035         * gst/check/gstcheck.h:
18036           use GST_DEBUG some more
18037
18038 2005-11-24  Wim Taymans  <wim@fluendo.com>
18039
18040         * gst/gstutils.c: (gst_util_uint64_scale),
18041         (gst_util_uint64_scale_int):
18042         Chain trivial case to _scale_int.
18043
18044 2005-11-24  Wim Taymans  <wim@fluendo.com>
18045
18046         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18047         Added test for scaling.
18048
18049         * gst/gstclock.h:
18050         Small doc fix.
18051
18052         * gst/gstutils.c: (gst_util_uint64_scale_int):
18053         Implemented high precision scaling code.
18054
18055 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
18056
18057         * gst/gstinfo.h:
18058           do not crash on pad==NULL
18059
18060 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18061
18062         Patch by: Stefan Kost
18063
18064         * common/gtk-doc.mak:
18065         * docs/gst/Makefile.am:
18066         * docs/libs/Makefile.am:
18067           Fix distcheck issues for the libraries docs build
18068           Closes #319599.
18069
18070 2005-11-24  Michael Smith <msmith@fluendo.com>
18071
18072         * docs/manual/basics-helloworld.xml:
18073           Fix bug #315027: memory leak in example code in docs.
18074
18075 2005-11-24  Michael Smith <msmith@fluendo.com>
18076
18077         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18078           Unlock the PREROLL_LOCK in a failure case.
18079
18080 2005-11-24  Wim Taymans  <wim@fluendo.com>
18081
18082         * docs/gst/gstreamer-sections.txt:
18083         * gst/base/gstadapter.h:
18084         * gst/base/gstbasesink.h:
18085         * gst/base/gstbasesrc.h:
18086         * gst/base/gstbasetransform.h:
18087         * gst/base/gstpushsrc.h:
18088         * gst/elements/gstfakesink.h:
18089         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
18090         * gst/elements/gstfakesrc.h:
18091         * gst/elements/gstfilesink.h:
18092         * gst/elements/gstfilesrc.h:
18093         * gst/gst.c:
18094         * gst/gstbin.c:
18095         * gst/gstbuffer.c: (_gst_buffer_copy):
18096         * gst/gstbus.h:
18097         * gst/gstcaps.c:
18098         * gst/gstchildproxy.c:
18099         * gst/gstclock.c:
18100         * gst/gstelement.c:
18101         * gst/gstelementfactory.c:
18102         * gst/gstelementfactory.h:
18103         * gst/gstevent.c:
18104         * gst/gstghostpad.h:
18105         * gst/gstindex.h:
18106         * gst/gstinterface.h:
18107         * gst/gstminiobject.c:
18108         * gst/gstminiobject.h:
18109         * gst/gstpad.c:
18110         * gst/gstpad.h:
18111         * gst/gstpadtemplate.h:
18112         * gst/gstpipeline.h:
18113         * gst/gstpluginfeature.h:
18114         * gst/gstquery.h:
18115         * gst/gstqueue.h:
18116         * gst/gsttaglist.c:
18117         * gst/gsttaglist.h:
18118         * gst/gsttagsetter.c:
18119         * gst/gsttagsetter.h:
18120         * gst/gsttrace.c:
18121         * gst/gsttrace.h:
18122         * gst/gsttypefind.h:
18123         * gst/gsturi.h:
18124         * gst/gstvalue.c:
18125         * gst/net/gstnetclientclock.c:
18126         * gst/net/gstnetclientclock.h:
18127         * gst/net/gstnettimepacket.c:
18128         * gst/net/gstnettimeprovider.c:
18129         * gst/net/gstnettimeprovider.h:
18130         Doc fixes.
18131
18132 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18133
18134         * configure.ac: back to HEAD
18135
18136 === release 0.9.6 ===
18137
18138 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
18139
18140         * configure.ac:
18141           releasing 0.9.6, "Always On Time"
18142
18143 2005-11-23  Wim Taymans  <wim@fluendo.com>
18144
18145         * docs/gst/gstreamer-sections.txt:
18146         * gst/glib-compat.c:
18147         * gst/gsttagsetter.c:
18148         * gst/gstvalue.c:
18149         * gst/net/gstnetclientclock.c:
18150         * gst/net/gstnettimepacket.h:
18151         Doc updates.
18152
18153 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18154
18155         * docs/faq/using.xml:
18156         * docs/libs/tmpl/gstcontrol.sgml:
18157         * docs/manual/advanced-dparams.xml:
18158         * docs/manual/appendix-checklist.xml:
18159         * docs/manual/basics-elements.xml:
18160         * docs/pwg/other-source.xml:
18161         * docs/random/moving-plugins:
18162         * gst/gstpad.c:
18163         * tools/gst-launch.1.in:
18164           remove mentions of sinesrc
18165
18166 2005-11-23  Michael Smith <msmith@fluendo.com>
18167
18168         * docs/gst/gstreamer-sections.txt:
18169           Update for new API and API changes.
18170         * gst/gstobject.h:
18171           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
18172         * gst/gstvalue.c:
18173           Documentation typo fix.
18174         * gst/net/gstnettimepacket.c:
18175           Documentation fixes for arguments.
18176
18177 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
18178
18179         * gst/gststructure.c: (gst_structure_get_fraction),
18180         (gst_structure_parse_value),
18181         (gst_structure_fixate_field_nearest_fraction):
18182         * gst/gststructure.h:
18183         * gst/gstutils.c: (gst_util_uint64_scale_int):
18184         * gst/gstutils.h:
18185         * scripts/update-funcnames:
18186         API Changes. 
18187         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
18188         Make gst_structure_fixate_field_nearest_fraction take a numerator
18189         and denominator argument instead of a GValue
18190         add gst_structure_get_fraction helper function.
18191
18192 2005-11-23  Wim Taymans  <wim@fluendo.com>
18193
18194         * docs/design/part-TODO.txt:
18195         Update TODO.
18196
18197         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
18198         * gst/net/gstnetclientclock.h:
18199         Use parent fields for timeout and window_size.
18200
18201 2005-11-23  Andy Wingo  <wingo@pobox.com>
18202
18203         * check/net/gstnetclientclock.c (test_functioning): Adjust to
18204         rate_num/rate_denom change.
18205
18206         * gst/net/gstnetclientclock.c
18207         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
18208         OBJECT_LOCK. Don't call add_observation with the lock.
18209
18210         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
18211         fraction.
18212         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
18213         rate fraction.
18214         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
18215         deal with rate as a fraction whose numerator and denominator are
18216         GstClockTime values.
18217         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
18218         master; the other fields are protected by the SLAVE_LOCK.
18219         (do_linear_regression): Note that this must be called with the
18220         SLAVE_LOCK.
18221         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
18222         OBJECT_LOCK. Call set_calibration instead of touching the
18223         variables directly.
18224         (gst_clock_set_property, gst_clock_get_property): Protect
18225         master/slave parameters with the SLAVE_LOCK.
18226
18227         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
18228         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
18229         note that all of the instance variables that add_observation and
18230         the set_master functions use are protected by that lock and not
18231         the OBJECT_LOCK.
18232         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
18233
18234         * gst/gstclock.c (gst_clock_add_observation): No longer requires
18235         the caller to take the object lock.
18236
18237 2005-11-23  Wim Taymans  <wim@fluendo.com>
18238
18239         * gst/gsterror.c: (_gst_core_errors_init):
18240         * gst/gsterror.h:
18241         Add error for clock stuff.
18242
18243         * gst/gstpipeline.c: (gst_pipeline_change_state),
18244         (gst_pipeline_set_clock):
18245         Post clock error when clock cannot be used in a pipeline.
18246
18247 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
18248
18249         * docs/gst/gstreamer-sections.txt:
18250           make two symbols from gstinfo private for the docs
18251         * gst/base/gstcollectpads.h:
18252         * gst/gstutils.c:
18253           fix doc typos, update docs
18254
18255 2005-11-22  Wim Taymans  <wim@fluendo.com>
18256
18257         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18258         (gst_base_sink_wait), (gst_base_sink_do_sync),
18259         (gst_base_sink_handle_event):
18260         * gst/base/gstbasesink.h:
18261         No need to store the clock, the parent element class already
18262         has it.
18263
18264         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
18265         Updates for clock_set returning a gboolean
18266
18267         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
18268         (gst_clock_id_wait_async), (gst_clock_class_init),
18269         (gst_clock_init), (gst_clock_finalize),
18270         (gst_clock_get_internal_time), (gst_clock_get_time),
18271         (gst_clock_slave_callback), (gst_clock_set_master),
18272         (gst_clock_get_master), (do_linear_regression),
18273         (gst_clock_add_observation), (gst_clock_set_property),
18274         (gst_clock_get_property):
18275         * gst/gstclock.h:
18276         Implement master/slave. When setting a clock as a slave, a
18277         periodic timeout is scheduled to sample master and slave times.
18278         Then the slave clock is recalibrated to match offset and rate
18279         of the master clock.
18280         Update logging a bit.
18281         Add flag so that a clock can state that is cannot be slaved to
18282         another clock.
18283
18284         * gst/gstelement.c: (gst_element_set_clock):
18285         * gst/gstelement.h:
18286         The set clock returns a gboolean for when an element cannot
18287         deal with the selected clock in the pipeline. 
18288
18289         * gst/gstpipeline.c: (gst_pipeline_change_state),
18290         (gst_pipeline_set_clock):
18291         * gst/gstpipeline.h:
18292         Handle the case where the selected clock cannot be set on
18293         the pipeline.
18294
18295         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
18296         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
18297         (gst_net_client_clock_set_property),
18298         (gst_net_client_clock_get_property),
18299         (gst_net_client_clock_observe_times):
18300         * gst/net/gstnetclientclock.h:
18301         Use regression code in GstClock parent, remove duplicated
18302         functionality.
18303
18304 2005-11-22  Michael Smith <msmith@fluendo.com>
18305
18306         * gst/gstutils.c: (gst_util_clock_time_scale):
18307         * gst/gstutils.h:
18308         * docs/gst/gstreamer-sections.txt:
18309           Rename method to have extra underscore.
18310
18311 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
18312
18313         * gst/elements/Makefile.am:
18314         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
18315         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18316         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18317         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18318         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18319         * gst/elements/gstfakesrc.h:
18320         * gst/gstqueue.c: (queue_leaky_get_type):
18321           correctly fix GEnumValues so that nick is the short lowercase
18322           dashed tag
18323         * tools/gst-inspect.c: (print_element_properties_info):
18324           also show the nick, since it's useful to use from parse_launch
18325           syntax
18326           Fixes #322139
18327
18328 2005-11-22  Michael Smith <msmith@fluendo.com>
18329
18330         * gst/gstutils.c: (gst_util_clocktime_scale):
18331         * gst/gstutils.h:
18332         * docs/gst/gstreamer-sections.txt:
18333           Add util method for scaling a clocktime by a fraction. Useful 
18334           implementation is left as an exercise for the reader.
18335
18336 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18337
18338         * gst/gstvalue.c: (gst_value_collect_fraction_range):
18339         If needed, allocate storage in the destination value during
18340         collection.
18341
18342 2005-11-22  Edward Hervey  <edward@fluendo.com>
18343
18344         * docs/gst/gstreamer-sections.txt:
18345         * gst/Makefile.am:
18346         * gst/gst.h:
18347         * gst/gsturitype.c:
18348         * gst/gsturitype.h:
18349         * gst/gstutils.c: (gst_util_set_object_arg):
18350         * tools/gst-compprep.c: (main):
18351         * tools/gst-inspect.c: (print_element_properties_info):
18352         Removed GstURI, closes bug #321061
18353
18354 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18355
18356         * check/gst/gststructure.c: (GST_START_TEST):
18357         * gst/gststructure.c: (gst_structure_parse_value):
18358           Oops, broke automatic string type parsing.
18359           Add a test to catch it in future.
18360
18361 2005-11-22  Andy Wingo  <wingo@pobox.com>
18362
18363         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
18364         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18365         Actually rename the function implementations. Grr.
18366
18367 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18368
18369         * check/gst/capslist.h:
18370           Comment test cases
18371         * check/gst/gststructure.c: (GST_START_TEST),
18372         (gst_structure_suite):
18373           Test automatic value type detection in gst_structure_from_string.
18374         * gst/gststructure.c: (gst_structure_parse_value):
18375           Add fraction as a type we try and guess automatically in
18376           caps/structure strings.
18377
18378 2005-11-22  Andy Wingo  <wingo@pobox.com>
18379
18380         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18381
18382         * gst/gsttagsetter.h:
18383         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18384         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18385         (gst_tag_setter_add_tag_valist)
18386         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18387         _add_values, _add_valist, and _add_valist_values. Since this is an
18388         interface the function suffixes should be more explicit so
18389         language binding don't end up with element.add_valist ->
18390         gst_tag_setter_add_valist, for example. Fixes #322069.
18391
18392 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18393
18394         * check/gst/gstcaps.c: (GST_START_TEST):
18395           Extend caps string tests to check that a caps to string
18396           conversion is reversible and produces the same caps.
18397
18398         * gst/gststructure.c: (gst_structure_value_get_generic_type):
18399           Output "fraction" as the generic type fraction range, so caps
18400           serialisation and deserialisation works.
18401         * check/gst/capslist.h:
18402         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18403           Support 'MIN' and 'MAX' for deserialising fractions.
18404
18405 2005-11-22  Andy Wingo  <wingo@pobox.com>
18406
18407         * gst/gstevent.h (gst_event_new_new_segment)
18408         (gst_event_parse_new_segment, gst_event_new_buffer_size)
18409         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18410         Renamed from *_newsegment, *_buffersize, *_notarget.
18411
18412         * scripts/update-funcnames: New script, performs the changes
18413         listed above.
18414
18415 2005-11-22  Wim Taymans  <wim@fluendo.com>
18416
18417         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18418         Make sure the GstFlowReturn is returned.
18419
18420         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18421         (gst_bus_add_signal_watch):
18422         * gst/gstbus.h:
18423         add gst_bus_add_signal_watch_full.
18424
18425         * gst/gstplugin.c: (gst_plugin_load_file):
18426         Small style cleanup.
18427
18428 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18429
18430         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18431           Block the fakesrc srcpad when we send an event, to avoid
18432           contention on the stream_lock causing random test failures.
18433
18434 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18435
18436         * check/gst/gstvalue.c: (GST_START_TEST):
18437         * gst/gstvalue.c: (gst_value_fraction_subtract):
18438           Fix subtraction.
18439
18440 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
18441
18442         * gst/gst.h:
18443           include "gstchildproxy.h"
18444         * gst/gstchildproxy.h:
18445         * libs/gst/controller/gstcontroller.h:
18446           use G_GNUC_NULL_TERMINATED
18447
18448 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18449
18450         * check/gst/capslist.h:
18451         * check/gst/gstcaps.c: (GST_START_TEST):
18452         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18453         * gst/gststructure.c: (gst_structure_parse_range),
18454         (gst_structure_fixate_field_nearest_fraction):
18455         * gst/gststructure.h:
18456         * gst/gstvalue.c: (gst_value_init_fraction_range),
18457         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18458         (gst_value_collect_fraction_range),
18459         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18460         (gst_value_set_fraction_range_full),
18461         (gst_value_get_fraction_range_min),
18462         (gst_value_get_fraction_range_max),
18463         (gst_value_serialize_fraction_range),
18464         (gst_value_transform_fraction_range_string),
18465         (gst_value_compare_fraction_range),
18466         (gst_value_deserialize_fraction_range),
18467         (gst_value_intersect_fraction_fraction_range),
18468         (gst_value_intersect_fraction_range_fraction_range),
18469         (gst_value_subtract_fraction_fraction_range),
18470         (gst_value_subtract_fraction_range_fraction),
18471         (gst_value_subtract_fraction_range_fraction_range),
18472         (gst_value_collect_fraction), (gst_value_fraction_multiply),
18473         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18474         (gst_value_transform_string_fraction), (_gst_value_initialize):
18475         * gst/gstvalue.h:
18476           Implement fraction ranges and extend GstFraction to support
18477           arithmetic subtraction, as well as deserialization from integer
18478           strings such as "100"
18479           Add a testsuite as for int and double range set operations
18480
18481 2005-11-21  Andy Wingo  <wingo@pobox.com>
18482
18483         * gst/gsttaglist.h: 
18484         * gst/gstcaps.h: 
18485         * gst/gststructure.h: Add glib-compat.h.
18486
18487 2005-11-21  Wim Taymans  <wim@fluendo.com>
18488
18489         * gst/gstbin.c: (gst_bin_change_state_func):
18490         Fix for #321595
18491
18492 2005-11-21  Wim Taymans  <wim@fluendo.com>
18493
18494         * gst/gstsegment.h:
18495         And add a nice define too.
18496
18497 2005-11-21  Wim Taymans  <wim@fluendo.com>
18498
18499         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18500         (gst_segment_new), (gst_segment_free), (gst_segment_init),
18501         (gst_segment_set_duration), (gst_segment_set_last_stop),
18502         (gst_segment_set_seek), (gst_segment_set_newsegment),
18503         (gst_segment_to_stream_time), (gst_segment_to_running_time),
18504         (gst_segment_clip):
18505         * gst/gstsegment.h:
18506         Make binding friendly.
18507
18508 2005-11-21  Andy Wingo  <wingo@pobox.com>
18509
18510         * gst/gsttagsetter.h: 
18511         * gst/gsttaglist.h: 
18512         * gst/gststructure.h: 
18513         * gst/gstcaps.h: 
18514         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18515         #319940.
18516
18517         * gst/gsterror.c (_gst_core_errors_init):
18518         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18519         category.
18520
18521         * gst/Makefile.am (gst_headers): Add glib-compat.h.
18522         (noinst_HEADERS): noinst the -private.
18523
18524 2005-11-21  Michael Smith <msmith@fluendo.com>
18525
18526         * gst/gstplugin.h:
18527         * gst/gstregistry.h:
18528           Remove unimplemented declarations for which we can see no sensible
18529           use.
18530
18531 2005-11-21  Andy Wingo  <wingo@pobox.com>
18532
18533         * gst/gst.h: Include glib-compat.h.
18534
18535         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18536
18537         * gst/glib-compat.c: Include the public and the private header.
18538
18539         * gst/glib-compat-private.h: Copied here from glib-compat.h.
18540
18541         * gst/gstvalue.c: 
18542         * gst/gstpad.c: 
18543         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18544
18545         * check/gst/gstevent.c (create_custom_events): Check that
18546         FLUSH_STOP is serialized.
18547
18548         * check/elements/identity.c (event_func): 
18549         * check/elements/fakesrc.c (event_func): No stream lock, the core
18550         takes it.
18551
18552         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18553         stream lock taking, yay.
18554
18555         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18556         ensure that core takes the stream lock.
18557
18558         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18559         lock name change.
18560
18561         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18562         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18563         it already. For the flush start we do take it though so we get the
18564         right preroll state change messages.
18565
18566         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18567         the stream lock here, the core does it for us.
18568
18569         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
18570         GST_STREAM_GET_LOCK.
18571         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
18572         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
18573         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
18574         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
18575         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
18576         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
18577
18578         * gst/gstpad.c: Update for stream lock name change.
18579
18580         * gst/base/gstbasesink.c: Update for preroll lock name change.
18581
18582 2005-11-21  Wim Taymans  <wim@fluendo.com>
18583
18584         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
18585         (gst_clock_get_master):
18586         * gst/gstclock.h:
18587         * gst/gstsystemclock.c: (gst_system_clock_init):
18588         Convert Clock flags to object flags.
18589         Added methods to manage master/slave clocks.
18590
18591 2005-11-21  Wim Taymans  <wim@fluendo.com>
18592
18593         * check/gst/gstsegment.c: (GST_START_TEST):
18594         * docs/design/part-TODO.txt:
18595         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18596         (gst_base_sink_event), (gst_base_sink_do_sync),
18597         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
18598         (gst_base_sink_query), (gst_base_sink_change_state):
18599         * gst/base/gstbasesink.h:
18600         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18601         (gst_base_src_default_newsegment),
18602         (gst_base_src_configure_segment), (gst_base_src_do_seek),
18603         (gst_base_src_get_range), (gst_base_src_loop),
18604         (gst_base_src_change_state):
18605         * gst/base/gstbasesrc.h:
18606         * gst/base/gstbasetransform.c:
18607         (gst_base_transform_prepare_output_buf),
18608         (gst_base_transform_event), (gst_base_transform_change_state):
18609         * gst/base/gstbasetransform.h:
18610         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
18611         (gst_collect_pads_event):
18612         * gst/base/gstcollectpads.h:
18613         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
18614         (gst_fake_src_create):
18615         * gst/elements/gstfakesrc.h:
18616         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18617         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18618         (gst_segment_set_last_stop), (gst_segment_set_seek),
18619         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18620         (gst_segment_to_running_time), (gst_segment_clip):
18621         * gst/gstsegment.h:
18622         More segment updates, replace code in plugins with segment
18623         helper functions.
18624
18625 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18626
18627         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
18628         Don't ignore sscanf results
18629
18630 2005-11-21  Andy Wingo  <wingo@pobox.com>
18631
18632         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
18633
18634         * *.h:
18635         * *.c: Ran scripts/update-macros. Oh yes.
18636
18637         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
18638         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
18639         GST_GET_LOCK, etc.
18640
18641         * scripts/update-macros: New script. Run it on your files to
18642         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
18643         well.
18644
18645 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
18646
18647         * docs/gst/Makefile.am:
18648         * docs/gst/gstreamer-docs.sgml:
18649         * docs/gst/gstreamer-sections.txt:
18650         * docs/gst/gstreamer.types:
18651         * gst/gstinfo.h:
18652           more docs fixes, add new api to the docs
18653
18654 2005-11-21  Andy Wingo  <wingo@pobox.com>
18655
18656         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
18657         state_broadcast call.
18658
18659         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
18660
18661 2005-11-21  Julien MOUTTE  <julien@moutte.net>
18662
18663         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
18664         function calls for arrays.
18665
18666 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
18667
18668         * docs/random/ensonic/media-device-daemon.txt:
18669           wild idea, can this be done?
18670         * docs/gst/gstreamer-sections.txt:
18671         * gst/gsterror.h:
18672         * gst/gstfilter.c:
18673         * gst/gstfilter.h:
18674         * gst/gstplugin.h:
18675         * gst/gstpluginfeature.c:
18676         * gst/gsttrace.c:
18677         * gst/gstvalue.c:
18678         * gst/gstvalue.h:
18679           doc fixes and additions
18680
18681 2005-11-21  Andy Wingo  <wingo@pobox.com>
18682
18683         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
18684         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
18685         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
18686         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
18687         private to the basesrc implementation.
18688
18689         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
18690         behalf of event function if necessary. It should no longer be
18691         necessary to take the stream lock in pad's event functions. Fixes
18692         #320299.
18693
18694 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18695         * docs/gst/gstreamer-sections.txt:
18696         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
18697         (gst_structure_fixate_field_nearest_double),
18698         (gst_structure_fixate_field_boolean):
18699         * gst/gststructure.h:
18700         * win32/common/libgstreamer.def:
18701         * win32/gstreamer.def:
18702
18703         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
18704         (#322027)
18705
18706 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18707
18708         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
18709         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
18710         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
18711         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
18712         (gst_fdsrc_uri_handler_init):
18713         * gst/elements/gstfdsrc.h:
18714           Port fd:// URI handler from 0.8 to fdsrc
18715
18716 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18717
18718         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
18719         (gst_value_serialize_fourcc):
18720         * gst/gstvalue.h:
18721           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
18722           consistent with our other format defines (#320324).
18723
18724 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18725
18726         * gst/gstvalue.c: (gst_value_is_fixed):
18727           Revert previous commit. Value lists are by definition
18728           not fixed, as they are a list of possible values.
18729
18730 2005-11-21  Andy Wingo  <wingo@pobox.com>
18731
18732         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
18733         during the stable series if we need it. Fixes #319178.
18734
18735         * gst/gstevent.c (gst_event_new_filler): Removed.
18736
18737         * check/gst/gstevent.c: Update comment about filler events.
18738
18739 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18740
18741         * gst/gstvalue.c: (gst_value_is_fixed):
18742           Should handle both value arrays and value lists.
18743
18744 2005-11-21  Andy Wingo  <wingo@pobox.com>
18745
18746         patch by: Alessandro Dessina <alessandro nnva org>
18747
18748         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
18749         functions to access arrays. Fixes #321962.
18750
18751 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18752
18753         * docs/gst/gstreamer.types:
18754           gst_collectpads_get_type => gst_collect_pads_get_type.
18755           
18756         * gst/base/gstbasetransform.c:
18757           Remove unused SIGNAL_HANDOFF enum.
18758
18759 2005-11-21  Andy Wingo  <wingo@pobox.com>
18760
18761         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
18762         the event type (upstream, downstream, serialized). Renamed
18763         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
18764         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
18765         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
18766
18767         * gst/gstevent.c: Update for new CUSTOM event names.
18768
18769         * check/gst/gstevent.c: Update check for new CUSTOM event names.
18770
18771         * gst/gstevent.h:
18772         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
18773         bug #319392.
18774
18775 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18776
18777         * docs/gst/gstreamer-sections.txt:
18778         * win32/common/libgstbase.def:
18779         * win32/libgstbase.def:
18780         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18781         (gst_collect_pads_class_init), (gst_collect_pads_init),
18782         (gst_collect_pads_finalize), (gst_collect_pads_new),
18783         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
18784         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
18785         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
18786         (gst_collect_pads_start), (gst_collect_pads_stop),
18787         (gst_collect_pads_peek), (gst_collect_pads_pop),
18788         (gst_collect_pads_available), (gst_collect_pads_read),
18789         (gst_collect_pads_flush), (gst_collect_pads_event),
18790         (gst_collect_pads_chain):
18791         * gst/base/gstcollectpads.h:
18792           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
18793           unimplemented functions as unimplemented. Add padding to
18794           GstCollectData. (#320766, #320423)
18795
18796 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18797
18798         * gst/gstmessage.c:
18799           Improve docs for DURATION message (usage of duration parameter)
18800           (#320113)
18801
18802 2005-11-20  Wim Taymans  <wim@fluendo.com>
18803
18804         * check/Makefile.am:
18805         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
18806         (main):
18807         * gst/Makefile.am:
18808         * gst/gst.h:
18809         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18810         (gst_segment_set_seek), (gst_segment_set_newsegment),
18811         (gst_segment_to_stream_time), (gst_segment_to_running_time),
18812         (gst_segment_clip):
18813         * gst/gstsegment.h:
18814         Added segment helper structure and methods. Not fully implemented
18815         yet.
18816         Added segment check.
18817
18818 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
18819
18820         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18821           Add a deserialisation test for fractions
18822         * examples/metadata/read-metadata.c: (message_loop),
18823         (make_pipeline), (main):
18824           Fix up metadata reading sample.
18825         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18826           Debug format fix
18827         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18828           Don't try and fixate empty caps
18829         * gst/gst_private.h:
18830           Wrap in G_BEGIN_DECLS/G_END_DECLS
18831         * gst/gstvalue.c: (gst_value_collect_fraction),
18832         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
18833         (gst_value_transform_string_fraction),
18834         (gst_value_compare_fraction):
18835           Add some extra guards to ensure that we don't end up 
18836           with an invalid denominator of 0 in a gstfraction and
18837           that fractions always get reduced.
18838
18839 2005-11-20  Wim Taymans  <wim@fluendo.com>
18840
18841         * docs/gst/gstreamer-sections.txt:
18842         * gst/gstbuffer.h:
18843         * gst/gstelement.c:
18844         * gst/gstformat.c:
18845         * gst/gstformat.h:
18846         * gst/gstindex.h:
18847         * gst/gstquery.c:
18848         * gst/gstquery.h:
18849         * gst/gstvalue.c:
18850         Doc fixes.
18851
18852 2005-11-20  Wim Taymans  <wim@fluendo.com>
18853
18854         * docs/design/part-TODO.txt:
18855         * gst/gstcaps.h:
18856         Make a proper enum of the flag.
18857
18858 2005-11-19  Wim Taymans  <wim@fluendo.com>
18859
18860         * docs/design/part-TODO.txt:
18861         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
18862         (gst_format_to_quark), (gst_format_register):
18863         * gst/gstformat.h:
18864         * gst/gstquery.c: (_gst_query_initialize),
18865         (gst_query_type_get_name), (gst_query_type_to_quark),
18866         (gst_query_type_register):
18867         * gst/gstquery.h:
18868         Add type to quark and type to string conversions.
18869
18870 2005-11-19  Andy Wingo  <wingo@pobox.com>
18871
18872         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
18873         #320097.
18874
18875 2005-11-19  Wim Taymans  <wim@fluendo.com>
18876
18877         * docs/design/part-TODO.txt:
18878         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18879         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
18880         (gst_bin_handle_message_func):
18881         * gst/gstbin.h:
18882         Make message handling overridable.
18883
18884 2005-11-19  Andy Wingo  <wingo@pobox.com>
18885
18886         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
18887
18888         * gst/gstclock.h:
18889         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
18890         be a GstClockTime.
18891         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
18892         is a GstClockTime. Fixes #321710.
18893
18894         * gst/gstclock.h (GstClock): Remove offset property. Add
18895         internal_calibration and external_calibration. Fix padding. Pad
18896         also by GstClockTime so we don't run into problems.
18897
18898         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
18899         (gst_clock_get_rate_offset): Remove.
18900         (gst_clock_set_time_adjust): Remove. Fixes #321712.
18901
18902         * gst/gstutils.h:
18903         * gst/gstutils.c (g_static_rec_cond_wait)
18904         (g_static_rec_cond_timed_wait): Removed, no longer needed.
18905
18906         * gst/gstbin.c: Remove terrible continue_state prototype.
18907
18908         * gst/gstelement.h (gst_element_continue_state): Make public.
18909
18910         * gst/gstelement.h:
18911         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
18912         by continue_state. Fixes #319389.
18913
18914         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
18915         Really fixes #168438. However I don't see anywhere where the
18916         filter function is called... stupid GStreamer...
18917         
18918         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
18919         don't have a dispose function, so it won't get called when the
18920         object is unreffed, but oh well!
18921
18922         * gst/gstindex.c (gst_index_set_filter_full): New API function,
18923         allows a destroy function to be set so user_data can be freed.
18924         Fixes #168438.
18925         (gst_index_set_filter): Call gst_index_set_filter_full.
18926
18927         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
18928
18929         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
18930         string should produce an error, given the lack of a way to
18931         represent NULL strings. Fixes #165650.
18932         
18933         * gst/gstvalue.h: 
18934         * gst/gstvalue.c (gst_value_array_append_value) 
18935         (gst_value_array_prepend_value, gst_value_array_get_size) 
18936         (gst_value_array_get_value): New API, copied from
18937         gst_value_list_*, only operates on arrays.
18938         (gst_value_list_append_value, gst_value_list_prepend_value) 
18939         (gst_value_list_concat, gst_value_list_get_size) 
18940         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
18941
18942         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
18943         init_list, because it works on both.
18944         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
18945         (gst_value_copy_list_or_array): Renamed from copy_list.
18946         (gst_value_free_list_or_array): Renamed from free_list.
18947         (gst_value_collect_list_or_array): Renamed from collect_list.
18948         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
18949         (gst_value_list_or_array_peek_pointer): Renamed from
18950         list_peek_pointer.
18951         (_gst_value_array_value_table, _gst_value_list_value_table):
18952         Update value table functions.
18953         (gst_value_compare_list_or_array): Renamed from compare_list.
18954
18955         * gsttaglist.h: Whoops, foreach function returns void. Also fix
18956         some constness.
18957
18958         * gst/gsttaglist.c:
18959         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
18960         GstTagList*. Fixes #143472.
18961
18962         * gst/gststructure.h: Clarify what the foreach/map functions can
18963         or can't do to their arguments.
18964
18965 2005-11-18  Wim Taymans  <wim@fluendo.com>
18966
18967         * gst/gstclock.c: (gst_clock_set_calibration),
18968         (gst_clock_get_calibration):
18969         Doc and API fixes.
18970         Calibration can be set with internal time equal to current
18971         internal time too.
18972
18973 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
18974
18975         * gst/gsterror.c:
18976         * gst/gsterror.h:
18977           document
18978
18979 2005-11-18  Andy Wingo  <wingo@pobox.com>
18980
18981         * configure.ac: 
18982         * pkgconfig/gstreamer-net.pc.in:
18983         * pkgconfig/gstreamer-net-uninstalled.pc.in:
18984         * pkgconfig/Makefile.am: Add net pkgconfig files.
18985
18986 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
18987
18988         * gst/gstcaps.c:
18989         * gst/gstghostpad.c:
18990         * gst/gsttrace.c:
18991         * gst/gstvalue.c:
18992         * gst/gstvalue.h:
18993           docs fixes
18994
18995 2005-11-18  Andy Wingo  <wingo@pobox.com>
18996
18997         * gst/net/gstnetclientclock.c: Turn off debugging.
18998
18999         * check/net/gstnetclientclock.c (test_functioning): Assert that the
19000         times connverge somewhat. Can't make a real test.
19001
19002         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
19003         integer arithmetic. Return the minimum of the domain, which can be
19004         set as "internal" for gst_clock_set_calibration.
19005         (gst_net_client_clock_observe_times): Call _set_calibration.
19006         (gst_net_client_clock_new): Call _set_calibration instead of
19007         rate_offset.
19008
19009         * check/net/gstnetclientclock.c (test_functioning): Use the right
19010         adjustment api.
19011
19012         * gst/gstclock.h:
19013         * gst/gstclock.c (gst_clock_get_calibration) 
19014         (gst_clock_set_calibration): New functions, obsolete the ones I
19015         added yesterday. Doh. Precision issues mean we have to extrapolate
19016         from a point in the more recent past than 1970.
19017         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
19018         obsolete.
19019         (gst_clock_adjust_unlocked): Use the right calibration data.
19020
19021 2005-11-18  Edward Hervey  <edward@fluendo.com>
19022
19023         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
19024         Also reset the ->current_* values in READY->PAUSED
19025
19026 2005-11-18  Andy Wingo  <wingo@pobox.com>
19027
19028         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
19029         Whoops, check the right fd. Also add some debugging.
19030         (gst_net_client_clock_observe_times): Adjust for int64 offset.
19031         (do_linear_regression): Add a crapload of debugging. Subtract off
19032         the minimum values from the input series to discard unneeded bits.
19033         Use only int arithmetic. There is still double arithmetic when
19034         calculating the intercept that needs fixing. Return boolean to
19035         indicate success; FALSE would mean the domain or range is too
19036         great. Still needs fixes.
19037
19038 2005-11-18  Wim Taymans  <wim@fluendo.com>
19039
19040         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19041         For the current position in stream time, we need to subtract
19042         accumulated time.
19043         
19044         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
19045         Release lock before calling the callback function of async
19046         entries.
19047
19048 2005-11-18  Andy Wingo  <wingo@pobox.com>
19049
19050         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
19051         Port goes all the way to MAXUINT16.
19052
19053         * gst/net/gstnettimeprovider.c: Make the port range the same as
19054         for the kernel: 0 assigns, otherwise ports are less than
19055         MAXUINT16.
19056
19057         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
19058         port change.
19059
19060         * check/net/gstnetclientclock.c (test_functioning): Add the start
19061         of another test. 
19062
19063 2005-11-18  Wim Taymans  <wim@fluendo.com>
19064
19065         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19066         (gst_bin_remove_func), (bin_bus_handler):
19067         * gst/gstbin.h:
19068         Removing a clock provider from a bin, triggers a clock lost message
19069         so that a new clock will be selected.
19070         Adding a clock to a bin triggers a clock provider message.
19071         Make sure we reselect a clock when we received a clock lost message.
19072         Keep a reference to the element that provided the clock.
19073
19074 2005-11-18  Andy Wingo  <wingo@pobox.com>
19075
19076         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
19077         the clock initially so it produces values around the base time.
19078         (gst_net_client_clock_class_init): Typo fix.
19079         (gst_net_client_clock_thread): Add note on when the socket gets
19080         closed.
19081
19082 2005-11-17  Wim Taymans  <wim@fluendo.com>
19083
19084         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
19085         Free remote and local time arrays.
19086
19087 2005-11-17  Wim Taymans  <wim@fluendo.com>
19088
19089         * gst/net/gstnetclientclock.c: (do_linear_regression),
19090         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
19091         Fix compilation, uninitialized vars and a forgotten continue.
19092
19093 2005-11-17  Andy Wingo  <wingo@pobox.com>
19094
19095         * check/Makefile.am (check_PROGRAMS): 
19096         * check/net/gstnetclientclock.c: Add a most minimal test for the
19097         net client clock. More to come later.
19098
19099         * gst/net/gstnet.h: 
19100         * gst/net/Makefile.am: Add netclientclock.
19101
19102         * gst/net/gstnetclientclock.h:
19103         * gst/net/gstnetclientclock.c: New files, implement an untested
19104         GstClock that takes its time from a network time provider.
19105         Implements the algorithm in network-clock.scm.
19106
19107         * tests/network-clock.scm (*window-size*): Rename from
19108         *queue-length*.
19109         * tests/network-clock.scm (network-time): 
19110         * tests/network-clock-utils.scm (q-push): Update callers.
19111
19112 2005-11-17  Wim Taymans  <wim@fluendo.com>
19113
19114         * gst/gstbin.c: (gst_bin_provide_clock_func),
19115         (gst_bin_sort_iterator_new):
19116         And unref the child too..
19117
19118 2005-11-17  Wim Taymans  <wim@fluendo.com>
19119
19120         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
19121         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
19122         Refactor the sort iterator so it can be used while holding the
19123         LOCK too.
19124         Make clock selection select a clock closest to the source.
19125
19126 2005-11-17  Michael Smith <msmith@fluendo.com>
19127
19128         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
19129         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
19130         * gst/gstclock.h:
19131           Anonymous structs are a gcc (and some other compilers) extension, so
19132           don't use them. Since this is only for ABI-compatibility, and our
19133           API/ABI freeze is over in a few days, this whole thing will only
19134           last a few days, so don't bother trying to think up a meaningful
19135           name for the struct.
19136
19137 2005-11-17  Andy Wingo  <wingo@pobox.com>
19138
19139         * gst/gstclock.h (GstClock): Add rate and offset properties,
19140         preserving ABI stability. Add rate/offset accessors. Will file bug
19141         for the freeze break.
19142
19143         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
19144         and offset, trying to keep precision and avoiding
19145         underflow/overflow.
19146         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
19147         functions. Make gst_clock_set_time_adjust obsolete.
19148         (gst_clock_set_time_adjust): Note that this function is obsolete.
19149         Will file bug soon.
19150
19151         * gst/base/gstbasetransform.h: Make the ABI-stability hack
19152         greppable by using GST_PADDING-1+1.
19153
19154 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
19155
19156         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19157
19158         * gst/gstmessage.c: (gst_message_parse_clock_lost):
19159           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
19160
19161         * gst/gstpadtemplate.h:
19162         * gst/gstpluginfeature.h:
19163           Don't use c++ style comments in headers (#321638).
19164
19165 2005-11-16  Andy Wingo  <wingo@pobox.com>
19166
19167         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
19168         buffer.
19169
19170         * check/net/gstnettimeprovider.c: Check to see that the time
19171         provider actually provides times. Works, yo!
19172
19173 2005-11-16  Wim Taymans  <wim@fluendo.com>
19174
19175         * check/Makefile.am:
19176         Enable more tests.
19177
19178         * check/elements/fakesrc.c: (GST_START_TEST):
19179         Set element to NULL before disposing it.
19180
19181 2005-11-16  Andy Wingo  <wingo@pobox.com>
19182
19183         * gst/net/Makefile.am:
19184         * gst/net/gstnet.h:
19185         * gst/net/gstnettimeprovider.c: 
19186         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
19187         provider, include it from gstnet.h, and add it to the build.
19188
19189         * gst/net/gstnettimepacket.h: 
19190         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
19191         sending and receiving.
19192
19193 2005-11-16  Wim Taymans  <wim@fluendo.com>
19194
19195         * check/Makefile.am:
19196         Enable valgrind check.
19197
19198         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
19199         (gst_fake_src_alloc_buffer):
19200         Fix memleak.
19201
19202 2005-11-16  Wim Taymans  <wim@fluendo.com>
19203
19204         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
19205         Call parent finalize too.
19206
19207 2005-11-16  Wim Taymans  <wim@fluendo.com>
19208
19209         * check/Makefile.am:
19210         Enable valgrind check that should work fine now.
19211
19212         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19213         * gst/gstqueue.c: (gst_queue_init):
19214         Fix memleaks in pad allocation.
19215
19216 2005-11-16  Andy Wingo  <wingo@pobox.com>
19217
19218         * gst/net/Makefile.am:
19219         * gst/net/gstnet.h: New part of core to hold network elements and
19220         objects. Put in core because it exposes API that applications want
19221         to use. The library is named libgstnet-tempname right now because
19222         of the existing libgstnet in gst-plugins-base. Solution is
19223         probably to rename the one in plugins-base; will file a bug for
19224         the freeze break.
19225
19226         * gst/net/gstnettimeprovider.c: 
19227         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
19228         get_time call over the network.
19229
19230         * configure.ac: 
19231         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
19232
19233         * check/Makefile.am:
19234         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
19235         get additions shortly.
19236
19237 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19238
19239         * gst/gstpad.c: (gst_pad_new_from_static_template):
19240         * gst/gstpad.h:
19241           add gst_pad_new_from_static_template functions
19242         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
19243         (gst_check_setup_sink_pad):
19244         * gst/elements/gsttee.c: (gst_tee_init):
19245           and use them
19246
19247 2005-11-16  Wim Taymans  <wim@fluendo.com>
19248
19249         * gst/gstpad.c: (gst_pad_pause_task):
19250         Removed warning, it's not really an error either.
19251
19252 2005-11-16  Wim Taymans  <wim@fluendo.com>
19253
19254         * gst/base/gstbasetransform.c:
19255         (gst_base_transform_prepare_output_buf),
19256         (gst_base_transform_event):
19257         Check if the caps are NULL, this can happen if the element
19258         is shutting down and the pad caps are set to NULL.
19259
19260 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19261
19262         * gst/elements/gsttee.c: (gst_tee_init):
19263           fix pad template leak in tee
19264
19265 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19266
19267         * gst/glib-compat.c: (g_value_dup_gst_object):
19268         * gst/glib-compat.h:
19269         * gst/gstpad.c: (gst_pad_set_property):
19270           use gst_object_ref when setting the pad template; this will
19271           trigger the pad template leaks on GLib 2.6 and the slaves
19272
19273 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19274
19275         * gst/glib-compat.c: (gst_flags_get_first_value):
19276         * gst/glib-compat.h:
19277         * gst/gstregistryxml.c:
19278           remove functions copied from GLib 2.6
19279
19280 2005-11-16  Michael Smith <msmith@fluendo.com>
19281
19282         * gst/Makefile.am:
19283           Don't link against VALGRIND_LIBS. That was always the wrong thing to
19284           do, but only breaks with newer valgrind versions. We're not a
19285           valgrind tool, we have no link-time dependencies on libcoregrind.
19286
19287 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19288
19289         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19290           some debug changes
19291         * gst/gstmessage.h:
19292           typo fixes
19293
19294 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19295
19296         * gst/base/gstbasesrc.c: (gst_base_src_init):
19297         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19298         * gst/gstqueue.c: (gst_queue_init):
19299         * gst/gstregistryxml.c: (load_feature):
19300           Revert all these unrefs, they don't even pass make check !
19301
19302 2005-11-15  Johan Dahlin  <johan@gnome.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         Free pad templates, fixes a couple of leaks.
19308
19309 2005-11-15  Daniel Fischer  <dan at f3c dot com>
19310
19311         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19312
19313         * gst/gstpad.c: (gst_pad_get_property):
19314           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
19315           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
19316           (#321452)
19317
19318 2005-11-15  Wim Taymans  <wim@fluendo.com>
19319
19320         * gst/gstevent.c:
19321         Small doc update.
19322
19323 2005-11-15  Andy Wingo  <wingo@pobox.com>
19324
19325         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19326
19327         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19328         using GST_CLOCK_TIME_NONE to disable base time management.
19329         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19330         time if it was NONE before.
19331         (gst_pipeline_change_state): Only munge the base time if
19332         stream_time != GST_CLOCK_TIME_NONE.
19333
19334         * check/gst/gstpipeline.c (test_base_time): Punt around the
19335         problem of the probe not being called, because that's not the
19336         issue I'm looking at. Add a check that setting stream_time to NONE
19337         disables base time management.
19338         
19339 2005-11-15  Wim Taymans  <wim@fluendo.com>
19340
19341         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19342         segment_stop == -1 at startup.
19343
19344         * gst/base/gstbasetransform.c: (gst_base_transform_event),
19345         (gst_base_transform_change_state):
19346         Init segment values at start.
19347
19348 2005-11-15  Wim Taymans  <wim@fluendo.com>
19349
19350         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19351         0 segment values are 0 in any format.
19352
19353         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19354         * gst/base/gstbasetransform.h:
19355         Parse newsegment correctly in basetransform
19356
19357         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19358         Sync to clock using updated segment values.
19359
19360 2005-11-15  Andy Wingo  <wingo@pobox.com>
19361
19362         * check/gst/gstpipeline.c (test_base_time): Add check that the
19363         base time and stream time are reset correctly.
19364
19365 2005-11-15  Wim Taymans  <wim@fluendo.com>
19366
19367         * docs/design/part-TODO.txt:
19368         Some more TODO items.
19369
19370 2005-11-15  Andy Wingo  <wingo@pobox.com>
19371
19372         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19373         error if the user selected "no clock" as the clocking method.
19374
19375         * check/gst/gstpipeline.c (test_base_time): New test for buffer
19376         timestamps with live capture.
19377
19378         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19379         is 0 but we are a live source, timestamp the buffers using the
19380         element's clock.
19381
19382 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
19383
19384         * docs/gst/gstreamer-sections.txt:
19385         * gst/gsterror.c:
19386         * gst/gstghostpad.c:
19387         * gst/gstobject.h:
19388         * gst/gstxml.c:
19389           more section docs
19390
19391 2005-11-14  Wim Taymans  <wim@fluendo.com>
19392
19393         * common/gst.supp:
19394           add suppressions from Wim's Debian machine
19395
19396 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
19397
19398         * common/gst.supp:
19399           add suppressions from Andy's AMD64 Ubuntu machine
19400
19401 2005-11-14  Andy Wingo  <wingo@pobox.com>
19402
19403         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19404         STATE_LOCK not necessary. Fixes #311489.
19405
19406         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19407         #305291.
19408
19409         * gst/gstindex.c (gst_index_add_object): Note in the docs that
19410         this function is not implemented.
19411
19412 2005-11-14  Julien MOUTTE  <julien@moutte.net>
19413
19414         * gst/base/gstbasetransform.c:
19415         (gst_base_transform_prepare_output_buf):
19416         Ref the source pad caps while we need them.
19417         Fixes (#321386)
19418
19419 2005-11-11  Wim Taymans  <wim@fluendo.com>
19420
19421         * docs/gst/gstreamer-sections.txt:
19422         Added some docs for GstCollectData.
19423
19424         * gst/base/gstadapter.c:
19425         Some small code example fix.
19426
19427         * gst/base/gstcollectpads.c:
19428         * gst/base/gstcollectpads.h:
19429         Document some more.
19430
19431 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19432
19433         * configure.ac: back to HEAD
19434
19435 === release 0.9.5 ===
19436
19437 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
19438
19439         * configure.ac:
19440           releasing 0.9.5, "Bike Lunch Day"
19441
19442 2005-11-11  Wim Taymans  <wim@fluendo.com>
19443
19444         * gst/gstbuffer.c: (_gst_buffer_copy):
19445         Copy more flags.
19446
19447         * gst/gstcaps.c: (gst_caps_is_equal):
19448         Fix some docs.
19449         Make _is_equal fast in the trivial cases.
19450
19451         * gst/gstminiobject.c:
19452         * gst/gstminiobject.h:
19453         More docs. Spifify .h file.
19454
19455         * gst/gstutils.c:
19456         Small doc update.
19457
19458 2005-11-11  Wim Taymans  <wim@fluendo.com>
19459
19460         * gst/base/gstbasetransform.c:
19461         (gst_base_transform_prepare_output_buf),
19462         (gst_base_transform_handle_buffer):
19463         Small cleanups.
19464         If we're processing a buffer and need to allocate an output
19465         buffer, we cannot accept a format change. If we did get a 
19466         format change, we have to alloc a buffer ourselves of the 
19467         right size.
19468
19469 2005-11-11  Wim Taymans  <wim@fluendo.com>
19470
19471         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19472         While checking the flag for reentrancy in the gstcaps function
19473         is nice to detect recursive invocations, it also makes it 
19474         impossible to call getcaps from multiple threads, which must be
19475         possible. So, checking for recursive calls has to go.
19476
19477 2005-11-11  Michael Smith <msmith@fluendo.com>
19478
19479         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19480           Don't sync on buffers that fall partially outside our current
19481           segment. Prevents an assertion failure/abort playing some files.
19482
19483 2005-11-10  Andy Wingo  <wingo@pobox.com>
19484
19485         * check/gst/gstbin.c (test_message_state_changed_children): Style
19486         fix..
19487
19488         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19489         gst_bus_poll with the signal watch. Ensures that poll and a signal
19490         watch see the same messages.
19491
19492         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19493         a poll and a watch at the same time get the same messages.
19494
19495 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19496
19497         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19498         * gst/gstcaps.c: (gst_caps_intersect):
19499           Don't call gst_caps_do_simplify - it doesn't respect order of caps
19500           and it's not needed.
19501
19502 2005-11-10  Wim Taymans  <wim@fluendo.com>
19503
19504         * docs/design/part-TODO.txt:
19505         Updated todo.
19506
19507 2005-11-10  Wim Taymans  <wim@fluendo.com>
19508
19509         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19510         * gst/base/gstbasesrc.c: (gst_base_src_wait),
19511         (gst_base_src_do_sync), (gst_base_src_get_range):
19512         Implement clock sync in base class.
19513
19514 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19515
19516         patch by: Tim-Philipp Müller <tim at centricular dot net>
19517
19518         * gst/gststructure.c: (gst_structure_parse_field),
19519         (gst_structure_from_string):
19520           Forward-port a 0.8 patch to handle escaped spaces in structure string,
19521           so that gst_parse_launch() can deal with spaces in filtered link
19522           caps (fixes #164479)
19523         * check/gst/capslist.h:
19524         * check/gst/gststructure.c: (GST_START_TEST):
19525           add unit tests for this change
19526
19527 2005-11-10  Wim Taymans  <wim@fluendo.com>
19528
19529         * docs/gst/gstreamer-sections.txt:
19530         * gst/gstelement.c:
19531         * gst/gstelement.h:
19532         Fix docs, move some STATE macros to private.
19533
19534 2005-11-10  Wim Taymans  <wim@fluendo.com>
19535
19536         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19537         Added check for bug #317341
19538
19539         * gst/gstbuffer.c:
19540         * gst/gstbuffer.h:
19541         Some more spiffifying.
19542
19543         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19544         Call peer linkfunction if we are a source pad. Totally fixes
19545         #317341
19546
19547         * gst/gstpad.c:
19548         Update docs, source pads should call the peer linkfunction
19549         so they can atomically perform the pad link.
19550
19551 2005-11-09  Wim Taymans  <wim@fluendo.com>
19552
19553         * gst/gstbuffer.c:
19554         * gst/gstbuffer.h:
19555         Uber-spiffy-spiffify some more.
19556
19557 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
19558
19559         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19560         * gst/elements/gstfilesink.c: (gst_file_sink_init):
19561         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19562         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19563         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19564         * gst/gstpad.c: (gst_pad_init):
19565           Use GST_DEBUG_FUNCPTR() more extensively.
19566
19567 2005-11-09  Wim Taymans  <wim@fluendo.com>
19568
19569         * gst/gstobject.c: (gst_object_class_init):
19570         * gst/gstobject.h:
19571         Documentation fixes.
19572
19573 2005-11-09  Edward Hervey  <edward@fluendo.com>
19574
19575         * gst/gsttypefindfactory.c:
19576         Fix docs.
19577         
19578 2005-11-09  Edward Hervey  <edward@fluendo.com>
19579
19580         * gst/base/gsttypefindhelper.c:
19581         * gst/gsttypefind.c:
19582         * gst/gsttypefind.h:
19583         Fix docs.
19584
19585 2005-11-09  Wim Taymans  <wim@fluendo.com>
19586
19587         * gst/gstiterator.c:
19588         Fix revision data.
19589
19590         * gst/gsttask.c:
19591         * gst/gsttask.h:
19592         Fix docs.
19593
19594 2005-11-09  Wim Taymans  <wim@fluendo.com>
19595
19596         * gst/gstevent.h:
19597         * gst/gsturi.h:
19598         Fix docs.
19599
19600 2005-11-09  Wim Taymans  <wim@fluendo.com>
19601
19602         * docs/gst/gstreamer-sections.txt:
19603         Moved the message async delivery private lock and cond
19604         to the private section.
19605
19606         * gst/gstmessage.c:
19607         * gst/gstmessage.h:
19608         Fixed docs.
19609
19610 2005-11-09  Edward Hervey  <edward@fluendo.com>
19611
19612         * docs/gst/gstreamer-sections.txt:
19613         * gst/gsturi.c:
19614         * gst/gsturi.h:
19615         Document GstURIHandler
19616
19617 2005-11-09  Wim Taymans  <wim@fluendo.com>
19618
19619         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
19620         (gst_iterator_find_custom):
19621         * gst/gstiterator.h:
19622         Fix iterator docs.
19623
19624 2005-11-09  Wim Taymans  <wim@fluendo.com>
19625
19626         * gst/gstbin.h:
19627         Document another field.
19628
19629         * gst/gststructure.c:
19630         * gst/gststructure.h:
19631         Document.
19632
19633 2005-11-09  Wim Taymans  <wim@fluendo.com>
19634
19635         * gst/gstbin.h:
19636         Documented structs.
19637
19638 2005-11-09  Wim Taymans  <wim@fluendo.com>
19639
19640         * docs/gst/gstreamer-sections.txt:
19641         Added some new macros.
19642
19643         * gst/gstclock.c:
19644         * gst/gstclock.h:
19645         * gst/gstobject.h:
19646         Docs updates.
19647
19648 2005-11-09  Wim Taymans  <wim@fluendo.com>
19649
19650         * docs/design/part-TODO.txt:
19651         Some more items for the TODO
19652
19653         * gst/gstcaps.c:
19654         * gst/gstcaps.h:
19655         Document GstCaps.
19656
19657 2005-11-09  Andy Wingo  <wingo@pobox.com>
19658
19659         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
19660         to work on something else now tho...
19661
19662         * gst/base/gstadapter.c: More adapter docs.
19663
19664         * gst/elements/gstfilesink.c (gst_file_sink_start) 
19665         (gst_file_sink_stop): New functions, replace the state change
19666         handler.
19667         (gst_file_sink_class_init): Hook up the start and stop functions.
19668         (gst_file_sink_base_init): Don't set the state change handler any
19669         more. It was a bit ugly too, being set from here...
19670         (gst_file_sink_get_property, gst_file_sink_set_property):
19671         Cleanups...
19672         (gst_file_sink_set_location): More robust check that doesn't call
19673         GST_STATE. Ugggggg.
19674
19675 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
19676
19677         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19678           Hold STREAM_LOCK while pushing newsegment or tag events as well.
19679
19680 2005-11-08  Wim Taymans  <wim@fluendo.com>
19681
19682         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19683         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19684         (gst_base_sink_chain), (gst_base_sink_change_state):
19685         * gst/base/gstbasesink.h:
19686         * gst/base/gstbasesrc.h:
19687         * gst/gstelement.h:
19688         * gst/gstevent.h:
19689         Avoid excessive typechecking in macros.
19690
19691         * gst/gstminiobject.c: (gst_mini_object_get_type),
19692         (gst_mini_object_init), (gst_mini_object_new),
19693         (gst_mini_object_free):
19694         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19695         (gst_object_finalize):
19696         Remove cruft code, optimize alloc_trace.
19697
19698 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19699
19700         * docs/faq/gst-uninstalled:
19701           fix up PS1 for systems that try to reset it
19702
19703 2005-11-07  Wim Taymans  <wim@fluendo.com>
19704
19705         * gst/base/gstbasesrc.c: (gst_base_src_init),
19706         (gst_base_src_get_range):
19707         Set the segment_end to -1 initially. Fixed typefind.
19708
19709 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
19710
19711         * gst/base/gstadapter.c:
19712           Debug category should be 'adapter', not 'GstAdapter'.
19713           
19714         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
19715         (gst_collectpads_class_init), (gst_collectpads_init),
19716         (gst_collectpads_peek), (gst_collectpads_pop),
19717         (gst_collectpads_event), (gst_collectpads_chain):
19718           Add debug category and some debugging output. Use boilerplate
19719           macros. Remove some extraneous words from docs.
19720
19721 2005-11-05  Andy Wingo  <wingo@pobox.com>
19722
19723         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
19724         macro.
19725
19726 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
19727
19728         * docs/gst/gstreamer-sections.txt:
19729         * gst/gstcaps.h:
19730         * gst/gstinfo.c:
19731         * gst/gstminiobject.h:
19732         * gst/gstobject.h:
19733         * gst/gstutils.h:
19734           more docs added
19735
19736 2005-11-04  Wim Taymans  <wim@fluendo.com>
19737
19738         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19739         Small update to stop at the configured segment_end
19740         position.
19741
19742 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
19743
19744         * gst/gstregistry.c:
19745         * gst/gstregistry.h:
19746           added missing docs
19747
19748 2005-11-04  Edward Hervey  <edward@fluendo.com>
19749
19750         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19751         Check if we are doing a segment seek and have arrived at the
19752         end of that segment.
19753
19754 2005-11-04  Wim Taymans  <wim@fluendo.com>
19755
19756         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
19757         Don't leak a mutex unlock in case of an error.
19758
19759         * gst/gstbus.h:
19760         Doc fixes.
19761
19762 2005-11-04  Wim Taymans  <wim@fluendo.com>
19763
19764         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
19765         (gst_bus_post):
19766         Get the context to wake up only once.
19767
19768 2005-11-03  Wim Taymans  <wim@fluendo.com>
19769
19770         * check/states/sinks.c: (GST_START_TEST):
19771         Uncomment fixed check.
19772
19773         * docs/design/part-TODO.txt:
19774         Updated TODO.
19775
19776         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19777         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19778         (gst_base_sink_get_position):
19779         If we are going to PLAYING, post the right pending state
19780         when we post the intermediate paused message.
19781
19782         * gst/gstelement.c: (gst_element_continue_state),
19783         (gst_element_set_state_func), (gst_element_change_state):
19784         Don't post state changes that were between the same state
19785         and were not ASYNC.
19786
19787 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
19788
19789         * docs/gst/gstreamer-sections.txt:
19790         * gst/gstcaps.h:
19791         * gst/gstinfo.c:
19792         * gst/gstminiobject.h:
19793         * gst/gstobject.h:
19794         * gst/gstutils.h:
19795           more docs and doc style fixes
19796
19797 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
19798
19799         * docs/gst/gstreamer-sections.txt:
19800         * gst/gstelement.c:
19801         * gst/gstminiobject.c:
19802         doc fixes
19803
19804 2005-11-03  Andy Wingo  <wingo@pobox.com>
19805
19806         * check/states/sinks.c (test_livesrc_sink): Add checks that the
19807         state-changed messages actually have the right order and the right
19808         values.
19809
19810 2005-11-03  Wim Taymans  <wim@fluendo.com>
19811
19812         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19813         Added some more checks. Specifically the case where NO_PREROLL
19814         elements are in the pipeline.
19815
19816         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19817         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19818         (gst_base_sink_get_position):
19819         Post READY->PAUSED state change messages too.
19820         Fix bug where VOID was posted as pending state...
19821
19822         * gst/gstbin.c: (gst_bin_recalc_state):
19823         use _element_continue_state() to continue the state change.
19824
19825         * gst/gstelement.c: (gst_element_continue_state),
19826         (gst_element_commit_state), (gst_element_set_state_func),
19827         (gst_element_change_state), (gst_element_change_state_func):
19828         Lots of state change cleanups, assign the STATE_RETURN in
19829         a new continue_state() function that also propagates the
19830         last return value from a state change to the app.
19831         Update some debug statements with proper category.
19832
19833 2005-11-03  Wim Taymans  <wim@fluendo.com>
19834
19835         * docs/design/part-events.txt:
19836         * docs/design/part-gstpipeline.txt:
19837         * docs/design/part-messages.txt:
19838         * docs/design/part-overview.txt:
19839         * docs/design/part-seeking.txt:
19840         * docs/design/part-states.txt:
19841         * docs/design/part-trickmodes.txt:
19842         * docs/manual/advanced-position.xml:
19843         Small docs updates.
19844
19845         * gst/gstobject.h:
19846         People think !! is ugly, this looks better.
19847
19848         * gst/gstpad.c: (gst_pad_set_blocked_async):
19849         Remove !! since it's fixed elsewhere now.
19850
19851 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19852
19853         * gst/gstminiobject.h:
19854         * gst/gstobject.h:
19855           Add !! to _FLAG_IS_SET macros to make the result boolean.
19856
19857 2005-11-03  Edward Hervey  <edward@fluendo.com>
19858
19859         * gst/gstpad.c: (gst_pad_set_blocked_async):
19860         comparing a flag and a gboolean rarely returns coherent results...
19861         Added two characters (!!) to make that work correctly.
19862         
19863 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19864
19865         * gst/gstbus.c: (gst_bus_class_init):
19866           Fix some typos.
19867           
19868         * gst/gstqueue.c: (gst_queue_loop):
19869           Don't assume a miniobject that isn't a buffer is an
19870           event (it could be that there is a refcounting
19871           problem somewhere and the pointer is stale and
19872           refers to an already destroyed miniobject).
19873
19874 2005-11-03  Julien MOUTTE  <julien@moutte.net>
19875
19876         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
19877
19878 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19879
19880         * docs/manual/advanced-position.xml:
19881           Update seek example and explanations to current 0.9 API.
19882
19883         * gst/elements/gsttypefindelement.c:
19884         (gst_type_find_element_activate):
19885           Remove FIXME comment now that the found caps
19886           are unreffed.
19887
19888 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19889
19890         * gst/gstregistryxml.c: (load_feature):
19891           Add another GST_STR_NULL instance
19892
19893 2005-11-02  Edward Hervey  <edward@fluendo.com>
19894
19895         * gst/gstpad.c: (handle_pad_block):
19896         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
19897         
19898 2005-11-02  Wim Taymans  <wim@fluendo.com>
19899
19900         * gst/gstbin.c:
19901         Fix typo in docs.
19902
19903         * gst/gstelement.c: (gst_element_commit_state):
19904         Remove unused value.
19905
19906         * gst/gstiterator.c:
19907         Mention that the returned element is reffed in the docs.
19908
19909 2005-11-02  Wim Taymans  <wim@fluendo.com>
19910
19911         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
19912         (gst_pad_push), (gst_pad_push_event):
19913         Unlock blocked pads when they are flushed.
19914
19915 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19916
19917         * docs/README:
19918         * docs/gst/gstreamer-sections.txt:
19919         * gst/gstbin.c:
19920           doc updates
19921         * gst/gstregistry.c: (gst_registry_scan_path_level):
19922           fix for a nasty little missed situation where an installed plug-in
19923           which was in the cache did not get overridden by an uninstalled one
19924           which was earlier in the plugin path because the newly created plugin
19925           for the uninstalled one (not in the registry) didn't get its
19926           ->registered set to TRUE
19927
19928 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
19929
19930         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
19931         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
19932         (gst_collectpads_is_active), (gst_collectpads_collect),
19933         (gst_collectpads_collect_range), (gst_collectpads_start),
19934         (gst_collectpads_stop), (gst_collectpads_peek),
19935         (gst_collectpads_pop), (gst_collectpads_available),
19936         (gst_collectpads_read), (gst_collectpads_flush):
19937           Guard public API with assertions.
19938         
19939         * gst/gstpad.c:
19940           Fix docs for gst_pad_set_link_function().
19941
19942 2005-11-02  Johan Dahlin  <johan@gnome.org>
19943
19944         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
19945         Unref found_caps after we used it.
19946
19947 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
19948
19949         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
19950           Don't try to ref NULL.
19951
19952 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19953
19954         * win32/common/config.h.in:
19955           provide a GST_FUNCTION that just gives a string for now
19956
19957 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19958
19959         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19960         (gst_object_flags_get_type), (register_gst_bin_flags),
19961         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19962         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19963         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19964         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
19965         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19966         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19967         (gst_clock_flags_get_type), (register_gst_state),
19968         (gst_state_get_type), (register_gst_state_change_return),
19969         (gst_state_change_return_get_type), (register_gst_state_change),
19970         (gst_state_change_get_type), (register_gst_element_flags),
19971         (gst_element_flags_get_type), (register_gst_core_error),
19972         (gst_core_error_get_type), (register_gst_library_error),
19973         (gst_library_error_get_type), (register_gst_resource_error),
19974         (gst_resource_error_get_type), (register_gst_stream_error),
19975         (gst_stream_error_get_type), (register_gst_event_type),
19976         (gst_event_type_get_type), (register_gst_seek_type),
19977         (gst_seek_type_get_type), (register_gst_seek_flags),
19978         (gst_seek_flags_get_type), (register_gst_format),
19979         (gst_format_get_type), (register_gst_index_certainty),
19980         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19981         (gst_index_entry_type_get_type),
19982         (register_gst_index_lookup_method),
19983         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19984         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19985         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19986         (gst_index_flags_get_type), (register_gst_debug_level),
19987         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19988         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19989         (gst_iterator_result_get_type), (register_gst_iterator_item),
19990         (gst_iterator_item_get_type), (register_gst_message_type),
19991         (gst_message_type_get_type), (register_gst_mini_object_flags),
19992         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19993         (gst_pad_link_return_get_type), (register_gst_flow_return),
19994         (gst_flow_return_get_type), (register_gst_activate_mode),
19995         (gst_activate_mode_get_type), (register_gst_pad_direction),
19996         (gst_pad_direction_get_type), (register_gst_pad_flags),
19997         (gst_pad_flags_get_type), (register_gst_pad_presence),
19998         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19999         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
20000         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
20001         (gst_plugin_error_get_type), (register_gst_plugin_flags),
20002         (gst_plugin_flags_get_type), (register_gst_rank),
20003         (gst_rank_get_type), (register_gst_query_type),
20004         (gst_query_type_get_type), (register_gst_tag_merge_mode),
20005         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
20006         (gst_tag_flag_get_type), (register_gst_task_state),
20007         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
20008         (gst_alloc_trace_flags_get_type),
20009         (register_gst_type_find_probability),
20010         (gst_type_find_probability_get_type), (register_gst_uri_type),
20011         (gst_uri_type_get_type), (register_gst_parse_error),
20012         (gst_parse_error_get_type):
20013         * win32/common/gstversion.h:
20014           update win32 copies
20015
20016 2005-11-01  Luca Ognibene  <luogni@tin.it>
20017
20018         * gst/gst.c:
20019           fix docs. popt is dead, long live GOption.
20020
20021 2005-10-31  Wim Taymans  <wim@fluendo.com>
20022
20023         * gst/gstbuffer.h:
20024         Small doc fix.
20025
20026 2005-10-31  Andy Wingo  <wingo@pobox.com>
20027
20028         * Boo!
20029
20030         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
20031
20032         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
20033         need to serialize property notifications on GLib 2.8. GLib 2.6 has
20034         the possibility of deadlocks here if code calling notify() or
20035         set() has a lock that can be taken in another notify handler (ABBA
20036         with class lock and e.g. python GIL state lock).
20037
20038 2005-10-28  Julien MOUTTE  <julien@moutte.net>
20039
20040         * gst/gstbus.c: Doc updates.
20041
20042 2005-10-28  Wim Taymans  <wim@fluendo.com>
20043
20044         * docs/design/part-TODO.txt:
20045         * gst/gstiterator.c:
20046         * gst/gstsystemclock.c:
20047         * gst/gstsystemclock.h:
20048         Doc updates.
20049
20050 2005-10-28  Edward Hervey  <edward@fluendo.com>
20051
20052         * docs/gst/gstreamer-docs.sgml:
20053         * docs/gst/gstreamer-sections.txt:
20054         the GstURIType documentation page is private, it only defines GstURIType
20055         which should be defined in the GstURIHandler page
20056         
20057 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20058
20059         * gst/gstbin.c: (gst_bin_class_init):
20060         * gst/gstbin.h:
20061         * gst/gstutils.c:
20062         Documentation updates.
20063
20064 2005-10-28  Wim Taymans  <wim@fluendo.com>
20065
20066         * docs/gst/gstreamer-sections.txt:
20067         * gst/gstclock.c:
20068         * gst/gstclock.h:
20069         Documented the clocks.
20070
20071 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
20072
20073         * docs/gst/gstreamer-sections.txt:
20074           move some macros to private sections
20075         * gst/gstminiobject.c:
20076         * gst/gstminiobject.h:
20077           add descriptions provided by ds and some more
20078         * gst/gstpad.h:
20079           mark macro as to be removed
20080
20081 2005-10-28  Wim Taymans  <wim@fluendo.com>
20082
20083         * docs/design/part-TODO.txt:
20084         Add an item to TODO.
20085
20086         * gst/gstiterator.c: (gst_iterator_fold),
20087         (gst_iterator_find_custom):
20088         * gst/gstiterator.h:
20089         Add iterator docs.
20090
20091 2005-10-28  Wim Taymans  <wim@fluendo.com>
20092
20093         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20094         (gst_base_transform_init):
20095         Don't leak class.
20096
20097         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
20098         An EOS event marks the queue as completely filled.
20099
20100 2005-10-27  Wim Taymans  <wim@fluendo.com>
20101
20102         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20103         (gst_base_sink_do_sync), (gst_base_sink_get_position):
20104         Some more debugging.
20105
20106         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
20107         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
20108         (gst_base_transform_event), (gst_base_transform_getrange),
20109         (gst_base_transform_chain):
20110         * gst/base/gstbasetransform.h:
20111         Fix debugging,
20112         Protect transform and concurrent buffer alloc with a new lock.
20113         Try not to break ABI/API.
20114
20115 2005-10-27  Wim Taymans  <wim@fluendo.com>
20116
20117         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20118         (gst_base_src_init), (gst_base_src_query),
20119         (gst_base_src_default_newsegment),
20120         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20121         (gst_base_src_send_event), (gst_base_src_event_handler),
20122         (gst_base_src_pad_get_range), (gst_base_src_loop),
20123         (gst_base_src_unlock), (gst_base_src_default_negotiate),
20124         (gst_base_src_start), (gst_base_src_deactivate),
20125         (gst_base_src_activate_push), (gst_base_src_change_state):
20126         Move some stuff around and cleanup things.
20127
20128 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
20129
20130         * gst/base/gstbasesrc.c: (gst_base_src_query):
20131           Add missing break statements.
20132
20133 2005-10-27  Wim Taymans  <wim@fluendo.com>
20134
20135         * check/gst/gstbin.c: (GST_START_TEST):
20136         An extra refcount is taken in basesrc.
20137
20138         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20139         (gst_base_src_get_range), (gst_base_src_pad_get_range),
20140         (gst_base_src_loop):
20141         Small cleanups, check for flushing after being unlocked from the 
20142         LIVE_LOCK. take refcounts correctly (not yet everywhere).
20143         Don't send out EOS when going to READY.
20144
20145 2005-10-27  Wim Taymans  <wim@fluendo.com>
20146
20147         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20148         (gst_base_sink_get_position):
20149         Some more debug.
20150
20151         * gst/gstbin.c: (message_check), (bin_replace_message),
20152         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20153         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20154         (bin_query_duration_init), (bin_query_duration_fold),
20155         (bin_query_duration_done), (bin_query_generic_fold),
20156         (gst_bin_query):
20157         * tools/gst-launch.c: (main):
20158         Remove old option.
20159
20160 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
20161
20162         * examples/controller/audio-example.c: (main):
20163         * examples/queue/queue.c: (event_loop):
20164         * gst/base/gstbasetransform.h:
20165         * gst/gstelement.c: (gst_element_send_event):
20166         * gst/gstevent.h:
20167         * gst/gstpad.c: (gst_pad_send_event):
20168           fixing examples
20169           fixing docs typos
20170           changing log priority in error situations
20171
20172 2005-10-25  Wim Taymans  <wim@fluendo.com>
20173
20174         * gst/gstbin.c: (message_check), (bin_replace_message),
20175         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20176         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20177         (bin_query_duration_init), (bin_query_duration_fold),
20178         (bin_query_duration_done), (bin_query_generic_fold),
20179         (gst_bin_query):
20180         Some doc and debug updates.
20181         Cache previously requested query DURATION for speed. invalidate
20182         cached duration if element posts a DURATION message.
20183
20184 2005-10-25  Wim Taymans  <wim@fluendo.com>
20185
20186         * docs/design/part-TODO.txt:
20187         Update TODO.
20188
20189         * gst/gstbin.c: (message_check), (bin_replace_message),
20190         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20191         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20192         (bin_query_duration_init), (bin_query_duration_fold),
20193         (bin_query_duration_done), (bin_query_generic_fold),
20194         (gst_bin_query):
20195         Handle SEGMENT_START/DONE messages correctly.
20196         More evolved query algorithm that handles duration queries
20197         correctly.
20198
20199         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
20200         (gst_element_get_state_func), (gst_element_abort_state),
20201         (gst_element_commit_state), (gst_element_lost_state):
20202         Some more debugging.
20203
20204         * gst/gstmessage.h:
20205         Added doc.
20206
20207 2005-10-25  Wim Taymans  <wim@fluendo.com>
20208
20209         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20210         Don't use invalid stream_time.
20211
20212         * gst/gstevent.c: (gst_event_new_newsegment):
20213         stream_time in newsegment cannot be undefined.
20214
20215 2005-10-24  Wim Taymans  <wim@fluendo.com>
20216
20217         * gst/gstbus.c:
20218         Doc fix.
20219
20220         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20221         (gst_queue_loop):
20222         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
20223
20224 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
20225
20226         * docs/libs/tmpl/gstdparam.sgml:
20227         * docs/libs/tmpl/gstdplinint.sgml:
20228         * docs/libs/tmpl/gstdpman.sgml:
20229         * docs/libs/tmpl/gstdpsmooth.sgml:
20230         * docs/libs/tmpl/gstunitconvert.sgml:
20231           these are obsolete
20232
20233 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20234
20235         * configure.ac:
20236           back to HEAD
20237
20238 === release 0.9.4 ===
20239
20240 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20241
20242         * configure.ac:
20243           releasing 0.9.4, "Tyrannosaurus Rex"
20244
20245 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
20246
20247         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20248         (gst_file_sink_get_current_offset):
20249           Use fseeko() and ftello() if available. When falling back on
20250           lseek() to get the current offset, fflush() first to make sure
20251           everything is up-to-date and we get the right offset.
20252
20253 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20254
20255         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20256         * gst/base/gstbasesrc.c: (gst_base_src_loop):
20257         * gst/gsterror.c: (_gst_stream_errors_init):
20258         * gst/gsterror.h:
20259         * gst/gstqueue.c: (gst_queue_loop):
20260         * po/POTFILES.in:
20261           remove prematurely added error category and clean up the instances
20262
20263 2005-10-21  Wim Taymans  <wim@fluendo.com>
20264
20265         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20266         (gst_base_sink_get_position), (gst_base_sink_query),
20267         (gst_base_sink_change_state):
20268         Simply set the right flag when going to playing, that's all
20269         we need to do instead of calling a function inside the object
20270         lock (that could take the lock as well and deadlock)
20271
20272 2005-10-21  Wim Taymans  <wim@fluendo.com>
20273
20274         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
20275         (gst_base_src_loop):
20276         Don't warn, the peer element knows what to do best when
20277         the seek failed, it might try something else.
20278
20279 2005-10-21  Wim Taymans  <wim@fluendo.com>
20280
20281         * gst/base/gstbasesrc.c: (gst_base_src_init),
20282         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20283         Fix seeking.
20284
20285 2005-10-21  Wim Taymans  <wim@fluendo.com>
20286
20287         * docs/design/part-segments.txt:
20288         More docs.
20289
20290         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
20291         Correctly set caps, even on the subbufer.
20292
20293 2005-10-21  Wim Taymans  <wim@fluendo.com>
20294
20295         * docs/gst/gstreamer-docs.sgml:
20296         * docs/gst/gstreamer-sections.txt:
20297         * gst/gstelement.h:
20298         * gst/gstevent.c:
20299         * gst/gstevent.h:
20300         * gst/gstmessage.h:
20301         * gst/gstpad.h:
20302         * gst/gstparse.h:
20303         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
20304         * gst/gsttask.h:
20305         * gst/gstutils.c:
20306         * gst/gstutils.h:
20307         And 2% more doc coverage.
20308
20309 2005-10-21  Andy Wingo  <wingo@pobox.com>
20310
20311         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
20312         position reporting.
20313
20314 2005-10-20  Wim Taymans  <wim@fluendo.com>
20315
20316         * gst/gsterror.c: (gst_error_get_message):
20317         * gst/gstparse.h:
20318         * gst/gstquery.h:
20319         * gst/gststructure.c:
20320         * gst/gsttrace.c:
20321         * gst/gstutils.c:
20322         More docs.
20323
20324 2005-10-20  Wim Taymans  <wim@fluendo.com>
20325
20326         * gst/gstbuffer.h:
20327         * gst/gstpad.c:
20328         * gst/gstparse.c:
20329         Another 1% more coverage.
20330
20331 2005-10-20  Wim Taymans  <wim@fluendo.com>
20332
20333         * docs/gst/gstreamer-sections.txt:
20334         * gst/gstelement.c: (gst_element_get_state_func),
20335         (gst_element_abort_state), (gst_element_commit_state),
20336         (gst_element_lost_state):
20337         * gst/gstevent.h:
20338         * gst/gstquery.c: (gst_query_set_position),
20339         (gst_query_parse_position), (gst_query_set_duration),
20340         (gst_query_parse_duration), (gst_query_new_convert):
20341         * gst/gstutils.c:
20342         Yay! 1% more docs coverage.
20343
20344 2005-10-20  Wim Taymans  <wim@fluendo.com>
20345
20346         * gst/gstpad.h:
20347         * gst/gstquery.c: (gst_query_set_position),
20348         (gst_query_parse_position), (gst_query_set_duration),
20349         (gst_query_parse_duration), (gst_query_new_convert):
20350         * gst/gstquery.h:
20351         * gst/gstutils.c: (gst_element_query_convert):
20352         * gst/gstutils.h:
20353         Docs and consistency fixes.
20354
20355 2005-10-20  Wim Taymans  <wim@fluendo.com>
20356
20357         * gst/gsttask.c:
20358         * gst/gsttask.h:
20359         More docs.
20360
20361 2005-10-20  Wim Taymans  <wim@fluendo.com>
20362
20363         * gst/gstbin.c: (message_check), (bin_replace_message),
20364         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20365         (update_degree), (gst_bin_sort_iterator_next),
20366         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20367         Reworked the message handling a bit, cache the messages instead of
20368         only the senders. alows us to do more in the future.
20369
20370 2005-10-20  Wim Taymans  <wim@fluendo.com>
20371
20372         * docs/design/part-TODO.txt:
20373         Update TODO
20374
20375         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20376         (gst_base_sink_query):
20377         Don't use clock time to report position when in EOS.
20378
20379 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
20380
20381         * tools/gst-inspect.c: (print_interfaces),
20382         (print_element_properties_info), (print_element_info):
20383           Fix interface output with gst-inspect -a; don't print
20384           newlines after double/float properties.
20385
20386 2005-10-20  Wim Taymans  <wim@fluendo.com>
20387
20388         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20389         (gst_base_sink_query):
20390         Speed up current position calculation.
20391
20392         * gst/base/gstbasesrc.c: (gst_base_src_query),
20393         (gst_base_src_default_newsegment):
20394         Correctly set stream position in newsegment.
20395
20396         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20397         (update_degree), (gst_bin_sort_iterator_next),
20398         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20399         * gst/gstmessage.c: (gst_message_new_custom):
20400         Clean up debugging info
20401
20402         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20403         (gst_queue_loop), (gst_queue_handle_src_query):
20404         Pause task faster.
20405
20406 2005-10-19  Wim Taymans  <wim@fluendo.com>
20407
20408         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20409         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20410         Fix query handling again.
20411
20412 2005-10-19  Wim Taymans  <wim@fluendo.com>
20413
20414         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20415         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20416         * gst/base/gstbasesrc.c: (gst_base_src_query):
20417         * gst/elements/gstfilesink.c: (gst_file_sink_query):
20418         * gst/elements/gsttypefindelement.c:
20419         (gst_type_find_handle_src_query), (find_element_get_length),
20420         (gst_type_find_element_activate):
20421         API change fix.
20422
20423         * gst/gstquery.c: (gst_query_new_position),
20424         (gst_query_set_position), (gst_query_parse_position),
20425         (gst_query_new_duration), (gst_query_set_duration),
20426         (gst_query_parse_duration), (gst_query_set_segment),
20427         (gst_query_parse_segment):
20428         * gst/gstquery.h:
20429         Bundling query position/duration is not a good idea since duration
20430         does not change much and we don't want to recalculate it for every
20431         position query, so they are separated again..
20432         Base value in segment query is not needed.
20433
20434         * gst/gstqueue.c: (gst_queue_handle_src_query):
20435         * gst/gstutils.c: (gst_element_query_position),
20436         (gst_element_query_duration), (gst_pad_query_position),
20437         (gst_pad_query_duration):
20438         * gst/gstutils.h:
20439         Updates for query API change.
20440         Added some docs here and there.
20441
20442 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20443
20444         * check/gst/gstbin.c: (GST_START_TEST):
20445         * check/gst/gstghostpad.c: (GST_START_TEST):
20446         * check/pipelines/cleanup.c: (GST_START_TEST):
20447           wait on thread to die so we can check refcount correctly
20448
20449 2005-10-18  Wim Taymans  <wim@fluendo.com>
20450
20451         * check/pipelines/stress.c: (GST_START_TEST):
20452         Make check a little more time consuming.
20453
20454 2005-10-18  Wim Taymans  <wim@fluendo.com>
20455
20456         * check/Makefile.am:
20457         * check/pipelines/stress.c: (GST_START_TEST),
20458         (simple_launch_lines_suite), (main):
20459         Small state change torture test.
20460
20461         * docs/design/part-states.txt:
20462         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20463         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20464         (gst_base_sink_change_state):
20465         Never take state lock from streaming thread, clean up ugly
20466         hacks. Unfortunatly core does not yet support nice ways to
20467         async commit state.
20468         
20469         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20470         (bin_bus_handler):
20471         Start state recalc if a STATE_DIRTY message is posted, but only
20472         on the toplevel bin.
20473
20474         * gst/gstelement.c: (gst_element_sync_state_with_parent),
20475         (gst_element_get_state_func), (gst_element_abort_state),
20476         (gst_element_commit_state), (gst_element_lost_state),
20477         (gst_element_set_state_func), (gst_element_change_state):
20478         * gst/gstelement.h:
20479         State variables are now protected with the LOCK, the state
20480         lock is only used to serialize _set_state().
20481
20482 2005-10-18  Wim Taymans  <wim@fluendo.com>
20483
20484         * check/gst/gstbin.c: (GST_START_TEST):
20485         * check/gst/gstmessage.c: (GST_START_TEST):
20486         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20487         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20488         (bin_bus_handler):
20489         * gst/gstelement.c: (gst_element_abort_state),
20490         (gst_element_commit_state), (gst_element_lost_state):
20491         * gst/gstmessage.c: (gst_message_new_state_changed),
20492         (gst_message_new_state_dirty), (gst_message_new_segment_start),
20493         (gst_message_new_segment_done), (gst_message_new_duration),
20494         (gst_message_parse_state_changed),
20495         (gst_message_parse_segment_start),
20496         (gst_message_parse_segment_done), (gst_message_parse_duration):
20497         * gst/gstmessage.h:
20498         * tools/gst-launch.c: (event_loop):
20499         Seriously, this is better than a previous commit as we only need
20500         to notify the fact that an element changed state in a streaming
20501         thread, marking the state of the parents dirty, hence the 
20502         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20503         message.
20504
20505 2005-10-18  Wim Taymans  <wim@fluendo.com>
20506
20507         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20508         (gst_bin_recalc_func):
20509         * gst/gstelement.c: (gst_element_set_clock),
20510         (gst_element_abort_state), (gst_element_lost_state):
20511         Cleanups, prepare for state change fixes.
20512
20513 2005-10-18  Wim Taymans  <wim@fluendo.com>
20514
20515         * gst/gstbin.h:
20516         * gst/gstelement.c: (gst_element_class_init),
20517         (gst_element_set_state), (gst_element_set_state_func):
20518         * gst/gstelement.h:
20519         Pending ABI changes.
20520         GThreadPool in GstBinClass to monitor async state changes.
20521         state_cookie in GstElement to detect concurrent gst/set state.
20522         set_state is now virtual too in case a very complicated element
20523         has to be constructed.
20524
20525 2005-10-18  Wim Taymans  <wim@fluendo.com>
20526
20527         * check/gst/gstbin.c: (GST_START_TEST):
20528         * check/gst/gstmessage.c: (GST_START_TEST):
20529         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20530         * gst/gstbin.c: (bin_bus_handler):
20531         * gst/gstelement.c: (gst_element_commit_state),
20532         (gst_element_lost_state):
20533         * gst/gstmessage.c: (gst_message_new_state_changed),
20534         (gst_message_new_segment_start), (gst_message_new_segment_done),
20535         (gst_message_new_duration), (gst_message_parse_state_changed),
20536         (gst_message_parse_segment_start),
20537         (gst_message_parse_segment_done), (gst_message_parse_duration):
20538         * gst/gstmessage.h:
20539         * tools/gst-launch.c: (event_loop):
20540         Make messages future proof.
20541         state-change gets a flag if it was a message comming from the
20542         streaming thread.
20543         segment-start/stop can also be specified in other formats.
20544         A message to notify an app that a pipeline changed playback 
20545         duration.
20546         Also fix a GstMessage leak in -launch
20547
20548 2005-10-18  Andy Wingo  <wingo@pobox.com>
20549
20550         * gst/gstelement.c (gst_element_dispose): More helpful message.
20551
20552 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20553
20554         reviewed by: <delete if not using a buddy>
20555
20556         * common/gtk-doc.mak:
20557
20558 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20559
20560         * gst/gstregistry.c: (gst_registry_scan_path_level):
20561           unref a plug-in we get that was already initialized
20562
20563 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
20564
20565         * docs/gst/gstreamer-sections.txt:
20566         * docs/libs/gstreamer-libs-sections.txt:
20567         * gst/gstelement.h:
20568           add new api entries
20569           hide internal macro
20570
20571 2005-10-17  Andy Wingo  <wingo@pobox.com>
20572
20573         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
20574         cleanup.
20575
20576         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
20577
20578         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
20579
20580         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
20581         (gst_element_get_state_func): Better debug message.
20582         (gst_element_commit_state): s/INFO/DEBUG/.
20583         (gst_element_lost_state, gst_element_change_state): 
20584
20585         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
20586         (gst_message_new_custom): s/INFO/LOG/.
20587
20588 2005-10-17  Michael Smith <msmith@fluendo.com>
20589
20590         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20591           Check if end time is valid using end time, not start time.
20592
20593 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
20594
20595         * check/gst-libs/controller.c: (GST_START_TEST),
20596         (gst_controller_suite):
20597         * libs/gst/controller/gstcontroller.c:
20598         (gst_controlled_property_set_interpolation_mode):
20599         * libs/gst/controller/gstcontroller.h:
20600         * libs/gst/controller/gstinterpolation.c:
20601         * testsuite/controller/.cvsignore:
20602         * testsuite/controller/Makefile.am:
20603         * testsuite/controller/interpolator.c:
20604           merge controller testsuites
20605           fix broken tests
20606           remove mem-chunk from docs
20607
20608 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20609
20610         * gst/gstmemchunk.c:
20611         * gst/gstmemchunk.h:
20612         * gst/gsttrashstack.c:
20613         * gst/gsttrashstack.h:
20614           out.  get out.  you're fired.  to the Attic !
20615
20616 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20617
20618         * gst/gstcaps.c: (gst_caps_intersect):
20619           fix signedness issues in a (hopefully) correct way
20620         * gst/gstelement.c: (gst_element_pads_activate):
20621           some debugging
20622         * gst/gstobject.c: (gst_object_set_parent):
20623           some debugging
20624
20625 2005-10-17  Julien MOUTTE  <julien@moutte.net>
20626
20627         * gst/gstvalue.h: Fix prototypes.
20628
20629 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20630
20631         * docs/gst/gstreamer-sections.txt:
20632         * gst/gst.c: (gst_version_string):
20633         * gst/gst.h:
20634         * gst/gstversion.h.in:
20635         * win32/common/libgstreamer.def:
20636           add gst_version_string ()
20637
20638 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20639
20640         * configure.ac:
20641           clean up further
20642         * gst/gst.c: (init_post):
20643         * win32/common/config.h.in:
20644           it's PLUGINDIR now
20645         * gst/gstcaps.c: (gst_caps_intersect):
20646           use gint64, the range could be bigger than a guint
20647
20648 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20649
20650         * gst/gstclock.h:
20651           document potential problem in 2038
20652
20653 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20654
20655         * gst/gstcaps.c: (gst_caps_intersect):
20656           Fix guint j diving under 0
20657
20658 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20659
20660         * configure.ac:
20661         * win32/common/config.h:
20662         * win32/common/config.h.in:
20663           check for process.h, declares getpid() on Windows
20664         * gst/gstinfo.c:
20665           include process.h if we have it
20666         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
20667         * gst/gstmemchunk.h:
20668           fix signedness issues
20669         * win32/common/libgstreamer.def:
20670           fix get_type's
20671
20672 2005-10-16  Julien MOUTTE  <julien@moutte.net>
20673
20674         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
20675         fix. Because of unsigned ints, caps intersection was going nuts and
20676         trying to access structures with G_MAXUINT index. That fixes
20677         videotestsrc ! ffmpegcolorspace ! fakesink
20678         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
20679         consistency.
20680
20681 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20682
20683         * configure.ac:
20684           use the gettext macro
20685         * gst/elements/gstelements.c:
20686         * gst/gst.c:
20687         * gst/indexers/gstindexers.c:
20688           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
20689         * win32/common/config.h:
20690           updated config.h
20691         * win32/common/config.h.in:
20692           add the template to generate config.h
20693         * win32/common/gstenumtypes.c:
20694         * win32/common/gstversion.h:
20695           updated copies
20696
20697 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20698
20699         * gst/gst.c: (gst_version):
20700         * gst/gstversion.h.in:
20701           add the nano
20702
20703 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
20704
20705         * gst/gstevent.h:
20706           Oops, add missing closing bracket.
20707
20708 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20709
20710         * configure.ac:
20711           use common m4's for argument checking
20712
20713 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
20714
20715         * docs/gst/gstreamer-sections.txt:
20716         * gst/gstevent.h:
20717           Add GST_EVENT_TYPE_NAME() macro.
20718
20719 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20720
20721         * gst/gstinfo.c:
20722         * gst/gstpluginfeature.c:
20723         * gst/gsttask.c:
20724           privatize more symbols
20725
20726 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20727
20728         * configure.ac:
20729           add srcdir, builddir includes to GST_ALL_CFLAGS, since
20730           everything that uses GStreamer API should have the includes
20731
20732 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20733
20734         * docs/gst/gstreamer-sections.txt:
20735         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
20736         * gst/gstvalue.h:
20737           give each value a _get_type, removes the DATA exports
20738
20739 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20740
20741         * gst/gst.c:
20742         * gst/gst.h:
20743           remove _gst_registry_auto_load, not used anymore
20744         * gst/gstbin.c: (gst_bin_get_type):
20745         * gst/gstbin.h:
20746         * gst/gstelement.c: (gst_element_get_type):
20747         * gst/gstelement.h:
20748         * gst/gstobject.c: (gst_object_get_type):
20749         * gst/gstobject.h:
20750         * gst/gstpad.c: (gst_pad_get_type):
20751         * gst/gstpad.h:
20752           make _get_type functions similar, fixes data export from library
20753
20754 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20755
20756         * configure.ac:
20757           correctly make conditionals
20758         * gst/elements/Makefile.am:
20759         * gst/elements/gstelements.c:
20760           fix typo causing fdsrc not to build
20761
20762 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20763
20764         * testsuite/Makefile.am:
20765         * testsuite/bytestream/.cvsignore:
20766         * testsuite/bytestream/Makefile.am:
20767         * testsuite/bytestream/filepadsink.c:
20768         * testsuite/bytestream/gstbstest.c:
20769         * testsuite/bytestream/test1.c:
20770         * testsuite/bytestream/testfile1:
20771         * testsuite/caps/normalisation.c:
20772         * testsuite/caps/random.c: (main):
20773         * testsuite/cleanup/.cvsignore:
20774         * testsuite/cleanup/Makefile.am:
20775         * testsuite/cleanup/cleanup1.c:
20776         * testsuite/cleanup/cleanup2.c:
20777         * testsuite/cleanup/cleanup3.c:
20778         * testsuite/cleanup/cleanup4.c:
20779         * testsuite/cleanup/cleanup5.c:
20780         * testsuite/controller/interpolator.c:
20781         * testsuite/debug/printf_extension.c: (main):
20782         * testsuite/elements/tee.c:
20783         * testsuite/negotiation/.cvsignore:
20784         * testsuite/negotiation/Makefile.am:
20785         * testsuite/negotiation/pad_link.c:
20786         * testsuite/pad/Makefile.am:
20787         * testsuite/pad/chainnopull.c:
20788         * testsuite/pad/getnopush.c:
20789         * testsuite/pad/link.c:
20790         * testsuite/refcounting/sched.c: (create_pipeline):
20791         * testsuite/registry/Makefile.am:
20792         * testsuite/registry/gst-print-formats.c:
20793         * testsuite/schedulers/.cvsignore:
20794         * testsuite/schedulers/142183-2.c:
20795         * testsuite/schedulers/142183.c:
20796         * testsuite/schedulers/143777-2.c:
20797         * testsuite/schedulers/143777.c:
20798         * testsuite/schedulers/147713.c:
20799         * testsuite/schedulers/147819.c:
20800         * testsuite/schedulers/147894-2.c:
20801         * testsuite/schedulers/147894.c:
20802         * testsuite/schedulers/Makefile.am:
20803         * testsuite/schedulers/group_link.c:
20804         * testsuite/schedulers/queue_link.c:
20805         * testsuite/schedulers/relink.c:
20806         * testsuite/schedulers/unlink.c:
20807         * testsuite/schedulers/unref.c:
20808         * testsuite/schedulers/useless_iteration.c:
20809         * testsuite/states/bin.c:
20810           clean out/remove some stuff from the testsuite directories
20811
20812 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20813
20814         * configure.ac:
20815           check for some headers
20816         * gst/elements/Makefile.am:
20817         * gst/elements/gstelements.c:
20818           don't compile fdsrc without sys/socket.h
20819         * gst/indexers/Makefile.am:
20820         * gst/indexers/gstindexers.c: (plugin_init):
20821           don't compile fileindex without mmap
20822
20823 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20824
20825         * configure.ac:
20826           reorganize
20827           clean up
20828           document more
20829           remove cruft
20830         * check/Makefile.am:
20831         * docs/gst/Makefile.am:
20832         * examples/helloworld/Makefile.am:
20833         * gst/Makefile.am:
20834         * gst/base/Makefile.am:
20835         * gst/check/Makefile.am:
20836         * gst/elements/Makefile.am:
20837         * gst/indexers/Makefile.am:
20838         * gst/parse/Makefile.am:
20839         * libs/gst/controller/Makefile.am:
20840         * libs/gst/dataprotocol/Makefile.am:
20841         * examples/helloworld/helloworld.c: (event_loop):
20842           compile fixes, though it's not being compiled currently
20843
20844 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20845
20846         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
20847           Add some simple tests for the new taglist date API.
20848
20849 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20850
20851         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
20852         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
20853           Beautify 'last-message' output: print 'none' for buffer timestamps
20854           and durations if none is set; improve alignment with next messages.
20855
20856 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20857
20858         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
20859         * gst/gstpluginfeature.h:
20860         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
20861         * gst/gstregistry.h:
20862         * docs/gst/gstreamer-sections.txt:
20863           Add new API to check plugin feature version requirements.
20864
20865         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
20866           Some basic tests for the above.         
20867
20868 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20869
20870         * gst/gststructure.c: (gst_structure_to_string):
20871           guard against NULL printf - happens when for example
20872           a message structure with GstClock gets serialized
20873
20874 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
20875
20876         * gst/base/gstcollectpads.c: (gst_collectpads_event):
20877           Fix presumable copy'n'pasto.
20878
20879 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20880
20881         * gst/elements/gstfakesrc.h:
20882         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
20883         * gst/elements/gsttypefindelement.c:
20884           fix some signedness
20885         * gst/elements/gstfilesink.c: (gst_file_sink_render):
20886           I wonder if this could actually write +2GB files before
20887
20888 2005-10-13  Andy Wingo  <wingo@pobox.com>
20889
20890         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
20891         Fix Timmeke Waymans bug.
20892         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
20893         string of the proper length to gst_caps_from_string. There's a
20894         potential for, before this fix, that this could cause someone
20895         connecting over the network to cause a segfault if the payload is
20896         not NUL-terminated.
20897
20898 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
20899
20900         * docs/design/draft-push-pull.txt:
20901         * docs/design/part-overview.txt:
20902         * docs/random/TODO-pre-0.9:
20903         * docs/random/old/ChangeLog.gstreamer:
20904         * gst/base/gstpushsrc.c:
20905         * gst/gstclock.c:
20906           fixed typos
20907
20908 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20909
20910         * gst/glib-compat.c: (gst_flags_get_first_value):
20911         * gst/glib-compat.h:
20912         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
20913         (gst_value_compare_double), (gst_value_serialize_flags):
20914           GLib 2.6 g_flags_get_first_value has a bug that triggers an
20915           infinite loop
20916
20917 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20918
20919         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20920         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20921           fix up debugging
20922         * tools/gst-launch.c: (event_loop):
20923           print out clock nicely
20924
20925 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
20926
20927         * docs/gst/gstreamer-sections.txt:
20928         * gst/gsttaglist.h:
20929         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
20930         (gst_tag_list_get_date_index):
20931           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
20932           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
20933
20934 2005-10-13  Julien MOUTTE  <julien@moutte.net>
20935
20936         * gst/base/gstcollectpads.c: (gst_collectpads_event),
20937         (gst_collectpads_chain):
20938         * gst/base/gstcollectpads.h: Handle newsegment and store informations
20939         in CollectData.
20940
20941 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
20942
20943         * docs/gst/gstreamer-sections.txt:
20944         * gst/gst.c:
20945         * gst/gsterror.h:
20946         * tools/gst-inspect.c: (main):
20947         * tools/gst-launch.c: (main):
20948         * tools/gst-run.c: (main):
20949         * tools/gst-xmlinspect.c: (main):
20950           fix GOption context leaks
20951           doc fixes
20952
20953 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20954
20955         * gst/gstbus.c:
20956           use HAVE_UNISTD_H
20957         * win32/common/config.h:
20958           update config
20959         * win32/vs6/grammar.dsp:
20960         * win32/vs6/libgstelements.dsp:
20961         * win32/vs6/libgstreamer.dsp:
20962           update vs6 files
20963
20964 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20965
20966         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20967         * gst/base/gstbasesrc.c: (gst_base_src_query):
20968           fix more guint64<->gdouble conversions
20969
20970 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20971
20972         * Makefile.am:
20973           add win32-update target
20974         * win32/common/gstconfig.h:
20975         * win32/common/gstenumtypes.c:
20976         * win32/common/gstenumtypes.h:
20977         * win32/common/gstversion.h:
20978           add files that visual studio can't generate
20979
20980 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20981
20982         * Makefile.am:
20983           add a win32-update target
20984         * configure.ac:
20985
20986 2005-10-12  Wim Taymans  <wim@fluendo.com>
20987
20988         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20989         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
20990         * gst/gstelement.c: (gst_element_commit_state),
20991         (gst_element_set_state):
20992         Protect flags with proper lock.
20993         unref provided cached clock in dispose.
20994
20995 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
20996
20997         * gst/gst.c:
20998         * gst/gstminiobject.h:
20999         * gst/gstpad.h:
21000         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
21001           removed unused flags from miniobject
21002           doc fixes
21003
21004 2005-10-12  Wim Taymans  <wim@fluendo.com>
21005
21006         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
21007         (gst_file_sink_event), (gst_file_sink_render):
21008         Flush before seeking.
21009
21010 2005-10-12  Andy Wingo  <wingo@pobox.com>
21011
21012         * gst/gst.c (gst_init_check): Ignore unknown options, as has
21013         always been the case.
21014
21015 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
21016
21017         * check/gst/gstbin.c: (GST_START_TEST):
21018         * docs/gst/gstreamer-sections.txt:
21019         * gst/base/gstbasesink.c: (gst_base_sink_init):
21020         * gst/base/gstbasesrc.c: (gst_base_src_init),
21021         (gst_base_src_get_range), (gst_base_src_check_get_range),
21022         (gst_base_src_start), (gst_base_src_stop):
21023         * gst/base/gstbasesrc.h:
21024         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
21025         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21026         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
21027         (bin_bus_handler):
21028         * gst/gstbin.h:
21029         * gst/gstbuffer.h:
21030         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
21031         * gst/gstbus.h:
21032         * gst/gstelement.c: (gst_element_is_locked_state),
21033         (gst_element_set_locked_state), (gst_element_commit_state),
21034         (gst_element_set_state):
21035         * gst/gstelement.h:
21036         * gst/gstindex.c: (gst_index_init):
21037         * gst/gstindex.h:
21038         * gst/gstminiobject.h:
21039         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
21040         (gst_object_set_parent):
21041         * gst/gstobject.h:
21042         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
21043         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
21044         * gst/gstpad.h:
21045         * gst/gstpadtemplate.h:
21046         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
21047         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
21048         * gst/gstpipeline.h:
21049         * gst/indexers/gstfileindex.c: (gst_file_index_load),
21050         (gst_file_index_commit):
21051         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
21052         * testsuite/pad/link.c: (gst_test_src_init),
21053         (gst_test_filter_init), (gst_test_sink_init):
21054         * testsuite/states/locked.c: (main):
21055           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
21056           moved bitshift from macro to enum definition
21057
21058 2005-10-12  Wim Taymans  <wim@fluendo.com>
21059
21060         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
21061         * gst/elements/gstfilesink.c: (gst_file_sink_event),
21062         (gst_file_sink_render):
21063         Some more debugging info.
21064
21065 2005-10-12  Wim Taymans  <wim@fluendo.com>
21066
21067         * docs/design/part-states.txt:
21068         * tools/gst-launch.c: (main):
21069         Some doc updates.
21070         Revert non-intentional change.
21071
21072 2005-10-12  Wim Taymans  <wim@fluendo.com>
21073
21074         * check/gst/gstbin.c: (GST_START_TEST):
21075         * check/gst/gstelement.c: (GST_START_TEST):
21076         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
21077         * check/gst/gstghostpad.c: (GST_START_TEST):
21078         * check/gst/gstpipeline.c: (GST_START_TEST):
21079         * check/pipelines/simple_launch_lines.c: (run_pipeline):
21080         * check/states/sinks.c: (GST_START_TEST):
21081         * gst/elements/gsttypefindelement.c: (stop_typefinding):
21082         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21083         (gst_bin_remove_func), (gst_bin_get_state_func),
21084         (gst_bin_recalc_state), (gst_bin_change_state_func),
21085         (bin_bus_handler):
21086         * gst/gstelement.c: (gst_element_get_state_func),
21087         (gst_element_get_state), (gst_element_abort_state),
21088         (gst_element_commit_state), (gst_element_set_state),
21089         (gst_element_change_state), (gst_element_change_state_func):
21090         * gst/gstelement.h:
21091         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
21092         (gst_pipeline_provide_clock_func):
21093         * gst/gstutils.c: (gst_element_link_pads_filtered):
21094         * tools/gst-launch.c: (main):
21095         * tools/gst-typefind.c: (main):
21096         Use GstClockTime in _get_state() instead of GTimeVal.
21097         Remove old code in gstutils.c
21098
21099 2005-10-12  Andy Wingo  <wingo@pobox.com>
21100
21101         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
21102         removed.
21103
21104         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
21105         there is no task. Shouldn't affect any code, as nothing in our
21106         plugins checks this return value.
21107         (gst_pad_stop_task): Also take the stream lock if the pad has no
21108         task. Docs updated.
21109
21110 2005-10-12  Wim Taymans  <wim@fluendo.com>
21111
21112         * gst/gstpad.c: (pre_activate), (post_activate),
21113         (gst_pad_activate_pull), (gst_pad_activate_push):
21114         Cleanup activation code. Reset old state if
21115         activation failed.
21116
21117 2005-10-12  Wim Taymans  <wim@fluendo.com>
21118
21119         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21120         (gst_base_sink_change_state):
21121         No need to prerol after receiving EOS.
21122
21123         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21124         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
21125         * gst/elements/gstidentity.c: (gst_identity_event):
21126         Print events more verbosely.
21127
21128 2005-10-12  Wim Taymans  <wim@fluendo.com>
21129
21130         * check/Makefile.am:
21131         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21132         * check/states/sinks2.c:
21133         Moved sinks2 testcode in sinks check.
21134
21135         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21136         (gst_bin_remove_func), (gst_bin_recalc_state),
21137         (gst_bin_change_state_func), (bin_bus_handler):
21138         Fix potential race condition when _get_state() iterated over an
21139         ASYNC element right before it posted a state completion.
21140
21141         * gst/gstclock.h:
21142         Do proper cast here.
21143
21144         * gst/gstevent.c: (gst_event_new_newsegment),
21145         (gst_event_parse_newsegment):
21146         A playback rate of 0.0 is not allowed.
21147
21148 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21149
21150         * win32/common/config.h:
21151         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
21152         (_trewinddir), (_ttelldir), (_tseekdir):
21153         * win32/common/dirent.h:
21154         * win32/common/gtchar.h:
21155         * win32/common/libgstbase.def:
21156         * win32/common/libgstreamer.def:
21157         * win32/vs6/grammar.dsp:
21158         * win32/vs6/gst_inspect.dsp:
21159         * win32/vs6/gst_launch.dsp:
21160         * win32/vs6/gstreamer.dsw:
21161         * win32/vs6/libgstbase.dsp:
21162         * win32/vs6/libgstelements.dsp:
21163         * win32/vs6/libgstreamer.dsp:
21164           Visual Studio 6 project files, and a new common directory.
21165           Phear.
21166
21167 2005-10-11  Wim Taymans  <wim@fluendo.com>
21168
21169         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21170         (gst_base_sink_do_sync), (gst_base_sink_query),
21171         (gst_base_sink_change_state):
21172         * gst/base/gstbasesink.h:
21173         Correctly parse newsegment info.
21174
21175 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21176
21177         * gst/gst.c: (init_post):
21178           split plugin paths correctly
21179
21180 2005-10-11  Wim Taymans  <wim@fluendo.com>
21181
21182         * check/gst/gstevent.c: (GST_START_TEST):
21183         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21184         (gst_base_sink_change_state):
21185         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
21186         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21187         * gst/elements/gstfilesink.c: (gst_file_sink_event):
21188         * gst/gstevent.c: (gst_event_new_newsegment),
21189         (gst_event_parse_newsegment):
21190         * gst/gstevent.h:
21191         Added extra flag to newsegment for future API freeze.
21192         Updated check and base elements.
21193
21194 2005-10-11  Julien MOUTTE  <julien@moutte.net>
21195
21196         * gst/base/gstcollectpads.c: (gst_collectpads_init),
21197         (gst_collectpads_add_pad), (gst_collectpads_pop),
21198         (gst_collectpads_event), (gst_collectpads_chain):
21199         * gst/base/gstcollectpads.h: Handle EOS correctly.
21200
21201 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21202
21203         * tools/gst-launch.c: (main):
21204           more null protecting
21205
21206 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21207
21208         * gst/gst-i18n-lib.h:
21209           check for ENABLE_NLS, not GETTEXT_PACKAGE
21210         * gst/gstregistry.c: (gst_registry_add_plugin),
21211         (gst_registry_scan_path_level),
21212         (_gst_registry_remove_cache_plugins):
21213           protect possibly NULL strings
21214         * gst/parse/types.h:
21215           config.h already included before
21216         * tools/gst-inspect.c: (main):
21217           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
21218           check for ENABLE_NLS, not GETTEXT_PACKAGE
21219         * tools/gst-launch.c: (main):
21220           check for ENABLE_NLS, not GETTEXT_PACKAGE
21221
21222 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21223
21224         * configure.ac:
21225           if we don't have glib, fail before testing 2.8
21226         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
21227           fix a leak, should fix plugins-base testsuite
21228
21229 2005-10-11  Andy Wingo  <wingo@pobox.com>
21230
21231         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
21232         take the mode we're going to as an arg. Go head and set the mode
21233         and flushing flags now, so that if the activate function starts a
21234         thread all the flags will be in the right state.
21235         (post_activate): Renamed also. Just handle making sure streaming
21236         finishes for the deactivation case, and setting the deactivated
21237         mode.
21238         (gst_pad_set_active): Complain loudly if deactivation fails.
21239         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
21240         (gst_pad_activate_push): Adapt to pre/post_activate changes,
21241         remove the terrible hack.
21242
21243 2005-10-11  Wim Taymans  <wim@fluendo.com>
21244
21245         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21246         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
21247         (gst_bin_recalc_state), (gst_bin_change_state_func),
21248         (gst_bin_dispose), (bin_bus_handler):
21249         * gst/gstbin.h:
21250         Prepare to make current EOS message queue more generic.
21251         Fix some typos.
21252
21253         * gst/gstevent.c: (gst_event_new_newsegment),
21254         (gst_event_parse_newsegment):
21255         * gst/gstevent.h:
21256         Rename base to stream_time.
21257
21258         * gst/gstmessage.h:
21259         Fix typo in docs.
21260
21261 2005-10-11  Wim Taymans  <wim@fluendo.com>
21262
21263         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21264         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
21265         (gst_bin_change_state_func), (bin_bus_handler):
21266         * gst/gstbin.h:
21267         Work on proper clock selection.
21268
21269 2005-10-11  Edward Hervey  <edward@fluendo.com>
21270
21271         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
21272         * libs/gst/controller/gstcontroller.h:
21273         Added GList* version of _remove_properties() in order to be able to wrap
21274         it in bindings.
21275
21276 2005-10-11  Wim Taymans  <wim@fluendo.com>
21277
21278         * docs/design/part-states.txt:
21279         Some more docs.
21280
21281         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
21282         (gst_bin_change_state_func), (bin_bus_handler):
21283         Doc updates. Don't distribute the same clock over and over again.
21284
21285         * gst/gstclock.c:
21286         * gst/gstclock.h:
21287         Doc updates.
21288
21289         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
21290         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
21291         (gst_pad_send_event):
21292         * gst/gstpad.h:
21293         Make probe emission threadsafe again.
21294         Register quarks and move _get_name() from utils.
21295         Doc updates.
21296
21297         * gst/gstpipeline.c: (gst_pipeline_class_init),
21298         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21299         Only redistribute the clock of it changed.
21300
21301         * gst/gstsystemclock.h:
21302         Doc updates. 
21303
21304         * gst/gstutils.c:
21305         * gst/gstutils.h:
21306         Moved the _flow_get_name() to GstPad.
21307
21308 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21309
21310         * check/gst-libs/gdp.c: (GST_START_TEST):
21311         * check/gst/gstcaps.c: (GST_START_TEST):
21312         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
21313         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
21314         (gst_dp_packet_from_caps):
21315           fix more valgrind warnings before turning up the heat
21316
21317 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21318
21319         * gst/parse/grammar.y:
21320           some cleanup before the hacking
21321
21322 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21323
21324         * gst/base/gstbasesrc.c: (gst_base_src_query):
21325           use conversions
21326         * gst/gstutils.c: (gst_guint64_to_gdouble),
21327         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21328         * gst/gstutils.h:
21329           externalize, basesrc uses it
21330           obviously the implementation needs testing
21331
21332 2005-10-10  Wim Taymans  <wim@fluendo.com>
21333
21334         * tests/sched/Makefile.am:
21335         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21336         (make_pipeline3), (make_pipeline4), (print_elem), (main):
21337
21338 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21339
21340         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21341           apparently converting from guint64 to double is not implemented
21342           on MSVC
21343
21344 2005-10-10  Wim Taymans  <wim@fluendo.com>
21345
21346         * check/Makefile.am:
21347         * check/generic/states.c: (GST_START_TEST):
21348         * check/gst/gstbin.c: (GST_START_TEST):
21349         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21350         * check/states/sinks.c: (GST_START_TEST):
21351         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21352         (main):
21353         Check fixes, use API as stated in design docs, remove hacks.
21354
21355         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21356         (gst_base_sink_change_state):
21357         Catch stopping our task while we're shutting down.
21358
21359         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21360         (gst_bin_remove_func), (gst_bin_get_state_func),
21361         (gst_bin_recalc_state), (gst_bin_change_state_func),
21362         (bin_bus_handler):
21363         * gst/gstbin.h:
21364         * gst/gstelement.c: (gst_element_init),
21365         (gst_element_get_state_func), (gst_element_abort_state),
21366         (gst_element_commit_state), (gst_element_lost_state),
21367         (gst_element_set_state), (gst_element_change_state),
21368         (gst_element_change_state_func):
21369         * gst/gstelement.h:
21370         New state change algorithm (see #318116)
21371
21372         * gst/gstpipeline.c: (gst_pipeline_class_init),
21373         (gst_pipeline_init), (gst_pipeline_set_property),
21374         (gst_pipeline_get_property), (do_pipeline_seek),
21375         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21376         * gst/gstpipeline.h:
21377         Remove crude state change hacks.
21378
21379         * gst/gstutils.h:
21380         Remove crude hacks.
21381
21382         * tools/gst-launch.c: (main):
21383         Fixes for state change. Needs some more work to fully use the
21384         new stuff.
21385
21386 2005-10-10  Andy Wingo  <wingo@pobox.com>
21387
21388         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21389
21390         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21391         this flag, but it's not even in GLib 2.6. Odd. Hack around the
21392         issue.
21393
21394 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21395
21396         * gst/gstiterator.c: (gst_iterator_new):
21397           Fix my previous commit: GTypes passed to gst_iterator_new()
21398           can be fundamental types.
21399
21400 2005-10-10  Wim Taymans  <wim@fluendo.com>
21401
21402         * gst/gstelement.c: (gst_element_iterate_pad_list),
21403         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21404         (gst_element_iterate_sink_pads):
21405         Use src/sink pads lists for the respective iterators instead
21406         of filtering.
21407
21408 2005-10-10  Andy Wingo  <wingo@pobox.com>
21409
21410         Merged in popt removal + GOption addition patch from Ronald, bug
21411         #169772.
21412
21413         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21414         GstElement macros around, remove popt-related symbols, add goption
21415         stuff.
21416
21417         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21418         
21419         * docs/gst/Makefile.am:
21420         * docs/libs/Makefile.am: No POPT_CFLAGS.
21421         
21422         * examples/manual/Makefile.am:
21423         * docs/manual/basics-init.xml: Doc updates with an example.
21424         
21425         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21426         (gst_init), (parse_one_option), (parse_goption_arg):
21427         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21428         bit of hand merging and debugging to get the GOption stuff working
21429         tho.
21430         
21431         * tests/Makefile.am:
21432         * tools/Makefile.am:
21433         * tools/gst-inspect.c: (main):
21434         * tools/gst-launch.c: (main):
21435         * tools/gst-run.c: (main):
21436         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21437
21438 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21439
21440         * gst/gstiterator.c: (gst_iterator_new):
21441           Add assertions to make sure passed GType is likely to really
21442           be a GType (as the compiler won't catch it if the size and
21443           GType arguments get mixed up, see #318447).
21444
21445 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
21446
21447         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21448
21449         * gst/gstbin.c: (gst_bin_iterate_sorted):
21450           Pass GType and size arguments to gst_iterator_new() in the right
21451           order (maybe we should make _new() take the GType as first argument
21452           just like _new_list()?) (#318447).
21453           
21454
21455 2005-10-10  Wim Taymans  <wim@fluendo.com>
21456
21457         * gst/gstelement.c: (gst_element_finalize):
21458         And free the GStaticRecMutex too
21459
21460 2005-10-10  Andy Wingo  <wingo@pobox.com>
21461
21462         * gst/gstelement.c (gst_element_init, gst_element_finalize):
21463         Allocate and free the mutex properly.
21464
21465         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21466         New macros.
21467         (GstElement): The state_lock is now recursive. Rebuild your
21468         plugins, suckers. Old macros adapted.
21469
21470         * docs/gst/gstreamer-sections.txt: Doc updates.
21471
21472         * gst/gstutils.h:
21473         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
21474         (g_static_rec_cond_wait): Ported from state changes patch, while
21475         we wait on bug #317802 to be solved in a well-distributed GLib.
21476
21477         * gst/gstelement.c (gst_element_change_state_func): Renamed from
21478         gst_element_change_state, variable name changes.
21479         (gst_element_change_state): Split out of gst_element_set_state in
21480         preparation for the state change merge. Doesn't pay attention to
21481         the 'transition' argument.
21482         (gst_element_set_state): Updates, hopefully purely cosmetic.
21483         (gst_element_sync_state_with_parent): MT-safety. Ported from the
21484         state change patch.
21485         (gst_element_get_state_func): Renamed from get_state, cosmetic
21486         changes.
21487
21488 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21489
21490         * gst/elements/gstelements.c:
21491         * win32/GStreamer.vcproj:
21492         * win32/config.h:
21493         * win32/dirent.c: (_tseekdir):
21494         * win32/gst-inspect.vcproj:
21495         * win32/gst-launch.vcproj:
21496         * win32/gstconfig.h:
21497         * win32/gstelements.vcproj:
21498         * win32/gstenumtypes.c: (gst_object_flags_get_type):
21499         * win32/gstreamer.def:
21500         * win32/msvc71.sln:
21501           updates for the win32 build (patch from Sebastien Moutte)
21502
21503 2005-10-10  Andy Wingo  <wingo@pobox.com>
21504
21505         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21506         gst_bin_get_state, cleaned up (but no logic changes).
21507         (bin_element_is_sink): Comment updates.
21508         (sink_iterator_filter): Remove needless cast.
21509         (gst_bin_iterate_sinks): Doc update.
21510         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21511         cleaned up (but no logic changes).
21512
21513         * check/states/sinks.c (test_src_sink): Cleanups from the state
21514         change patch.
21515         (test_livesrc_sink): Sync on the state.
21516
21517         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21518         the state change patch.
21519
21520         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21521         change patch.
21522
21523         * check/gst/gstbin.c: Merge in some style fixes and additional
21524         checks from Wim's state change patch.
21525
21526 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21527
21528         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21529         (gst_type_find_helper):
21530           Check whether we have the requested data already in our list of
21531           cached buffers before pulling a new buffer; also make the buffer
21532           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21533
21534 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21535
21536         * gst/gstcaps.c:
21537         * gst/gstevent.c:
21538           doc updates
21539         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21540           don't use long long, it's not portable.  Replacing with
21541           gint64 seems to work; let's hope no skeletons fall out of the closet.
21542
21543 2005-10-10  Andy Wingo  <wingo@pobox.com>
21544
21545         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21546
21547 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
21548
21549         * docs/gst/gstreamer-sections.txt:
21550         * gst/gstevent.c:
21551         * gst/gstevent.h:
21552         * gst/gstinfo.c:
21553         * gst/gstinfo.h:
21554         * gst/gstmessage.c: (gst_message_parse_state_changed):
21555         * gst/gstpad.c:
21556         * gst/gstpad.h:
21557           more docs, fix compilation
21558
21559 2005-10-09  Philippe Khalaf <burger@speedy.org>
21560         * gst/gstmessage.c:
21561           Fixed a few forgotten variables on previous commit
21562
21563 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
21564
21565         * gst/base/gsttypefindhelper.c: (helper_find_peek):
21566           Fix evil typefind crasher: getrange() might return a short
21567           buffer at the end of a file, but gst_type_find_peek() must
21568           either return the full data as requested or NULL, but
21569           never a short buffer.
21570
21571 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21572
21573         * gst/gstmessage.c: (gst_message_new_state_changed),
21574         (gst_message_parse_state_changed):
21575         * gst/gstmessage.h:
21576           don't use "new", it's a C++ keyword
21577
21578 2005-10-08  Wim Taymans  <wim@fluendo.com>
21579
21580         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
21581         * gst/gstelement.c: (gst_element_post_message):
21582         * gst/gstpipeline.c: (gst_pipeline_change_state):
21583         Small docs and debug updates.
21584
21585 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
21586
21587         * docs/gst/gstreamer-sections.txt:
21588         * gst/gstelementfactory.c:
21589         * gst/gstevent.c:
21590         * gst/gsttaglist.c:
21591           more docs
21592
21593 2005-10-08  Wim Taymans  <wim@fluendo.com>
21594
21595         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
21596         (gst_bin_dispose), (bin_bus_handler):
21597         Fix typos, add comments.
21598         Clear EOS list when going to PAUSED from any direction and do it
21599         in a threadsafe way.
21600         Get base time in a threadsafe way too.
21601         Fix confusing debug in the change_state function.
21602         Various other small cleanups.
21603         
21604         * gst/gstelement.c: (gst_element_post_message):
21605         Fix very verbose bus posting code.
21606
21607         * gst/gstpipeline.c: (gst_pipeline_class_init),
21608         (gst_pipeline_set_property), (gst_pipeline_get_property),
21609         (gst_pipeline_change_state):
21610         Small ARG_ -> PROP_ cleanup
21611
21612 2005-10-08  Wim Taymans  <wim@fluendo.com>
21613
21614         * gst/gstbin.c: (is_eos), (bin_bus_handler):
21615         Do a less CPU demanding EOS check because we can.
21616
21617 2005-10-08  Wim Taymans  <wim@fluendo.com>
21618
21619         * libs/gst/dataprotocol/dataprotocol.c:
21620         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
21621         (gst_dp_packet_from_event):
21622         * libs/gst/dataprotocol/dataprotocol.h:
21623         * libs/gst/dataprotocol/dp-private.h:
21624         It's about time we bump the version number.
21625         Since event types don't fit in the guint8 anymore describing
21626         the payload type, make payload type 16 bits wide.
21627
21628 2005-10-08  Wim Taymans  <wim@fluendo.com>
21629
21630         * docs/design/part-TODO.txt:
21631         * docs/design/part-clocks.txt:
21632         * docs/design/part-events.txt:
21633         * docs/design/part-gstbin.txt:
21634         * docs/design/part-gstelement.txt:
21635         * docs/design/part-gstpipeline.txt:
21636         * docs/design/part-live-source.txt:
21637         * docs/design/part-messages.txt:
21638         * docs/design/part-overview.txt:
21639         * docs/design/part-states.txt:
21640         Many doc updates.
21641
21642 2005-10-08  Wim Taymans  <wim@fluendo.com>
21643
21644         * gst/gstevent.c:
21645         * gst/gstevent.h:
21646         Fix event quark registration.
21647         Add some space between events so we can insert them in the
21648         right groups.
21649
21650 2005-10-08  Wim Taymans  <wim@fluendo.com>
21651
21652         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21653         (gst_base_sink_handle_buffer):
21654         Better log message.
21655
21656         * gst/gstbus.h:
21657         * gst/gstelement.h:
21658         More docs.
21659
21660         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21661         (gst_queue_set_property), (gst_queue_get_property):
21662         * gst/gstqueue.h:
21663         Remove old unused properties.
21664
21665 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
21666         * docs/gst/gstreamer-sections.txt:
21667         * gst/gstmessage.c:
21668         * gst/gstmessage.h:
21669         * gst/gstminiobject.c:
21670         * gst/gstminiobject.h:
21671         * gst/gstobject.h:
21672         * gst/gstpad.h:
21673         * gst/gstutils.h:
21674           lots of new docs and doc fixes
21675
21676 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21677
21678         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
21679         * gst/gstplugin.h:
21680         * gst/gstregistry.c: (gst_registry_lookup_locked),
21681         (gst_registry_scan_path_level):
21682         * gst/gstregistryxml.c: (load_plugin):
21683           Only ever load one plugin for a given plugin basename.
21684           This ensures correct overriding of GST_PLUGIN_PATH over
21685           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
21686           system installed plugins.
21687
21688 2005-10-08  Wim Taymans  <wim@fluendo.com>
21689
21690         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21691         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
21692         Prepare for doing QOS.
21693
21694 2005-10-08  Wim Taymans  <wim@fluendo.com>
21695
21696         * check/gst/gstbin.c: (GST_START_TEST):
21697         * check/pipelines/cleanup.c: (GST_START_TEST):
21698         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21699         Allow new clock message too.
21700
21701 2005-10-08  Wim Taymans  <wim@fluendo.com>
21702
21703         * gst/gstmessage.c: (gst_message_new_error),
21704         (gst_message_new_warning), (gst_message_new_tag),
21705         (gst_message_new_state_changed), (gst_message_new_clock_provide),
21706         (gst_message_new_clock_lost), (gst_message_new_new_clock),
21707         (gst_message_new_segment_start), (gst_message_new_segment_done),
21708         (gst_message_parse_state_changed),
21709         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
21710         (gst_message_parse_new_clock):
21711         * gst/gstmessage.h:
21712         Also carry the clock in question.
21713
21714 2005-10-08  Wim Taymans  <wim@fluendo.com>
21715
21716         * gst/gstmessage.c: (gst_message_new_custom),
21717         (gst_message_new_eos), (gst_message_new_error),
21718         (gst_message_new_warning), (gst_message_new_tag),
21719         (gst_message_new_state_changed), (gst_message_new_clock_provide),
21720         (gst_message_new_new_clock), (gst_message_new_segment_start),
21721         (gst_message_new_segment_done), (gst_message_parse_state_changed),
21722         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
21723         * gst/gstmessage.h:
21724         Clean up.
21725         Added clock related messages.
21726
21727         * gst/gstpipeline.c: (gst_pipeline_change_state):
21728         Post message when the clock changed.
21729
21730         * tools/gst-launch.c: (event_loop):
21731         Print new clock.
21732
21733 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
21734
21735         * tools/gst-inspect.c: (print_element_properties_info):
21736           Can't pass NULL strings to g_print() on windows.
21737
21738 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21739
21740         * docs/Makefile.am:
21741         * docs/gst/Makefile.am:
21742         * docs/gst/gstreamer-docs.sgml:
21743         * docs/gst/running.xml:
21744         * docs/version.entities.in:
21745           add a chapter on running GStreamer.
21746           document GST_DEBUG and GST_PLUGIN* env vars
21747
21748 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21749
21750         * Makefile.am:
21751           remove include dir
21752         * configure.ac:
21753           remove PLUGINS_BUILDDIR stuff
21754         * gst/gst.c: (init_post):
21755           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
21756         * idiottest.mak:
21757           remove, it was condescending and not needed
21758
21759 2005-10-08  Wim Taymans  <wim@fluendo.com>
21760
21761         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
21762         (gst_base_sink_handle_object), (gst_base_sink_event),
21763         (gst_base_sink_wait), (gst_base_sink_handle_event),
21764         (gst_base_sink_change_state):
21765         * gst/base/gstbasesink.h:
21766         Repost EOS message while going to PLAYING if still EOS.
21767         Make sure that when receiving a FLUSH_START we don't attempt
21768         to sync on the clock anymore.
21769
21770 2005-10-08  Wim Taymans  <wim@fluendo.com>
21771
21772         * tools/gst-launch.c: (event_loop):
21773         Better message printout.
21774
21775 2005-10-08  Wim Taymans  <wim@fluendo.com>
21776
21777         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
21778         (gst_bin_child_proxy_get_children_count):
21779         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21780         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
21781         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
21782         (gst_child_proxy_set_valist):
21783         * gst/parse/grammar.y:
21784         Make ChildProxy threadsafe and fix mem leaks.
21785
21786 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21787
21788         * gst/gst.c: (init_post):
21789           debug the GST_PLUGIN_ env vars
21790
21791 2005-10-08  Wim Taymans  <wim@fluendo.com>
21792
21793         * check/gst/gstbin.c: (GST_START_TEST):
21794         * check/gst/gstmessage.c: (GST_START_TEST):
21795         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21796         * gst/gstelement.c: (gst_element_commit_state),
21797         (gst_element_lost_state):
21798         * gst/gstmessage.c: (gst_message_new_state_changed),
21799         (gst_message_parse_state_changed):
21800         * gst/gstmessage.h:
21801         * tools/gst-launch.c: (event_loop):
21802         Added extra field to STATE_CHANGE message with the pending
21803         state, which will be different from the new state soon.
21804
21805 2005-10-08  Wim Taymans  <wim@fluendo.com>
21806
21807         * gst/gstbus.c: (gst_bus_pop):
21808         * gst/gstclock.c:
21809         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21810         Small cleanups and doc updates.
21811
21812 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21813
21814         * gst/gst.c: (init_pre):
21815         * gst/gstbin.c: (gst_bin_add_func):
21816           log distributing clocks and base time
21817         * gst/gstregistry.c: (gst_registry_add_plugin),
21818         (gst_registry_scan_path_level), (gst_registry_scan_path):
21819           clean up the debugging output a little
21820         * gst/gstutils.c: (gst_element_state_get_name):
21821           warn about a memleak (I've actually seen this be used, though
21822           it was probably a bug)
21823
21824 2005-10-07  Wim Taymans  <wim@fluendo.com>
21825
21826         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21827         (gst_base_src_init), (gst_base_src_default_newsegment),
21828         (gst_base_src_newsegment), (gst_base_src_do_seek),
21829         (gst_base_src_loop), (gst_base_src_start):
21830         * gst/base/gstbasesrc.h:
21831         Make the newsegment event customizable by subclasses.
21832
21833 2005-10-07  Wim Taymans  <wim@fluendo.com>
21834
21835         * gst/gstevent.c: (gst_event_new_buffersize),
21836         (gst_event_parse_buffersize):
21837         * gst/gstevent.h:
21838         New event for future idea.
21839
21840 2005-10-07  Andy Wingo  <wingo@pobox.com>
21841
21842         * gst/gstelement.c (gst_element_post_message): Doc update.
21843
21844         * docs/gst/gstreamer-sections.txt: Update.
21845
21846         * gst/gstmessage.c (gst_message_new_application): Made into a
21847         function like honest API calls.
21848         (gst_message_new_element): New message type.
21849
21850         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
21851
21852         * check/elements/fakesrc.c (test_no_preroll): New check, checks
21853         that setting a live fakesrc to PAUSED returns NO_PREROLL both
21854         times.
21855
21856         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
21857         NO_PREROLL from gst_element_change_state to fall through.
21858
21859 2005-10-07  Wim Taymans  <wim@fluendo.com>
21860
21861         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
21862         (gst_ghost_pad_do_activate_push):
21863         Activating a ghostpad with no internal pad in push mode
21864         is ok.
21865
21866 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21867
21868         * gst/gstobject.h:
21869           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
21870           Fixes compilation on Windows.
21871
21872 2005-10-07  Michael Smith <msmith@fluendo.com>
21873
21874         * tools/gst-inspect.c:
21875           Print out feature and plugin count at the end when printing out
21876           all features.
21877
21878 2005-10-04  Michael Smith <msmith@fluendo.com>
21879
21880         * gst/gsterror.c: (_gst_stream_errors_init):
21881           Add another error string used in a few existing plugins.
21882
21883         * gst/gstplugin.c:
21884         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
21885         * tools/gst-inspect.c: (print_element_info):
21886           When a feature disappears from a plugin (and the feature exists in
21887           the cached registry file), things went horribly wrong. This isn't a
21888           complete fix, we should actually be removing the 'missing' features
21889           from the features list when we load the actual plugin. That's not
21890           yet implemented. 
21891
21892 2005-10-04  Johan Dahlin  <johan@gnome.org>
21893
21894         * check/gst/gstiterator.c: (GST_START_TEST):
21895         * gst/gstbin.c: (gst_bin_iterate_elements),
21896         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
21897         * gst/gstelement.c: (gst_element_iterate_pads):
21898         * gst/gstformat.c: (gst_format_iterate_definitions):
21899         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
21900         (gst_iterator_new_list), (gst_iterator_filter):
21901         * gst/gstiterator.h:
21902         * gst/gstquery.c: (gst_query_type_iterate_definitions):
21903         Add a GType to GstIterator, update callsites and tests.
21904
21905 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21906
21907         * gst/gstpad.c: (gst_pad_event_default_dispatch):
21908           give events a chance to be handled by event probes when the pad
21909           is not linked
21910
21911 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21912
21913         * gst/gstevent.c: (gst_event_type_get_name),
21914         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
21915         * gst/gstevent.h:
21916           add string representations for event types
21917
21918 2005-10-06  Wim Taymans  <wim@fluendo.com>
21919
21920         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
21921         Don't use NULL pointers.
21922
21923 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21924
21925         * gst/gst_private.h:
21926         * gst/gstbus.c:
21927         * gst/gstelement.c:
21928         * gst/gstinfo.c:
21929         * gst/gstpluginfeature.c:
21930           widen the debug category in output to fit the biggest one we have
21931           add a bus category and use it
21932           play with the colors
21933           fix up some categories
21934
21935 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21936
21937         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
21938           add push activation of sink ghost pads.
21939           Andye, please verify
21940
21941 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21942
21943         * gst/gstutils.c: (gst_element_link_pads):
21944           fix a bug in the case where neither element has a pad
21945         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21946           add a test for that case
21947
21948 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21949
21950         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
21951           emit have-data before checking for peers.  This allows
21952           for probe handlers to connect elements.  This helps autopluggers.
21953         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
21954         (gst_pad_suite):
21955           add six checks, linked/unlinked with no/true/false probe
21956
21957 2005-10-04  Wim Taymans  <wim@fluendo.com>
21958
21959         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
21960         (gst_fake_sink_event), (gst_fake_sink_preroll),
21961         (gst_fake_sink_render), (gst_fake_sink_change_state):
21962         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
21963         (gst_fake_src_get_property), (gst_fake_src_create),
21964         (gst_fake_src_stop):
21965         * gst/elements/gstidentity.c: (gst_identity_stop):
21966         Protect last_message with lock.
21967
21968 2005-10-04  Edward Hervey  <edward@fluendo.com>
21969
21970         * gst/gstformat.h: 
21971         Added precision in the comments for GST_FORMAT_DEFAULT
21972
21973 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
21974
21975         * tools/gst-launch.c: (main):
21976           Don't try to run erroneous pipelines.
21977
21978 2005-10-04  Julien MOUTTE  <julien@moutte.net>
21979
21980         * gst/gstbus.c: We don't need this header.
21981
21982 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21983
21984         * configure.ac:
21985           back to development
21986
21987 === release 0.9.3 ===
21988
21989 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21990
21991         * README:
21992         * configure.ac:
21993           Releasing 0.9.3, "Unregistered"
21994
21995 2005-10-03  Andy Wingo  <wingo@pobox.com>
21996
21997         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
21998         whereby calling a pad's activatepush() function can start a thread
21999         that starts to push or pull before the pad gets the FLUSHING flag
22000         unset. Hack around it by holding the stream lock until the flag is
22001         set. Need to replace this with a proper solution. Together with
22002         the ghost pad fixes, this fixes mp3 playing/tagreading.
22003
22004         * docs/design/part-gstghostpad.txt: Add a note about activation of
22005         proxy pads outside of ghost pads.
22006
22007         * gst/gstghostpad.c: Implement the ghost pad activation design.
22008
22009 2005-10-02  Andy Wingo  <wingo@pobox.com>
22010
22011         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
22012         It is volatile, after all.
22013
22014         * docs/design/part-gstghostpad.txt: Flesh out activation with
22015         ghost pads.
22016
22017         * gst/base/gstbasesrc.c (gst_base_src_init): Use
22018         GST_DEBUG_FUNCPTR.
22019
22020 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
22021
22022         * configure.ac:
22023           Fix (unused) AM_CONDITIONAL tests.
22024
22025 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
22026
22027         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
22028
22029         * gst/gstutils.c: (gst_pad_query_convert):
22030           Add assertion that makes sure src_val is >=0, just like
22031           gst_query_new_convert() has. (#315895)
22032
22033 2005-09-30  Edward Hervey  <edward@fluendo.com>
22034
22035         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
22036         Let's not iterate pads we're not interested in, it avoids getting 
22037         sky-high refcounts on sinkpad.
22038
22039 2005-09-30  Wim Taymans  <wim@fluendo.com>
22040
22041         * gst/gstelement.c: (gst_element_set_state),
22042         (gst_element_change_state):
22043         Small tweak, element in ASYNC remains ASYNC.
22044
22045 2005-09-30  Wim Taymans  <wim@fluendo.com>
22046
22047         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
22048         Only error is an error.
22049
22050         * gst/gstbin.c: (gst_bin_change_state):
22051         Better debugging.
22052
22053         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
22054         Also call pad_block in pad alloc.
22055
22056         * gst/gstutils.c: (gst_flow_get_name):
22057         Better debugging.
22058
22059 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22060
22061         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22062         (gst_base_src_get_range):
22063           Fix documentation typos. Add some more debug info.
22064
22065 2005-09-29  David Schleef  <ds@schleef.org>
22066
22067         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
22068           more end-user friendly.
22069         * tools/gst-inspect.c: (main): Check if command-line argument is
22070           a file and attempt to load that file as a plugin.
22071
22072 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22073
22074         * check/gst/gstbin.c:
22075         * check/states/sinks.c:
22076           fix tests for the new warning
22077         * check/gst/gstpipeline.c:
22078           add a test for pipeline and bus interaction
22079         * gst/gstelement.c:
22080           elements should be NULL if they get disposed; add a warning if not
22081
22082 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22083
22084         * gst/gstobject.c:
22085           for 2.6 refcounting, make debug log more correct by printing
22086           the actual refcounts at the time of swap (Wim)
22087
22088 2005-09-29  Andy Wingo  <wingo@pobox.com>
22089
22090         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
22091         removes signal watches previously added via
22092         gst_bus_add_signal_watch.
22093         (gst_bus_add_signal_watch): Don't return the source id, just store
22094         it on the bus if there wasn't an id already.
22095
22096         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
22097         add_signal_watch and remove_signal_watch.
22098
22099 2005-09-29  Edward Hervey  <edward@fluendo.com>
22100
22101         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
22102         Better if we actually iterate the list :)
22103
22104 2005-09-29  Wim Taymans  <wim@fluendo.com>
22105
22106         * check/gst/gstbin.c: (GST_START_TEST):
22107         Change for new bus API.
22108
22109         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22110         (send_messages), (GST_START_TEST), (gstbus_suite):
22111         Change for new bus signal API.
22112
22113         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
22114         (gst_bus_source_prepare), (gst_bus_source_check),
22115         (gst_bus_create_watch), (gst_bus_add_watch_full),
22116         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
22117         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
22118         * gst/gstbus.h:
22119         Remove support for multiple GSources operating on different
22120         message types as it is too complex and unneeded when using
22121         signals.
22122         Added support for receiving signals from the bus.
22123
22124 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22125
22126         * docs/libs/tmpl/gstdataprotocol.sgml:
22127         * docs/manual/advanced-dataaccess.xml:
22128         * gst/elements/gstcapsfilter.c:
22129         * gst/gstutils.c:
22130           rename filter-caps to caps property
22131
22132 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22133
22134         * gst/gstvalue.c: (gst_value_deserialize_fraction):
22135           More robust fraction string parsing.
22136
22137         * docs/pwg/appendix-porting.xml:
22138           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
22139
22140 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22141
22142         * gst/gstcaps.c: (gst_caps_do_simplify):
22143           Thou shalt not free a structure and then continue using it
22144           in the next loop iteration.
22145
22146         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
22147         (gst_caps_suite):
22148           Add test case for caps simplification.
22149
22150 2005-09-29  Wim Taymans  <wim@fluendo.com>
22151
22152         * check/gst/gstbin.c: (GST_START_TEST):
22153         Oops.
22154
22155 2005-09-29  Wim Taymans  <wim@fluendo.com>
22156
22157         * check/gst/gstbin.c: (GST_START_TEST):
22158         Add bus to bin.
22159
22160         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
22161         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22162         (find_element), (gst_bin_sort_iterator_next),
22163         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22164         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22165         (gst_bin_change_state), (gst_bin_dispose):
22166         A bin does not have a bus, it gets the bus from the parent.
22167
22168         * gst/gstelement.c: (gst_element_requires_clock),
22169         (gst_element_provides_clock), (gst_element_is_indexable),
22170         (gst_element_is_locked_state), (gst_element_change_state),
22171         (gst_element_set_bus_func):
22172         Small cleanups.
22173
22174         * gst/gstpipeline.c: (gst_pipeline_class_init),
22175         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
22176         The pipeline provides a bus.
22177
22178 2005-09-28  Johan Dahlin  <johan@gnome.org>
22179
22180         * gst/gstmessage.c (gst_message_parse_state_changed): Use
22181         gst_structure_get_enum instead of gst_structure_get_int
22182
22183         * gst/gststructure.c (gst_structure_get_enum): Impl.
22184
22185         * gst/gststructure.h (gst_structure_get_enum): Add
22186
22187         * docs/gst/gstreamer-sections.txt: Ditto
22188
22189         * gst/gstmessage.c (gst_message_new_state_changed): Use
22190         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
22191         which does introspection.
22192         Reviewed by Christian Schaller
22193
22194 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
22195
22196         * gst/gstinfo.c: (gst_debug_log_default):
22197           don't do dummy g_strdup()s
22198         * libs/gst/controller/gstcontroller.c:
22199         (on_object_controlled_property_changed),
22200         (gst_controlled_property_new), (gst_controller_new_valist),
22201         (gst_controller_new_list),
22202         (gst_controller_remove_properties_valist), (gst_controller_set),
22203         (gst_controller_get), (gst_controller_sync_values),
22204         (gst_controller_get_value_array), (_gst_controller_class_init),
22205         (gst_controller_get_type):
22206         * libs/gst/controller/gstcontroller.h:
22207         * libs/gst/controller/gstinterpolation.c:
22208         (gst_controlled_property_find_timed_value_node):
22209           convert // to /**/ comments
22210
22211 2005-09-28  Wim Taymans  <wim@fluendo.com>
22212
22213         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
22214         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
22215         (gst_bus_sync_signal_handler):
22216         * gst/gstbus.h:
22217         Added async-message and sync-message signals to the bus.
22218         Added helper BusFunc to emit signals for all posted messages.
22219
22220         * gst/gstmessage.c: (gst_message_type_get_name),
22221         (gst_message_type_to_quark), (gst_message_get_type):
22222         * gst/gstmessage.h:
22223         Register quarks for message names.
22224
22225 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
22226
22227         * docs/libs/gstreamer-libs-sections.txt:
22228         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
22229         (gst_controller_new_list):
22230         * libs/gst/controller/gstcontroller.h:
22231           added another constructor for language bindings
22232
22233 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22234
22235         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22236           add another check
22237         * gst/gstbus.c:
22238           add some doc
22239         * gst/gstinfo.c: (_gst_debug_init):
22240           slightly more readable color for refcount debugging
22241
22242 2005-09-28  Wim Taymans  <wim@fluendo.com>
22243
22244         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
22245         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22246         (find_element), (gst_bin_sort_iterator_next),
22247         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22248         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22249         (gst_bin_change_state), (gst_bin_dispose):
22250         Small doc fixes. get_clock -> provide_clock.
22251
22252         * gst/gstelement.c: (gst_element_class_init),
22253         (gst_element_provides_clock), (gst_element_provide_clock),
22254         (gst_element_get_clock), (gst_element_commit_state),
22255         (gst_element_lost_state):
22256         * gst/gstelement.h:
22257         Make get/set_clock() symetric. Add provide_clock vmethod since
22258         that is actually what this function does.
22259
22260         * gst/gstpipeline.c: (gst_pipeline_class_init),
22261         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
22262         (gst_pipeline_get_clock):
22263         get_clock -> provide_clock.
22264
22265 2005-09-28  Andy Wingo  <wingo@pobox.com>
22266
22267         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
22268         lieu of real docs...
22269
22270         * gst/elements/gstfdsrc.c: Cleaned up a bit.
22271
22272 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
22273
22274         * gst/elements/gstcapsfilter.c:
22275         * gst/elements/gstfakesink.c:
22276         * gst/elements/gstfakesrc.c:
22277         * gst/elements/gstfdsink.c:
22278         * gst/elements/gstfdsrc.c:
22279         * gst/elements/gstfilesink.c:
22280         * gst/elements/gstfilesrc.c:
22281         * gst/elements/gstidentity.c:
22282         * gst/elements/gsttee.c:
22283         * gst/elements/gsttypefindelement.c:
22284           Make element details static.
22285
22286 2005-09-28  Wim Taymans  <wim@fluendo.com>
22287
22288         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22289         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22290         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22291         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22292         (gst_bin_change_state), (gst_bin_dispose):
22293         Some documentation updates.
22294         Clean up dispose handlers.
22295
22296         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
22297         * gst/gstpad.c: (gst_pad_dispose):
22298         Clean up dispose handler.
22299
22300         * gst/gstpipeline.c: (gst_pipeline_change_state):
22301         Removed spurious UNLOCK.
22302
22303 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
22304
22305         * docs/gst/gstreamer-sections.txt:
22306         * gst/base/gstbasesrc.h:
22307         * gst/gstelement.h:
22308         * gst/gstevent.h:
22309         * gst/gstobject.h:
22310         * gst/gstpad.h:
22311         * gst/gstpipeline.c:
22312         * gst/gstpipeline.h:
22313         * gst/gstutils.h:
22314         * gst/gstxml.h:
22315           added two new functions to the docs
22316                 documents all undocumented GstXXXFlags
22317                 completed some incomplete docs 
22318
22319 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
22320
22321         * gst/gstbin.c: (gst_bin_dispose):
22322         * gst/gstelement.c: (gst_element_dispose):
22323           remove now useless and leaky resurrection code in dispose
22324         * gst/base/gstbasesrc.c: (gst_base_src_init):
22325         * gst/gstelementfactory.c: (gst_element_factory_create):
22326         * gst/gstobject.c: (gst_object_set_parent):
22327           add some debugging
22328
22329 2005-09-27  Wim Taymans  <wim@fluendo.com>
22330
22331         * docs/design/part-TODO.txt:
22332         Update TODO.
22333
22334         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22335         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22336         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22337         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22338         (gst_bin_change_state):
22339         * gst/gstelement.h:
22340         Remove element variable, we keep element info in the iterator now.
22341
22342 2005-09-27  Andy Wingo  <wingo@pobox.com>
22343
22344         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22345         values.
22346
22347 2005-09-27  Wim Taymans  <wim@fluendo.com>
22348
22349         * check/gst/gstbin.c: (GST_START_TEST):
22350         Enable check that works now.
22351
22352         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22353         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22354         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22355         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22356         (gst_bin_change_state):
22357         * gst/gstbin.h:
22358         Redid the state change algorithm using a topological sort algo.
22359         Handles all cases correctly.
22360         Exposed iterator for state change order.
22361
22362         * gst/gstelement.h:
22363         Temp storage for state changes. Need to get rid of this soon.
22364
22365 2005-09-27  Wim Taymans  <wim@fluendo.com>
22366
22367         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22368         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22369         (link_fold_func), (gst_pad_proxy_setcaps):
22370         Leak fixes, the fold functions need to unref the passed object and
22371         _get_parent_*() returns ref to parent.
22372
22373 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22374
22375         * check/gst/gstbuffer.c: (test_make_writable):
22376           Plug leak in test case and fix 'make check-valgrind'
22377
22378 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22379
22380         * gst/gstbuffer.c: (gst_subbuffer_init):
22381           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22382           works correctly in all circumstances (we could have just copied
22383           the parent buffer's readonly flag, but conceptually it seems
22384           cleaner to mark all subbuffers as read-only). (based on patch
22385           by Alessandro Decina, #314710).
22386         
22387         * check/gst/gstbuffer.c: (create_read_only_buffer),
22388         (test_make_writable), (test_subbuffer_make_writable),
22389         (gst_test_suite):
22390           Add some tests for gst_buffer_make_writable().
22391
22392 2005-09-27  Wim Taymans  <wim@fluendo.com>
22393
22394         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22395         use gst_object_has_ancestor().
22396
22397         * gst/gstobject.c: (gst_object_has_ancestor):
22398         * gst/gstobject.h:
22399         gst_object_has_ancestor() copied from gstbin.c as it is a
22400         useful function.
22401
22402         * tests/instantiate/create.c: (create_all_elements):
22403         * tests/lat.c: (handoff_src), (handoff_sink):
22404         * tests/sched/runxml.c: (main):
22405         * tests/seeking/seeking1.c: (main):
22406         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22407         (main):
22408         Fix compilation of some tests.
22409
22410 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22411
22412         * gst/gsterror.h:
22413           Remove comment. GST_TYPE_G_ERROR is here to stay,
22414           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22415           (#316961, #300610).
22416
22417 2005-09-26  Wim Taymans  <wim@fluendo.com>
22418
22419         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22420         Added check that shows error in state change order.
22421
22422 2005-09-26  Wim Taymans  <wim@fluendo.com>
22423
22424         * gst/gstbin.c: (gst_bin_change_state):
22425         Make state change function use 3 queues again, we were
22426         adding elements in the wrong order.
22427
22428         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22429         Some debug info,
22430
22431         * gst/gstpad.c: (gst_pad_dispose):
22432         Added some debug info first.
22433
22434 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
22435
22436         * docs/design/draft-push-pull.txt:
22437         * docs/design/part-events.txt:
22438         * docs/design/part-overview.txt:
22439         * docs/design/part-scheduling.txt:
22440           Replace all _pull_region() with _pull_range()
22441           
22442 2005-09-26  Andy Wingo  <wingo@pobox.com>
22443
22444         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22445
22446         * check/gst-libs/controller.c: Update for controller api change.
22447
22448         * configure.ac: 
22449         * tests/Makefile.am:
22450         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22451         over by GLib bug 118439.
22452         
22453         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22454         routines to a function.
22455
22456         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22457
22458         * libs/gst/controller/gsthelper.c:
22459         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22460         (gst_object_sync_values): Renamed from sink_values. Ugh.
22461
22462         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22463
22464         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22465         Renamed from controller_key, as it is exported.
22466
22467         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22468
22469 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
22470
22471         * gst/Makefile.am:
22472         * gst/gst.h:
22473         * gst/gstpad.h:
22474         * gst/gstpadtemplate.h:
22475         * gst/gstquery.c:
22476         * gst/gstquery.h:
22477         * gst/gstqueryutils.c:
22478         * gst/gstqueryutils.h:
22479           remove queryutils headers after moving the two used functions
22480           to gstquery.  also fixes build problem for gstsiddec
22481
22482 2005-09-26  Michael Smith <msmith@fluendo.com>
22483
22484         * tools/gst-launch.1.in:
22485         Correct documentation in manpage of debug syntax
22486
22487 2005-09-26  Wim Taymans  <wim@fluendo.com>
22488
22489         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22490         (gst_base_src_is_seekable), (gst_base_src_change_state):
22491         Some more debugging info.
22492
22493 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22494
22495         * docs/gst/gstreamer-sections.txt:
22496         * gst/base/gstbasetransform.h:
22497         * gst/gstindex.h:
22498           added more docs
22499
22500 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22501
22502         * docs/gst/.cvsignore:
22503         * docs/gst/tmpl/.cvsignore:
22504         * docs/gst/tmpl/gstpipeline.sgml:
22505         * docs/gst/tmpl/gstplugin.sgml:
22506         * gst/gstpipeline.c:
22507         * gst/gstplugin.c:
22508         * gst/gstplugin.h:
22509           inlined the last two docs files
22510           removed the tmpl directory from cvs (no more conflicts here!)
22511
22512 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22513
22514         * docs/gst/gstreamer-sections.txt:
22515         * docs/gst/tmpl/.cvsignore:
22516         * docs/gst/tmpl/gstpad.sgml:
22517         * docs/gst/tmpl/gstpadtemplate.sgml:
22518         * gst/Makefile.am:
22519         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22520         (gst_pad_finalize), (gst_pad_set_pad_template):
22521         * gst/gstpad.h:
22522         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22523         (gst_pad_template_class_init), (gst_pad_template_init),
22524         (gst_pad_template_dispose), (name_is_valid),
22525         (gst_static_pad_template_get), (gst_pad_template_new),
22526         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22527         (gst_pad_template_pad_created):
22528         * gst/gstpadtemplate.h:
22529           inlined two more docs
22530           factored gstpadtemplate out of gstpad
22531
22532 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
22533
22534         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22535         (test_children_state_change_order_semi_sink):
22536           Fix test case: we can't rely on a fixed state change order when
22537           going from READY => PAUSED because the sink might commit its 
22538           new state first when the first buffer created by the source 
22539           reaches the sink before the source has finished its change state.
22540           (Test case still fails at times, see #316856, comment 5 onwards)
22541
22542 2005-09-24  Wim Taymans  <wim@fluendo.com>
22543
22544         * docs/design/part-events.txt:
22545         * docs/design/part-gstbus.txt:
22546         * docs/design/part-gstpipeline.txt:
22547         * docs/design/part-messages.txt:
22548         * docs/design/part-overview.txt:
22549         * docs/design/part-segments.txt:
22550         * gst/gstbin.c:
22551         * gst/gstbuffer.c:
22552         * gst/gstclock.c:
22553         * gst/gstelement.c:
22554         * gst/gstevent.c:
22555         * gst/gstfilter.c:
22556         * gst/gstiterator.c:
22557         Various documentation updates.
22558
22559 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22560
22561         * gst/gstclock.h:
22562           Well, that's embarassing.  Luckily we weren't using
22563           GST_CLOCK_DIFF anywhere.
22564
22565 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22566
22567         * common/gtk-doc.mak:
22568           don't fail on building XML, FC4 slave shows a bunch of doc
22569           missing bits that I don't get
22570         * gst/gstpad.c:
22571         * gst/gstpipeline.c:
22572         * gst/gststructure.c:
22573           some doc updates
22574
22575 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
22576
22577         * docs/design/part-gstbin.txt:
22578         * docs/design/part-gstbus.txt:
22579         * gst/gstbus.c:
22580           Add blurb about how the bus goes into flushing mode and
22581           drops all messages when its bin goes from READY into NULL 
22582           state.
22583
22584 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22585
22586         * docs/gst/gstreamer-sections.txt:
22587         * gst/gststructure.c: (gst_structure_get_clock_time):
22588         * gst/gststructure.h:
22589           add a method to get a GstClockTime out of a structure
22590
22591 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
22592
22593         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22594         (test_children_state_change_order_semi_sink), (gst_bin_suite):
22595           Added test to check state change order in bins (can still be made
22596           to fail here under heavy disk load; bails out with 'Push on pad
22597           fakesink:sink0, but it was not activated in push mode').
22598
22599         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
22600           Fix state change order when there is only a semi sink (#316856)
22601
22602         * gst/gstbus.c: (gst_bus_class_init):
22603           Use _class_peek_parent(), not _class_ref(); fix docs to say
22604           'default main context' instead of 'mainloop' where that is
22605           what's meant.
22606
22607         * gst/gstelement.c: (gst_element_commit_state),
22608         (gst_element_set_state):
22609           Fix typos in debug messages
22610
22611 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22612
22613         * docs/README:
22614         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
22615         * gst/gstpluginfeature.c:
22616         * gst/gstutils.c:
22617           various doc updates
22618         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22619           change an assert into an error until it gets fixed properly
22620
22621 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
22622
22623         * docs/gst/gstreamer-sections.txt:
22624         * docs/gst/tmpl/.cvsignore:
22625         * docs/gst/tmpl/gstelement.sgml:
22626         * docs/gst/tmpl/gstinfo.sgml:
22627         * docs/gst/tmpl/gstobject.sgml:
22628         * gst/gstelement.c:
22629         * gst/gstelement.h:
22630         * gst/gstinfo.c:
22631         * gst/gstinfo.h:
22632         * gst/gstobject.c: (gst_object_class_init):
22633         * gst/gstobject.h:
22634           inlined 3 more biiiig doc files and added some missing docs on the fly
22635
22636 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22637
22638         * check/gst/.cvsignore:
22639         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
22640         * gst/gstregistryxml.c: (load_plugin),
22641         (gst_registry_xml_save_plugin):
22642           put back source in registry.  add checks for find_plugin.
22643         * testsuite/states/bin.c: (assert_state), (empty_bin),
22644         (test_adding_one_element), (main):
22645         * testsuite/states/locked.c: (main):
22646           some compile/run fixes
22647
22648 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22649
22650         * check/gst/gstvalue.c: (GST_START_TEST):
22651           fix leaks in the test itself
22652
22653 2005-09-22  Wim Taymans  <wim@fluendo.com>
22654
22655         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22656         (gst_base_sink_send_event), (gst_base_sink_peer_query),
22657         (gst_base_sink_query):
22658         Prepare for more accurate position reporting and query
22659         handling.
22660
22661         * gst/gstelement.c: (gst_element_send_event),
22662         (gst_element_set_state):
22663         Add some comment.
22664
22665 2005-09-22  Wim Taymans  <wim@fluendo.com>
22666
22667         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
22668         (gst_query_parse_segment):
22669         * gst/gstquery.h:
22670         More documentation.
22671         Add segment query for future use.
22672
22673 2005-09-22  Wim Taymans  <wim@fluendo.com>
22674
22675         * gst/gstbin.c: (gst_bin_add_func):
22676         Some more debug info.
22677
22678         * gst/gstelement.c: (gst_element_send_event):
22679         Simplify send_event
22680
22681         * gst/gstelement.h:
22682         Don't know how flags got broken.
22683
22684         * gst/gstquery.h:
22685         Added new query.
22686
22687 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
22688
22689         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
22690           Add simplistic test suite for GST_TYPE_DATE serialisation and
22691           deserialisation.
22692
22693 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
22694
22695         * docs/gst/gstreamer-sections.txt:
22696         * gst/gststructure.c: (gst_structure_set_valist),
22697         (gst_structure_get_date):
22698         * gst/gststructure.h:
22699         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
22700         (gst_date_copy), (gst_value_compare_date),
22701         (gst_value_serialize_date), (gst_value_deserialize_date),
22702         (gst_value_transform_date_string),
22703         (gst_value_transform_string_date), (_gst_value_initialize):
22704         * gst/gstvalue.h:
22705           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
22706           bunch of utility functions along with a hack that checks that
22707           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
22708           is required. Part of the grand scheme in #170777.
22709
22710 2005-09-22  Andy Wingo  <wingo@pobox.com>
22711
22712         * gst/gstconfig.h.in: Psych out gtk-doc.
22713
22714         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
22715
22716         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
22717
22718         * tools/gst-inspect.c (print_element_list): Plug some
22719         inconsequential leaks.
22720
22721         * gst/gstregistry.c (gst_registry_get_default): Doc.
22722
22723         * check/gst/gstplugin.c: 
22724         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
22725         * gst/gstelementfactory.c (gst_element_factory_create): 
22726         * gst/gstindexfactory.c (gst_index_factory_create): Update for
22727         refcount changes.
22728
22729         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
22730         (gst_plugin_feature_load): Doc, don't eat refs.
22731
22732         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
22733         (gst_plugin_list_free): Doc.
22734         (gst_plugin_load_file): Doc updates.
22735
22736         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
22737         accessors returning refcounted objects, return a ref.
22738
22739         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
22740         accessor for caps. IDEMPOTENCE. Oh yes.
22741
22742 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
22743
22744         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
22745
22746         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22747         (_gst_debug_register_funcptr):
22748           Add mutex to serialise access to the hash table with
22749           the function pointer => function name string mapping;
22750           make that hash table static scope (#316809).
22751
22752         * gst/registries/.cvsignore:
22753           Remove left-over file.
22754
22755 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
22756
22757         * docs/pwg/appendix-porting.xml:
22758           And something about newsegment events and caps-on-buffers to
22759           the porting guide (feel free to improve).
22760
22761 2005-09-21  Andy Wingo  <wingo@pobox.com>
22762
22763         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
22764         data and event probes on the same pad.
22765         (test_buffer_probe_once): Test that removing probes from within
22766         the probe functions works.
22767
22768 2005-09-21  Andy Wingo  <wingo@pobox.com>
22769
22770         * check/gst/gstutils.c: New file.
22771         (test_buffer_probe_n_times): A simple buffer probe test. More to
22772         come, foolios.
22773
22774         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
22775         have-data::buffer, not have-data.
22776         (gst_pad_add_event_probe): Likewise for have-data::event.
22777         (gst_pad_add_data_probe): More docs. The part about 'resolving the
22778         peer' isn't quite right yet though.
22779         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
22780         (gst_pad_remove_data_probe): Change to take the guint handler_id
22781         as their arg, not the function+data, which is more glib-like.
22782
22783         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
22784         the signal emission to indicate if the data is a buffer or an
22785         event.
22786         (gst_pad_get_type): Initialize buffer and event quarks.
22787         (gst_pad_class_init): have-data is now a detailed signal, yes it
22788         is.
22789
22790 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
22791
22792         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22793         * gst/gstutils.c: (gst_util_set_value_from_string),
22794         (gst_util_set_object_arg):
22795           Don't put functional code in g_return_if_fail() or
22796           g_return_val_if_fail() statements, otherwise things will 
22797           break when G_DISABLE_CHECKS is defined during compilation.
22798
22799 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22800
22801         * docs/gst/tmpl/.cvsignore:
22802         * docs/gst/tmpl/gstvalue.sgml:
22803         * gst/gstvalue.c:
22804         * gst/gstvalue.h:
22805           inlied another one and added  some obvious docs
22806
22807 2005-09-21  Wim Taymans  <wim@fluendo.com>
22808
22809         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
22810         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
22811         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
22812         (gst_fdsrc_get_property), (gst_fdsrc_create):
22813         * gst/elements/gstfdsrc.h:
22814         Properly implement fdsrc. Removed signal and timeout,
22815         better implemented somewhere else.
22816
22817 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22818
22819         * docs/gst/tmpl/.cvsignore:
22820         * docs/gst/tmpl/gstimplementsinterface.sgml:
22821         * gst/gstinterface.c:
22822           inlined more docs
22823
22824 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22825
22826         * docs/gst/gstreamer-sections.txt:
22827         * docs/gst/tmpl/.cvsignore:
22828         * docs/gst/tmpl/gstenumtypes.sgml:
22829           remove obsolete doc file
22830
22831 2005-09-21  David Schleef  <ds@schleef.org>
22832
22833         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
22834         little beer, fix a little leak.
22835
22836 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22837
22838         * docs/gst/gstreamer-docs.sgml:
22839         * docs/gst/gstreamer-sections.txt:
22840         * docs/gst/tmpl/.cvsignore:
22841         * gst/Makefile.am:
22842         * gst/gst.h:
22843         * gst/gstbin.c:
22844         * gst/gstelement.h:
22845         * gst/gstindex.c: (gst_index_class_init):
22846         * gst/gstindex.h:
22847         * gst/gstindexfactory.c: (gst_index_factory_get_type),
22848         (gst_index_factory_class_init), (gst_index_factory_init),
22849         (gst_index_factory_finalize), (gst_index_factory_new),
22850         (gst_index_factory_destroy), (gst_index_factory_find),
22851         (gst_index_factory_create), (gst_index_factory_make):
22852         * gst/gstindexfactory.h:
22853         * gst/gstpluginfeature.c:
22854         * gst/gstpluginfeature.h:
22855         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22856           more docs inlined, splitted gstindex.{c,h}
22857
22858 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22859
22860         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22861           fix a leak
22862
22863 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
22864
22865         * gst/elements/gstfilesink.c: (gst_file_sink_init):
22866           Set sync to FALSE by default.
22867
22868 2005-09-20  Wim Taymans  <wim@fluendo.com>
22869
22870         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22871         (gst_base_sink_init):
22872         Make sync property settable from subclass.
22873
22874         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
22875         (gst_fake_sink_change_state):
22876         Set sync to FALSE by default.
22877
22878 2005-09-20  Wim Taymans  <wim@fluendo.com>
22879
22880         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
22881         * tools/gst-launch.c: (main):
22882         The timeout handler should have lower priority than the source
22883         so we don't timeout before popping a message with 0 timeout.
22884         Dump error messages after failed state change.
22885
22886 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
22887
22888         * tools/gst-inspect.c: (print_element_properties_info):
22889           Fix two typos.
22890
22891 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22892
22893         * check/gst/gstevent.c:
22894         * gst/elements/gstfakesink.c:
22895         * gst/elements/gstfakesink.h:
22896           remove the sync property from fakesink.
22897           has the side effect of setting sync TRUE
22898           for fakesink, which is a change.  Anyone who knows how
22899           to fix this nicely in a GObject-y way, feel free.
22900
22901 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22902
22903         * docs/gst/gstreamer-docs.sgml:
22904           remove probe refsection
22905
22906 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22907
22908         * check/Makefile.am:
22909           disable valgrinding the controller test again
22910         * docs/gst/gstreamer-sections.txt:
22911           update for api-changes
22912
22913 2005-09-20  Wim Taymans  <wim@fluendo.com>
22914
22915         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22916         (gst_base_sink_set_property), (gst_base_sink_get_property),
22917         (gst_base_sink_do_sync):
22918         * gst/base/gstbasesink.h:
22919         Added sync property to basesink to disable clock sync.
22920
22921 2005-09-20  Andy Wingo  <wingo@pobox.com>
22922
22923         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
22924         eating the caller's refcount.
22925
22926         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
22927         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
22928         refcount.
22929
22930         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
22931         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
22932         of GLib 2.8 public, so we can know which refcount to check in
22933         tests.
22934
22935         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
22936         (gst_object_init): Only set the gst refcount if we're going ahead
22937         with the refcount hack.
22938
22939 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22940
22941         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22942         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22943           more leaks plumbed, added more debug-logging
22944         * gst/gstmacros.h:
22945           whitespace fix
22946
22947 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22948
22949         * gst/gstmessage.c:
22950           remove include of gstmemchunk.h
22951
22952 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22953
22954         * gst/gstclock.c: (_gst_clock_id_free):
22955           Commit from the Political Party For More Atomic CVS Commits,
22956           so that people don't waste too much of their day fishing
22957           out obvious leaks out of massive commits.
22958           Oh, and fix a pretty damn obvious leak in the memchunk
22959           removal code.
22960
22961 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22962
22963         * check/Makefile.am:
22964         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22965           plug mem-leak, re-add to valgrindable tests
22966
22967 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22968
22969         * gst/gstplugin.h:
22970           unbreak the build for those who have chronic arthritis
22971           and typing "make check" is just too taxing on the hands
22972
22973 2005-09-20  Andy Wingo  <wingo@pobox.com>
22974
22975         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
22976         really want it out, you should fix plugins at the same time.
22977
22978 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
22979
22980         * configure.ac:
22981         * docs/gst/gstreamer-sections.txt:
22982         * gst/gstobject.c:
22983           added missing symbols to api docs
22984           disable ref-count hack if we have glib >= 2.8
22985
22986 2005-09-19  David Schleef  <ds@schleef.org>
22987
22988         * docs/gst/Makefile.am: Ignore a few more internal headers
22989         * docs/gst/gstreamer-docs.sgml: Remove old sections
22990         * docs/gst/gstreamer-sections.txt: Remove old sections
22991         * docs/gst/tmpl/gstobject.sgml: update
22992         * docs/gst/tmpl/gstplugin.sgml: update
22993         * docs/gst/tmpl/gstpluginfeature.sgml: update
22994         * docs/random/ds/0.9-suggested-changes: update.
22995         * gst/Makefile.am: remove memchunk and trashstack, since they're
22996           not used.
22997         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
22998         * gst/gst.h: don't include some headers
22999         * gst/gstchildproxy.c: add gstmarshal.h
23000         * gst/gstclock.c: Don't use memchunks
23001         * gst/gstminiobject.c: Add some docs
23002         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
23003         * gst/gstobject.h: same
23004         * gst/gstplugin.c: include gstmacros.h
23005         * gst/gstplugin.h: don't include gstmacros.h, since it's private
23006         * gst/gstquery.c: don't use memchunks
23007         * gst/gstregistry.c: rename gst_registry_deinit()
23008         * gst/gstregistry.h: same
23009
23010 2005-09-19  David Schleef  <ds@schleef.org>
23011
23012         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
23013         * docs/libs/gstreamer-libs-sections.txt:
23014         * docs/libs/tmpl/gstgetbits.sgml:
23015         * docs/libs/tmpl/gstputbits.sgml:
23016
23017 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
23018
23019         * win32/gstenumtypes.c:
23020         * win32/gstenumtypes.h:
23021           Update.
23022
23023 2005-09-19  Wim Taymans  <wim@fluendo.com>
23024
23025         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
23026         Automatically PAUSE and RESUME a pipeline when a flushing seek
23027         is performed.
23028
23029 2005-09-19  Andy Wingo  <wingo@pobox.com>
23030
23031         * gst/gstregistry.h: Spacing fixen.
23032
23033 2005-09-19  Wim Taymans  <wim@fluendo.com>
23034
23035         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
23036         Handle state change failure more correctly.
23037
23038 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23039
23040         * check/Makefile.am:
23041         * check/pipelines/cleanup.c: (run_pipeline):
23042         * check/pipelines/simple_launch_lines.c: (run_pipeline),
23043         (GST_START_TEST):
23044           enable cleanup again after fixing the leak
23045         * docs/README:
23046           some more info on docs
23047
23048 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23049
23050         * check/Makefile.am:
23051           re-enable tests now that leaks are plugged
23052         * check/gst/gst.c:
23053         * check/gst/gstbin.c:
23054         * check/gst/gstpipeline.c:
23055           add some more tests while fixing leaks
23056         * common/check.mak:
23057           make sure binaries are uptodate when valgrinding/gdbing
23058         * gst/gst.c:
23059         * gst/gstelementfactory.c:
23060           remove a ref too many, and add a FIXME for when we get
23061           round to disposing of classes
23062         * gst/gstplugin.c:
23063           fix the refcounting when loading a plugin from a file and
23064           the code pretends that the pointer is the same even though
23065           of course it can change
23066         * gst/gstpluginfeature.c:
23067           unref plugins marked cached (a bit confusing as a name)
23068           as the docs state should be done
23069           various doc additions to explain refcounting
23070         * gst/gstregistry.c:
23071         * gst/gstregistryxml.c:
23072           debugging
23073
23074 2005-09-19  Wim Taymans  <wim@fluendo.com>
23075
23076         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
23077         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23078         (send_messages), (GST_START_TEST), (gstbus_suite):
23079         * check/gst/gstpipeline.c: (GST_START_TEST):
23080         * check/pipelines/cleanup.c: (run_pipeline):
23081         * check/pipelines/simple_launch_lines.c: (run_pipeline),
23082         (GST_START_TEST):
23083         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
23084         (gst_bus_source_check), (gst_bus_source_dispatch),
23085         (gst_bus_create_watch), (gst_bus_add_watch_full),
23086         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
23087         * gst/gstbus.h:
23088         * tools/gst-launch.c: (event_loop):
23089         * tools/gst-md5sum.c: (event_loop):
23090         GstBusHandler -> GstBusFunc, return value has the same meaning as
23091         any other GSource (FALSE == remove source).
23092         _add_watch() and _add_watch_full() now take a MessageType mask to
23093         only handle specific types of messages.
23094         _poll() returns the GstMessage instead of the message type to avoid
23095         race conditions.
23096         _have_pending() takes a MessageType mask now too.
23097         Added testsuite for multiple bus watches.
23098         Fix testsuites and applications for new bus API.
23099
23100 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23101
23102         * check/Makefile.am:
23103           mark a bunch of the tests as to fix until we fix them
23104
23105 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23106
23107         * common/check.mak:
23108           use GST_PLUGIN settings for valgrind tests as well, so we're
23109           valgrinding the correct thing
23110         * gst/gst.c: (init_post):
23111           plug another leak
23112
23113 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23114
23115         * gst/gst.c: (init_post), (gst_deinit):
23116         * gst/gstelementfactory.c: (gst_element_factory_class_init),
23117         (gst_element_factory_finalize), (gst_element_factory_cleanup):
23118         * gst/gstindex.c: (gst_index_factory_class_init),
23119         (gst_index_factory_finalize):
23120         * gst/gstobject.c: (gst_object_dispose):
23121         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
23122         (gst_plugin_load_file), (gst_plugin_desc_free):
23123         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
23124         (gst_plugin_feature_finalize):
23125         * gst/gstregistry.c: (gst_registry_class_init),
23126         (gst_registry_init), (gst_registry_finalize),
23127         (gst_registry_get_default), (gst_registry_deinit):
23128         * gst/gstregistry.h:
23129         * gst/gstregistryxml.c: (load_feature), (load_plugin):
23130           various cleanups and memleak plugging.  make valgrind is happy now.
23131
23132 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23133
23134         * common/check.mak:
23135           add a check-valgrind target
23136
23137 2005-09-18  David Schleef  <ds@schleef.org>
23138
23139         * tools/gst-inspect.c: Revert the GOption code.
23140
23141 2005-09-17  David Schleef  <ds@schleef.org>
23142
23143         * check/Makefile.am: Fix environment variables.
23144         * check/gst/gstplugin.c: Fix for API changes.
23145         * tools/gst-inspect.c: Fix for API changes.
23146         * tools/gst-xmlinspect.c: Fix for API changes.
23147         * gst/gstelementfactory.c:
23148         * gst/gstplugin.c:
23149         * gst/gstplugin.h:
23150         * gst/gstpluginfeature.c:
23151         * gst/gstpluginfeature.h:
23152         * gst/gstregistry.c:
23153         * gst/gstregistry.h:
23154         * gst/gstregistryxml.c:
23155         * gst/gsttypefind.c:
23156         * gst/gsttypefindfactory.c:
23157         * gst/indexers/gstfileindex.c:
23158         * gst/indexers/gstmemindex.c:
23159         * gst/schedulers/Makefile.am:
23160           Change registry to keep track of both plugins and features,
23161           removing the feature tracking from plugins themselves.
23162
23163 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
23164
23165         * check/Makefile.am:
23166         * tools/gst-register.1.in:
23167           remove gst-register
23168
23169 2005-09-15  David Schleef  <ds@schleef.org>
23170
23171         * check/gst/gstplugin.c:
23172         * gst/gstelementfactory.c:
23173         * gst/gstplugin.c:
23174         * gst/gstpluginfeature.c:
23175         * gst/gstregistry.c:
23176           Getting tired of debugging.  Disabled all the unreffing of
23177           plugins and features, which fixes the segfaults, but of
23178           course leaks like crazy.  At least playbin works.
23179
23180 2005-09-15  David Schleef  <ds@schleef.org>
23181
23182         * check/gst/gstplugin.c: (register_check_elements),
23183         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
23184         More testing
23185         * gst/elements/gsttypefindelement.c: Fix refcounting.
23186         * gst/gsttypefind.c:
23187         * gst/gsttypefindfactory.c:
23188         * gst/gsttypefindfactory.h:
23189
23190 2005-09-15  David Schleef  <ds@schleef.org>
23191
23192         * gst/gstindex.c: get refcounting correct.
23193         * gst/gstregistry.c: Handle the case where a feature/plugin is
23194           not found.
23195
23196 2005-09-15  David Schleef  <ds@schleef.org>
23197
23198         * check/Makefile.am:
23199         * check/gst/gstplugin.c: Add test
23200         * gst/gstplugin.c: Fix problems noticed by testsuite
23201         * gst/gstplugin.h:
23202         * gst/gstregistry.c: 
23203         * gst/gstregistry.h:
23204
23205 2005-09-15  David Schleef  <ds@schleef.org>
23206
23207         * gst/gstplugin.c: Implement semi-decent recounting and locking
23208           in plugins and plugin features.
23209         * gst/gstplugin.h:
23210         * gst/gstpluginfeature.c:
23211         * gst/gstpluginfeature.h:
23212         * gst/gstregistry.c:
23213
23214 2005-09-15  Michael Smith <msmith@fluendo.com>
23215
23216         * gst/gstregistry.c: (gst_registry_get_feature_list):
23217           Implement this. Makes oggdemux work; decodebin still broken.
23218
23219 2005-09-14  David Schleef  <ds@schleef.org>
23220
23221         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
23222           #316076)
23223         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
23224         * gst/check/Makefile.am:
23225         * libs/gst/controller/Makefile.am:
23226         * libs/gst/dataprotocol/Makefile.am:
23227
23228 2005-09-14  David Schleef  <ds@schleef.org>
23229
23230         * configure.ac: Remove getbits library.  Nothing uses it, and
23231           it should be in something like liboil if someone did want
23232           to use it.
23233         * libs/gst/Makefile.am:
23234         * libs/gst/getbits/Makefile.am:
23235         * libs/gst/getbits/gbtest.c:
23236         * libs/gst/getbits/getbits.c:
23237         * libs/gst/getbits/getbits.h:
23238         * libs/gst/getbits/gstgetbits_generic.c:
23239         * libs/gst/getbits/gstgetbits_i386.s:
23240         * libs/gst/getbits/gstgetbits_inl.h:
23241
23242 2005-09-14  David Schleef  <ds@schleef.org>
23243
23244         * gst/Makefile.am: Dist glib-compat.h
23245
23246 2005-09-14  David Schleef  <ds@schleef.org>
23247
23248         * configure.ac: Remove gst/registries, since it's no longer used.
23249         * gst/registries/Makefile.am:
23250         * gst/registries/gstlibxmlregistry.c:
23251         * gst/registries/gstlibxmlregistry.h:
23252         * gst/registries/gstxmlregistry.c:
23253         * gst/registries/gstxmlregistry.h:
23254         * gst/registries/registrytest.c:
23255
23256 2005-09-14  David Schleef  <ds@schleef.org>
23257
23258         * gst/glib-compat.h:
23259         * gst/gstregistryxml.c:
23260           Convergence is near.  Seriously.
23261
23262 2005-09-14  David Schleef  <ds@schleef.org>
23263
23264         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23265         * gst/glib-compat.h:
23266           Attempt #4 to appease the buildbots.
23267
23268 2005-09-14  David Schleef  <ds@schleef.org>
23269
23270         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23271           Attempt #3.
23272
23273 2005-09-14  David Schleef  <ds@schleef.org>
23274
23275         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23276         Attempt #2.
23277
23278 2005-09-14  David Schleef  <ds@schleef.org>
23279
23280         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
23281           the new functions.
23282
23283 2005-09-14  David Schleef  <ds@schleef.org>
23284
23285         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23286         * gst/glib-compat.h: Add some functions that are in newer versions
23287           of glib than we care to require.
23288         * gst/gstregistryxml.c: Use them.
23289
23290 2005-09-14  David Schleef  <ds@schleef.org>
23291
23292         * po/POTFILES.in: remove gst-register.c
23293
23294 2005-09-14  David Schleef  <ds@schleef.org>
23295
23296         * docs/gst/gstreamer-docs.sgml:
23297         * docs/gst/gstreamer-sections.txt:
23298         * docs/gst/gstreamer.types:
23299         * docs/gst/tmpl/gstelement.sgml:
23300         * docs/gst/tmpl/gstplugin.sgml:
23301         * docs/gst/tmpl/gstpluginfeature.sgml:
23302           Documentation updates for registry changes.
23303
23304 2005-09-14  David Schleef  <ds@schleef.org>
23305
23306         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
23307           because we don't require glib-2.8.
23308
23309 2005-09-14  David Schleef  <ds@schleef.org>
23310
23311         * gst/gstregistryxml.c: Added.  Essentially moved out of the
23312           registries directory.
23313
23314 2005-09-14  David Schleef  <ds@schleef.org>
23315
23316         * check/Makefile.am:
23317         * check/generic/states.c:
23318         * gst/Makefile.am:
23319         * gst/gst.c:
23320         * gst/gst.h:
23321         * gst/gst_private.h:
23322         * gst/gstelementfactory.c:
23323         * gst/gstindex.c:
23324         * gst/gstinfo.c:
23325         * gst/gstplugin.c:
23326         * gst/gstplugin.h:
23327         * gst/gstpluginfeature.c:
23328         * gst/gstpluginfeature.h:
23329         * gst/gstregistry.c:
23330         * gst/gstregistry.h:
23331         * gst/gstregistrypool.c: remove
23332         * gst/gstregistrypool.h: remove
23333         * gst/gsttypefind.c:
23334         * gst/gsttypefindfactory.c:
23335         * gst/gsturi.c:
23336         * tools/Makefile.am:
23337         * tools/gst-compprep.c:
23338         * tools/gst-inspect.c:
23339         * tools/gst-register.c: remove
23340         * tools/gst-xmlinspect.c:
23341           Registry rewrite.  Changes registry from being a file created
23342           by a tool into a simple cache file created automatically by 
23343           libgstreamer.  Removed gst-register (because it's no longer
23344           needed).  Remove registry pools, because we only have one
23345           registry implementation (XML).  Fix up other subsystems as
23346           necessary.
23347
23348 2005-09-13  Michael Smith <msmith@fluendo.com>
23349
23350         * gst/gstconfig.h.in:
23351           Don't Use windows linking attributes for MinGW. Fixes #316157
23352
23353 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23354
23355         * gst/gstutils.c: (set_state_async_thread_func),
23356         (gst_element_set_state_async):
23357           Apparently people think it's better if this function doesn't
23358           try to set the state to whatever state was asked for on the first
23359           call to this function for any object.  Seriously.
23360
23361 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23362
23363         * check/gst/gstpipeline.c: (GST_START_TEST):
23364         * docs/gst/gstreamer-sections.txt:
23365         * gst/gstutils.c: (set_state_async_thread_func),
23366         (gst_element_set_state_async):
23367         * gst/gstutils.h:
23368           add a "gst_element_set_state_async" method that
23369           sets the state and starts a thread to make sure the state
23370           change completes as best as it can
23371
23372 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23373
23374         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23375           codify design+behaviour in testsuite after discussion
23376
23377 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23378
23379         * docs/gst/tmpl/gstelement.sgml:
23380         * docs/manual/appendix-quotes.xml:
23381           add a quote
23382         * gst/gstelement.c: (gst_element_set_state):
23383           add some debug
23384
23385 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
23386
23387         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23388         (gst_base_transform_prepare_output_buf),
23389         (gst_base_transform_handle_buffer):
23390         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23391         (gst_capsfilter_prepare_buf):
23392           Remove the requirement for sub-classes to call the parent
23393           implementation of prepare_output_buffer with a wrapper function.
23394           
23395         * gst/gsttaglist.h:
23396         * gst/gsttagsetter.h:
23397           Fix #define wrapper
23398
23399 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
23400
23401         * docs/gst/gstreamer-sections.txt:
23402           more doc cleanups
23403
23404 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23405
23406         * docs/gst/gstreamer-sections.txt:
23407         * docs/gst/tmpl/gstelement.sgml:
23408         * docs/gst/tmpl/gstplugin.sgml:
23409         * gst/gstminiobject.c:
23410         * gst/gstvalue.h:
23411           docs now stop throwing warnings
23412
23413 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23414
23415         * docs/gst/gstreamer-sections.txt:
23416         * docs/gst/gstreamer.types:
23417         * docs/gst/tmpl/gstpad.sgml:
23418         * docs/gst/tmpl/gsttypes.sgml:
23419         * gst/base/gstadapter.h:
23420         * gst/base/gstbasesink.h:
23421         * gst/base/gstbasesrc.h:
23422         * gst/gstbin.h:
23423         * gst/gstbuffer.h:
23424         * gst/gstbus.h:
23425         * gst/gstcaps.h:
23426         * gst/gstclock.h:
23427         * gst/gstelement.h:
23428         * gst/gstevent.h:
23429         * gst/gstmessage.h:
23430         * gst/gstpad.h:
23431         * gst/gststructure.c:
23432         * gst/registries/gstlibxmlregistry.h:
23433           various documentation fixes
23434
23435 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23436
23437         * docs/gst/gstreamer-sections.txt:
23438         * docs/gst/tmpl/gstvalue.sgml:
23439           rearrange gstvalue section
23440         * gst/gstutils.c: (gst_element_state_get_name):
23441           NONE -> VOID
23442         * gst/gstvalue.c: (_gst_value_initialize):
23443         * gst/gstvalue.h:
23444           doc updates
23445
23446 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
23447
23448         * check/gst-libs/controller.c:
23449           Header include fix.
23450         * gst/base/gstbasetransform.c:
23451         (gst_base_transform_default_prepare_buf),
23452         (gst_base_transform_handle_buffer):
23453         * gst/base/gstbasetransform.h:
23454           Some more basetransform changes and fixes to enable sub-classes
23455           that modify buffer metadata only.
23456         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23457         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23458         (gst_capsfilter_prepare_buf):
23459           If the output pad has fixed allowed caps and input buffers 
23460           don't have any, set the fixed caps on outgoing buffers.
23461
23462 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
23463         * check/elements/identity.c: (GST_START_TEST):
23464           Make the error a little clearer when the test fails because
23465           identity made a copy of the buffer.
23466         * docs/gst/gstreamer-sections.txt:
23467           New symbols in gstbasetransform.h
23468         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23469         (gst_base_transform_init), (gst_base_transform_transform_size),
23470         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23471         (gst_base_transform_default_prepare_buf),
23472         (gst_base_transform_get_unit_size),
23473         (gst_base_transform_buffer_alloc),
23474         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23475         (gst_base_transform_change_state),
23476         (gst_base_transform_set_passthrough),
23477         (gst_base_transform_set_in_place),
23478         (gst_base_transform_is_in_place):
23479         * gst/base/gstbasetransform.h:
23480           Change BaseTransform to separate in_place operate from same_caps
23481           output. in_place implies that the element can perform the transform
23482           on incoming buffers in-place, even if the caps on the output are
23483           different.
23484           Sub-class elements can now implement special buffer allocation
23485           methods for outgoing buffers if they wish to.
23486           Big documentation addition.
23487         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23488         * gst/elements/gstelements.c:
23489           Changes for basetransform modifications.
23490         * gst/elements/Makefile.am:
23491         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23492           Compile fix. Extra debug output.
23493
23494 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23495
23496         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23497         (gst_pad_suite):
23498           add tests for valid pad naming
23499         * gst/check/gstcheck.c: (gst_check_log_message_func),
23500         (gst_check_log_critical_func):
23501           add ASSERT_WARNING
23502           remove printing of code, it is fragile when the code contains
23503           % and the line number is enough info
23504         * gst/check/gstcheck.h:
23505         * gst/gstpad.c: (gst_pad_template_new):
23506           fix memleaks
23507
23508 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23509
23510         * configure.ac:
23511           say what CHECK flags we use
23512         * docs/libs/gstreamer-libs.types:
23513         * libs/gst/controller/Makefile.am:
23514         * libs/gst/controller/gst-controller.c:
23515         * libs/gst/controller/gst-controller.h:
23516         * libs/gst/controller/gst-helper.c:
23517         * libs/gst/controller/gst-interpolation.c:
23518         * libs/gst/controller/gstcontroller.c:
23519         * libs/gst/controller/gsthelper.c:
23520         * libs/gst/controller/gstinterpolation.c:
23521         * tools/gst-inspect.c: (print_plugin_info):
23522           we don't use dashes in header names
23523
23524 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23525
23526         * check/Makefile.am:
23527         * check/gst/.cvsignore:
23528         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23529         (gst_pipeline_suite), (main):
23530           adding a test for pipelines and state changes
23531         * gst/gstutils.c: (get_state_func):
23532           add some debugging
23533         * gstreamer.spec.in:
23534           fix up spec file
23535
23536 2005-09-08  Michael Smith <msmith@fluendo.com>
23537
23538         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23539         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23540         (gst_file_src_is_seekable), (gst_file_src_get_size),
23541         (gst_file_src_start):
23542         * gst/elements/gstfilesrc.h:
23543           Various fixes for unseekable, unmmapable, and non-normal files, so
23544           that fallback to read() rather than mmap() works.
23545         * gst/gstevent.c: (gst_event_new_newsegment):
23546           Allow newsegment events with segment_start == segment_end, as will
23547           correctly happen if you use filesrc on a zero-size file, for
23548           example.
23549
23550 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
23551
23552         * gst/gstplugin.c: (gst_plugin_load_file):
23553           Call g_module_close when we don't load the module
23554
23555         * gst/registries/gstlibxmlregistry.c:
23556         (gst_xml_registry_get_property):
23557           Port leak fix from 0.8
23558
23559 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23560
23561         * docs/gst/gstreamer-docs.sgml:
23562         * docs/gst/tmpl/.cvsignore:
23563         * docs/gst/tmpl/gsttrace.sgml:
23564         * docs/gst/tmpl/gsttrashstack.sgml:
23565         * gst/Makefile.am:
23566         * gst/gst.h:
23567         * gst/gstelement.h:
23568         * gst/gstevent.h:
23569         * gst/gstmessage.c:
23570         * gst/gstmessage.h:
23571         * gst/gsttag.c:
23572         * gst/gsttag.h:
23573         * gst/gsttaginterface.c:
23574         * gst/gsttaginterface.h:
23575         * gst/gsttaglist.c:
23576         * gst/gsttaglist.h:
23577         * gst/gsttagsetter.c:
23578         * gst/gsttagsetter.h:
23579         * gst/gsttrace.c:
23580         * gst/gsttrace.h:
23581         * gst/gsttrashstack.c:
23582           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
23583           inlined docs for gsttrace, gsttrashstack
23584
23585 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23586
23587         * gst/Makefile.am:
23588         * gst/elements/gstbufferstore.h:
23589         * gst/elements/gsttypefindelement.c:
23590         * gst/elements/gsttypefindelement.h:
23591         * gst/gst.h:
23592         * gst/gsttypefind.c:
23593         * gst/gsttypefind.h:
23594         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
23595         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
23596         (gst_type_find_factory_dispose),
23597         (gst_type_find_factory_unload_thyself),
23598         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
23599         (gst_type_find_factory_get_caps),
23600         (gst_type_find_factory_get_extensions),
23601         (gst_type_find_factory_call_function):
23602         * gst/gsttypefindfactory.h:
23603         * gst/registries/gstlibxmlregistry.c:
23604         * gst/registries/gstxmlregistry.c:
23605           splitted gsttypefind into gsttypefind, gsttypefindfactory
23606
23607 2005-09-07  Andy Wingo  <wingo@pobox.com>
23608
23609         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
23610         condition whereby the pad's task function is entered before the
23611         pad_mode variable was set.
23612
23613 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
23614
23615         * gst/gstpad.c: (gst_pad_alloc_buffer):
23616           Catch misbehaving pad_alloc functions that don't
23617           set up caps and do it for them.
23618
23619 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23620
23621         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23622           test for pipe!=NULL
23623         * docs/gst/tmpl/.cvsignore:
23624         * docs/gst/tmpl/gstmemchunk.sgml:
23625         * docs/gst/tmpl/gstparse.sgml:
23626         * docs/gst/tmpl/gsttaglist.sgml:
23627         * docs/gst/tmpl/gsttagsetter.sgml:
23628         * docs/gst/tmpl/gsttypefind.sgml:
23629         * docs/gst/tmpl/gsttypefindfactory.sgml:
23630         * gst/gstmemchunk.c:
23631         * gst/gstparse.c:
23632         * gst/gsttag.c:
23633         * gst/gsttaginterface.c:
23634         * gst/gsttypefind.c:
23635         * gst/gsttypefind.h:
23636           inlined more docs
23637
23638 === release 0.9.2 ===
23639
23640 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23641
23642         * NEWS:
23643         * RELEASE:
23644         * configure.ac:
23645           releasing 0.9.2, "South"
23646
23647 2005-09-05  Andy Wingo  <wingo@pobox.com>
23648
23649         * gst/registries/gstxmlregistry.h:
23650         * gst/registries/gstxmlregistry.c: Um... resurrect...
23651         
23652         * gst/registries/gstxmlregistry.h:
23653         * gst/registries/gstxmlregistry.c: and update to newer API.
23654         Incidentally they should be a bit faster now that they don't have
23655         to parse the caps.
23656         
23657 2005-09-05  Andy Wingo  <wingo@pobox.com>
23658
23659         * gst/registries/gstxmlregistry.h:
23660         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
23661         replaced by the libxml registry a while back
23662
23663 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23664
23665         * docs/gst/tmpl/gstplugin.sgml:
23666         * gst/elements/gstelements.c:
23667         * gst/gst.c:
23668         * gst/gstplugin.c: (gst_plugin_register_func),
23669         (gst_plugin_desc_copy), (gst_plugin_desc_free),
23670         (gst_plugin_get_source):
23671         * gst/gstplugin.h:
23672         * gst/registries/gstlibxmlregistry.c: (load_plugin),
23673         (gst_xml_registry_save_plugin):
23674         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
23675         (gst_xml_registry_save_plugin):
23676         * tools/gst-inspect.c: (print_plugin_info):
23677           add a "source" plugin description field, to represent the source
23678           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
23679           will set it to PACKAGE, which is automake's idea of the name of
23680           the source project.
23681
23682 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23683
23684         * Makefile.am:
23685         * autogen.sh:
23686         * configure.ac:
23687         * docs/Makefile.am:
23688         * docs/faq/Makefile.am:
23689         * docs/gst/tmpl/gstelement.sgml:
23690         * docs/gst/tmpl/gsttypes.sgml:
23691         * docs/htmlinstall.mak:
23692         * docs/manual/Makefile.am:
23693         * docs/pwg/Makefile.am:
23694           reorganize doc build a little
23695           split out docbook and gtk-doc stuff
23696           have two separate --enable's and enable them through autogen
23697           but disable by default in configure (to be similar to other
23698           projects)
23699         * gstreamer.spec.in:
23700           clean up docs install
23701         * po/af.po:
23702         * po/az.po:
23703         * po/ca.po:
23704         * po/cs.po:
23705         * po/de.po:
23706         * po/en_GB.po:
23707         * po/fr.po:
23708         * po/it.po:
23709         * po/nb.po:
23710         * po/nl.po:
23711         * po/ru.po:
23712         * po/sq.po:
23713         * po/sr.po:
23714         * po/sv.po:
23715         * po/tr.po:
23716         * po/uk.po:
23717         * po/vi.po:
23718           translation updates
23719
23720 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
23721
23722         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
23723           Add comment.
23724           
23725         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23726         (gst_fake_sink_change_state):
23727           Make state change function thread-safe.
23728           
23729         * gst/gstpad.c: (gst_pad_alloc_buffer):
23730           Set offset on generic buffer allocated by fallback.
23731
23732 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
23733
23734         * docs/gst/gstreamer-sections.txt:
23735         * docs/gst/tmpl/gstelement.sgml:
23736         * gst/gstpad.c:
23737         * libs/gst/controller/gst-controller.c:
23738         (gst_controlled_property_set_interpolation_mode),
23739         (gst_controlled_property_new),
23740         (gst_controller_find_controlled_property):
23741          run the wingo-magic script against the docs
23742
23743 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
23744
23745         * docs/gst/gstreamer-docs.sgml:
23746         * docs/gst/gstreamer-sections.txt:
23747         * docs/gst/tmpl/.cvsignore:
23748         * docs/gst/tmpl/gstelementdetails.sgml:
23749         * docs/gst/tmpl/gstelementfactory.sgml:
23750         * gst/gst.c:
23751         * gst/gstbus.c:
23752         * gst/gstelementfactory.c:
23753         * gst/gstelementfactory.h:
23754           merged elementdetails docs into elementfactory docs
23755           inlined both
23756
23757 2005-09-02  Andy Wingo  <wingo@pobox.com>
23758
23759         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
23760         consider this enum an enum and not a flags.
23761
23762 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
23763
23764         * docs/gst/gstreamer-docs.sgml:
23765         * docs/gst/tmpl/.cvsignore:
23766         * docs/gst/tmpl/gstghostpad.sgml:
23767         * docs/gst/tmpl/gstiterator.sgml:
23768         * docs/gst/tmpl/gstmacros.sgml:
23769         * docs/gst/tmpl/gstrealpad.sgml:
23770         * docs/gst/tmpl/gstregistry.sgml:
23771         * docs/gst/tmpl/gstregistrypool.sgml:
23772         * docs/gst/tmpl/gststructure.sgml:
23773         * docs/gst/tmpl/gstsystemclock.sgml:
23774         * docs/gst/tmpl/gsttrace.sgml:
23775         * gst/gstghostpad.c:
23776         * gst/gstmacros.h:
23777         * gst/gstmemchunk.c:
23778         * gst/gstmemchunk.h:
23779         * gst/gstqueue.c:
23780         * gst/gstregistry.c:
23781         * gst/gstregistrypool.c:
23782         * gst/gststructure.c:
23783         * gst/gstsystemclock.c:
23784           more docs inlined
23785
23786 2005-09-02  Andy Wingo  <wingo@pobox.com>
23787
23788         * gst/gstelement.h (GstState): Renamed from GstElementState,
23789         changed to be a normal enum instead of flags.
23790         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
23791         munged to be GST_STATE_CHANGE_*.
23792         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
23793         work with the new state representation.
23794         (GstStateChange): New enumeration of possible state transitions.
23795         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
23796         (GstElementClass::change_state): Pass the GstStateChange along as
23797         an argument. Helps language bindings, so they don't have to use
23798         tricky lock-needing macros like GST_STATE_CHANGE ().
23799
23800         * scripts/update-states (file): New script. Run it on a file to
23801         update it for state naming and API changes. Updates files in
23802         place.
23803
23804         * All files updated for the new API.
23805
23806 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
23807
23808         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
23809         * gst/gstutils.c: (gst_util_set_value_from_string),
23810         (gst_util_set_object_arg):
23811           fix a bunch of unchecked return values
23812         * tools/gst-complete.c: (main):
23813         * gstreamer.spec.in:
23814           clean up a little
23815
23816 2005-09-01  Wim Taymans  <wim@fluendo.com>
23817
23818         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23819         (gst_base_sink_event), (gst_base_sink_do_sync),
23820         (gst_base_sink_handle_event):
23821         * gst/base/gstbasesink.h:
23822         Handle newsegments more correctly.
23823
23824         * gst/gstbus.c:
23825         Fix docs.
23826
23827         * gst/gstevent.c: (gst_event_new_newsegment):
23828         A newsegment cannot have a start_time of -1
23829
23830 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
23831
23832         * win32/gstenumtypes.c:
23833         * win32/gstenumtypes.h:
23834           Update
23835
23836 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23837
23838         * libs/gst/controller/gst-controller.c:
23839         (gst_controlled_property_set_interpolation_mode),
23840         (gst_controlled_property_new):
23841          fixed boolean again
23842
23843 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
23844
23845         * docs/faq/gst-uninstalled:
23846           add -good
23847         * gst/gstevent.c:
23848         * gst/gstevent.h:
23849           remove wrong docs
23850         * gst/gstutils.c: (gst_element_link_filtered):
23851         * gst/gstutils.h:
23852           add gst_element_link_filtered
23853
23854 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23855
23856         * docs/gst/gstreamer-docs.sgml:
23857         * docs/gst/gstreamer-sections.txt:
23858         * docs/gst/tmpl/.cvsignore:
23859         * docs/gst/tmpl/gsterror.sgml:
23860         * docs/gst/tmpl/gstfilter.sgml:
23861         * docs/gst/tmpl/gsturihandler.sgml:
23862         * docs/gst/tmpl/gsturitype.sgml:
23863         * docs/gst/tmpl/gstutils.sgml:
23864         * docs/gst/tmpl/gstxml.sgml:
23865         * gst/gsterror.c:
23866         * gst/gsterror.h:
23867         * gst/gstfilter.c:
23868         * gst/gsturi.c:
23869         * gst/gsturitype.c:
23870         * gst/gstutils.c:
23871         * gst/gstxml.c:
23872           inlined more docs, fixed double id-ref
23873
23874 2005-08-31  Wim Taymans  <wim@fluendo.com>
23875
23876         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23877         (gst_base_transform_handle_buffer):
23878         Passthrough elements don't need the caps as they don't care.
23879
23880 2005-08-31  Wim Taymans  <wim@fluendo.com>
23881
23882         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23883         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
23884         Don't leak refcounts on buffers.
23885
23886 2005-08-31  Wim Taymans  <wim@fluendo.com>
23887
23888         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
23889         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23890         (gst_base_transform_chain), (gst_base_transform_change_state):
23891         * gst/base/gstbasetransform.h:
23892         Handle the case where we are not negotiated more gracefully.
23893
23894 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
23895
23896         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
23897         (gst_file_src_map_region):
23898           Set READONLY flag on mmap'ed buffers, otherwise
23899           gst_buffer_make_writable() won't work properly (#314708).
23900
23901 2005-08-31  Wim Taymans  <wim@fluendo.com>
23902
23903         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
23904         passthrough elements can even do inplace on non writable
23905         buffers (as they don't touch them).
23906
23907 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23908
23909         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
23910         (gst_test_mono_source_set_property),
23911         (gst_test_mono_source_class_init), (GST_START_TEST),
23912         (gst_controller_suite):
23913           more tests (hehe I have the most)
23914         * gst/gstbus.c:
23915           describe popping messages whenusing mulltiple sources
23916         * libs/gst/controller/gst-controller.c:
23917         (gst_controlled_property_set_interpolation_mode),
23918         (gst_controlled_property_new):
23919         * libs/gst/controller/gst-controller.h:
23920         * libs/gst/controller/gst-interpolation.c:
23921           implement boolean properties
23922
23923 2005-08-31  Wim Taymans  <wim@fluendo.com>
23924
23925         * gst/gstminiobject.c: (gst_mini_object_ref):
23926         Cannot assert that the refcount has to be positive
23927         since a disposed object can be resurrected.
23928
23929 2005-08-31  Wim Taymans  <wim@fluendo.com>
23930
23931         * gst/gstpad.c: (gst_pad_init):
23932         Revert change, need to first fix badly behaving 
23933         apps.
23934
23935 2005-08-30  Wim Taymans  <wim@fluendo.com>
23936
23937         * check/elements/fakesrc.c: (setup_fakesrc):
23938         * check/elements/identity.c: (setup_identity):
23939         Activate pads before using them.
23940
23941 2005-08-30  Wim Taymans  <wim@fluendo.com>
23942
23943         * gst/base/gstadapter.c: (gst_adapter_flush):
23944         Flushing out 0 bytes is ok for this function.
23945
23946         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23947         no newsegment gives a warning and sets the start/stop to 
23948         invalid.
23949
23950         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
23951         (gst_base_transform_set_passthrough):
23952         Some debug info.
23953
23954         * gst/gstminiobject.c: (gst_mini_object_ref):
23955         Check refcount here too.
23956
23957         * gst/gstpad.c: (gst_pad_init):
23958         Pads are initially flushing and refusing data.
23959
23960         * gst/gstutils.c: (gst_element_link_pads_filtered):
23961         When adding a capsfilter element make sure it has the
23962         same state as the parent bin.
23963
23964 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23965
23966         * docs/gst/tmpl/.cvsignore:
23967         * docs/gst/tmpl/gstformat.sgml:
23968         * docs/gst/tmpl/gstversion.sgml:
23969         * gst/gstbus.h:
23970         * gst/gstformat.c:
23971         * gst/gstformat.h:
23972         * gst/gstversion.h.in:
23973           more docs and two more inlined
23974
23975 2005-08-30  Wim Taymans  <wim@fluendo.com>
23976
23977         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
23978         Don't sync to clock.
23979
23980 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23981
23982         * docs/gst/gstreamer-sections.txt:
23983           ultral33t func10ns deserve to appear in the docs actually
23984         * docs/gst/tmpl/.cvsignore:
23985         * docs/gst/tmpl/gstcompat.sgml:
23986         * docs/gst/tmpl/gstconfig.sgml:
23987         * gst/check/gstcheck.c:
23988         * gst/gstcompat.h:
23989         * gst/gstconfig.h.in:
23990           inlined more docs
23991
23992 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23993
23994         * docs/gst/tmpl/.cvsignore:
23995         * docs/gst/tmpl/gstquery.sgml:
23996         * docs/gst/tmpl/gstutils.sgml:
23997         * gst/gstquery.c:
23998         * gst/gstquery.h:
23999           inlined and extended docs
24000
24001 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24002
24003         * check/gst-libs/controller.c: (GST_START_TEST),
24004         (gst_controller_suite):
24005           more tests
24006         * docs/gst/tmpl/gstutils.sgml:
24007         * docs/libs/gstreamer-libs-sections.txt:
24008         * docs/libs/tmpl/gstdataprotocol.sgml:
24009           include path fixes
24010         * examples/controller/audio-example.c: (main):
24011           controller example works now
24012         * gst/gstclock.h:
24013           doc fixes
24014         * tools/gst-inspect.c: (print_element_properties_info):
24015           show param spec flags
24016
24017 2005-08-29  Andy Wingo  <wingo@pobox.com>
24018
24019         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
24020
24021 2005-08-28  Andy Wingo  <wingo@pobox.com>
24022
24023         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
24024         as having two arguments instead of just one. Allows superclasses
24025         to access information on subclasses -- see the terrible for() loop
24026         in gtype.c:g_type_create_instance for the reason why. All callers
24027         changed.
24028
24029 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24030
24031         * docs/design/part-messages.txt:
24032           update info
24033         * docs/gst/tmpl/.cvsignore:
24034         * docs/gst/tmpl/gstcaps.sgml:
24035         * docs/gst/tmpl/gstclock.sgml:
24036         * gst/gstbus.c:
24037         * gst/gstcaps.c:
24038         * gst/gstcaps.h:
24039         * gst/gstclock.c:
24040         * gst/gstclock.h:
24041         * gst/gstmessage.c:
24042           added descriptions for bus and message
24043           inline caps and clock docs
24044
24045 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24046
24047         * gst/gstmessage.c:
24048         * gst/gstmessage.h:
24049           doc fixes
24050
24051 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24052
24053         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24054           fix div-by-zero
24055
24056 2005-08-26  Andy Wingo  <wingo@pobox.com>
24057
24058         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
24059         element_set_state's return val.
24060         (test_2_elements): Add test that's been disabled for months.
24061
24062         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
24063         can-activate-pull properties.
24064
24065         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
24066         can-activate-pull properties. Implement is_seekable so fakesrc can
24067         operate in pull mode.
24068
24069         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
24070         properties.
24071         (gst_base_sink_activate, gst_base_sink_activate_pull)
24072         (gst_base_sink_activate_push): Make activation mode choosing work.
24073         Cleanups.
24074         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
24075         is right. Make pull mode work. Post an eos before pausing in pull
24076         mode.
24077         (gst_base_sink_change_state): Pay attention to the core's
24078         change_state() return val.
24079         
24080         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
24081         has-getrange properties. Cleanups.
24082         
24083         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
24084         has_getrange and replace with can_activate_pull and
24085         can_activate_push.
24086
24087         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
24088         locking comments. Remove has_loop, has_chain and replace with
24089         can_activate_pull and can_activate_push.
24090
24091 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
24092
24093         * configure.ac:
24094         * examples/Makefile.am:
24095         * examples/metadata/Makefile.am:
24096         * examples/metadata/read-metadata.c: (message_loop),
24097         (have_pad_handler), (make_pipeline), (print_tag), (main):
24098           Add metadata reading example that loops over a list of filenames,
24099           dumping any tags found.
24100
24101         * gst/gstbus.c: (gst_bus_dispose):
24102         * gst/gstelement.c: (gst_element_dispose):
24103           Release a few potentially-held references in dispose.
24104
24105 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24106
24107         * docs/gst/tmpl/gstminiobject.sgml:
24108           do *not* add tmpl/*.sgml files to CVS!
24109
24110 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24111
24112         * libs/gst/bytestream/.cvsignore:
24113         * libs/gst/bytestream/Makefile.am:
24114         * libs/gst/bytestream/adapter.c:
24115         * libs/gst/bytestream/adapter.h:
24116         * libs/gst/bytestream/bytestream.c:
24117         * libs/gst/bytestream/bytestream.h:
24118         * libs/gst/bytestream/filepad.c:
24119         * libs/gst/bytestream/filepad.h:
24120           removing obsolete files
24121
24122 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24123
24124         * docs/gst/gstreamer-docs.sgml:
24125         * docs/libs/gstreamer-libs-docs.sgml:
24126           disabed additional index entries again, as this makes docs-gen just
24127           slow and they aren't useful yet
24128         * docs/libs/gstreamer-libs-sections.txt:
24129           little -section.txt cleanup for libs
24130
24131 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24132
24133         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24134         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
24135           fix up some debugging
24136         (gst_base_transform_get_unit_size),
24137         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
24138         (gst_base_transform_handle_buffer):
24139         * gst/base/gstbasetransform.h:
24140           handle and store timed NEWSEGMENT events so that subclasses that
24141           calculate time by counting samples have a segment_start time they
24142           need to add to their timestamps - see audioresample
24143
24144 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24145
24146         * gst/gstbin.h:
24147           removed ';' from the end of macro defs
24148         * docs/gst/gstreamer-docs.sgml:
24149         * docs/gst/gstreamer-sections.txt:
24150         * docs/gst/tmpl/.cvsignore:
24151         * gst/gstbus.h:
24152         * gst/gstelement.c: (gst_element_class_init),
24153         (gst_element_set_state), (activate_pads),
24154         (gst_element_save_thyself):
24155         * gst/gstevent.c: (gst_event_new_newsegment):
24156         * gst/gstevent.h:
24157         * gst/gstiterator.c:
24158         * gst/gstiterator.h:
24159         * gst/gstpad.c:
24160         * gst/gstprobe.h:
24161         * gst/gstutils.c: (gst_pad_query_convert):
24162         * gst/gstutils.h:
24163           fixed parameter name mismatches between source, header and docs
24164           added some more docs, resolved the last batch of unused elements in
24165           docs (now someone needs to doc them)
24166
24167 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24168
24169         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
24170         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
24171           don't walk through the plugins backwards.  Where is all this
24172           reversed logic coming from ?
24173
24174 2005-08-25  Wim Taymans  <wim@fluendo.com>
24175
24176         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24177         (gst_base_transform_transform_size),
24178         (gst_base_transform_configure_caps),
24179         (gst_base_transform_get_unit_size),
24180         (gst_base_transform_buffer_alloc),
24181         (gst_base_transform_change_state):
24182         * gst/base/gstbasetransform.h:
24183         Cache caps unit_size.
24184         Make sure we cannot negotiate up and downstream at the
24185         same time.
24186
24187 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24188
24189         * gst/gst.c: (init_pre), (init_post):
24190           register the installed plugin path after the env var
24191         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
24192         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
24193           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
24194           directories, so the tests can prefer uninstalled over installed
24195
24196 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24197
24198         * gst/base/gstbasetransform.h:
24199           comment
24200         * gst/gstpad.c:
24201           add to docs
24202
24203 2005-08-25  Wim Taymans  <wim@fluendo.com>
24204
24205         * gst/gstbin.c: (bin_bus_handler):
24206         Be a bit more conservative about the posted message.
24207         
24208         * gst/gstbus.c: (gst_bus_post):
24209         Some cleanups, warn wrong return values.
24210
24211 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
24212
24213         * check/gst/gstbin.c: (GST_START_TEST):
24214         * gst/gstbin.c: (bin_bus_handler):
24215         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24216         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24217         (gst_message_new_warning), (gst_message_new_tag),
24218         (gst_message_new_state_changed), (gst_message_new_segment_start),
24219         (gst_message_new_segment_done), (gst_message_new_custom):
24220         * gst/gstmessage.h:
24221         * tools/gst-launch.c: (event_loop):
24222         * tools/gst-md5sum.c: (event_loop):
24223           Revert unpopular change for GST_MESSAGE_SRC to GObject.
24224
24225 2005-08-25  Wim Taymans  <wim@fluendo.com>
24226
24227         * check/generic/states.c: (GST_START_TEST):
24228         Cleanup can be done at the end.
24229
24230         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
24231         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24232         (gst_task_get_state), (gst_task_start), (gst_task_pause):
24233         Oh boy.. Thanks for finding this, Thomas. 
24234
24235 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
24236
24237         * docs/gst/gstreamer.types:
24238           added missing types
24239
24240 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
24241
24242         * docs/gst/gstreamer-docs.sgml:
24243         * docs/gst/gstreamer-sections.txt:
24244         * docs/gst/tmpl/.cvsignore:
24245         * gst/gstbin.c:
24246         * gst/gstiterator.c:
24247         * gst/gstutils.c:
24248         * gst/registries/gstxmlregistry.h:
24249           added missing classes and symbols (123 more to go)
24250           removed removed symbols from section file
24251           fixed many doc-comments
24252
24253 2005-08-24  Wim Taymans  <wim@fluendo.com>
24254
24255         * check/generic/states.c: (GST_START_TEST):
24256         Make sure all tasks are stopped.
24257
24258         * check/gst/gstbin.c: (GST_START_TEST):
24259         Unref after usage for proper valgrinding.
24260
24261         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
24262         Really wait for the task to stop before destroying the
24263         mutex.
24264
24265         * gst/gstqueue.c: (gst_queue_sink_activate_push),
24266         (gst_queue_src_activate_push):
24267         Small cleanups. Don't stop the task when we did not start
24268         it.
24269
24270         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
24271         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24272         (gst_task_get_state), (gst_task_start), (gst_task_pause),
24273         (gst_task_join):
24274         * gst/gsttask.h:
24275         Protect the stream lock with the object lock.
24276         Disallow setting the stream lock when running.
24277         Add cleanup_all to wait for the threadpool to finish.
24278         Remove code to autoallocate a mutex if none was provided.
24279         Add _join() to wait for a task to stop.
24280         Protect the thread pool with a global lock.
24281
24282 2005-08-24  Wim Taymans  <wim@fluendo.com>
24283
24284         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24285         (gst_base_sink_get_times), (gst_base_sink_do_sync),
24286         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
24287         * gst/base/gstbasesink.h:
24288         Handle newsegment events correctly.
24289         Drop buffers out of the segment range.
24290
24291 2005-08-22  Andy Wingo  <wingo@pobox.com>
24292
24293         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
24294         macro, implements an interface and gstimplementsinterface for a
24295         new type.
24296
24297 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24298
24299         * check/Makefile.am:
24300         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
24301           add a test that does a bunch of state changes on elements
24302           needs some fixing for valgrind
24303         * check/states/sinks.c: (gst_object_suite):
24304           whitespace
24305         * gst/gstcaps.h:
24306           add prototype for gst_caps_is_equal_fixed
24307         * gst/gstplugin.c:
24308         * gst/gstregistrypool.c:
24309           doc fixes
24310
24311 2005-08-24  Andy Wingo  <wingo@pobox.com>
24312
24313         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
24314         convert a negative value. Doesn't make much sense. Mostly this is
24315         here to force callers to ensure -1 maps to -1.
24316
24317 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24318
24319         * docs/pwg/advanced-types.xml:
24320           Well done to Michael for catching my deliberate introduction
24321           of this spelling mistake. 
24322         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24323         * gst/gstelement.h:
24324           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24325           unlink pads before removing the element from the bin.
24326
24327 2005-08-24  Andy Wingo  <wingo@pobox.com>
24328
24329         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24330         the same thing as GST_DEBUG=*:4.
24331         (parse_debug_level, parse_debug_category): New helper parsers.
24332
24333 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24334
24335         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24336         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24337         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24338         (gst_base_transform_buffer_alloc),
24339         (gst_base_transform_handle_buffer):
24340           use gboolean return values and pointers to size so we can use the
24341           full GST_BUFFER_SIZE range (guint) for buffer sizes
24342           use GstPadDirection for transform_caps
24343         * gst/base/gstbasetransform.h:
24344           rename get_size to get_unit_size since that's what it is
24345         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24346           use GstPadDirection for transform_caps
24347         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24348         * gst/gstutils.h:
24349           cleanup and debugging
24350
24351 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24352
24353         * gst/gstelement.c: (gst_element_class_init),
24354         (gst_element_set_state), (activate_pads),
24355         (gst_element_save_thyself):
24356         * tools/gst-compprep.c: (main):
24357         * tools/gst-inspect.c: (print_element_properties_info):
24358         * tools/gst-xmlinspect.c: (print_element_properties):
24359           Fixed long standing mem-leak
24360
24361 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24362
24363         * check/gst/gstbin.c: (GST_START_TEST):
24364         * gst/gstbin.c: (bin_bus_handler):
24365         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24366         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24367         (gst_message_new_warning), (gst_message_new_tag),
24368         (gst_message_new_state_changed), (gst_message_new_segment_start),
24369         (gst_message_new_segment_done), (gst_message_new_custom):
24370         * gst/gstmessage.h:
24371         * tools/gst-launch.c: (event_loop):
24372         * tools/gst-md5sum.c: (event_loop):
24373           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24374           that applications can sensibly post custom messages with references
24375           to their own objects.
24376
24377 2005-08-24  Andy Wingo  <wingo@pobox.com>
24378
24379         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24380         already.
24381
24382 2005-08-24  Wim Taymans  <wim@fluendo.com>
24383
24384         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24385         (gst_base_transform_transform_caps),
24386         (gst_base_transform_transform_size),
24387         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24388         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24389         (gst_base_transform_handle_buffer):
24390         * gst/base/gstbasetransform.h:
24391         Many fixes and new features added by Thomas. Can now also do
24392         transforms with variable sizes and a custom fixate_caps function.
24393
24394 2005-08-24  Wim Taymans  <wim@fluendo.com>
24395
24396         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24397         Some debugging.
24398
24399         * gst/gstclock.h:
24400         Cast to ClockTime before formatting to time.
24401
24402         * gst/gstutils.h:
24403         Cleanups.
24404
24405 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24406
24407         * check/gst-libs/controller.c: (GST_START_TEST),
24408         (gst_controller_suite):
24409         * docs/gst/tmpl/gstcaps.sgml:
24410         * docs/gst/tmpl/gstghostpad.sgml:
24411         * docs/gst/tmpl/gstquery.sgml:
24412         * docs/gst/tmpl/gstutils.sgml:
24413         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24414         (gst_object_sink_values), (gst_object_get_value_arrays),
24415         (gst_object_get_value_array):
24416           gracefully handle helper method calls to objects that are not beeing
24417           controlled, added test case for that          
24418
24419 2005-08-23  Wim Taymans  <wim@fluendo.com>
24420
24421         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24422         (gst_event_new_newsegment), (gst_event_parse_newsegment),
24423         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24424         (gst_event_parse_qos), (gst_event_new_seek),
24425         (gst_event_parse_seek):
24426         * gst/gstevent.h:
24427         Some more debugging output and doc cleanups.
24428
24429         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24430         Fix possible deadlock.
24431
24432 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24433
24434         * docs/gst/gstreamer-docs.sgml:
24435         * docs/gst/gstreamer-sections.txt:
24436         * docs/gst/gstreamer.types:
24437         * docs/gst/tmpl/.cvsignore:
24438         * gst/gstbin.h:
24439         * gst/gstbus.c:
24440         * gst/gstelement.c:
24441         * gst/gstevent.h:
24442           added 100 symbols from gstreamer-unused.txt to the right sections
24443           fixed more broken comments
24444           added GstBus to docs
24445
24446 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24447
24448         * docs/gst/gstreamer-sections.txt:
24449         * docs/gst/tmpl/.cvsignore:
24450         * docs/gst/tmpl/gstbin.sgml:
24451         * docs/gst/tmpl/gstbuffer.sgml:
24452         * gst/base/gstbasesrc.c:
24453         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24454         * gst/gstbuffer.c:
24455         * gst/gstbuffer.h:
24456         * tools/gst-launch.1.in:
24457           inlined more doc comments, added missing comments and fixed comments
24458           fixed typos
24459
24460 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24461
24462         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24463           some debugging
24464         * gst/gstcaps.h:
24465           whitespace fixes
24466         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24467           more debugging
24468         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24469         * gst/gststructure.h:
24470           add a fixate function for booleans; add a FIXME that these func
24471           names should probably be gst_structure_fixate_*
24472
24473 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24474
24475         * docs/gst/gstreamer-docs.sgml:
24476         * docs/gst/gstreamer-sections.txt:
24477         * gst/Makefile.am:
24478         * gst/gstbin.c: (gst_bin_get_type),
24479         (gst_bin_child_proxy_get_child_by_index),
24480         (gst_bin_child_proxy_get_children_count),
24481         (gst_bin_child_proxy_init):
24482         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24483         (gst_child_proxy_get_child_by_index),
24484         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24485         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24486         (gst_child_proxy_get), (gst_child_proxy_set_property),
24487         (gst_child_proxy_set_valist), (gst_child_proxy_set),
24488         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24489         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24490         * gst/gstchildproxy.h:
24491         * gst/parse/grammar.y:
24492         * tools/gst-inspect.c: (print_interfaces),
24493         (print_element_properties_info), (print_element_info):
24494           ported gstchildproxy over from 0.8
24495           ported gst-inspect fixes and enhancements over from 0.8
24496
24497 2005-08-22  Wim Taymans  <wim@fluendo.com>
24498
24499         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24500         (gst_base_transform_handle_buffer):
24501         Also call the transform function if we have ANY caps.
24502
24503         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24504         Fix debug info.
24505
24506 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24507
24508         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24509           Don't pretend to handle seek events if the source is not seekable
24510
24511 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24512
24513         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24514           Remove extra parameter to debug output
24515
24516         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24517         (gst_base_src_do_seek), (gst_base_src_activate_push):
24518           Fix seek event handling.
24519
24520         * gst/gstpipeline.c: (gst_pipeline_change_state):
24521         * gst/gstqueue.c: (gst_queue_handle_sink_event),
24522         (gst_queue_src_activate_push):
24523           Don't start the src pad task on FLUSH_STOP if the pad
24524           isn't linked.
24525           Debug changes.
24526
24527 2005-08-22  Wim Taymans  <wim@fluendo.com>
24528
24529         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24530         Added check for gst_static_caps_get() refcounting.
24531
24532 2005-08-22  Wim Taymans  <wim@fluendo.com>
24533
24534         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24535         Make _static_caps_get() refcounting sane.
24536         
24537         * gst/gstelement.c: (gst_element_set_state):
24538         Add g_return_val_if_fail() to protect against segfaults.
24539
24540 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
24541
24542         * docs/gst/tmpl/gstevent.sgml:
24543         * gst/gstevent.c:
24544         * gst/gstevent.h:
24545           inlined remaining docs, added missing doc comments
24546
24547 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24548
24549         * check/gst/gstbin.c: (GST_START_TEST):
24550           since we don't know when preroll is done, use refcount range
24551           check for the sink
24552         * gst/check/gstcheck.h:
24553           add macro for checking refcount range
24554
24555 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24556
24557         * check/Makefile.am:
24558           clean up environment for when registry gets built versus
24559           when actual tests are run; valgrind seems to not report
24560           leaks if GST_PLUGIN_PATH is set to some specific values
24561         * check/gst/gstbin.c: (GST_START_TEST):
24562           add more refcounting checks; maybe this exposes a
24563           preroll lock bug ?
24564         * common/check.mak:
24565         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24566         * gst/check/gstcheck.h:
24567         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
24568         (gst_bin_change_state):
24569         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
24570           add/fix debugging/whitespace
24571
24572 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
24573
24574         * check/gst/gstevent.c: (event_probe), (test_event),
24575         (GST_START_TEST):
24576          Er, don't call gst_bin_watch_for_state_change you idiot.
24577
24578 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
24579
24580         * check/Makefile.am:
24581           Use CHECK_CFLAGS and CHECK_LIBS
24582         * check/gst/gstevent.c: (event_probe), (test_event),
24583         (GST_START_TEST):
24584           Don't leak events.
24585         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24586         (gst_base_src_start), (gst_base_src_stop),
24587         (gst_base_src_activate_push), (gst_base_src_activate_pull),
24588         (gst_base_src_change_state):
24589           Sprinkle gst_base_src_stop liberally around error paths to fix
24590           problems reusing a source after failed state changes.
24591         * gst/base/gsttypefindhelper.c: (helper_find_peek),
24592         (helper_find_suggest), (gst_type_find_helper):
24593           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
24594         * gst/gstevent.h:
24595         * docs/gst/tmpl/gstevent.sgml:
24596           Migrate part of the docs from the SGML file. Wait for ensonic to
24597           tell me how I did it wrong ;)
24598         * tools/gst-typefind.c: (main):
24599           Extra robustness to state changes between files.
24600
24601 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24602
24603         * check/Makefile.am:
24604           don't valgrind the controller test - it's leaking - Stefan, HELP
24605         * gst/check/gstcheck.c: (gst_check_message_error),
24606         (gst_check_chain_func), (gst_check_setup_element),
24607         (gst_check_teardown_element), (gst_check_setup_src_pad),
24608         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
24609         (gst_check_teardown_sink_pad):
24610         * gst/check/gstcheck.h:
24611           add a bunch of methods to set up elements, and src and sink pads
24612         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
24613         * check/elements/identity.c: (setup_identity), (cleanup_identity),
24614         (GST_START_TEST):
24615           use them
24616         * gst/gstmessage.c:
24617         * gst/gsttag.h:
24618           whitespace/doc fixes
24619
24620 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24621
24622         * gst/gstelement.h:
24623           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
24624           be handled by the application and not always printed as well
24625
24626 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24627
24628         * check/Makefile.am:
24629           set GST_TOOLS_DIR
24630         * gst/check/gstcheck.c: (gst_check_message_error):
24631         * gst/check/gstcheck.h:
24632           add a fail_unless_equals_int
24633           add fail_unless for error messages
24634
24635 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24636
24637         * check/Makefile.am:
24638         * check/gst.supp:
24639         * common/Makefile.am:
24640         * common/check.mak:
24641         * common/gst.supp:
24642           factor out some of the common stuff so we can use it
24643
24644 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24645
24646         * check/Makefile.am:
24647         * check/gst/gstiterator.c: (GST_START_TEST):
24648         * check/gst/gstsystemclock.c: (GST_START_TEST),
24649         (gst_systemclock_suite):
24650         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24651         * gst/gstclock.c:
24652           valgrind more tests
24653
24654 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24655
24656         * check/elements/.cvsignore:
24657         * check/elements/gstfakesrc.c:
24658           rename to name of element
24659         * check/elements/identity.c: (chain_func), (event_func),
24660         (setup_identity), (cleanup_identity), (GST_START_TEST),
24661         (identity_suite), (main):
24662           add a test for identity
24663         * check/Makefile.am:
24664         * pkgconfig/Makefile.am:
24665         * pkgconfig/gstreamer-check.pc.in:
24666         * pkgconfig/gstreamer-check-uninstalled.pc.in:
24667         * gst/check:
24668         * gst/Makefile.am:
24669         * configure.ac:
24670           move the check stuff to a library that gets installed
24671         * check/gst-libs/controller.c: (GST_START_TEST):
24672         * check/gst-libs/gdp.c:
24673         * check/gst/gst.c: (GST_START_TEST):
24674         * check/gst/gstbin.c:
24675         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24676         * check/gst/gstbus.c:
24677         * check/gst/gstcaps.c: (GST_START_TEST):
24678         * check/gst/gstelement.c:
24679         * check/gst/gstghostpad.c:
24680         * check/gst/gstiterator.c:
24681         * check/gst/gstmessage.c:
24682         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
24683         * check/gst/gstobject.c:
24684         * check/gst/gstpad.c: (GST_START_TEST):
24685         * check/gst/gststructure.c: (GST_START_TEST):
24686         * check/gst/gstsystemclock.c: (GST_START_TEST),
24687         (gst_systemclock_suite):
24688         * check/gst/gsttag.c: (gst_tag_suite):
24689         * check/gst/gstvalue.c:
24690         * check/pipelines/cleanup.c:
24691         * check/pipelines/simple_launch_lines.c:
24692         * check/states/sinks.c:
24693           change include statement
24694
24695         * docs/gst/gstreamer-sections.txt:
24696         * docs/gst/tmpl/gstpad.sgml:
24697           document more pad stuff
24698         * gst/gstminiobject.c: (gst_mini_object_ref),
24699         (gst_mini_object_unref):
24700           debug refcounting
24701
24702 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
24703
24704         * docs/gst/tmpl/gst.sgml:
24705         * gst/gst.c:
24706           eliminate another tmpl file, fix spelling in the long-description
24707
24708 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24709
24710         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24711         (test_event), (timediff), (gstevents_suite):
24712           Should fix build on 64-bit arch's
24713
24714 2005-08-18  Andy Wingo  <wingo@pobox.com>
24715
24716         Make sure that when a pipeline goes to PLAYING, that data has
24717         actually hit the sink.
24718
24719         * check/states/sinks.c (test_sink): A sink that doesn't get any
24720         data shouldn't return SUCCESS for going to either PLAYING or
24721         PAUSED. Test also the return values on the way back down.
24722
24723         * gst/gstelement.c (gst_element_set_state): When changing the
24724         state of an element currently changing state asynchronously, go to
24725         lost-state after commiting the pending state. Makes future calls
24726         to get_state continue to return ASYNC.
24727
24728         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
24729         ASYNC when going to PLAYING if we still don't have preroll, as can
24730         happen with live sources.
24731
24732 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24733
24734         * docs/pwg/advanced-types.xml:
24735           Hack long paragraph into 2 chunks as a workaround for buggy
24736           jadetex version in sid and breezy that loops infinitely and
24737           eats all RAM.
24738
24739 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24740
24741         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24742         (test_event), (timediff), (gstevents_suite):
24743           Provide more error margin in clock measurements to allow for 
24744           g_get_current_time inaccuracies.
24745
24746 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24747
24748         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24749         (test_event), (timediff), (gstevents_suite):
24750            Fix error message output so I might be able to tell why the
24751            test works here but fails on the build farm.
24752
24753 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24754
24755         * check/Makefile.am:
24756         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24757         (test_event), (timediff), (gstevents_suite), (main):
24758           I wrote a test!
24759
24760         * docs/design/part-seeking.txt:
24761           Spelling correction
24762
24763         * docs/gst/tmpl/gstevent.sgml:
24764         * docs/gst/tmpl/gstfakesrc.sgml:
24765           Docs updates.
24766
24767         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24768           Treat a buffer-without-newsegment the same as a receiving 
24769           a newsegment not in time format, and disable syncing to the clock
24770           with a warning.
24771
24772         * gst/gstbus.c: (gst_bus_set_sync_handler):
24773           Assert if anyone tries to replace the existing sync_handler for bus, 
24774           as only the owner should be setting it.
24775
24776         * gst/gstevent.h:
24777           Have a fixed set of custom event enums with events identified by
24778           their structure name (as in 0.8), rather than a free-for-all
24779           allowing collisions between enum values from different plugins.
24780
24781         * gst/gstpad.c: (gst_pad_class_init):
24782           Docs change.
24783           
24784         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24785           Handle out-of-band downstream events from the sending thread.
24786
24787 2005-08-17  Andy Wingo  <wingo@pobox.com>
24788
24789         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
24790         play-timeout==0 to mean no timeout at all. In that case, don't
24791         bother with a get_state or a warning, just return directly, even
24792         if it's ASYNC.
24793
24794         * gst/base/gstbasetransform.c: Debug changes.
24795
24796         * gst/gstutils.h:
24797         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
24798         ensure bins post state change messages. A bit of a hack but I can't
24799         think of a way to avoid it.
24800
24801         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
24802
24803 2005-08-16  Andy Wingo  <wingo@pobox.com>
24804
24805         * gst/base/gstadapter.h:
24806         * gst/base/gstadapter.c (gst_adapter_take): New function, like
24807         peek() but you own the data. Not terribly efficient atm.
24808
24809 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24810
24811         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
24812         (gst_element_found_tags):
24813         * gst/gstutils.h:
24814           Add two utility functions for tag handling.
24815
24816 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24817
24818         * docs/manual/advanced-dataaccess.xml:
24819         * docs/manual/basics-helloworld.xml:
24820           Fix docs to use _bin_add() before _link(), which fixes the examples
24821           with recent core versions (reported by Madhan Raj M
24822           <raj_madan@rediffmail.com>, #313199).
24823
24824 2005-08-16  Wim Taymans  <wim@fluendo.com>
24825
24826         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24827         Added subtract checks.
24828
24829         * docs/design/part-events.txt:
24830         Some more docs about newsegment
24831
24832         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24833         Fix FIXME
24834
24835         * gst/gstcaps.c: (gst_caps_to_string):
24836         Add comments, cleanups.
24837         
24838         * gst/gstelement.c: (gst_element_save_thyself):
24839         cleanups
24840         
24841         * gst/gstvalue.c: (gst_value_collect_int_range),
24842         (gst_string_unwrap), (gst_value_union_int_int_range),
24843         (gst_value_union_int_range_int_range),
24844         (gst_value_intersect_int_int_range),
24845         (gst_value_intersect_int_range_int_range),
24846         (gst_value_intersect_double_double_range),
24847         (gst_value_intersect_double_range_double_range),
24848         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
24849         (gst_value_subtract_int_range_int),
24850         (gst_value_subtract_double_range_double),
24851         (gst_value_subtract_double_range_double_range),
24852         (gst_value_subtract_from_list), (gst_value_subtract_list),
24853         (gst_value_can_compare), (gst_value_compare_fraction):
24854         Cleanups, add comments, remove unneeded asserts.
24855
24856 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
24857
24858         * tools/gst-launch.c: (event_loop):
24859           don't convert NULL structures to strings
24860
24861 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
24862
24863         * docs/gst/gstreamer-sections.txt:
24864           made some defines private
24865         * docs/gst/tmpl/gstconfig.sgml:
24866         * docs/gst/tmpl/gstqueue.sgml:
24867         * docs/gst/tmpl/gsttaglist.sgml:
24868         * docs/gst/tmpl/gsttypes.sgml:
24869         * docs/gst/tmpl/gstutils.sgml:
24870         * docs/pwg/appendix-porting.xml:
24871         * gst/base/gstbasesink.h:
24872         * gst/base/gstbasesrc.c:
24873         * gst/base/gstbasesrc.h:
24874         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
24875         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
24876         * gst/gstelement.c: (gst_element_class_init):
24877         * gst/gstpad.c: (gst_pad_class_init):
24878         * gst/gstqueue.c: (gst_queue_class_init):
24879         * gst/gstxml.c: (gst_xml_class_init):
24880           documented all undocumented signal inline
24881         * libs/gst/controller/gst-controller.h:
24882           added padding
24883
24884 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24885
24886         * docs/pwg/appendix-porting.xml:
24887           Document _set_link_function -> _set_setcaps_function.
24888
24889 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
24890
24891         * check/Makefile.am:
24892           add a .check target for running the check
24893         * check/gst-libs/controller.c: (GST_START_TEST):
24894           cosmetic fixups
24895         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24896           complete checks for gstbuffer; would be nice if I could get the
24897           gcov stuff to work so I can see if I actually completed gstbuffer.c
24898         * check/gstcheck.h:
24899           add ASSERT_BUFFER_REFCOUNT
24900
24901 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
24902
24903         * docs/gst/gstreamer-sections.txt:
24904         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
24905         * gst/gsttag.h:
24906           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
24907           spew out a warning if a tag that is already registered
24908           is re-registered, unless it is re-registered with a 
24909           different type (#308438).
24910
24911 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
24912
24913         * docs/pwg/appendix-porting.xml:
24914         * docs/pwg/building-state.xml:
24915           Add some paragraphs about state changes in 0.9 to the PWG
24916           and the porting guide, in particular about the new meaning
24917           of GST_STATE_PAUSED and how to write state change functions
24918           with concurrent access by multiple threads in mind.
24919
24920 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
24921
24922         * docs/gst/gstreamer-docs.sgml:
24923         * docs/libs/gstreamer-libs-docs.sgml:
24924           added deprecation and since indexes
24925         * libs/gst/controller/gst-controller.c:
24926         * libs/gst/controller/gst-helper.c:
24927           added since tags
24928
24929
24930 2005-08-11  Wim Taymans  <wim@fluendo.com>
24931
24932         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
24933         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
24934         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
24935         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
24936         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
24937         (gst_ghost_pad_set_target):
24938         Actually implement (re)setting the target on a ghostpad
24939         as described in the docs.
24940
24941 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
24942
24943         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
24944           Check whether GST_DEBUG_NO_COLOR environment variable is
24945           set and disable coloured debug output if that is the case.
24946
24947 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
24948
24949         * gst/base/gsttypefindhelper.c: (helper_find_peek),
24950         (gst_type_find_helper):
24951           The memory returned by gst_type_find_peek() needs to
24952           stay valid until the end of a typefind function, and
24953           typefind functions may keep results from different 
24954           offsets around, so we can't just unref the buffer from
24955           the previous _peek(), but have to save all buffers 
24956           returned by _peek() until typefinding is done and only
24957           free them then.
24958
24959 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
24960
24961         * docs/gst/gstreamer-sections.txt:
24962         * gst/gstutils.h:
24963           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
24964
24965 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24966
24967         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
24968           Fix a pretty good memleak.
24969
24970 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
24971
24972         * gst/gstiterator.h:
24973           Fix wrong include and 'make distcheck'.
24974
24975 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24976
24977         * gst/gstbin.c: (bin_bus_handler):
24978           Use gst_element_post_message() instead.
24979
24980 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
24981
24982         * gst/base/gstadapter.h:
24983         * gst/base/gstbasesink.h:
24984         * gst/base/gstbasesrc.h:
24985         * gst/base/gstbasetransform.h:
24986         * gst/base/gstcollectpads.h:
24987         * gst/base/gstpushsrc.h:
24988         * gst/gstiterator.h:
24989           Add padding to our base elements' class and instance structs and
24990           to GstIterator (you will need to rebuild all plugins and apps!)
24991
24992 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24993
24994         * gst/gstbin.c: (bin_bus_handler):
24995           Make default message forwarding from child->bus to bin->bus
24996           threadsafe and make it not emit warnings if the parent has no bus.
24997
24998 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24999
25000         * gst/gstelement.c: (activate_pads):
25001           On paused->ready, set pad->caps to NULL, as is the documented
25002           behaviour in this state change. Fixes playback of series of
25003           media files when visualization is enabled in Totem.
25004
25005 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25006
25007         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
25008           Allow NULL as filter-caps (which means "any").
25009
25010 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25011
25012         * docs/libs/gstreamer-libs-sections.txt:
25013         * libs/gst/controller/gst-controller.c:
25014         * libs/gst/controller/gst-controller.h:
25015         * libs/gst/controller/gst-helper.c:
25016           adding more entries to the docs and fix small doc-bugs
25017
25018 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25019
25020         * docs/gst/gstreamer-docs.sgml:
25021         * docs/gst/gstreamer-sections.txt:
25022         * docs/gst/gstreamer.types:
25023         * docs/gst/tmpl/gstbasesink.sgml:
25024         * docs/gst/tmpl/gstbasesrc.sgml:
25025         * docs/gst/tmpl/gstbasetransform.sgml:
25026         * docs/gst/tmpl/gstfakesrc.sgml:
25027         * gst/base/gstcollectpads.c:
25028         * gst/base/gstcollectpads.h:
25029         * libs/gst/controller/gst-controller.c:
25030         * libs/gst/controller/gst-controller.h:
25031         * libs/gst/controller/gst-helper.c:
25032         * libs/gst/controller/gst-interpolation.c:
25033         * libs/gst/controller/lib.c:
25034           added long/short desc for controller docs
25035           added collectpads base class docs
25036           added correct includes to base-class docs
25037
25038 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25039
25040         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25041         (gst_test_mono_source_set_property),
25042         (gst_test_mono_source_class_init), (GST_START_TEST),
25043         (gst_controller_suite):
25044         * docs/gst/gstreamer-docs.sgml:
25045         * docs/gst/gstreamer-sections.txt:
25046         * docs/gst/gstreamer.types:
25047         * docs/libs/gstreamer-libs-docs.sgml:
25048         * docs/libs/gstreamer-libs-sections.txt:
25049         * gst/base/gstadapter.c:
25050         * libs/gst/controller/gst-controller.c:
25051         (gst_controlled_property_new), (gst_controlled_property_free),
25052         (gst_controller_new_valist),
25053         (gst_controller_remove_properties_valist),
25054         (gst_controller_sink_values), (_gst_controller_finalize):
25055         * libs/gst/controller/gst-controller.h:
25056         * libs/gst/controller/gst-helper.c:
25057         (gst_object_control_properties), (gst_object_uncontrol_properties),
25058         (gst_object_get_controller), (gst_object_set_controller),
25059         (gst_object_sink_values), (gst_object_get_value_arrays),
25060         (gst_object_get_value_array):
25061           more tests (and fixes) for the controller
25062           more docs for the controller
25063           integrated companies docs for the adapter 
25064
25065 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
25066
25067         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
25068         (GST_START_TEST), (fakesrc_suite):
25069           add tests for sizetype
25070
25071 2005-08-04  Andy Wingo  <wingo@pobox.com>
25072
25073         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
25074         fixes buffer_alloc proxying among other things.
25075
25076         * gst/base/gstbasetransform.c:
25077         * gst/base/gstbasetransform.h:
25078         Revert patch to gstbasetransform from 7-28 removing
25079         delay_configure.
25080
25081         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
25082         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
25083         Semantics changed, should return not the size of the output buffer
25084         but the byte size of a buffer with a given caps.
25085
25086         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
25087         debug object.
25088         (gst_base_transform_configure_caps): Don't set out_size here: (in,
25089         out) are not the pad caps until setcaps finishes.
25090         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
25091         not-in-place case as well. Deal with changing from in-place to
25092         not-in-place within calling pad_alloc_buffer. Still a bit
25093         concerned about the overhead here...
25094
25095 2005-08-03  Andy Wingo  <wingo@pobox.com>
25096
25097         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
25098         fixating is an error.
25099
25100 2005-08-04  Edward Hervey  <edward@fluendo.com>
25101
25102         * gst/base/gstadapter.h: 
25103         Added gst_adapter_get_type() to the header
25104
25105 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25106
25107         * check/Makefile.am:
25108         * check/gst-libs/controller.c:
25109         * libs/gst/controller/gst-controller.c:
25110         (gst_controller_new_valist):
25111           added check test suite for the controller
25112         * gst/base/gstpushsrc.c:
25113           fixed a doc typo
25114
25115 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25116
25117         * docs/gst/Makefile.am:
25118         * docs/gst/gstreamer-docs.sgml:
25119         * docs/gst/gstreamer-sections.txt:
25120         * docs/gst/gstreamer.types:
25121         * docs/gst/tmpl/gstfakesrc.sgml:
25122         * gst/base/README:
25123         * gst/base/gstbasesink.c:
25124         * gst/base/gstbasesink.h:
25125         * gst/base/gstbasesrc.c:
25126         * gst/base/gstbasesrc.h:
25127         * gst/base/gstbasetransform.c:
25128         * gst/base/gstpushsrc.c:
25129         * gst/base/gstpushsrc.h:
25130           add short/long description docs to base classes
25131           add pushsrc to the docs
25132           remove consolidated doc fragments
25133
25134 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25135
25136         * configure.ac:
25137         * docs/libs/Makefile.am:
25138         * docs/libs/gstreamer-libs-docs.sgml:
25139         * docs/libs/gstreamer-libs-sections.txt:
25140         * docs/libs/gstreamer-libs.types:
25141         * examples/Makefile.am:
25142         * examples/controller/.cvsignore:
25143         * examples/controller/Makefile.am:
25144         * examples/controller/audio-example.c: (main):
25145         * libs/gst/Makefile.am:
25146         * libs/gst/controller/.cvsignore:
25147         * libs/gst/controller/Makefile.am:
25148         * libs/gst/controller/gst-controller.c:
25149         (on_object_controlled_property_changed), (gst_timed_value_compare),
25150         (gst_timed_value_find),
25151         (gst_controlled_property_set_interpolation_mode),
25152         (gst_controlled_property_new), (gst_controlled_property_free),
25153         (gst_controller_find_controlled_property),
25154         (gst_controller_new_valist), (gst_controller_new),
25155         (gst_controller_remove_properties_valist),
25156         (gst_controller_remove_properties), (gst_controller_set),
25157         (gst_controller_set_from_list), (gst_controller_unset),
25158         (gst_controller_get), (gst_controller_get_all),
25159         (gst_controller_sink_values), (gst_controller_get_value_arrays),
25160         (gst_controller_get_value_array),
25161         (gst_controller_set_interpolation_mode),
25162         (_gst_controller_finalize), (_gst_controller_init),
25163         (_gst_controller_class_init), (gst_controller_get_type):
25164         * libs/gst/controller/gst-controller.h:
25165         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
25166         (g_object_uncontrol_properties), (g_object_get_controller),
25167         (g_object_set_controller), (g_object_sink_values),
25168         (g_object_get_value_arrays), (g_object_get_value_array):
25169         * libs/gst/controller/gst-interpolation.c:
25170         (gst_controlled_property_find_timed_value_node),
25171         (interpolate_none_get), (interpolate_trigger_get),
25172         (interpolate_trigger_get_value_array):
25173         * libs/gst/controller/lib.c: (gst_controller_init):
25174         * pkgconfig/Makefile.am:
25175         * pkgconfig/gstreamer-control-uninstalled.pc.in:
25176         * pkgconfig/gstreamer-control.pc.in:
25177         * testsuite/Makefile.am:
25178         * testsuite/controller/.cvsignore:
25179         * testsuite/controller/Makefile.am:
25180         * testsuite/controller/interpolator.c: (main):
25181           added controller code
25182           removed dparam pc files
25183
25184 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
25185         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
25186         (gst_collectpads_stop):
25187           Broadcast the condition when shutting down, to make sure we wake all
25188           threads up. Shut down pads on finalize, for safety.
25189
25190 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
25191         * gst/base/gstbasetransform.c: (gst_base_transform_init),
25192         (gst_base_transform_handle_buffer),
25193         (gst_base_transform_change_state):
25194           Handle PAUSED->READY->PAUSED transition after negotiation
25195           occurred already.
25196         * gst/gstmessage.c: (gst_message_init):
25197           Extra piece of debug for new messages.
25198
25199 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
25200
25201         * configure.ac:
25202         * docs/gst/tmpl/gstbasesrc.sgml:
25203         * docs/gst/tmpl/gstelement.sgml:
25204         * docs/gst/tmpl/gstevent.sgml:
25205         * docs/gst/tmpl/gstfakesrc.sgml:
25206         * docs/gst/tmpl/gstformat.sgml:
25207         * docs/gst/tmpl/gstghostpad.sgml:
25208         * docs/gst/tmpl/gstpad.sgml:
25209         * docs/gst/tmpl/gstquery.sgml:
25210         * docs/gst/tmpl/gststructure.sgml:
25211         * docs/gst/tmpl/gsttaglist.sgml:
25212         * docs/gst/tmpl/gstvalue.sgml:
25213         * docs/libs/gstreamer-libs-docs.sgml:
25214         * docs/libs/gstreamer-libs-sections.txt:
25215         * docs/libs/gstreamer-libs.types:
25216         * libs/gst/Makefile.am:
25217         * libs/gst/control/.cvsignore:
25218         * libs/gst/control/Makefile.am:
25219         * libs/gst/control/control.c:
25220         * libs/gst/control/control.h:
25221         * libs/gst/control/dparam.c:
25222         * libs/gst/control/dparam.h:
25223         * libs/gst/control/dparam_smooth.c:
25224         * libs/gst/control/dparam_smooth.h:
25225         * libs/gst/control/dparamcommon.h:
25226         * libs/gst/control/dparammanager.c:
25227         * libs/gst/control/dparammanager.h:
25228         * libs/gst/control/dplinearinterp.c:
25229         * libs/gst/control/dplinearinterp.h:
25230         * libs/gst/control/unitconvert.c:
25231         * libs/gst/control/unitconvert.h:
25232         * testsuite/Makefile.am:
25233         * testsuite/dynparams/.cvsignore:
25234         * testsuite/dynparams/Makefile.am:
25235         * testsuite/dynparams/dparamstest.c:
25236         * tools/Makefile.am:
25237         * tools/gst-inspect.c: (print_element_info), (main):
25238         * tools/gst-xmlinspect.c: (print_element_info), (main):
25239           deactivate and remove dparams (libgstcontrol)
25240
25241 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25242
25243         * gst/elements/gsttypefindelement.c:
25244         (gst_type_find_element_have_type), (gst_type_find_element_init),
25245         (stop_typefinding), (gst_type_find_element_handle_event),
25246         (gst_type_find_element_chain), (gst_type_find_element_getrange):
25247         * gst/elements/gsttypefindelement.h:
25248           Set caps on all outgoing buffers, not just the first one.
25249
25250 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25251
25252         * gst/elements/gsttypefindelement.c:
25253         (gst_type_find_element_have_type),
25254         (gst_type_find_element_check_set_buffer_caps),
25255         (gst_type_find_element_init), (stop_typefinding),
25256         (gst_type_find_element_handle_event),
25257         (gst_type_find_element_chain), (gst_type_find_element_getrange):
25258         * gst/elements/gsttypefindelement.h:
25259           Set caps on first outgoing buffer when we've found the type.
25260
25261 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25262
25263         * docs/gst/gstreamer-docs.sgml:
25264         * docs/gst/gstreamer-sections.txt:
25265         * docs/gst/tmpl/gstscheduler.sgml:
25266         * docs/gst/tmpl/gstschedulerfactory.sgml:
25267           Remove some old cruft from docs.
25268
25269 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
25270
25271         * gst/gstpad.h:
25272           Fix inline docs for GstPadLinkReturn.
25273           
25274         * gst/gststructure.c: (gst_structure_has_name):
25275         * gst/gststructure.h:
25276         * docs/gst/gstreamer-sections.txt:
25277           New API: gst_structure_has_name().
25278
25279 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
25280
25281         * configure.ac:
25282           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
25283           and _LARGEFILE_SOURCE in config.h as required. Do not 
25284           export those flags in our .pc files any longer (#142209).
25285
25286           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
25287
25288         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
25289         (gst_file_sink_do_seek), (gst_file_sink_event),
25290         (gst_file_sink_get_current_offset), (gst_file_sink_render):
25291           Redo seek/tell calls with large file support in mind; add some
25292           debugging messages; add log message that tells us when large
25293           file support is unavailable or not enabled for some reason.
25294
25295         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
25296           Add log message that tells us when large file support 
25297           is unavailable or not enabled for some reason.
25298
25299 2005-07-29  Wim Taymans  <wim@fluendo.com>
25300
25301         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25302         Added test for removing an element with ghostpad from a bin.
25303         Fixed test as current implementation does the right thing.
25304
25305         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
25306         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
25307         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
25308         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
25309         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
25310         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
25311         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
25312         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25313         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
25314         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
25315         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
25316         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
25317         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25318         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25319         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25320         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25321         * gst/gstghostpad.h:
25322         Clean up ghostpads, remove properties for internal stuff.
25323         Make threadsafe.
25324         Fix refcounting.
25325         Prepare for switching targets, not all use cases work yet.
25326
25327 2005-07-29  Wim Taymans  <wim@fluendo.com>
25328
25329         * docs/design/part-gstghostpad.txt:
25330         Small update.
25331
25332         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25333         (gst_bin_remove_func):
25334         Unlinking pads while holding the bin LOCK is not a good
25335         idea.
25336
25337         * gst/gstpad.c: (gst_pad_class_init),
25338         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25339         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25340         No prob setting template after creating the pad.
25341
25342 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
25343
25344         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25345         (gst_bus_peek), (gst_bus_source_dispatch),
25346         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25347         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25348           gst_bus_poll may be called from other threads. Handle
25349           this nicely by not making poll_data disappear off the
25350           stack once gst_bus_poll returns.
25351           gst_bus_peek now increments the refcount on the returned
25352           message.
25353
25354 2005-07-29  Wim Taymans  <wim@fluendo.com>
25355
25356         * docs/design/part-gstghostpad.txt:
25357         Overview of current GhostPad datastructures and use
25358         cases for changing the target.
25359
25360 2005-07-28  Wim Taymans  <wim@fluendo.com>
25361
25362         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25363         Added checks for hierarchy consistency whan adding linked
25364         elements to bins.
25365
25366         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25367         Added check to test element scheduling without bin/pipeline.
25368
25369         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25370         First add elements to bin, then link.
25371         
25372         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25373         (gst_bin_remove_func):
25374         Unlink pads from elements added/removed from bin to maintain
25375         hierarchy consistency.
25376
25377 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25378
25379         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25380         (gst_base_transform_handle_buffer):
25381         * gst/base/gstbasetransform.h:
25382           Remove broken delay_configure (fixes renegotiation of software
25383           scaling pipelines); remove some leftover printf()s.
25384
25385 2005-07-28  Wim Taymans  <wim@fluendo.com>
25386
25387         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25388         Added some more tests for wrong hierarchy
25389
25390         * docs/design/part-overview.txt:
25391         Some updates.
25392
25393         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25394         Cleanups.
25395
25396         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25397         (gst_element_dispose):
25398         Some more cleanups.
25399
25400         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25401         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25402         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25403         (gst_pad_set_caps), (gst_pad_send_event):
25404         Check for correct hierarchy when linking pads. Moving to
25405         strict requirement for ghostpads when linking elements in
25406         different bins.
25407
25408         * gst/gstpad.h:
25409         Clean ups. Added WRONG_HIERARCHY return value.
25410
25411 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25412
25413         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25414           Better debug if no transform is possible.
25415
25416 2005-07-27  Wim Taymans  <wim@fluendo.com>
25417
25418         * docs/random/wtay/network-transp:
25419         Some old doc I had.
25420
25421 2005-07-27  Wim Taymans  <wim@fluendo.com>
25422
25423         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25424         (gst_dp_event_from_packet):
25425         Fix serialization of seek events.
25426
25427 2005-07-27  Wim Taymans  <wim@fluendo.com>
25428
25429         * check/gst-libs/gdp.c: (GST_START_TEST):
25430         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25431         Fix compilation and fix event serialization.
25432
25433 2005-07-27  Wim Taymans  <wim@fluendo.com>
25434
25435         * CHANGES-0.9:
25436         * docs/design/part-TODO.txt:
25437         * docs/design/part-events.txt:
25438         Some docs updates
25439
25440         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25441         (gst_base_sink_event), (gst_base_sink_do_sync),
25442         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25443         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25444         (gst_base_src_do_seek), (gst_base_src_event_handler),
25445         (gst_base_src_loop):
25446         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25447         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25448         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25449         (gst_base_transform_event), (gst_base_transform_handle_buffer),
25450         (gst_base_transform_set_passthrough),
25451         (gst_base_transform_is_passthrough):
25452         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25453         * gst/elements/gstfilesink.c: (gst_file_sink_event):
25454         Event updates.
25455
25456         * gst/gstbuffer.h:
25457         Use faster casts.
25458
25459         * gst/gstelement.c: (gst_element_seek):
25460         * gst/gstelement.h:
25461         Update gst_element_seek.
25462
25463         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25464         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25465         (gst_event_new_flush_start), (gst_event_new_flush_stop),
25466         (gst_event_new_eos), (gst_event_new_newsegment),
25467         (gst_event_parse_newsegment), (gst_event_new_tag),
25468         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25469         (gst_event_parse_qos), (gst_event_new_seek),
25470         (gst_event_parse_seek), (gst_event_new_navigation):
25471         * gst/gstevent.h:
25472         Make GstEvent use GstStructure. Add parsing code, make sure the
25473         API is sufficiently generic.
25474         Mark possible directions of events and serialization.
25475
25476         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25477         (_gst_message_copy), (gst_message_new_segment_start),
25478         (gst_message_new_segment_done), (gst_message_new_custom),
25479         (gst_message_parse_segment_start),
25480         (gst_message_parse_segment_done):
25481         Small cleanups.
25482
25483         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25484         (gst_pad_set_caps), (gst_pad_send_event):
25485         Update for new events. 
25486         Catch events sent in wrong directions.
25487
25488         * gst/gstqueue.c: (gst_queue_link_src),
25489         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25490         (gst_queue_handle_src_query):
25491         Event updates.
25492
25493         * gst/gsttag.c:
25494         * gst/gsttag.h:
25495         Remove event code from this file.
25496
25497         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25498         (gst_dp_event_from_packet):
25499         Event updates.
25500
25501 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25502
25503         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25504         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25505         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25506           Make debugging actually useful.
25507
25508 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25509
25510         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25511         (gst_pad_fixate_caps):
25512           Implement default fixation once again, so that gst_pad_fixate()
25513           actually does anything at all. This probably needs to be some
25514           sort of a last resort, and use profile-based fixation first, but
25515           since that doesn't exist yet, this is the best we have. Fixes
25516           visualization in Totem.
25517
25518 2005-07-22  Wim Taymans  <wim@fluendo.com>
25519
25520         * docs/design/part-events.txt:
25521         Small update.
25522
25523         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25524         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25525         (gst_base_sink_activate_pull):
25526         Some more comments.
25527
25528         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25529         (gst_fake_src_create):
25530         Fix handoff marshall.
25531
25532         * gst/elements/gstidentity.c: (gst_identity_class_init),
25533         (gst_identity_transform_ip):
25534         We're a real inplace element.
25535
25536         * gst/gstbus.c: (gst_bus_post):
25537         Added some comments.
25538
25539         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25540         * tests/muxing/case1.c: (main):
25541         * tests/sched/dynamic-pipeline.c: (main):
25542         * tests/sched/interrupt1.c: (main):
25543         * tests/sched/interrupt2.c: (main):
25544         * tests/sched/interrupt3.c: (main):
25545         * tests/sched/runxml.c: (main):
25546         * tests/sched/sched-stress.c: (main):
25547         * tests/seeking/seeking1.c: (event_received), (main):
25548         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25549         (main):
25550         * tests/threadstate/threadstate3.c: (main):
25551         * tests/threadstate/threadstate4.c: (main):
25552         * tests/threadstate/threadstate5.c: (main):
25553         Fix the tests.
25554
25555 2005-07-21  Wim Taymans  <wim@fluendo.com>
25556
25557         * docs/design/part-seeking.txt:
25558         Some small additions.
25559
25560         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25561         (gst_base_sink_get_times), (gst_base_sink_do_sync),
25562         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25563         * gst/base/gstbasesink.h:
25564         discont values are gint64, handle the math correctly.
25565
25566         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25567         Make the basesrc report error if the source pad is not linked.
25568
25569         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
25570         (gst_queue_loop), (gst_queue_handle_src_query),
25571         (gst_queue_src_activate_push):
25572         Make queue collect data even if the srcpad is not linked.
25573         Start pushing out data as soon as it is linked.
25574
25575         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
25576         * gst/gstutils.h:
25577         Added gst_flow_get_name() to ease error reporting.
25578
25579 2005-07-20  Wim Taymans  <wim@fluendo.com>
25580
25581         * gst/gstmessage.c: (gst_message_new_segment_start),
25582         (gst_message_new_segment_done), (gst_message_parse_segment_start),
25583         (gst_message_parse_segment_done):
25584         * gst/gstmessage.h:
25585         Added a bunch of messages for advanced seeking.
25586
25587         * gst/parse/grammar.y:
25588         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
25589         (gst_dpman_state_changed):
25590         Fix some new-pad -> pad-added signals
25591
25592 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25593
25594         * docs/manual/appendix-porting.xml:
25595         * docs/pwg/appendix-porting.xml:
25596           Document new-pad/state-change signal renames and the FixedList
25597           type rename.
25598
25599 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25600
25601         * docs/manual/advanced-autoplugging.xml:
25602         * docs/manual/basics-helloworld.xml:
25603         * docs/manual/basics-pads.xml:
25604         * docs/random/ds/0.9-suggested-changes:
25605         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
25606         * gst/gstelement.h:
25607         * gst/gstevent.h:
25608         * gst/gstformat.h:
25609         * gst/gstquery.h:
25610         * gst/gststructure.c: (gst_structure_value_get_generic_type),
25611         (gst_structure_parse_array), (gst_structure_parse_value):
25612         * gst/gstvalue.c: (gst_type_is_fixed),
25613         (gst_value_list_prepend_value), (gst_value_list_append_value),
25614         (gst_value_list_get_size), (gst_value_list_get_value),
25615         (gst_value_transform_array_string), (gst_value_serialize_array),
25616         (gst_value_deserialize_array), (gst_value_intersect_array),
25617         (gst_value_is_fixed), (_gst_value_initialize):
25618         * gst/gstvalue.h:
25619           GstElement::new-pad -> pad-added, GstElement::state-change ->
25620           state-changed, GstValueFixedList -> GstValueArray, add format and
25621           flags as their own arguments in gst_element_seek() (should improve
25622           "bindeability"), remove function generators since they don't work
25623           under a whole bunch of compilers (they were deprecated already
25624           anyway).
25625
25626 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25627
25628         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25629         (_gst_debug_register_funcptr):
25630         * gst/gstinfo.h:
25631           Fix illegal cast on some platforms (#309253).
25632
25633 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25634
25635         * gst/gstmessage.c: (gst_message_new_custom):
25636         * gst/gstmessage.h:
25637           Add _new_custom, make _new_application a macro to _new_custom.
25638
25639 2005-07-20  Wim Taymans  <wim@fluendo.com>
25640
25641         * gst/base/gstbasesrc.c: (gst_base_src_init),
25642         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
25643         * gst/base/gstbasesrc.h:
25644         Add a gboolean to decide when to push out a discont.
25645
25646         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25647         (gst_queue_loop), (gst_queue_handle_src_query),
25648         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
25649         (gst_queue_set_property), (gst_queue_get_property):
25650         Some cleanups.
25651
25652         * tests/threadstate/threadstate1.c: (main):
25653         Make a thread test compile and run... very silly..
25654
25655
25656 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25657
25658         * docs/manual/appendix-porting.xml:
25659           Mention removal of libgstgconf-0.9.la and existence of gconf
25660           elements.
25661
25662 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25663
25664         * docs/pwg/advanced-clock.xml:
25665         * docs/pwg/appendix-porting.xml:
25666         * docs/pwg/intro-preface.xml:
25667         * docs/pwg/other-base.xml:
25668         * docs/pwg/other-manager.xml:
25669         * docs/pwg/other-nton.xml:
25670         * docs/pwg/other-ntoone.xml:
25671         * docs/pwg/other-oneton.xml:
25672         * docs/pwg/pwg.xml:
25673           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
25674           demuxer), remove n-to-n (was never written), fix some code examples
25675           and links and update the porting section to include all this.
25676
25677 2005-07-19  Wim Taymans  <wim@fluendo.com>
25678
25679         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
25680         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
25681         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
25682         (gst_queue_src_activate_push), (gst_queue_change_state),
25683         (gst_queue_get_property):
25684         * gst/gstqueue.h:
25685         Propagate GstFlowReturn more intelligently upstream and output
25686         an ERROR/EOS when streaming stopped due to fatal error.
25687
25688 2005-07-19  Wim Taymans  <wim@fluendo.com>
25689
25690         * tools/gst-launch.c: (check_intr), (event_loop), (main):
25691         Don't block forever for the state change to complete, the
25692         pipeline already did with a sensible timeout.
25693
25694 2005-07-19  Wim Taymans  <wim@fluendo.com>
25695
25696         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
25697         Make sure we never call the create function is we
25698         got deactivated.
25699
25700 2005-07-19  Andy Wingo  <wingo@pobox.com>
25701
25702         * gst/parse/parse.l: Attempt to solve bug #172815.
25703
25704 2005-07-19  Wim Taymans  <wim@fluendo.com>
25705
25706         * docs/design/part-clocks.txt:
25707         * docs/design/part-events.txt:
25708         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
25709         Small docs updates.
25710         Only update the seeking values when we are not
25711         busy streaming.
25712
25713 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
25714
25715         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25716           Oops, ignore the result of gst_pad_push_event here.
25717
25718 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
25719
25720         * gst/base/gstbasesrc.c: (gst_base_src_loop),
25721         (gst_base_src_activate_push):
25722           Send discont event from the loop function, as pads
25723           aren't activated yet in the activate_push handler.
25724
25725         * gst/gstbin.c: (bin_bus_handler):
25726           Don't leak element name.
25727
25728 2005-07-18  Andy Wingo  <wingo@pobox.com>
25729
25730         * configure.ac: Use AS_LIBTOOL_TAGS.
25731
25732 2005-07-18  Wim Taymans  <wim@fluendo.com>
25733
25734         * docs/gst/gstreamer.types:
25735         Remove deleted types.
25736
25737 2005-07-18  Wim Taymans  <wim@fluendo.com>
25738
25739         * check/elements/gstfakesrc.c: (GST_START_TEST):
25740         * configure.ac:
25741         * gst/Makefile.am:
25742         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
25743         (init_popt_callback):
25744         * gst/gst.h:
25745         * gst/gst_private.h:
25746         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
25747         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
25748         * gst/gstbin.h:
25749         * gst/gstbus.h:
25750         * gst/gstconfig.h.in:
25751         * gst/gstelement.c: (gst_element_class_init),
25752         (gst_element_set_base_time), (gst_element_get_base_time),
25753         (iterator_fold_with_resync), (gst_element_change_state),
25754         (gst_element_dispose), (gst_element_get_bus):
25755         * gst/gstelement.h:
25756         * gst/gstelementfactory.h:
25757         * gst/gsterror.c: (_gst_core_errors_init):
25758         * gst/gsterror.h:
25759         * gst/gstevent.h:
25760         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25761         * gst/gstindex.c:
25762         * gst/gstinfo.c: (_gst_debug_init):
25763         * gst/gstmessage.c: (_gst_message_copy):
25764         * gst/gstmessage.h:
25765         * gst/gstminiobject.h:
25766         * gst/gstobject.c:
25767         * gst/gstobject.h:
25768         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25769         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
25770         * gst/gstpad.h:
25771         * gst/gstparse.h:
25772         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
25773         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25774         (gst_pipeline_get_last_stream_time):
25775         * gst/gstpipeline.h:
25776         * gst/gstpluginfeature.h:
25777         * gst/gstquery.h:
25778         * gst/gstscheduler.c:
25779         * gst/gstscheduler.h:
25780         * gst/gststructure.h:
25781         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25782         (gst_task_finalize), (gst_task_func), (gst_task_create),
25783         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
25784         (gst_task_stop), (gst_task_pause):
25785         * gst/gsttask.h:
25786         * gst/gsttypefind.h:
25787         * gst/gsttypes.h:
25788         * gst/registries/gstlibxmlregistry.c: (load_feature),
25789         (gst_xml_registry_load), (gst_xml_registry_save_feature):
25790         * gst/registries/gstxmlregistry.c:
25791         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
25792         * gst/schedulers/threadscheduler.c:
25793         * libs/gst/control/dparammanager.h:
25794         * tools/gst-inspect.c: (print_element_list),
25795         (print_plugin_features), (print_element_features):
25796         * tools/gst-xmlinspect.c: (print_element_list),
25797         (print_plugin_info), (main):
25798         Removed plugable schedulers.
25799         Removed Scheduler/Manager from elements.
25800         Removed gsttypes.h, rearranged includes.
25801         Removed dependency pad<->element, element<>pipeline, and
25802         various others,  fix includes.
25803         implement gst_pad_get_parent() with gst_object_get_parent()
25804         Make GstTask sefcontained.
25805         Fix _get_state() on GstBin, it did not return ASYNC with a 0
25806         timeout.
25807         Fix endless loop in iterator_fold_with_resync.
25808
25809
25810 2005-07-18  Wim Taymans  <wim@fluendo.com>
25811
25812         * gst/Makefile.am:
25813         * gst/gstarch.h:
25814         Remove old file.
25815
25816 2005-07-18  Wim Taymans  <wim@fluendo.com>
25817
25818         * gst/Makefile.am:
25819         No more cothreads.h
25820
25821 2005-07-18  Wim Taymans  <wim@fluendo.com>
25822
25823         * gst/cothreads.c:
25824         * gst/cothreads.h:
25825         Let's remove these.
25826
25827 2005-07-18  Wim Taymans  <wim@fluendo.com>
25828
25829         * docs/design/part-dynamic.txt:
25830         * docs/design/part-events.txt:
25831         * docs/design/part-seeking.txt:
25832         Some more docs in the works.
25833
25834         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25835         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
25836         (gst_base_transform_setcaps), (gst_base_transform_get_size),
25837         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25838         (gst_base_transform_handle_buffer),
25839         (gst_base_transform_sink_activate_push),
25840         (gst_base_transform_src_activate_pull),
25841         (gst_base_transform_set_passthrough),
25842         (gst_base_transform_is_passthrough):
25843         Refcounting fixes.
25844
25845         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
25846         Cleanups.
25847
25848         * gst/gstevent.c: (gst_event_finalize):
25849         Set SRC to NULL.
25850
25851         * gst/gstutils.c: (gst_element_unlink),
25852         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
25853         (gst_pad_proxy_setcaps):
25854         * gst/gstutils.h:
25855         Add _get_parent_element() to get a pads parent as an element.
25856
25857 2005-07-18  Wim Taymans  <wim@fluendo.com>
25858
25859         * check/gst/gstbin.c: (GST_START_TEST):
25860         Remove bogus test.
25861
25862 2005-07-18  Wim Taymans  <wim@fluendo.com>
25863
25864         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
25865         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
25866         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
25867         (gst_base_sink_event), (gst_base_sink_do_sync),
25868         (gst_base_sink_chain), (gst_base_sink_loop),
25869         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
25870         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
25871         Refcounting fixes.
25872         Fix logic for returning ASYNC when not prerolled.
25873
25874 2005-07-18  Wim Taymans  <wim@fluendo.com>
25875
25876         * gst/gstqueue.c: (gst_queue_handle_sink_event):
25877         Fix nasty refcount bug.
25878
25879 2005-07-16 Philippe Khalaf <burger@speedy.org>
25880
25881         * gst/elements/gstfdsrc.c:
25882         * gst/elements/gstfdsrc.h:
25883         * gst/elements/gstelements.c:
25884         * gst/elements/Makefile.am:
25885         Ported fdsrc to 0.9.
25886
25887 2005-07-16  Wim Taymans  <wim@fluendo.com>
25888
25889         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25890         (gst_base_sink_do_sync):
25891         Fix compile error.
25892
25893 2005-07-16  Wim Taymans  <wim@fluendo.com>
25894
25895         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25896         (gst_base_sink_event), (gst_base_sink_get_times),
25897         (gst_base_sink_do_sync), (gst_base_sink_change_state):
25898         * gst/base/gstbasesink.h:
25899         Store and use discont values when syncing buffers as described
25900         in design docs.
25901         
25902         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25903         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
25904         (gst_base_src_activate_push):
25905         Push discont event when starting.
25906
25907         * gst/elements/gstidentity.c: (gst_identity_transform):
25908         Small cleanups.
25909
25910         * gst/gstbin.c: (gst_bin_change_state):
25911         Small cleanups in base_time  distribution.
25912
25913         * gst/gstelement.c: (gst_element_set_base_time),
25914         (gst_element_get_base_time), (gst_element_change_state):
25915         * gst/gstelement.h:
25916         Added methods for the base_time of the element.
25917         Some MT fixes.
25918
25919         * gst/gstpipeline.c: (gst_pipeline_send_event),
25920         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25921         (gst_pipeline_get_last_stream_time):
25922         * gst/gstpipeline.h:
25923         MT fixes.
25924         Handle seeking as described in design doc, remove stream_time
25925         hack.
25926         Cleanups clock and stream_time selection code. Added accessors
25927         for the stream_time.
25928         
25929
25930 2005-07-16  Andy Wingo  <wingo@pobox.com>
25931
25932         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
25933         (#305291).
25934
25935 2005-07-16  Wim Taymans  <wim@fluendo.com>
25936
25937         * check/gst/gstbin.c: (GST_START_TEST):
25938         Make elements silent as the deep_notify refs the
25939         parent, which might make the test fail.
25940
25941         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25942         Don't hold the lock for too long.
25943
25944 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
25945
25946         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
25947           Don't unref the caps we passed to gst_caps_make_writable() after
25948           passing them. gst_caps_make_writable() will do that for us.
25949
25950 2005-07-15  Andy Wingo  <wingo@pobox.com>
25951
25952         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
25953         (#157311).
25954
25955         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
25956         own marshalling function for the handoff signal. Properly type the
25957         buffer as a buffer. Fixes some warnings. Should do a more general
25958         solution.
25959         (gst_identity_class_init): Plug into the right marshaller.
25960
25961 2005-07-15  Wim Taymans  <wim@fluendo.com>
25962
25963         * docs/design/part-TODO.txt:
25964         * docs/design/part-clocks.txt:
25965         * docs/design/part-element-sink.txt:
25966         * docs/design/part-events.txt:
25967         * docs/design/part-gstpipeline.txt:
25968         Updated docs, mostly DISCONT related.
25969
25970 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
25971
25972         * docs/pwg/building-pads.xml:
25973           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
25974
25975 2005-07-15  Andy Wingo  <wingo@pobox.com>
25976
25977         * tools/gst-typefind.c: Update, add copyright block.
25978
25979         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
25980         Normalize and truncate caps before fixation.
25981
25982         * gst/gstcaps.h:
25983         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
25984         discards all but the first structure from its argument.
25985
25986 2005-07-15  Wim Taymans  <wim@fluendo.com>
25987
25988         * gst/base/gstbasetransform.c: (gst_base_transform_init),
25989         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
25990         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25991         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25992         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
25993         (gst_base_transform_chain), (gst_base_transform_change_state),
25994         (gst_base_transform_set_passthrough),
25995         (gst_base_transform_is_passthrough):
25996         * gst/base/gstbasetransform.h:
25997         Make passthrough work using the bufferpools.
25998         Changed API a bit, subclasses have to write into a buffer
25999         provided by the base class.
26000         More debug info in nego functions.
26001         
26002         * gst/elements/gstidentity.c: (gst_identity_init),
26003         (gst_identity_transform):
26004         Port to new base class.
26005
26006 2005-07-15  Wim Taymans  <wim@fluendo.com>
26007
26008         * gst/gstmessage.c: (gst_message_new_state_changed):
26009         * tools/gst-launch.c: (event_loop), (main):
26010         Totally dump messages in -launch with the -m option.
26011         Fix message name for State messages,
26012
26013 2005-07-14  Wim Taymans  <wim@fluendo.com>
26014
26015         * gst/base/gstbasesrc.c: (gst_base_src_loop):
26016         Post error messages on errors.
26017
26018 2005-07-14  Wim Taymans  <wim@fluendo.com>
26019
26020         * gst/gstcaps.c: (gst_caps_do_simplify):
26021         Remove debug info.
26022
26023         * gst/gsterror.h:
26024         Define error for stream stopped.
26025
26026         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26027         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
26028         Do proper return values.
26029
26030         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26031         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
26032         (gst_pad_get_range):
26033         Better return values.
26034
26035         * gst/gstpad.h:
26036         Reorganise return values, add macro to check for fatal errors.
26037
26038         * gst/gstqueue.c: (gst_queue_chain):
26039         Return proper GstFlowReturn values,
26040
26041 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
26042
26043         * docs/gst/gstreamer-sections.txt:
26044         * docs/gst/gstreamer.types:
26045         * docs/gst/tmpl/gst.sgml:
26046         * docs/gst/tmpl/gstbasesink.sgml:
26047         * docs/gst/tmpl/gstbasesrc.sgml:
26048         * docs/gst/tmpl/gstbasetransform.sgml:
26049         * docs/gst/tmpl/gstbin.sgml:
26050         * docs/gst/tmpl/gstbuffer.sgml:
26051         * docs/gst/tmpl/gstcaps.sgml:
26052         * docs/gst/tmpl/gstclock.sgml:
26053         * docs/gst/tmpl/gstcompat.sgml:
26054         * docs/gst/tmpl/gstconfig.sgml:
26055         * docs/gst/tmpl/gstelement.sgml:
26056         * docs/gst/tmpl/gstelementdetails.sgml:
26057         * docs/gst/tmpl/gstelementfactory.sgml:
26058         * docs/gst/tmpl/gstenumtypes.sgml:
26059         * docs/gst/tmpl/gsterror.sgml:
26060         * docs/gst/tmpl/gstevent.sgml:
26061         * docs/gst/tmpl/gstfakesink.sgml:
26062         * docs/gst/tmpl/gstfakesrc.sgml:
26063         * docs/gst/tmpl/gstfilesink.sgml:
26064         * docs/gst/tmpl/gstfilesrc.sgml:
26065         * docs/gst/tmpl/gstfilter.sgml:
26066         * docs/gst/tmpl/gstformat.sgml:
26067         * docs/gst/tmpl/gstghostpad.sgml:
26068         * docs/gst/tmpl/gstimplementsinterface.sgml:
26069         * docs/gst/tmpl/gstindex.sgml:
26070         * docs/gst/tmpl/gstindexfactory.sgml:
26071         * docs/gst/tmpl/gstinfo.sgml:
26072         * docs/gst/tmpl/gstiterator.sgml:
26073         * docs/gst/tmpl/gstmacros.sgml:
26074         * docs/gst/tmpl/gstmemchunk.sgml:
26075         * docs/gst/tmpl/gstminiobject.sgml:
26076         * docs/gst/tmpl/gstobject.sgml:
26077         * docs/gst/tmpl/gstpad.sgml:
26078         * docs/gst/tmpl/gstpadtemplate.sgml:
26079         * docs/gst/tmpl/gstparse.sgml:
26080         * docs/gst/tmpl/gstpipeline.sgml:
26081         * docs/gst/tmpl/gstplugin.sgml:
26082         * docs/gst/tmpl/gstpluginfeature.sgml:
26083         * docs/gst/tmpl/gstquery.sgml:
26084         * docs/gst/tmpl/gstqueue.sgml:
26085         * docs/gst/tmpl/gstregistry.sgml:
26086         * docs/gst/tmpl/gstregistrypool.sgml:
26087         * docs/gst/tmpl/gstscheduler.sgml:
26088         * docs/gst/tmpl/gstschedulerfactory.sgml:
26089         * docs/gst/tmpl/gststructure.sgml:
26090         * docs/gst/tmpl/gstsystemclock.sgml:
26091         * docs/gst/tmpl/gsttaglist.sgml:
26092         * docs/gst/tmpl/gsttagsetter.sgml:
26093         * docs/gst/tmpl/gsttrace.sgml:
26094         * docs/gst/tmpl/gsttrashstack.sgml:
26095         * docs/gst/tmpl/gsttypefind.sgml:
26096         * docs/gst/tmpl/gsttypefindfactory.sgml:
26097         * docs/gst/tmpl/gsttypes.sgml:
26098         * docs/gst/tmpl/gsturihandler.sgml:
26099         * docs/gst/tmpl/gsturitype.sgml:
26100         * docs/gst/tmpl/gstutils.sgml:
26101         * docs/gst/tmpl/gstvalue.sgml:
26102         * docs/gst/tmpl/gstversion.sgml:
26103         * docs/gst/tmpl/gstxml.sgml:
26104         * docs/libs/tmpl/gstcontrol.sgml:
26105         * docs/libs/tmpl/gstdataprotocol.sgml:
26106         * docs/libs/tmpl/gstdparam.sgml:
26107         * docs/libs/tmpl/gstdplinint.sgml:
26108         * docs/libs/tmpl/gstdpman.sgml:
26109         * docs/libs/tmpl/gstdpsmooth.sgml:
26110         * docs/libs/tmpl/gstgetbits.sgml:
26111         * docs/libs/tmpl/gstunitconvert.sgml:
26112         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
26113         (gst_push_src_base_init), (gst_push_src_class_init),
26114         (gst_push_src_init), (gst_push_src_create):
26115         * gst/base/gstpushsrc.h:
26116         * gst/elements/gstelements.c:
26117         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
26118         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
26119         (gst_fake_sink_init), (gst_fake_sink_set_property),
26120         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
26121         (gst_fake_sink_event), (gst_fake_sink_preroll),
26122         (gst_fake_sink_render), (gst_fake_sink_change_state):
26123         * gst/elements/gstfakesink.h:
26124         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
26125         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
26126         (gst_fake_src_base_init), (gst_fake_src_class_init),
26127         (gst_fake_src_init), (gst_fake_src_event_handler),
26128         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
26129         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
26130         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
26131         (gst_fake_src_create_buffer), (gst_fake_src_create),
26132         (gst_fake_src_start), (gst_fake_src_stop):
26133         * gst/elements/gstfakesrc.h:
26134         * gst/elements/gstfilesink.c: (_do_init),
26135         (gst_file_sink_base_init), (gst_file_sink_class_init),
26136         (gst_file_sink_init), (gst_file_sink_dispose),
26137         (gst_file_sink_set_location), (gst_file_sink_set_property),
26138         (gst_file_sink_get_property), (gst_file_sink_open_file),
26139         (gst_file_sink_close_file), (gst_file_sink_query),
26140         (gst_file_sink_event), (gst_file_sink_render),
26141         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
26142         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
26143         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
26144         * gst/elements/gstfilesink.h:
26145         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
26146         (gst_file_src_class_init), (gst_file_src_init),
26147         (gst_file_src_finalize), (gst_file_src_set_location),
26148         (gst_file_src_set_property), (gst_file_src_get_property),
26149         (gst_file_src_map_region), (gst_file_src_map_small_region),
26150         (gst_file_src_create_mmap), (gst_file_src_create_read),
26151         (gst_file_src_create), (gst_file_src_is_seekable),
26152         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
26153         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
26154         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
26155         (gst_file_src_uri_handler_init):
26156         * gst/elements/gstfilesrc.h:
26157           more autistic cleanliness in functions/names/defines
26158
26159 2005-07-13  Andy Wingo  <wingo@pobox.com>
26160
26161         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
26162         source couldn't negotiate.
26163
26164         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
26165         connections again.
26166
26167         * gst/gstutils.h:
26168         * gst/gstutils.c (gst_element_link_pads_filtered): New old
26169         function. I am channeling Hades. Put your boots on suckers!!!
26170
26171 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
26172
26173         * testsuite/caps/Makefile.am:
26174         * testsuite/caps/value_compare.c:
26175         * testsuite/caps/value_intersect.c:
26176         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26177           move two testsuite apps over to the check dir
26178
26179 2005-07-12  Wim Taymans  <wim@fluendo.com>
26180
26181         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
26182         Added more debug info in the negotiate process.
26183
26184         * gst/gstmessage.h:
26185         Prepare for segment playback.
26186
26187         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
26188         Better debugging.
26189
26190         * gst/gstutils.c:
26191         Some more docs.
26192
26193         * tools/gst-launch.c: (main):
26194         NULL pipeline on errors.
26195
26196 2005-07-12  Andy Wingo  <wingo@pobox.com>
26197
26198         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
26199         not it comes from a malloc region. Make sure our copy gets freed.
26200
26201 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26202
26203         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
26204         * check/gst/gstmessage.c: (GST_START_TEST):
26205         * check/gst/gststructure.c: (GST_START_TEST),
26206         (gst_structure_suite), (main):
26207           more testing
26208         * gst/gstelement.c: (gst_element_message_full):
26209           clean up GError and debug string now that they get copied
26210         * gst/gstmessage.c: (gst_message_new_error),
26211         (gst_message_new_warning), (gst_message_parse_error),
26212         (gst_message_parse_warning):
26213           use GST_TYPE_G_ERROR for structure_new, and take copies of
26214           arguments, so that we don't mess up refcounting
26215
26216 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26217
26218         * check/Makefile.am:
26219           add per-test valgrind targets
26220         * check/gst-libs/gdp.c: (GST_START_TEST),
26221         (gst_data_protocol_suite), (main):
26222           clean up
26223
26224 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26225
26226         * check/Makefile.am:
26227           instate more valgrindable tests
26228         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26229         (GST_START_TEST), (fakesrc_suite):
26230         * check/gst/gstpad.c: (GST_START_TEST):
26231         * check/gst/gststructure.c: (GST_START_TEST):
26232           fix test leaks
26233         * docs/gst/tmpl/gstminiobject.sgml:
26234         * gst/gstpad.c: (gst_pad_finalize):
26235           fix the static mutex leak
26236
26237 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26238
26239         * check/Makefile.am:
26240           add two more tests for valgrinding
26241         * check/gst/gstvalue.c: (GST_START_TEST):
26242           test refcount of deserialized buffer, found a leak
26243         * docs/gst/gstreamer-docs.sgml:
26244         * docs/gst/gstreamer-sections.txt:
26245         * docs/gst/gstreamer.types:
26246         * docs/gst/tmpl/gstminiobject.sgml:
26247           add miniobject to docs
26248         * gst/gstminiobject.c:
26249           add some docs
26250         * gst/gstvalue.c: (gst_value_deserialize_buffer),
26251         (gst_string_unwrap):
26252           fix a hard-to-find invalid write for one of the tests
26253           fix a leak for deserialized buffers
26254
26255 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26256
26257         * docs/pwg/advanced-events.xml:
26258         * docs/pwg/advanced-request.xml:
26259         * docs/pwg/advanced-scheduling.xml:
26260         * docs/pwg/appendix-porting.xml:
26261         * docs/pwg/building-boiler.xml:
26262         * docs/pwg/intro-preface.xml:
26263         * docs/pwg/other-ntoone.xml:
26264           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
26265           of example code and explanation for pad activation, loop() and
26266           getrange() functions and a bit more. Remove old comments pointing
26267           to loop-functions.
26268         * examples/pwg/Makefile.am:
26269           Add loop/getrange examples.
26270
26271 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26272
26273         * configure.ac:
26274           check for valgrind binary + some fixes
26275         * check/gst.supp:
26276           valgrind suppressions for the tests
26277         * check/Makefile.am:
26278           add a valgrind: target that valgrinds the unit tests
26279         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
26280         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
26281         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26282         * check/gst/gstghostpad.c:
26283           added some cleanup
26284         * check/gst/gstdata.c:
26285           removed
26286         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
26287         (thread_unref), (gst_mini_object_suite), (main):
26288           added
26289         * gst/gst.c: (gst_deinit):
26290         * gst/gst.h:
26291           add a method to clean up.
26292         * gst/gstsystemclock.c: (gst_system_clock_dispose),
26293         (gst_system_clock_obtain):
26294           allow for disposing the system clock.
26295         * tools/gst-launch.c: (main):
26296           deinit
26297
26298 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26299
26300         * docs/gst/tmpl/gstbasesrc.sgml:
26301         * docs/gst/tmpl/gstfakesrc.sgml:
26302         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26303         (gst_base_src_init), (gst_base_src_set_property),
26304         (gst_base_src_get_property), (gst_base_src_get_range),
26305         (gst_base_src_start):
26306         * gst/base/gstbasesrc.h:
26307           add num-buffers property
26308         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26309         (gst_fakesrc_init), (gst_fakesrc_set_property),
26310         (gst_fakesrc_get_property), (gst_fakesrc_create),
26311         (gst_fakesrc_start):
26312           remove num-buffers property
26313
26314 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26315
26316         * docs/gst/gstreamer-sections.txt:
26317         * docs/gst/tmpl/gstbasesink.sgml:
26318         * docs/gst/tmpl/gstbasesrc.sgml:
26319         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26320         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26321         (gst_base_sink_finalize), (gst_base_sink_set_clock),
26322         (gst_base_sink_set_property), (gst_base_sink_get_property),
26323         (gst_base_sink_handle_object), (gst_base_sink_event),
26324         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26325         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26326         (gst_base_sink_loop), (gst_base_sink_deactivate),
26327         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26328         (gst_base_sink_change_state):
26329         * gst/base/gstbasesink.h:
26330         * gst/base/gstbasesrc.h:
26331         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26332         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26333         (gst_filesink_init):
26334           more macro splitting
26335
26336 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26337
26338         * gst/gstelement.c: (gst_element_get_bus):
26339           add debug
26340         * tools/gst-launch.c: (check_intr), (event_loop):
26341           fix bus leaks
26342
26343 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26344
26345         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26346           fix a caps leak
26347
26348 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26349
26350         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26351         (gst_base_src_finalize):
26352           add finalize method and clean up properly
26353         * gst/gstpipeline.c: (gst_pipeline_dispose):
26354           add debug
26355
26356 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26357
26358         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26359         (gst_bin_suite):
26360           add more things to check
26361         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26362         * gst/gstelement.c:
26363           more debug
26364
26365 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26366
26367         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26368         (GST_START_TEST), (fakesrc_suite):
26369         * check/gst-libs/gdp.c: (GST_START_TEST):
26370         * check/gst/gst.c: (GST_START_TEST):
26371         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26372         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26373         * check/gst/gstbus.c: (GST_START_TEST):
26374         * check/gst/gstcaps.c: (GST_START_TEST):
26375         * check/gst/gstdata.c: (GST_START_TEST):
26376         * check/gst/gstelement.c: (GST_START_TEST):
26377         * check/gst/gstghostpad.c: (GST_START_TEST):
26378         * check/gst/gstiterator.c: (GST_START_TEST):
26379         * check/gst/gstmessage.c: (GST_START_TEST):
26380         * check/gst/gstobject.c: (GST_START_TEST):
26381         * check/gst/gstpad.c: (GST_START_TEST):
26382         * check/gst/gststructure.c: (GST_START_TEST):
26383         * check/gst/gstsystemclock.c: (GST_START_TEST),
26384         (gst_systemclock_suite):
26385         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26386         * check/gst/gstvalue.c: (GST_START_TEST):
26387         * check/pipelines/cleanup.c: (GST_START_TEST):
26388         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26389         * check/states/sinks.c: (GST_START_TEST):
26390         * check/gstcheck.c: (gst_check_init):
26391         * check/gstcheck.h:
26392           add debugging category
26393           use GST_START_TEST now, so we add a debug line
26394
26395 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26396
26397         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26398           add test for state change message on a bin
26399         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26400           add another test
26401         * gst/gstbin.c: (gst_bin_init):
26402         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26403         * gst/gstelement.c: (gst_element_post_message),
26404         (gst_element_set_state):
26405         * gst/gstelementfactory.c: (gst_element_factory_create):
26406         * gst/gstmessage.c: (gst_message_new):
26407         * gst/gstscheduler.c:
26408           various debugging additions and cleanups
26409
26410 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26411
26412         * check/Makefile.am:
26413         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26414         (main):
26415           adding tests for elements
26416         * gst/gstelement.c: (gst_element_dispose):
26417
26418 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26419
26420         * gst/registries/gstlibxmlregistry.c: (load_feature):
26421           plug more leaks.  A simple gst_init() now is leakfree, yay.
26422
26423 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26424
26425         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26426         (gst_xml_registry_load):
26427           plug another memleak
26428
26429 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26430
26431         * configure.ac:
26432           use GST_SET_ERROR_CFLAGS
26433         * docs/faq/cvs.xml:
26434           change to ERROR_CFLAGS
26435
26436 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26437
26438         * configure.ac:
26439           make GST_ERROR_CFLAGS overridable and re-enable Werror
26440         * docs/faq/cvs.xml:
26441           add a note about error CFLAGS
26442         * docs/gst/tmpl/gstfakesrc.sgml:
26443         * gst/elements/gstfakesrc.c:
26444           comment out some unused code
26445         * gst/gst.c: (split_and_iterate):
26446         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26447         (load_feature):
26448           plug some memleaks
26449
26450 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26451
26452         * common/Makefile.am:
26453         * common/gtk-doc.mak:
26454         * docs/gst/Makefile.am:
26455           factor out gtk-doc.mak
26456
26457 2005-07-07  Wim Taymans  <wim@fluendo.com>
26458
26459         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26460         (gst_thread_scheduler_dispose):
26461         Unlock the STREAM_LOCK completely.
26462
26463 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26464
26465         * check/Makefile.am:
26466         * check/elements/.cvsignore:
26467         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26468         (START_TEST), (fakesrc_suite), (main):
26469         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26470         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26471         (gst_fakesrc_create), (gst_fakesrc_start):
26472         * gst/elements/gstfakesrc.h:
26473           adding a first element test
26474
26475 2005-07-07  Andy Wingo  <wingo@pobox.com>
26476
26477         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26478         debug message.
26479
26480 2005-07-07  Wim Taymans  <wim@fluendo.com>
26481
26482         * gst/gstquery.c:
26483         * gst/gstquery.h:
26484         Remove old types
26485
26486 2005-07-07  Wim Taymans  <wim@fluendo.com>
26487
26488         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26489         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26490         Allow subclasses to implement their own negotiation.
26491
26492 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26493
26494         * docs/design/part-gstbin.txt:
26495         * docs/design/part-gstpipeline.txt:
26496           Update design notes to reflect the movement of
26497           responsibility for bus handling from GstPipeline to
26498           GstBin
26499
26500 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26501
26502         * configure.ac:
26503           Remove unnecessary queue2/3/4 examples.
26504
26505 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26506
26507         * examples/Makefile.am:
26508         * examples/helloworld/helloworld.c: (event_loop), (main):
26509         * examples/queue/queue.c: (event_loop), (main):
26510         * examples/queue2/queue2.c: (main):
26511           Update a couple of the examples to work again.
26512
26513         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26514         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26515          Spelling corrections and extra debug.
26516         
26517         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26518         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26519         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26520         * gst/gstbin.h:
26521         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26522         (gst_pipeline_change_state):
26523         * gst/gstpipeline.h:
26524           Move the bus handler for children to the GstBin, and create a
26525           separate bus for receiving messages from children to the one the
26526           bus sends 'upwards' on.
26527
26528 2005-07-06  Wim Taymans  <wim@fluendo.com>
26529
26530         * gst/base/README:
26531         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26532         (gst_base_sink_handle_object), (gst_base_sink_loop),
26533         (gst_base_sink_change_state):
26534         * gst/base/gstbasesink.h:
26535         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26536         (gst_base_src_init), (gst_base_src_setcaps),
26537         (gst_base_src_getcaps), (gst_base_src_loop),
26538         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26539         (gst_base_src_start), (gst_base_src_change_state):
26540         * gst/base/gstbasesrc.h:
26541         Make basesrc negotiate.
26542         Handle the case where preroll fails in basesink.
26543         Update README.
26544
26545 2005-07-06  Wim Taymans  <wim@fluendo.com>
26546
26547         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26548         Implement the fixate function.
26549         Clean up acceptcaps.
26550
26551 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26552
26553         * docs/pwg/building-filterfactory.xml:
26554         * docs/pwg/pwg.xml:
26555           Remove never-written filter-factory chapter; I'll add the various
26556           base classes to part 4 ("other element types") later on.
26557
26558 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26559
26560         * docs/pwg/advanced-negotiation.xml:
26561         * docs/pwg/building-boiler.xml:
26562         * docs/pwg/building-pads.xml:
26563         * docs/pwg/pwg.xml:
26564         * examples/pwg/Makefile.am:
26565           Add a chapter on caps negotiation, simplify the original code
26566           samples a bit w.r.t. caps negotiation, add link to the advanced
26567           section. Add a bunch of examples showing different use cases of
26568           different types of caps negotiation. Upstream renegotiation isn't
26569           fully documented yet since nobody knows how that works.
26570
26571 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
26572
26573         * check/gst/gstpad.c:
26574         * check/gstcheck.c:
26575         * gst/gstpad.c: (gst_pad_get_internal_links_default):
26576           if pad has no parent, return NULL as list of internal links
26577
26578 2005-07-05  Andy Wingo  <wingo@pobox.com>
26579
26580         * gst/elements/gstfilesrc.c:
26581         * gst/elements/gstfakesrc.c: 
26582         * gst/base/gstpushsrc.c:
26583         * gst/base/gstbasesrc.h: 
26584         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
26585         
26586 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
26587
26588         * Makefile.am:
26589           better report generation target (lcov needs a patch)
26590
26591 2005-07-05  Andy Wingo  <wingo@pobox.com>
26592
26593         * gst/elements, testsuite: Null if we got it...
26594
26595 2005-07-05  Wim Taymans  <wim@fluendo.com>
26596
26597         * configure.ac:
26598         * libs/gst/dataprotocol/Makefile.am:
26599         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
26600         * libs/gst/dataprotocol/dataprotocol.h:
26601         * pkgconfig/Makefile.am:
26602         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
26603         * pkgconfig/gstreamer-dataprotocol.pc.in:
26604         Ported dataprotol to 0.9. 
26605         Added pkgconfig files.
26606
26607 2005-07-05  Andy Wingo  <wingo@pobox.com>
26608
26609         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
26610         Default to returning TRUE for the case when tranform_caps returns
26611         a fixed caps, like for identity or volume.
26612
26613         * check/gst/gstbus.c (pound_bus_with_messages): 
26614         * check/gst/gstmessage.c (START_TEST): 
26615         * check/pipelines/simple_launch_lines.c (got_handoff): Application
26616         message API change.
26617
26618         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
26619         logic weaks here: always run transform_caps, trying passthrough
26620         operation only if the original caps intersects with the transform.
26621
26622         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
26623         source and sink caps.
26624
26625         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
26626         Intersect the peer caps with the pad template before going into
26627         transform_caps.
26628         (gst_base_transform_transform_caps): More debugging.
26629
26630         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
26631         src argument.
26632
26633 2005-07-04  Edward Hervey  <edward@fluendo.com>
26634
26635         * gst/gstutils.c:
26636         * gst/gstutils.h:
26637         (gst_pad_add_*_probe): now returns the signal id for better wrapping
26638         in bindings.
26639
26640 2005-07-04  Andy Wingo  <wingo@pobox.com>
26641
26642         * check/gst/gstpad.c: Only set explicit caps on pads.
26643
26644 2005-07-01  Andy Wingo  <wingo@pobox.com>
26645
26646         * tests/network-clock.scm: Commentary update.
26647
26648         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
26649         Didn't really make sense, not implementable with basetransform,
26650         etc.
26651         (gst_identity_transform): Unref inbuf via make_writable. Feeble
26652         attempt at implementing the sync property, needs an unlock method.
26653
26654         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
26655         New func, by default returns the same caps (the identity
26656         transformation).
26657         (gst_base_transform_getcaps): Uses transform_caps to return
26658         something sensible.
26659         (gst_base_transform_setcaps): Complicated logic to get caps on
26660         both pads, even if they are different, and to call set_caps once
26661         for every time both pads get their caps set.
26662         (gst_base_transform_handle_buffer): Give the ref to the transform
26663         function. Allows in-place modification of the buffer.
26664
26665         * gst/base/gstbasetransform.h (transform_caps): New class method.
26666         Given caps on one side, what can I do on the other.
26667         (set_caps): Take two caps, one for each side of the element.
26668
26669         * gst/gstpad.h:
26670         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
26671         caps in place. This is safe because we can check the mutability of
26672         the caps, and a good idea because fixate functions are just called
26673         as a matter of last resort. (Not actually implemented.)
26674         (gst_pad_set_caps): If the caps we're setting is actually the same
26675         as the existing pad caps, just update the pointer without calling
26676         setcaps. Assert that caps is either NULL or fixed, as per the
26677         docs.
26678
26679         * gst/gstghostpad.c: Update for fixate changes.
26680
26681 2005-07-02  Andy Wingo  <wingo@pobox.com>
26682
26683         * gst/gstcaps.c:
26684         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
26685         two refcounts makes it immutable, which is enough. Doc more.
26686
26687 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
26688
26689         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
26690           Put the mini_object into GValue as a mini_object,
26691           not a gpointer, since that's how we declared
26692           the signal.
26693
26694 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26695
26696         * examples/pwg/Makefile.am:
26697           Fix buildbot again.
26698
26699 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26700
26701         * docs/pwg/building-testapp.xml:
26702           Add extra check.
26703         * examples/pwg/Makefile.am:
26704           Fix buildbot.
26705
26706 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26707
26708         * configure.ac:
26709         * examples/Makefile.am:
26710         * examples/pwg/Makefile.am:
26711         * examples/pwg/extract.pl:
26712           Enable building the PWG examples.
26713         * docs/pwg/advanced-interfaces.xml:
26714           Add URI interface stub.
26715         * docs/pwg/advanced-types.xml:
26716         * docs/pwg/other-autoplugger.xml:
26717         * docs/pwg/appendix-porting.xml:
26718         * docs/pwg/pwg.xml:
26719           Add porting guide (mostly stubs), remove autoplugging (see ADM).
26720         * docs/pwg/building-boiler.xml:
26721         * docs/pwg/building-chainfn.xml:
26722         * docs/pwg/building-pads.xml:
26723         * docs/pwg/building-props.xml:
26724         * docs/pwg/building-state.xml:
26725         * docs/pwg/building-testapp.xml:
26726           Update the building-*.xml parts for 0.9 changes. All examples
26727           code blocks compile in examples/pwg/*.
26728
26729 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26730
26731         * docs/manual/advanced-autoplugging.xml:
26732         * docs/manual/appendix-checklist.xml:
26733         * docs/manual/appendix-integration.xml:
26734         * docs/manual/highlevel-components.xml:
26735           Fix playbin/decodebin examples, update docs a bit, mention bus
26736           instead of signals in various places, mention kmplayer and
26737           kaffeine since they have a working GStreamer backend in the KDE
26738           section.
26739
26740 2005-06-30  Wim Taymans  <wim@fluendo.com>
26741
26742         * CHANGES-0.9:
26743         * docs/design/draft-ghostpads.txt:
26744         * docs/design/draft-push-pull.txt:
26745         * docs/design/draft-query.txt:
26746         * docs/design/part-TODO.txt:
26747         * docs/design/part-query.txt:
26748         Added CHANGES-0.9 doc, updated status of other docs.
26749         
26750         * gst/gstquery.h:
26751         Remove "hmm" macro
26752
26753 2005-06-30  Wim Taymans  <wim@fluendo.com>
26754
26755         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26756         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26757         (gst_base_sink_change_state):
26758         * gst/base/gstbasesink.h:
26759         Some tweaks, only EOS and a buffer complete a preroll.
26760
26761 2005-06-30  Andy Wingo  <wingo@pobox.com>
26762
26763         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
26764         activate_push down to the internal pad as well.
26765
26766 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
26767
26768         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26769
26770         * gst/gsttaginterface.c:
26771           Some documentation fixes (#307394 and #307397).
26772
26773 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
26774
26775         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26776
26777         * gst/gstvalue.c: (gst_value_intersect_list):
26778           Fix memleak (#309125).
26779
26780 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26781
26782         * docs/manual/advanced-dataaccess.xml:
26783           Fix fakesrc example to compile; doesn't work, bug somewhere...?
26784         * docs/manual/basics-pads.xml:
26785           Add reference for filtered caps to above chapter.
26786
26787 2005-06-30  Wim Taymans  <wim@fluendo.com>
26788
26789         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
26790         (gst_bin_change_state):
26791         Probes are gone.
26792         Lame attempt at making the state change function a bit
26793         more readable.
26794
26795 2005-06-30  Wim Taymans  <wim@fluendo.com>
26796
26797         * docs/design/part-clocks.txt:
26798         * docs/design/part-element-sink.txt:
26799         * docs/design/part-events.txt:
26800         * docs/design/part-preroll.txt:
26801         * docs/design/part-states.txt:
26802         Some more tweeks and additions to the docs.
26803
26804 2005-06-30  Wim Taymans  <wim@fluendo.com>
26805
26806         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26807         (default_have_data), (gst_pad_class_init), (gst_pad_init),
26808         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26809         (gst_pad_check_pull_range), (gst_pad_get_range),
26810         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
26811         * gst/gstpad.h:
26812         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
26813         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26814         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26815         (gst_pad_remove_buffer_probe):
26816         Removed atomic operations, use existing LOCK.
26817         Move exception handling out of main code path.
26818
26819 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26820
26821         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26822         (silly_return_true_function), (gst_pad_class_init),
26823         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26824         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
26825         (gst_pad_send_event):
26826           Fix accumulator, add default value by using _emitv() instead
26827           of _emit() for signal emission.
26828
26829 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26830
26831         * docs/manual/advanced-dataaccess.xml:
26832         * examples/manual/Makefile.am:
26833           Add probe example.
26834         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
26835           Make work (??).
26836
26837 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
26838
26839         * gst/elements/gstfilesink.c: (gst_filesink_render):
26840           Simplify code so that we don't have to handle short
26841           writes and return GST_FLOW_ERROR if an error occured.
26842
26843 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26844
26845         * docs/gst/gstreamer-docs.sgml:
26846           Remove probes more.
26847
26848 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26849
26850         * docs/gst/gstreamer-sections.txt:
26851         * docs/gst/tmpl/gstpad.sgml:
26852         * docs/gst/tmpl/gstprobe.sgml:
26853         * gst/Makefile.am:
26854         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26855         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
26856         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
26857         (gst_pad_push_event), (gst_pad_send_event):
26858         * gst/gstpad.h:
26859         * gst/gstutils.c: (gst_pad_add_data_probe),
26860         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26861         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26862         (gst_pad_remove_buffer_probe):
26863         * gst/gstutils.h:
26864           Remove old probes, add new g-signal-based probes and some utility
26865           functions.
26866
26867 2005-06-29  Edward Hervey  <edward@fluendo.com>
26868
26869         * gst/gstelementfactory.c:
26870         * gst/gstutils.h:
26871         * gst/gstutils.c:
26872         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
26873         the definition to the header file.
26874
26875 2005-06-29  Andy Wingo  <wingo@pobox.com>
26876
26877         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
26878         plugins from the source directory.
26879
26880 2005-06-29  Wim Taymans  <wim@fluendo.com>
26881
26882         * docs/gst/tmpl/gstbuffer.sgml:
26883         * docs/gst/tmpl/gstclock.sgml:
26884         Some fixings for blantently wrong text.
26885
26886 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
26887
26888         * check/Makefile.am:
26889         * gst/gst.c: (add_path_func), (init_pre):
26890         * gst/gstregistry.c: (gst_registry_add_path):
26891           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
26892           only scan the GST_PLUGIN_PATH locations, and not add
26893           system locations
26894
26895 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
26896
26897         * docs/gst/gstreamer-sections.txt:
26898         * docs/gst/tmpl/gstbasesrc.sgml:
26899         * gst/gstelement.c:
26900         * gst/gstelement.h:
26901         * gst/gstevent.c:
26902         * gst/gstutils.c:
26903           doc fixes
26904
26905 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26906
26907         * docs/manual/advanced-autoplugging.xml:
26908           Fix autoplugging example.
26909
26910 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26911
26912         * docs/manual/advanced-autoplugging.xml:
26913         * docs/manual/mime-world.fig:
26914           Try to get autoplugging working, fix type detection. Fix text
26915           in hello-world image.
26916
26917 2005-06-29  Wim Taymans  <wim@fluendo.com>
26918
26919         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26920         (gst_base_sink_change_state):
26921         Small debug line.
26922
26923         * gst/gstclock.h:
26924         map SIGNAL and BROADCAST to the right function.
26925
26926         * gst/gstobject.h:
26927         Remove redundant braces.
26928
26929         * gst/gstpad.c: (gst_pad_set_caps):
26930         Don't call setcaps function when reseting caps to NULL.
26931
26932         * gst/gstsystemclock.c: (gst_system_clock_dispose),
26933         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
26934         (gst_system_clock_id_unschedule):
26935         Use BROADCAST as this is what we do.
26936
26937 2005-06-29  Wim Taymans  <wim@fluendo.com>
26938
26939         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26940         We are actually prerolling before commiting the state
26941         change. 
26942
26943 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26944
26945         * docs/manual/advanced-clocks.xml:
26946         * docs/manual/advanced-interfaces.xml:
26947         * docs/manual/advanced-metadata.xml:
26948         * docs/manual/advanced-position.xml:
26949         * docs/manual/advanced-schedulers.xml:
26950         * docs/manual/advanced-threads.xml:
26951         * docs/manual/appendix-porting.xml:
26952         * docs/manual/basics-bins.xml:
26953         * docs/manual/basics-bus.xml:
26954         * docs/manual/basics-elements.xml:
26955         * docs/manual/basics-helloworld.xml:
26956         * docs/manual/basics-pads.xml:
26957         * docs/manual/highlevel-components.xml:
26958         * docs/manual/manual.xml:
26959         * docs/manual/thread.fig:
26960           Update (until threads/scheduling) Application Development Manual;
26961           remove GstThread, add GstBus, add simple porting checklist, add
26962           documentation for tag writing, clocks, make all examples until this
26963           part compile and run.
26964         * examples/manual/Makefile.am:
26965           Update from changes to Application Development Manual; add bus
26966           example, remove thread example.
26967
26968 2005-06-28  Wim Taymans  <wim@fluendo.com>
26969
26970         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
26971         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
26972         (gst_bus_source_dispatch):
26973         Add debugging messages.
26974         Make internal methods static.
26975         Handle the case where the bus is flushed in the handler.
26976         
26977         * gst/gstelement.c: (gst_element_get_bus):
26978         Fix refcount in _get_bus();
26979
26980         * gst/gstpipeline.c: (gst_pipeline_change_state),
26981         (gst_pipeline_get_clock_func):
26982         Clock refcounting fixes.
26983         Handle the case where preroll timed out more gracefully.
26984         
26985         * gst/gstsystemclock.c: (gst_system_clock_dispose):
26986         Clean up the internal thread in dispose. This is needed
26987         for subclasses that actually get disposed.
26988         
26989         * gst/schedulers/threadscheduler.c:
26990         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26991         (gst_thread_scheduler_dispose):
26992         Free thread pool in dispose.
26993
26994 2005-06-28  Andy Wingo  <wingo@pobox.com>
26995
26996         * tests/network-clock-utils.scm (debug, print-event): New utils.
26997
26998         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
26999         (*packet-loss*): Unified loss probability.
27000         (network-time): Report out-of-band events.
27001
27002         * tests/plot-data: Add support for out-of-band events. Hack it
27003         into this script instead of passing it down the pipe; should fix
27004         this later.
27005
27006 2005-06-28  Wim Taymans  <wim@fluendo.com>
27007
27008         * docs/gst/gstreamer.types:
27009         * docs/gst/tmpl/gstbasesrc.sgml:
27010         * docs/gst/tmpl/gstpad.sgml:
27011         Docs fixes.
27012
27013 2005-06-28  Wim Taymans  <wim@fluendo.com>
27014
27015         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27016         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
27017         (gst_proxy_pad_do_fixatecaps):
27018         Correctly proxy the check_pull_range function.
27019
27020 2005-06-28  Andy Wingo  <wingo@pobox.com>
27021
27022         * tests/network-clock.scm: Removed need for slib.
27023         
27024 2005-06-28  Wim Taymans  <wim@fluendo.com>
27025
27026         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
27027         (gst_basesink_preroll_queue_flush):
27028         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
27029         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
27030         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27031         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27032         (gst_proxy_pad_set_property):
27033         * gst/gstpad.c:
27034         * gst/gstpad.h:
27035         * gst/gstqueue.c: (gst_queue_init):
27036         The deprecated pad loop function is removed now.
27037
27038 2005-06-28  Andy Wingo  <wingo@pobox.com>
27039
27040         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
27041         New parameters, simulate network packet loss.
27042
27043         * tests/network-clock-utils.scm: Initialize the RNG.
27044
27045 2005-06-28  Wim Taymans  <wim@fluendo.com>
27046
27047         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
27048         (gst_basesink_event), (gst_basesink_deactivate):
27049         Flushing the preroll queue always needs to unlock the waiters.
27050
27051 2005-06-28  Edward Hervey  <edward@fluendo.com>
27052
27053         * gst/gstpipeline.c: (gst_pipeline_send_event): 
27054         Wheen a seek was successful on a pipeline, set the stream_time to the
27055         seek offset in order to have a synchronized stream_time.
27056
27057 2005-06-28  Wim Taymans  <wim@fluendo.com>
27058
27059         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27060         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
27061         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
27062         (gst_proxy_pad_do_fixatecaps):
27063         Call wrapper function instead of just calling the function
27064         pointers. This takes care of any locking and whatmore.
27065
27066 2005-06-28  Wim Taymans  <wim@fluendo.com>
27067
27068         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
27069         (gst_pad_pull_range):
27070         * gst/gstpad.h:
27071         CONNECTED -> LINKED.
27072
27073 2005-06-28  Andy Wingo  <wingo@pobox.com>
27074
27075         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
27076         source-munging commit!!!
27077
27078         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
27079         (gst_object_sink): Take gpointer arguments, not GstObject --
27080         avoids casts. Like GLib.
27081
27082         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
27083         activate.
27084
27085 2005-06-27  Andy Wingo  <wingo@pobox.com>
27086
27087         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
27088         remaining buffer.
27089
27090         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
27091         returns a sorted copy of the trace list.
27092         (gst_alloc_trace_print_live): New API, only prints traces with
27093         live objects. Sort the list.
27094         (gst_alloc_trace_print_all): Sort the list.
27095         (gst_alloc_trace_print): Align columns.
27096
27097         * gst/elements/gstttypefindelement.c:
27098         * gst/elements/gsttee.c:
27099         * gst/base/gstbasesrc.c:
27100         * gst/base/gstbasesink.c:
27101         * gst/base/gstbasetransform.c:
27102         * gst/gstqueue.c: Adapt for pad activation changes.
27103
27104         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
27105         sched.
27106         (gst_pipeline_dispose): Drop ref on sched.
27107
27108         * gst/gstpad.c (gst_pad_init): Set the default activate func.
27109         (gst_pad_activate_default): Push mode by default.
27110         (pre_activate_switch, post_activate_switch): New stubs, things to
27111         do before and after switching activation modes on pads.
27112         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
27113         the pad's activate function to choose which mode to activate.
27114         Shortcut on deactivation and call the right function directly.
27115         (gst_pad_activate_pull): New API, (de)activates a pad in pull
27116         mode.
27117         (gst_pad_activate_push): New API, same for push mode.
27118         (gst_pad_set_activate_function) 
27119         (gst_pad_set_activatepull_function) 
27120         (gst_pad_set_activatepush_function): Setters for new API.
27121
27122         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
27123         Trace all miniobjects.
27124         (gst_mini_object_make_writable): Unref the arg if we copy, like
27125         gst_caps_make_writable.
27126
27127         * gst/gstmessage.c (_gst_message_initialize): No trace init.
27128
27129         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
27130         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
27131         Adapt for new pad API.
27132
27133         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
27134
27135         * gst/gstelement.h:
27136         * gst/gstelement.c (gst_element_iterate_src_pads) 
27137         (gst_element_iterate_sink_pads): New API functions.
27138         
27139         * gst/gstelement.c (iterator_fold_with_resync): New utility,
27140         should fold into gstiterator.c in some form.
27141         (gst_element_pads_activate): Simplified via use of fold and
27142         delegation of decisions to gstpad->activate.
27143
27144         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
27145         help in debugging.
27146
27147         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
27148         class once in init, like gstmessage. Didn't run into this issue
27149         but it seems correct. Don't initialize a trace, gstminiobject does
27150         that.
27151
27152         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
27153         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
27154         to the bus.
27155         (assert_live_count): New util function, uses alloc traces to check
27156         cleanup.
27157
27158         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
27159         To be modified when unlink drops the internal pad.
27160
27161 2005-06-27  Wim Taymans  <wim@fluendo.com>
27162
27163         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
27164         (gst_bin_change_state):
27165         Cleanup the get_state() function a little, make sure it
27166         iterates the same set of elements.
27167         Added stub iterate_state_order().
27168
27169 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
27170
27171         * docs/gst/gstreamer-docs.sgml:
27172         * docs/gst/gstreamer-sections.txt:
27173         * docs/gst/gstreamer.types:
27174         * docs/gst/tmpl/gstbasesink.sgml:
27175         * docs/gst/tmpl/gstbasesrc.sgml:
27176         * docs/gst/tmpl/gstbasetransform.sgml:
27177         * docs/gst/tmpl/gstelement.sgml:
27178         * docs/gst/tmpl/gstiterator.sgml:
27179         * gst/base/gstbasesrc.c:
27180         * gst/base/gstbasesrc.h:
27181         * gst/base/gstbasetransform.h:
27182         * gst/gstelement.c:
27183         * gst/gstiterator.h:
27184           adding basetransform and iterator docs
27185
27186 2005-06-27  Andy Wingo  <wingo@pobox.com>
27187
27188         * docs/design/part-activation.txt: Notes on how activation should
27189         work -- not quite implemented yet.
27190
27191 2005-06-25  Wim Taymans  <wim@fluendo.com>
27192
27193         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
27194         At least get the chain function correct, needs more
27195         fixing.
27196
27197 2005-06-25  Wim Taymans  <wim@fluendo.com>
27198
27199         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27200         (gst_basesink_handle_object), (gst_basesink_event),
27201         (gst_basesink_do_sync), (gst_basesink_handle_event),
27202         (gst_basesink_change_state):
27203         * gst/gsttask.h:
27204         Right, two problems here: ghostpads don't take locks and
27205         glib _rec_mutex_lock_full() with depth==0 still locks.
27206         Catch illegal locking and g_warn them.
27207
27208 2005-06-25  Wim Taymans  <wim@fluendo.com>
27209
27210         * check/states/sinks.c: (START_TEST), (gst_object_suite):
27211         Have to check for completion now...
27212
27213 2005-06-25  Wim Taymans  <wim@fluendo.com>
27214
27215         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27216         (gst_basesink_handle_object), (gst_basesink_event),
27217         (gst_basesink_do_sync), (gst_basesink_handle_event),
27218         (gst_basesink_change_state):
27219         * gst/gstpad.h:
27220         Unlock STREAM_LOCK whatever the recursion was.
27221
27222 2005-06-25  Wim Taymans  <wim@fluendo.com>
27223
27224         * gst/base/gstbasesink.c: (gst_basesink_set_property),
27225         (gst_basesink_preroll_queue_empty),
27226         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
27227         (gst_basesink_event), (gst_basesink_do_sync),
27228         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
27229         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
27230         (gst_basesink_change_state):
27231         Reworked the base sink, handle event and buffer serialisation
27232         correctly and removed possible deadlock.
27233         Handle EOS correctly.
27234
27235 2005-06-25  Wim Taymans  <wim@fluendo.com>
27236
27237         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
27238         (gst_pipeline_change_state):
27239         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27240         Allow elements to post EOS in the state change function.
27241         Fix up -launch, make it exit the poll loop when the
27242         pipeline actually changed state.
27243         Fix up warning parsing in -launch.
27244
27245 2005-06-25  Wim Taymans  <wim@fluendo.com>
27246
27247         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
27248         (gst_tee_sink_activate):
27249         Core takes STREAM_LOCK for us now.
27250
27251 2005-06-25  Wim Taymans  <wim@fluendo.com>
27252
27253         * gst/gstelement.c: (gst_element_get_state_func),
27254         (gst_element_set_state):
27255         * gst/gstelement.h:
27256         * gst/gstmessage.c: (gst_message_parse_error),
27257         (gst_message_parse_warning):
27258         Keep track of current target state while performing a state
27259         change so that subclasses can do something interesting.
27260         Fix parsing of warning/error messages when GError is NULL.
27261
27262 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
27263
27264         * docs/gst/Makefile.am:
27265         * docs/gst/gstreamer-docs.sgml:
27266         * docs/gst/gstreamer-sections.txt:
27267         * docs/gst/gstreamer.types:
27268         * docs/gst/tmpl/gstbasesink.sgml:
27269         * docs/gst/tmpl/gstbasesrc.sgml:
27270         * docs/gst/tmpl/gstbin.sgml:
27271         * docs/gst/tmpl/gstcompat.sgml:
27272         * docs/gst/tmpl/gstfakesink.sgml:
27273         * docs/gst/tmpl/gstfakesrc.sgml:
27274         * docs/gst/tmpl/gstfilesink.sgml:
27275         * docs/gst/tmpl/gstfilesrc.sgml:
27276         * docs/gst/tmpl/gstindex.sgml:
27277         * docs/manual/appendix-quotes.xml:
27278         * gst/base/gstbasesrc.h:
27279         * gst/elements/gstfakesrc.h:
27280         * gst/gstmessage.h:
27281           start pulling in base classes and elements in our docs
27282
27283 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
27284
27285         * docs/gst/Makefile.am:
27286         * docs/libs/Makefile.am:
27287           fixed make distcheck with gtk-doc 1.3
27288
27289 2005-06-23  Wim Taymans  <wim@fluendo.com>
27290
27291         * gst/gstelement.c: (gst_element_get_state_func),
27292         (gst_element_set_state), (gst_element_change_state):
27293         When the state did not change, also report NO_PREROLL
27294         when it matters.
27295
27296 2005-06-23  Wim Taymans  <wim@fluendo.com>
27297
27298         * gst/gstpad.c: (gst_pad_event_default):
27299         * gst/gstqueue.c: (gst_queue_loop):
27300         No unsafe task pausing please.
27301
27302 2005-06-23  Wim Taymans  <wim@fluendo.com>
27303
27304         * gst/schedulers/threadscheduler.c:
27305         (gst_thread_scheduler_task_start),
27306         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
27307         Ref the task before pushing it on the threadpool. This
27308         makes sure that we have a ref when the threadfunction is
27309         actually called.
27310
27311 2005-06-23  Andy Wingo  <wingo@pobox.com>
27312
27313         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
27314         offset is greater than the file's size.
27315
27316         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
27317         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27318         * gst/gstobject.c (gst_object_class_init): Make the class lock
27319         recursive. Wim won't let me drop deep_notify. Decodebin works
27320         again, whoopdy doo.
27321
27322         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27323         internal pad, and hacks accordingly. Doesn't do it on the target
27324         pad because we change its caps. Probably catches all cases of
27325         interest tho.
27326         (gst_ghost_pad_set_property): Connect to notify::caps as
27327         appropritate.
27328
27329         * tests/network-clock.scm (plot-simulation): Pipe data to the
27330         elite python skript.
27331
27332         * tests/network-clock-utils.scm (define-parameter): New macro,
27333         defines a parameter that can be set via the command line.
27334         (set-parameter!, parse-parameter-arguments): Command line args
27335         parser.
27336
27337         * tests/plot-data: Simple matplotlib-based plotter, takes input on
27338         stdin.
27339
27340 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
27341
27342         * gst/elements/gsttypefindelement.c:
27343         (gst_type_find_element_handle_event):
27344           Don't restart typefinding on a discont.
27345         * gst/gstelement.c: (gst_element_set_state):
27346           Debug spelling fix.
27347         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27348           Allow changing mode of an active pad.
27349           Debug output fixes.
27350         * gst/registries/gstlibxmlregistry.c: (load_feature):
27351           Don't cast a static pad template to a normal pad template.
27352
27353 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
27354
27355         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27356         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27357           remove gst_strtoll completely, since it didn't actually do
27358           anything more than what g_ascii_strtoull already does.
27359           check for range errors when deserializing
27360           do a cast for the unsigned cases; but further fixing needs
27361           a decision on what the interpretation of "(int)" and
27362           deserialization should be for values that fall outside the
27363           type's boundaries (ie, refuse, or interpret as casting)
27364
27365 2005-06-23  Wim Taymans  <wim@fluendo.com>
27366
27367         * check/Makefile.am:
27368         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27369         * docs/design/part-live-source.txt:
27370         * docs/design/part-states.txt:
27371         * gst/base/gstbasesrc.c: (gst_basesrc_init),
27372         (gst_basesrc_set_live), (gst_basesrc_is_live),
27373         (gst_basesrc_get_range), (gst_basesrc_activate),
27374         (gst_basesrc_change_state):
27375         * gst/base/gstbasesrc.h:
27376         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27377         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27378         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27379         * gst/gstelement.c: (gst_element_get_state_func),
27380         (gst_element_set_state):
27381         * gst/gstelement.h:
27382         * gst/gsttypes.h:
27383         * tools/gst-launch.c: (event_loop), (main):
27384         Added support for live sources and other elements that
27385         cannot do preroll.
27386         Updated design docs, added live-source design doc.
27387         Implemented live source functionality in basesrc
27388         Fix error condition in _bin_get_state()
27389         Implement live source handling in -launch.
27390         Added check for live sources.
27391         Fixed case in GstBin where elements were changed state
27392         multiple times.
27393
27394
27395 2005-06-23  Andy Wingo  <wingo@pobox.com>
27396
27397         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27398         borken refcounting.
27399
27400         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27401         gst_caps_replace takes care of this for us.
27402
27403         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27404         gst_pad_set_caps on the target, not just its setcaps() function.
27405
27406         * tests/network-clock.scm: 
27407         * tests/network-clock-utils.scm: A network clock simulator.
27408         Something of an algorithmic testbed before doing something in C.
27409
27410 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27411
27412         * check/Makefile.am:
27413         * check/gst/capslist.h:
27414           copy over from 0.8, and add two with bitmasks specified with
27415           (int) 0xFF...
27416         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27417           add test to parse everything from capslist.h
27418         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27419         (main):
27420           add test for structure deserialization
27421         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27422           add tests for deserialization of strings to int types
27423         * gst/gststructure.c: (gst_structure_nth_field_name):
27424         * gst/gststructure.h:
27425           add a way to get the name of a field referenced by index
27426         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27427           instead of checking if the resulting long long lies between
27428           min and max, we check if the long long would fit into
27429           a number of bytes for the final type.
27430           This fixes cases where a string represents 2^32 - 1, which
27431           when cast to int would be the (valid) -1, but is bigger than
27432           G_MAXINT
27433
27434 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27435
27436         * gst/parse/grammar.y:
27437           add a log line for type deserialization
27438
27439 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27440
27441         * check/gst/gstvalue.c: (START_TEST):
27442         * gst/gstvalue.c: (gst_value_deserialize):
27443           return long long, not int, so gint64 deserialization actually
27444           works.  Is there any flag that makes the compiler check this ?
27445           Fixes #308559
27446
27447 2005-06-22  Wim Taymans  <wim@fluendo.com>
27448
27449         * gst/gstbuffer.h:
27450         Added convenience macros for setting buffers in GValue.
27451
27452 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27453
27454         * check/gst/.cvsignore:
27455         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27456           add a test deserializing int64, and comment part out because
27457           it fails, yay !
27458
27459 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27460
27461         * check/Makefile.am:
27462         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27463         * testsuite/Makefile.am:
27464         * testsuite/caps/Makefile.am:
27465         * testsuite/caps/value_serialize.c:
27466         * testsuite/test_gst_init.c:
27467           move a value_serialize test over
27468
27469 2005-06-20  Wim Taymans  <wim@fluendo.com>
27470
27471         * gst/gstpad.c:
27472         Small doc updates.
27473         
27474         * gst/gstvalue.c: (gst_value_compare_buffer),
27475         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27476         (gst_value_compare_flags), (gst_value_serialize_flags),
27477         (gst_value_deserialize_flags), (_gst_value_initialize):
27478         Fix serialisation of buffers, they are not boxed types anymore
27479
27480 2005-06-20  Wim Taymans  <wim@fluendo.com>
27481
27482         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27483         Testcase to show error in buffer-on-caps serialisation.
27484
27485 2005-06-20  Andy Wingo  <wingo@pobox.com>
27486
27487         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27488         will be adding to later.
27489
27490         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27491         if its socks fill with rocks.
27492         (gst_system_clock_obtain): Set the name on object construction.
27493         Avoid double-checked locking.
27494
27495 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
27496
27497         * gst/gsturi.c: (gst_element_make_from_uri):
27498           Fix potential endless loop.
27499
27500 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27501
27502         * check/Makefile.am:
27503           add gsttag
27504         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27505         (main):
27506           move over from testsuite dir and clean up
27507         * configure.ac:
27508         * gst/gsttag.c:
27509         * testsuite/Makefile.am:
27510         * testsuite/tags/.cvsignore:
27511         * testsuite/tags/Makefile.am:
27512         * testsuite/tags/merge.c:
27513           remove testsuite/tags
27514
27515 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27516
27517         * docs/gst/gstreamer-sections.txt:
27518         * docs/gst/tmpl/gstenumtypes.sgml:
27519         * win32/gstenumtypes.c:
27520           clean up documentation build a little
27521
27522 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27523
27524         * check/gstcheck.h:
27525           add macros for checking refcounts on objects and caps
27526         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27527           add some more unit tests
27528         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27529         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27530           fix leaked refcounts (I hope :)) so unittest works
27531         * gst/gstpad.h:
27532           whitespace removal
27533
27534 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27535
27536         * configure.ac: back to HEAD
27537
27538 === release 0.9.1 ===
27539
27540 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
27541
27542         * NEWS:
27543         * RELEASE:
27544           updated
27545
27546 2005-06-17  Andy Wingo  <wingo@pobox.com>
27547
27548         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27549         assert; it's always possible that the pad gets deactivated in
27550         between the checks in gstpad.c and the implementation. Rely on
27551         finish_preroll() to return a FLUSHING or similar instead of on the
27552         assert.
27553         
27554         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27555         clock and post an EOS message if we come out of finish_preroll in
27556         the playing state.
27557
27558 2005-06-16  David Schleef  <ds@schleef.org>
27559
27560         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27561         (gst_capsfilter_set_property): Allow NULL as possible value
27562         for filter_caps property, indicating GST_CAPS_ANY.
27563
27564 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27565
27566         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
27567           fix debug output
27568         * gst/schedulers/Makefile.am:
27569           use libgst prefix
27570         * gstreamer.spec.in:
27571           fix spec for it
27572
27573 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27574
27575         * gstreamer.spec.in:
27576           clean up
27577
27578 2005-06-08  Andy Wingo  <wingo@pobox.com>
27579
27580         * gst/gstutils.c: RPAD fixes all around.
27581         (gst_element_link_pads): Refcounting fixes.
27582
27583         * tools/gst-inspect.c:
27584         * tools/gst-xmlinspect.c:
27585         * parse/grammar.y:
27586         * gst/base/gsttypefindhelper.c:
27587         * gst/base/gstbasesink.c:
27588         * gst/gstqueue.c: RPAD fixes.
27589
27590         * gst/gstghostpad.h:
27591         * gst/gstghostpad.c: New ghost pad implementation as full proxy
27592         pads. The tricky thing is they provide both source and sink
27593         interfaces, since they proxy the internal pad for the external
27594         pad, and vice versa. Implement with lower-level ProxyPad objects,
27595         with the interior proxy pad as a child of the exterior ghost pad.
27596         Should write a doc on this.
27597         
27598         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
27599         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
27600         gst_object API.
27601         
27602         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
27603         pads are real pads. No ghost pads in this file. Not documenting
27604         the myriad s/RPAD/PAD/ and REALIZE fixes.
27605         (gst_pad_class_init): Add properties for "direction" and
27606         "template". Both are construct-only, so they can't change during
27607         the life of the pad. Fixes properly deriving from GstPad.
27608         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
27609         derived objects, just set properties when creating the objects via
27610         g_object_new.
27611         (gst_pad_get_parent): Implement as a function, return NULL if the
27612         parent is not an element.
27613         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
27614         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
27615         
27616         * gst/gstobject.c (gst_object_class_init): Make name a construct
27617         property. Don't set it in the object init.
27618
27619         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
27620         with UNKNOWN direction.
27621         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
27622         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
27623         (gst_element_remove_pad): Remove ghost-pad special cases.
27624         (gst_element_pads_activate): Remove rpad cruft.
27625
27626         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
27627         catch the pad's-parent-not-an-element case.
27628
27629         * gst/gst.h: Include gstghostpad.h.
27630
27631         * gst/gst.c (init_post): No more real, ghost pads.
27632
27633         * gst/Makefile.am: Add gstghostpad.[ch].
27634
27635         * check/Makefile.am:
27636         * check/gst/gstbin.c:
27637         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
27638         into a bin creates ghost pads, and that the refcounts are right.
27639         Partly moved from gstbin.c.
27640
27641 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27642
27643         * check/gst-libs/.cvsignore:
27644         * check/gst/.cvsignore:
27645         * check/pipelines/.cvsignore:
27646           ignore more
27647         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
27648         (START_TEST), (cleanup_suite), (main):
27649           add some tests related to cleanup after running pipelines
27650
27651 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27652
27653         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
27654           add a testsuite for GstBuffer
27655
27656 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27657
27658         * gst/gstminiobject.h:
27659           add defines for accessing the refcount
27660
27661 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
27662
27663         * Makefile.am: added support for html unit test coverage reports
27664
27665 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
27666
27667         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27668           Free existing caps if the capsfilter changes. Add a FIXME about
27669           setting those caps on the pads.
27670
27671         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
27672           Before adding a ghost pad to a parent bin, check that there isn't
27673           already one for the element on the bin. Prevents infinite recursion
27674           when using decodebin in parse pipelines. Andy says he'll rewrite the
27675           way this works anyway, so ignore the hack.
27676
27677 2005-06-02  Andy Wingo  <wingo@pobox.com>
27678
27679         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
27680         file size, pass it on to the type find helper.
27681
27682         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
27683         segment_start and segment_end properly according to the seek
27684         method. Segment_end is still a bit flaky because offset can be
27685         negative for CUR and END cases, but it takes -1 as an "unset"
27686         value.
27687
27688 2005-06-02  Wim Taymans  <wim@fluendo.com>
27689
27690         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
27691         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
27692         (gst_basesink_activate):
27693         * gst/base/gstbasesink.h:
27694         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27695         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27696         (gst_pad_query), (gst_pad_start_task):
27697         * gst/gstpad.h:
27698         * gst/gstqueue.c: (gst_queue_bufferalloc),
27699         (gst_queue_handle_sink_event), (gst_queue_chain):
27700         Bufferalloc: return GstFlowReturn to more accuratly report
27701         why allocation failed.
27702
27703 2005-06-02  Wim Taymans  <wim@fluendo.com>
27704
27705         * gst/gstpipeline.c: (gst_pipeline_send_event):
27706         Take snapshot of state without blocking.
27707
27708 2005-06-02  Wim Taymans  <wim@fluendo.com>
27709
27710         * docs/design/part-TODO.txt:
27711         * docs/design/part-caps.txt:
27712         * docs/design/part-clocks.txt:
27713         * docs/design/part-negotiation.txt:
27714         * docs/design/part-preroll.txt:
27715         Small doc updates 
27716
27717 2005-05-30  Wim Taymans  <wim@fluendo.com>
27718
27719         * gst/elements/gstidentity.c: (gst_identity_event),
27720         (gst_identity_transform), (gst_identity_get_property):
27721         Protect last_message property as it is accessed from
27722         multiple threads.
27723
27724 2005-05-30  Wim Taymans  <wim@fluendo.com>
27725
27726         * gst/gstelement.c: (gst_element_init),
27727         (gst_element_pads_activate), (gst_element_change_state):
27728         Slicker pad activation code.
27729
27730 2005-05-30  Wim Taymans  <wim@fluendo.com>
27731
27732         * gst/Makefile.am:
27733         * gst/gstelement.h:
27734         * gst/gstelementfactory.h:
27735         * gst/gsttypes.h:
27736         Move elementfactory methods to separate .h file.
27737
27738 2005-05-30  Wim Taymans  <wim@fluendo.com>
27739
27740         * docs/design/part-overview.txt:
27741         * gst/gstsystemclock.h:
27742         Small typo fixes, doc updates.
27743
27744 2005-05-30  Wim Taymans  <wim@fluendo.com>
27745
27746         * gst/gst.c: (gst_init_get_popt_table), (init_post),
27747         (init_popt_callback):
27748         Remove cpu-opt flag.
27749
27750 2005-05-30  Wim Taymans  <wim@fluendo.com>
27751
27752         * gst/gstbuffer.c: (gst_subbuffer_finalize),
27753         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
27754         * gst/gstbuffer.h:
27755         Avoid typechecking in places where not needed.
27756         Added accessor for malloc_data.
27757
27758 2005-05-30  Wim Taymans  <wim@fluendo.com>
27759
27760         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
27761         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
27762         (gst_pad_configure_sink), (gst_pad_configure_src),
27763         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
27764         (gst_pad_start_task):
27765         Propagate errors from _set_caps() in configure_src/sink
27766         functions instead of returning TRUE.
27767         FLUSH events can travel up and downstream
27768
27769
27770 2005-05-30  Wim Taymans  <wim@fluendo.com>
27771
27772         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27773         (gst_basesink_activate):
27774         Handle EOS in preroll.
27775
27776 2005-05-30  Wim Taymans  <wim@fluendo.com>
27777
27778         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27779         (gst_queue_loop), (gst_queue_handle_src_event):
27780         Remove old pieces of code
27781         Flushing the queue in an upstream event is a very bad idea.
27782
27783 2005-05-26  Andy Wingo  <wingo@pobox.com>
27784
27785         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
27786         gst_value_set_mini_object so as to add a ref on the object (which
27787         will be removed when the value is unset).
27788
27789         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
27790         arg type in ::handoff.
27791
27792         * gst/gstelement.c (gst_element_change_state): Also deactivate
27793         pads in READY->NULL, just in case the element didn't make it to
27794         PAUSED. Wingo tested, Wim approved.
27795
27796 2005-05-26  Wim Taymans  <wim@fluendo.com>
27797
27798         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27799         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27800         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
27801         A flushing pad cannot be used to alloc_buffer from.
27802
27803 2005-05-26  Wim Taymans  <wim@fluendo.com>
27804
27805         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
27806         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
27807         (gst_bus_source_dispatch), (gst_bus_source_finalize),
27808         (gst_bus_create_watch), (gst_bus_add_watch_full):
27809         * gst/gstbus.h:
27810         Implement a real GSource and use g_main_context_wakeup() to
27811         signal new messages instead of the socketpair.
27812
27813 2005-05-25  Wim Taymans  <wim@fluendo.com>
27814
27815         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
27816         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
27817         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27818         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27819         (gst_pad_send_event), (gst_pad_start_task):
27820         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
27821         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27822         (gst_queue_sink_activate), (gst_queue_src_activate),
27823         (gst_queue_change_state):
27824         * gst/gstqueue.h:
27825         Fix state changes for non sinks. We now change sinks, then elements
27826         with unconnected srcpads, then the rest.
27827         More efficient queue unlocking in flush and state changes.
27828         Set the pad activate mode even if it does not have an activate
27829         function.
27830
27831 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27832
27833         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
27834           Don't go in pull mode for non-seekable sources.
27835         * gst/elements/gsttypefindelement.h:
27836         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
27837         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
27838         (free_entry), (stop_typefinding),
27839         (gst_type_find_element_handle_event), (find_peek),
27840         (gst_type_find_element_chain), (do_pull_typefind),
27841         (gst_type_find_element_change_state):
27842           Allow typefinding (w/o seeking) in push-mode, simplified version
27843           of what was in 0.8.
27844         * gst/gstutils.c: (gst_buffer_join):
27845         * gst/gstutils.h:
27846           gst_buffer_join() from 0.8.
27847
27848 2005-05-25  Wim Taymans  <wim@fluendo.com>
27849
27850         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27851         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27852         (gst_pad_send_event), (gst_pad_start_task):
27853         Disable attempt at mode switching until it is figured out.
27854
27855 2005-05-25  Wim Taymans  <wim@fluendo.com>
27856
27857         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
27858         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27859         (gst_basesink_finish_preroll), (gst_basesink_chain),
27860         (gst_basesink_loop), (gst_basesink_activate),
27861         (gst_basesink_change_state):
27862         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
27863         (gst_basesrc_get_range), (gst_basesrc_loop),
27864         (gst_basesrc_activate):
27865         * gst/elements/gsttee.c: (gst_tee_sink_activate):
27866         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27867         (gst_real_pad_init), (gst_real_pad_set_property),
27868         (gst_real_pad_get_property), (gst_pad_set_active),
27869         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
27870         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
27871         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
27872         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
27873         (gst_pad_event_default_dispatch), (gst_pad_event_default),
27874         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
27875         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
27876         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27877         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
27878         (gst_pad_stop_task):
27879         * gst/gstpad.h:
27880         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27881         (gst_queue_loop), (gst_queue_src_activate):
27882         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
27883         (gst_task_get_state):
27884         * gst/gsttask.h:
27885         * gst/schedulers/threadscheduler.c:
27886         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
27887         Implement gst_pad_pause/start/stop_task(), take STREAM lock
27888         in task function.
27889         Remove ACTIVE pad flag, use FLUSHING everywhere
27890         Added _pad_chain(), _pad_get_range() to call chain/getrange 
27891         functions.
27892         Add locks around IS_FLUSHING when reading.
27893         Take STREAM lock in chain(), get_range() functions so plugins
27894         don't need to take it anymore.
27895         
27896
27897
27898 2005-05-25  Wim Taymans  <wim@fluendo.com>
27899
27900         * tools/gst-launch.c: (event_loop):
27901         Unref message after using its contents instead of
27902         before.
27903
27904 2005-05-24  Wim Taymans  <wim@fluendo.com>
27905
27906         * docs/design/draft-ghostpads.txt:
27907         * docs/design/draft-push-pull.txt:
27908         * docs/design/draft-query.txt:
27909         * docs/design/part-overview.txt:
27910         Docs updates, added general overview doc.
27911
27912 2005-05-21  David Schleef  <ds@schleef.org>
27913
27914         * docs/gst/tmpl/old/GstBin.sgml:
27915         * docs/gst/tmpl/old/GstBuffer.sgml:
27916         * docs/gst/tmpl/old/GstCaps.sgml:
27917         * docs/gst/tmpl/old/GstClock.sgml:
27918         * docs/gst/tmpl/old/GstCompat.sgml:
27919         * docs/gst/tmpl/old/GstData.sgml:
27920         * docs/gst/tmpl/old/GstElement.sgml:
27921         * docs/gst/tmpl/old/GstEvent.sgml:
27922         * docs/gst/tmpl/old/GstIndex.sgml:
27923         * docs/gst/tmpl/old/GstStructure.sgml:
27924         * docs/gst/tmpl/old/GstTag.sgml:
27925         * docs/gst/tmpl/old/cothreads.sgml:
27926         * docs/gst/tmpl/old/cothreads_compat.sgml:
27927         * docs/gst/tmpl/old/gettext.sgml:
27928         * docs/gst/tmpl/old/gobject2gtk.sgml:
27929         * docs/gst/tmpl/old/grammar.tab.sgml:
27930         * docs/gst/tmpl/old/gst-i18n-app.sgml:
27931         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
27932         * docs/gst/tmpl/old/gst_private.sgml:
27933         * docs/gst/tmpl/old/gstaggregator.sgml:
27934         * docs/gst/tmpl/old/gstarch.sgml:
27935         * docs/gst/tmpl/old/gstatomic_impl.sgml:
27936         * docs/gst/tmpl/old/gstbufferstore.sgml:
27937         * docs/gst/tmpl/old/gstdata_private.sgml:
27938         * docs/gst/tmpl/old/gstdisksink.sgml:
27939         * docs/gst/tmpl/old/gstdisksrc.sgml:
27940         * docs/gst/tmpl/old/gstelementfactory.sgml:
27941         * docs/gst/tmpl/old/gstextratypes.sgml:
27942         * docs/gst/tmpl/old/gstfakesink.sgml:
27943         * docs/gst/tmpl/old/gstfakesrc.sgml:
27944         * docs/gst/tmpl/old/gstfdsink.sgml:
27945         * docs/gst/tmpl/old/gstfdsrc.sgml:
27946         * docs/gst/tmpl/old/gstfilesink.sgml:
27947         * docs/gst/tmpl/old/gstfilesrc.sgml:
27948         * docs/gst/tmpl/old/gsthttpsrc.sgml:
27949         * docs/gst/tmpl/old/gstidentity.sgml:
27950         * docs/gst/tmpl/old/gstindexfactory.sgml:
27951         * docs/gst/tmpl/old/gstmarshal.sgml:
27952         * docs/gst/tmpl/old/gstmd5sink.sgml:
27953         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
27954         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
27955         * docs/gst/tmpl/old/gstpadtemplate.sgml:
27956         * docs/gst/tmpl/old/gstpipefilter.sgml:
27957         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
27958         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
27959         * docs/gst/tmpl/old/gstshaper.sgml:
27960         * docs/gst/tmpl/old/gstspider.sgml:
27961         * docs/gst/tmpl/old/gstspideridentity.sgml:
27962         * docs/gst/tmpl/old/gststatistics.sgml:
27963         * docs/gst/tmpl/old/gsttee.sgml:
27964         * docs/gst/tmpl/old/gsttimecache.sgml:
27965         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
27966         * docs/gst/tmpl/old/gstxmlregistry.sgml:
27967         * docs/gst/tmpl/old/gthread-cothreads.sgml:
27968         * docs/gst/tmpl/old/types.sgml:
27969           I didn't intend to add these or check them in.
27970
27971 2005-05-19  David Schleef  <ds@schleef.org>
27972
27973         * configure.ac: Use -no-common everywhere.  In a sane world, it
27974           would be the default in libtool, because without it, you can't
27975           build DLLs on Windows.
27976         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
27977         * docs/gst/gstreamer-sections.txt:
27978         * docs/gst/tmpl/gstcpu.sgml:
27979         * docs/gst/tmpl/gstdata.sgml:
27980         * docs/gst/tmpl/gstthread.sgml:
27981
27982 2005-05-19  David Schleef  <ds@schleef.org>
27983
27984         * gst/gstminiobject.c: (gst_value_set_mini_object),
27985         (gst_value_take_mini_object), (gst_value_get_mini_object):
27986         * gst/gstminiobject.h: Add GValue set/get functions.
27987
27988 2005-05-19  Wim Taymans  <wim@fluendo.com>
27989
27990         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
27991         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
27992         (gst_subbuffer_init), (gst_buffer_is_span_fast):
27993         * gst/gstbuffer.h:
27994         * gst/gstbus.c: (gst_bus_post):
27995         * gst/gstelement.c: (gst_element_get_random_pad):
27996         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
27997         Make subbufer unref the parent in finalize.
27998         some more debugging info.
27999
28000
28001 2005-05-19  Wim Taymans  <wim@fluendo.com>
28002
28003         * gst/base/gstbasesink.c: (gst_basesink_class_init),
28004         (gst_basesink_init), (gst_basesink_finalize),
28005         (gst_basesink_activate), (gst_basesink_change_state):
28006         Don't free preroll queue too early.
28007
28008 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28009
28010         * gst/Makefile.am:
28011         * gst/ROADMAP:
28012           Hi, I'm outdated. Please shoot me.
28013
28014 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28015
28016         * gst/gstpipeline.c: (gst_pipeline_send_event):
28017           Do not access variables after they have been deleted.
28018
28019 2005-05-19  Wim Taymans  <wim@fluendo.com>
28020
28021         * tools/gst-inspect.c: (print_plugin_features):
28022         A plugin feature does unfortunatly not use the
28023         object name yet...
28024
28025 2005-05-18  Wim Taymans  <wim@fluendo.com>
28026
28027         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
28028         Port _span() functions to new subbuffers.
28029
28030 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28031
28032         * gst/gstbin.c: (gst_bin_add_func):
28033           Fix clock settery in bins when adding kids after the clock has
28034           been selected.
28035
28036 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28037
28038         * gst/elements/gstidentity.c: (gst_identity_class_init):
28039           Workaround until signals support GstMiniObject.
28040
28041 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
28042
28043         * gst/gstbuffer.c:
28044         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
28045
28046 2005-05-18  Wim Taymans  <wim@fluendo.com>
28047
28048         * gst/base/Makefile.am:
28049         * gst/base/gstadapter.c: (gst_adapter_base_init),
28050         (gst_adapter_class_init), (gst_adapter_init),
28051         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
28052         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
28053         (gst_adapter_flush), (gst_adapter_available),
28054         (gst_adapter_available_fast):
28055         * gst/base/gstadapter.h:
28056         Ported and added adapter to the base classes.
28057
28058 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
28059
28060         * gst/gst.c:
28061         * gst/gstmessage.c:
28062           Make sure the class is reffed/unreffed once before threads can be
28063           used.  Fixes #304551.
28064
28065 2005-05-17  Wim Taymans  <wim@fluendo.com>
28066
28067         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
28068         (gst_basesink_chain_unlocked), (gst_basesink_activate):
28069         * gst/gstminiobject.c: (gst_mini_object_get_type),
28070         (gst_mini_object_free):
28071         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
28072         (gst_pad_push), (gst_pad_push_event):
28073         * gst/gstqueue.c: (gst_queue_change_state):
28074         Don't queue buffers in basesink when we are flushing.
28075         Unref buffer when flushing in basesink.
28076         Flush queue when going to READY
28077         Unref buffer when _push() returns an error.
28078         Don't free MiniObject instance when refcount is incremented
28079         in _finalize() so that we can recover objects.
28080
28081 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
28082
28083         * docs/manual/advanced-schedulers.xml:
28084         * docs/manual/appendix-checklist.xml:
28085         * docs/pwg/advanced-clock.xml:
28086         * docs/pwg/advanced-interfaces.xml:
28087         * docs/pwg/advanced-request.xml:
28088         * docs/pwg/advanced-types.xml:
28089         * docs/pwg/intro-preface.xml:
28090         * examples/plugins/example.c: (gst_example_get_type),
28091         (gst_example_class_init), (gst_example_chain),
28092         (gst_example_set_property), (gst_example_get_property),
28093         (gst_example_change_state), (plugin_init):
28094         * examples/plugins/example.h:
28095           small doc fixes
28096
28097 2005-05-17  Wim Taymans  <wim@fluendo.com>
28098
28099         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
28100         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
28101         * gst/gstqueue.c: (gst_queue_change_state):
28102         Clear queue when going to READY.
28103         Remove IN_SETCAPS flag too.
28104
28105 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
28106
28107         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
28108           Remove implicit cast from gboolean to GstElementStateReturn;
28109           make sure we still return failure in paused => ready case if
28110           the parent class fails to change state and our own stop 
28111           vfunc succeeds.
28112
28113 2005-05-17  Wim Taymans  <wim@fluendo.com>
28114
28115         * tools/gst-launch.c: (event_loop):
28116         Message was unreffed too soon.
28117
28118 2005-05-16  Andy Wingo  <wingo@pobox.com>
28119
28120         * gst/gstbin.c (sink_iterator_filter): Err... um...
28121
28122         * check/gst/gstbin.c (test_ghost_pads): New test for the
28123         ghosting-if-elements-not-in-same-bin behavior.
28124
28125 2005-05-16  David Schleef  <ds@schleef.org>
28126
28127         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
28128         accessing refcount directly.
28129
28130 2005-05-15  David Schleef  <ds@schleef.org>
28131
28132         * check/Makefile.am: remove GstData checks
28133         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
28134         * gst/Makefile.am: add miniobject, remove data
28135         * gst/gst.h: add miniobject, remove data
28136         * gst/gstdata.c: remove
28137         * gst/gstdata.h: remove
28138         * gst/gstdata_private.h: remove
28139         * gst/gsttypes.h: remove GstEvent and GstMessage
28140         * gst/gstelement.c: (gst_element_post_message): fix for API changes
28141         * gst/gstmarshal.list: change BOXED -> OBJECT
28142
28143         Implement GstMiniObject.
28144         * gst/gstminiobject.c:
28145         * gst/gstminiobject.h:
28146
28147         Modify to be subclasses of GstMiniObject.
28148         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
28149         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
28150         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
28151         (gst_subbuffer_get_type), (gst_subbuffer_init),
28152         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
28153         (gst_buffer_span):
28154         * gst/gstbuffer.h:
28155         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
28156         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
28157         (_gst_event_copy), (gst_event_new):
28158         * gst/gstevent.h:
28159         * gst/gstmessage.c: (_gst_message_initialize),
28160         (gst_message_get_type), (gst_message_class_init),
28161         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
28162         (gst_message_new), (gst_message_new_error),
28163         (gst_message_new_warning), (gst_message_new_tag),
28164         (gst_message_new_state_changed), (gst_message_new_application):
28165         * gst/gstmessage.h:
28166         * gst/gstprobe.c: (gst_probe_perform),
28167         (gst_probe_dispatcher_dispatch):
28168         * gst/gstprobe.h:
28169         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
28170         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
28171         (_gst_query_copy), (gst_query_new):
28172
28173         Update elements for GstData -> GstMiniObject changes
28174         * gst/gstquery.h:
28175         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
28176         (gst_queue_chain), (gst_queue_loop):
28177         * gst/elements/gstbufferstore.c:
28178         (gst_buffer_store_add_buffer_func),
28179         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
28180         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28181         (gst_fakesink_render):
28182         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
28183         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
28184         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
28185         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
28186         (gst_filesrc_create_read):
28187         * gst/elements/gstidentity.c: (gst_identity_class_init):
28188         * gst/elements/gsttypefindelement.c:
28189         (gst_type_find_element_src_event), (free_entry_buffers),
28190         (gst_type_find_element_handle_event):
28191         * libs/gst/dataprotocol/dataprotocol.c:
28192         (gst_dp_header_from_buffer):
28193         * libs/gst/dataprotocol/dataprotocol.h:
28194         * libs/gst/dataprotocol/dp-private.h:
28195
28196 2005-05-15  David Schleef  <ds@schleef.org>
28197
28198         * gst/elements/gstelements.c: Don't include headers that were
28199         just removed.
28200
28201 2005-05-15  David Schleef  <ds@schleef.org>
28202
28203         * gst/elements/Makefile.am: Remove some elements that don't
28204         need to be in the core (or even exist at all).
28205         * gst/elements/gstaggregator.c:
28206         * gst/elements/gstaggregator.h:
28207         * gst/elements/gstmd5sink.c:
28208         * gst/elements/gstmd5sink.h:
28209         * gst/elements/gstmultifilesrc.c:
28210         * gst/elements/gstmultifilesrc.h:
28211         * gst/elements/gstpipefilter.c:
28212         * gst/elements/gstpipefilter.h:
28213         * gst/elements/gstshaper.c:
28214         * gst/elements/gstshaper.h:
28215         * gst/elements/gststatistics.c:
28216         * gst/elements/gststatistics.h:
28217         * po/POTFILES.in: Remove above files.
28218
28219 2005-05-14  Andy Wingo  <wingo@pobox.com>
28220
28221         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
28222         so as to get the refs right.
28223         (sink_iterator_filter): New function, wraps bin_element_is_sink,
28224         unreffing objects that don't pass the filter.
28225
28226         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
28227         gst_element_set_bus.
28228         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
28229         normal cases, this will destroy the bus.
28230
28231         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
28232         object.
28233
28234         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
28235         has no sinks.
28236
28237 2005-05-13  Andy Wingo  <wingo@pobox.com>
28238
28239         * gst/gstutils.c (gst_element_link_pads): Instead of calling
28240         gst_pad_link, call pad_link_maybe_ghosting,
28241         (pad_link_maybe_ghosting): Links pads, making sure that the
28242         elements being linked are in the same bin.
28243         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
28244         Helpers for pad_link_maybe_ghosting.
28245
28246 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
28247
28248         * configure.ac:
28249           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
28250
28251 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
28252
28253         * docs/design/part-element-source.txt:
28254           Mention GstPushSrc
28255
28256 2005-05-12  Wim Taymans  <wim@fluendo.com>
28257
28258         * gst/base/gstbasesink.c: (gst_basesink_init),
28259         (gst_basesink_activate):
28260         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
28261         (gst_basesrc_is_seekable):
28262         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
28263         (bin_element_is_sink), (gst_bin_change_state):
28264         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28265         * gst/gstelement.h:
28266         Identify sinks by their flag to avoid overly complicated
28267         checks (fow now).
28268         Do state changes even for elements not reachable from the
28269         sinks.
28270         BaseSink is a sink now :)
28271         Some more debugging info in the basesrc.
28272
28273
28274 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28275
28276         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
28277           Implement _query on a bin, similar to _send_event.
28278
28279 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
28280
28281         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
28282           Discont event offset format should be GST_FORMAT_BYTES,
28283           not GST_FORMAT_TIME.
28284
28285 2005-05-12  Wim Taymans  <wim@fluendo.com>
28286
28287         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
28288         Same fix as Ronald's but without the signal. 
28289
28290 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28291
28292         * gst/gstutils.c: (gst_element_query_position):
28293           No, an element is not a pad.
28294
28295 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28296
28297         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
28298         (gst_bin_get_state):
28299           If a child is removed from a bin while we remove the child from
28300           the bin and while we're retrieving its state, signal this to the
28301           get_state function so we abort the wait (instead of waiting for
28302           a timeout) and can immediately re-iterate over all other elements.
28303
28304 2005-05-12  Wim Taymans  <wim@fluendo.com>
28305
28306         * gst/base/Makefile.am:
28307         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
28308         (gst_basesrc_start):
28309         * gst/base/gstbasesrc.h:
28310         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
28311         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
28312         (gst_pushsrc_init), (gst_pushsrc_create):
28313         * gst/base/gstpushsrc.h:
28314         Added is_seekable to BaseSrc
28315         Added simple PushSrc.
28316
28317 2005-05-11  Wim Taymans  <wim@fluendo.com>
28318
28319         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28320         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28321         (gst_element_link_pads), (gst_element_query_position),
28322         (gst_element_query_convert), (intersect_caps_func),
28323         (gst_pad_query_position), (gst_pad_query_convert):
28324         Fix refcounting in utils function.
28325         No point in trying to activate a pad when it's added, it could
28326         be added from the state change function and then we deadlock, the
28327         element has to decide what to do.
28328
28329 2005-05-10  Andy Wingo  <wingo@pobox.com>
28330
28331         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28332         *all* the arguments.
28333
28334         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28335         stream lock if it's a FLUSH_DONE; normal flushes don't get the
28336         lock (according to the docs -- if this is wrong change the docs).
28337
28338         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28339         flush messages in the NULL state.
28340
28341         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28342         message immediately and return.
28343         (gst_bus_set_flushing): New function. If a bus is flushing, it
28344         flushes out any queued messages and immediately unrefs new
28345         messages. This is so when an element goes to NULL, all of the
28346         unhandled messages coming from it can be freed, and their
28347         references to the element dropped. In other words: message source
28348         ref considered harmful :P
28349
28350         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28351         we're finished with it.
28352
28353         * gst/gstmessage.c (gst_message_new_state_changed): 
28354
28355 2005-05-10  Wim Taymans  <wim@fluendo.com>
28356
28357         * gst/gstvalue.c: (gst_value_compare_flags),
28358         (gst_value_serialize_flags), (gst_value_deserialize_flags),
28359         (_gst_value_initialize):
28360         Added flags serialize/deserialize/compare code.
28361
28362 2005-05-09  Andy Wingo  <wingo@pobox.com>
28363
28364         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28365         Intersect the peer's caps with our caps.
28366
28367 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28368
28369         * gst/base/gsttypefindhelper.c: (helper_find_peek):
28370         * gst/elements/gsttypefindelement.c: (find_peek):
28371           Handle negative offsets better. Fixes decodebin.
28372
28373 2005-05-09  Wim Taymans  <wim@fluendo.com>
28374
28375         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28376         (gst_base_transform_event):
28377         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28378         Implement accept_caps.
28379         Fix silly lock/unlock mismatch in base class.
28380
28381 2005-05-09  Wim Taymans  <wim@fluendo.com>
28382
28383         * docs/design/draft-push-pull.txt:
28384         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28385         * gst/elements/gstfilesink.c: (gst_filesink_init),
28386         (gst_filesink_query):
28387         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28388         (gst_type_find_handle_src_query), (find_element_get_length):
28389         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28390         * gst/gstelement.h:
28391         * gst/gstmessage.c:
28392         * gst/gstmessage.h:
28393         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28394         (gst_real_pad_get_caps_unlocked),
28395         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28396         (gst_pad_event_default_dispatch), (gst_pad_event_default),
28397         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28398         (gst_real_pad_dispose), (gst_real_pad_finalize),
28399         (gst_pad_load_and_link), (gst_pad_save_thyself),
28400         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28401         (gst_pad_check_pull_range), (gst_pad_pull_range),
28402         (gst_pad_template_get_type), (gst_pad_template_class_init),
28403         (gst_pad_template_init), (gst_pad_template_dispose),
28404         (name_is_valid), (gst_static_pad_template_get),
28405         (gst_pad_template_new), (gst_static_pad_template_get_caps),
28406         (gst_pad_template_get_caps), (gst_pad_set_element_private),
28407         (gst_pad_get_element_private), (gst_pad_start_task),
28408         (gst_pad_pause_task), (gst_pad_stop_task),
28409         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28410         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28411         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28412         (gst_ghost_pad_new):
28413         * gst/gstpad.h:
28414         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28415         (gst_query_new_position), (gst_query_set_position),
28416         (gst_query_parse_position), (gst_query_new_convert),
28417         (gst_query_set_convert), (gst_query_parse_convert):
28418         * gst/gstquery.h:
28419         * gst/gstqueryutils.c:
28420         * gst/gstqueryutils.h:
28421         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28422         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28423         (gst_queue_handle_src_query):
28424         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28425         (gst_element_query_position), (gst_element_query_convert),
28426         (intersect_caps_func), (gst_pad_query_position),
28427         (gst_pad_query_convert):
28428         * gst/gstutils.h:
28429         * tools/gst-inspect.c: (print_pad_info):
28430         * tools/gst-xmlinspect.c: (print_element_info):
28431         Remove old query functions. Ported old code.
28432         Added position/convert helper functions to gstutils.
28433         Reordered gstpad.c code, grouping relevant things.
28434         Remove gst_message_new(), always need to speficy a specific
28435         message.
28436
28437
28438 2005-05-09  Andy Wingo  <wingo@pobox.com>
28439
28440         * gst/gstiterator.h: Add some includes.
28441
28442         * gst/gstqueryutils.h: Include more headers.
28443
28444         * gst/gstpad.h:
28445         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28446         some uses of gst_pad_query.
28447
28448         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28449         NULL out parameters.
28450         (gst_query_new_position): New proc, allocates a new position
28451         query.
28452
28453         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28454         gstqueryutils.c to the build.
28455
28456         * gst/gststructure.c (gst_structure_set_valist): Implement with
28457         the generic G_VALUE_COLLECT.
28458         
28459 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
28460
28461         * gst/Makefile.am: (gst_headers):
28462         Added gstqueryutils.h to the list of headers to install, that was
28463         a 'nachty' move wingo :)
28464
28465 2005-05-06  Andy Wingo  <wingo@pobox.com>
28466
28467         * gst/gstquery.h
28468         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28469         GstData, init a memchunk.
28470         (standard_definitions): Add a few query types, deprecate a few.
28471         (gst_query_get_type): New proc.
28472         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28473         implementation.
28474         (gst_query_new_application, gst_query_get_structure): New public
28475         procs.
28476
28477         * docs/design/draft-query.txt: Removed LINKS from the query types,
28478         because all the rest can be dispatched to other pads -- seemed
28479         ugly to have a query that couldn't be dispatched. internal_links
28480         is fine as a pad method.
28481
28482         * gst/gstpad.h: Add query2 as a pad method, add the new functions
28483         in gstpad.c, but maintain binary compatibility for the moment.
28484         Will fix before 0.9 is out.
28485
28486         * gst/gstqueryutils.c: 
28487         * gst/gstqueryutils.h: New files, implement 3 methods for each
28488         query type: parse_query, parse_response, and set. Probably need an
28489         allocator as well.
28490
28491         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28492
28493         * gst/elements/gstfilesink.c (gst_filesink_query2):
28494         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28495         query_types, and formats methods.
28496
28497         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28498         (gst_pad_set_query2_function): New functions.
28499         (gst_real_pad_init): Set query2_default as the default query2
28500         function. Basically just dispatches to internally linked pads.
28501
28502         Needs review!
28503         
28504         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28505         without using the atomic operations. Only one thread can possibly
28506         be accessing the data at this point. Changed so as to avoid
28507         gst_atomic operations.
28508
28509 2005-05-06  Wim Taymans  <wim@fluendo.com>
28510
28511         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28512         Also set caps if we use the fallback buffer alloc.
28513
28514 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
28515
28516         * docs/gst/Makefile.am:
28517         * docs/gst/gstreamer-docs.sgml:
28518         * docs/gst/gstreamer-sections.txt:
28519         * docs/gst/tmpl/gstatomic.sgml:
28520         * docs/gst/tmpl/gstmemchunk.sgml:
28521         * testsuite/elements/struct_i386.h:
28522         * win32/GStreamer.vcproj:
28523         * win32/Makefile:
28524           Purge GstAtomic stuff from docs and win32 makefiles as well
28525
28526 2005-05-06  Wim Taymans  <wim@fluendo.com>
28527
28528         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28529         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28530         * gst/gstpad.c: (gst_pad_peer_get_caps):
28531         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28532         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28533         (gst_queue_src_activate), (gst_queue_change_state):
28534         * gst/gstqueue.h:
28535         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28536         (intersect_caps_func):
28537         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28538         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28539         Some fixes for the peer_get_caps() change.
28540
28541 2005-05-06  Wim Taymans  <wim@fluendo.com>
28542
28543         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28544         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28545         (gst_basesink_activate):
28546         Actually do something with error codes returned from the push
28547         functions.
28548
28549 2005-05-06  Wim Taymans  <wim@fluendo.com>
28550
28551         * docs/design/part-element-sink.txt:
28552         * docs/design/part-element-source.txt:
28553         * gst/base/gstbasesink.c: (gst_basesink_class_init),
28554         (gst_basesink_event), (gst_basesink_activate):
28555         * gst/base/gstbasesink.h:
28556         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28557         (gst_basesrc_activate):
28558         * gst/base/gstbasesrc.h:
28559         * gst/gstelement.c: (gst_element_pads_activate):
28560         Some more documentation.
28561         Fixed scheduling decision in _pads_activate().
28562
28563 2005-05-05  Andy Wingo  <wingo@pobox.com>
28564
28565         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
28566         the test suite.
28567
28568 2005-05-05  Wim Taymans  <wim@fluendo.com>
28569
28570         * gst/base/Makefile.am:
28571         * gst/base/gstbasesink.h:
28572         * gst/base/gstbasesrc.c: (gst_basesrc_init),
28573         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
28574         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
28575         (gst_collectpads_class_init), (gst_collectpads_init),
28576         (gst_collectpads_finalize), (gst_collectpads_new),
28577         (gst_collectpads_set_function), (gst_collectpads_add_pad),
28578         (find_pad), (gst_collectpads_remove_pad),
28579         (gst_collectpads_is_active), (gst_collectpads_collect),
28580         (gst_collectpads_collect_range), (gst_collectpads_start),
28581         (gst_collectpads_stop), (gst_collectpads_peek),
28582         (gst_collectpads_pop), (gst_collectpads_available),
28583         (gst_collectpads_read), (gst_collectpads_flush),
28584         (gst_collectpads_chain):
28585         * gst/base/gstcollectpads.h:
28586         * gst/elements/Makefile.am:
28587         * gst/elements/gstelements.c:
28588         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28589         (gst_fakesink_get_times), (gst_fakesink_event),
28590         (gst_fakesink_preroll), (gst_fakesink_render):
28591         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28592         (gst_filesink_init), (gst_filesink_set_location),
28593         (gst_filesink_open_file), (gst_filesink_close_file),
28594         (gst_filesink_pad_query), (gst_filesink_event),
28595         (gst_filesink_render), (gst_filesink_change_state):
28596         * gst/elements/gstfilesink.h:
28597         Added object to help in making collect pad based elements.
28598         Ported filesink.
28599         Make event function in sink baseclass return gboolean.
28600
28601 2005-05-05  Wim Taymans  <wim@fluendo.com>
28602
28603         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
28604         (gst_bin_get_by_name):
28605         * gst/gstbuffer.h:
28606         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
28607         (gst_clock_finalize):
28608         * gst/gstdata.c: (gst_data_replace):
28609         * gst/gstdata.h:
28610         * gst/gstelement.c: (gst_element_request_pad),
28611         (gst_element_pads_activate):
28612         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
28613         (gst_object_unref):
28614         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28615         (gst_pad_set_checkgetrange_function),
28616         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
28617         (gst_pad_check_pull_range), (gst_pad_pull_range),
28618         (gst_static_pad_template_get_caps), (gst_pad_start_task),
28619         (gst_pad_pause_task), (gst_pad_stop_task):
28620         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28621         (gst_element_request_pad), (gst_pad_proxy_getcaps):
28622         Fix name lookup in GstBin.
28623         Added _data_replace() function and _buffer_replace()
28624         Use finalize method to clean up clock.
28625         Fix refcounting on request pads.
28626         Fix pad schedule mode error.
28627         Some more object refcounting debug info,
28628
28629
28630 2005-05-04  Andy Wingo <wingo@pobox.com>
28631
28632         * check/Makefile.am:
28633         * docs/gst/tmpl/gstatomic.sgml:
28634         * docs/gst/tmpl/gstplugin.sgml:
28635         * gst/base/gstbasesink.c: (gst_basesink_activate):
28636         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
28637         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
28638         (gst_basesrc_query), (gst_basesrc_set_property),
28639         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
28640         (gst_basesrc_activate):
28641         * gst/base/gstbasesrc.h:
28642         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
28643         (gst_base_transform_src_activate):
28644         * gst/elements/gstelements.c:
28645         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28646         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28647         * gst/elements/gsttee.c: (gst_tee_sink_activate):
28648         * gst/elements/gsttypefindelement.c: (find_element_get_length),
28649         (gst_type_find_element_checkgetrange),
28650         (gst_type_find_element_activate):
28651         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
28652         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
28653         (gst_caps_load_thyself):
28654         * gst/gstelement.c: (gst_element_pads_activate),
28655         (gst_element_save_thyself), (gst_element_restore_thyself):
28656         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
28657         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
28658         * gst/gstpad.h:
28659         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
28660         (gst_xml_parse_file), (gst_xml_parse_memory),
28661         (gst_xml_get_element), (gst_xml_make_element):
28662         * gst/indexers/gstfileindex.c: (gst_file_index_load),
28663         (_file_index_id_save_xml), (gst_file_index_commit):
28664         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
28665         (read_enum), (load_pad_template), (load_feature), (load_plugin),
28666         (load_paths):
28667         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
28668         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
28669         * tools/gst-complete.c: (main):
28670         * tools/gst-compprep.c: (main):
28671         * tools/gst-inspect.c: (print_element_properties_info):
28672         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
28673         * tools/gst-xmlinspect.c: (print_element_properties):
28674         GCC 4 fixen.
28675         
28676 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
28677
28678         * gst/gstplugin.c: (gst_plugin_check_module),
28679         (gst_plugin_check_file), (gst_plugin_load_file):
28680             apply patch from #172526 to make register work on MacOSX
28681
28682 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28683
28684         * docs/gst/tmpl/gstconfig.sgml:
28685         * gst/gstconfig.h.in:
28686           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
28687         * testsuite/debug/printf_extension.c: (main):
28688           Do not use GST_PTR_FORMAT on pointers to types with
28689           sizeof < sizeof(gpointer).  Fixes test on 64-bit
28690         * testsuite/elements/property.h:
28691           use correct printf format
28692
28693 2005-05-02  Wim Taymans  <wim@fluendo.com>
28694
28695         * docs/design/draft-push-pull.txt:
28696         * docs/design/draft-query.txt:
28697         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
28698         (gst_basesrc_start):
28699         Added draft for new query API.
28700         Added draft for better selecting scheduling methods.
28701         Make basesrc ignore length if the subclass does not support
28702         it.
28703
28704 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28705
28706         * gst/Makefile.am:
28707           possible fixes for automake-1.5 - _LIBADD is reserved
28708
28709 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28710
28711         * docs/faq/Makefile.am:
28712         * docs/manual/Makefile.am:
28713         * docs/manuals.mak:
28714         * docs/pwg/Makefile.am:
28715         * gst/Makefile.am:
28716           possible fixes for automake-1.5
28717
28718 2005-04-28  Wim Taymans  <wim@fluendo.com>
28719
28720         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28721         (gst_basesink_pad_getcaps), (gst_basesink_init),
28722         (gst_basesink_do_sync):
28723         * gst/gstclock.c: (gst_clock_entry_new):
28724         * gst/gstevent.c: (gst_event_discont_get_value):
28725         * gst/gstpipeline.c: (pipeline_bus_handler),
28726         (gst_pipeline_change_state):
28727         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
28728         Better debugging of clocking info.
28729         Allow NULL values when getting discont values.
28730
28731 2005-04-27  Wim Taymans  <wim@fluendo.com>
28732
28733         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28734         * check/gst/gstpad.c: (gst_pad_suite):
28735         Increase timeout for checks.
28736
28737 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
28738
28739         * check/Makefile.am:
28740           fix the broken rule for cleanup.  Apparently this rule is
28741           only needed on FC2, so maybe this warrants further autotool
28742           inspection.
28743
28744 2005-04-26  Wim Taymans  <wim@fluendo.com>
28745
28746         * gst/gsttrashstack.h:
28747         Ooohh. a nasty one! After having a failed pop() from the stack,
28748         it's possible that the stack is empty. In that case, don't
28749         follow the NULL pointer.
28750
28751 2005-04-25  Wim Taymans  <wim@fluendo.com>
28752
28753         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28754         (gst_pad_set_checkgetrange_function),
28755         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
28756         (gst_pad_check_pull_range), (gst_pad_pull_range),
28757         (gst_static_pad_template_get_caps), (gst_pad_start_task),
28758         (gst_pad_pause_task), (gst_pad_stop_task):
28759         * gst/gstplugin.c: (gst_plugin_load):
28760         * gst/gstplugin.h:
28761         Remove gst_library_load as it does more harm than good with
28762         the new g_module flags.
28763         Revert bogus caps template check in pad linking, pad caps
28764         are important when linking not the template, which is more
28765         general than the current caps.
28766
28767 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28768
28769         * gst/autoplug/.cvsignore:
28770         * gst/autoplug/Makefile.am:
28771         * gst/autoplug/gstsearchfuncs.c:
28772         * gst/autoplug/gstsearchfuncs.h:
28773         * gst/autoplug/gstspider.c:
28774         * gst/autoplug/gstspider.h:
28775         * gst/autoplug/gstspideridentity.c:
28776         * gst/autoplug/gstspideridentity.h:
28777         * gst/autoplug/spidertest.c:
28778           Die, spider, die.
28779
28780 2005-04-25  Wim Taymans  <wim@fluendo.com>
28781
28782         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28783         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28784         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
28785         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
28786         * gst/gstpad.h:
28787         Added stubs for unimplemented functions. 
28788
28789 2005-04-24  David Schleef  <ds@schleef.org>
28790
28791         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
28792         please fix.
28793
28794 2005-04-24  David Schleef  <ds@schleef.org>
28795
28796         Convert everything from GstAtomicInt to g_atomic_int_*, and
28797         remove gstatomic.
28798         * gst/Makefile.am:
28799         * gst/gstatomic.c:
28800         * gst/gstatomic.h:
28801         * gst/gstatomic_impl.h:
28802         * gst/gstbuffer.c:
28803         * gst/gstcaps.c:
28804         * gst/gstcaps.h:
28805         * gst/gstclock.c:
28806         * gst/gstclock.h:
28807         * gst/gstdata.c:
28808         * gst/gstdata.h:
28809         * gst/gstdata_private.h:
28810         * gst/gstevent.c:
28811         * gst/gstinfo.c:
28812         * gst/gstinfo.h:
28813         * gst/gstmessage.c:
28814         * gst/gstobject.c:
28815         * gst/gstobject.h:
28816         * gst/gststructure.c:
28817         * gst/gststructure.h:
28818         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
28819         * gst/gstutils.h:
28820
28821 2005-04-24  David Schleef  <ds@schleef.org>
28822
28823         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
28824         make the regressions tests work.  Remove some code that is no
28825         longer true.
28826         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
28827         Disable warning for pads without templates.
28828
28829 2005-04-24  David Schleef  <ds@schleef.org>
28830
28831         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
28832         functions that handle filtered links.
28833         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
28834         removed functions.
28835         * gst/gstutils.c: Fix/remove utility functions that handle
28836         filtered caps.
28837         * gst/gstutils.h:
28838         * gst/gstvalue.c: Add serialization/deserialization of caps
28839         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
28840         requires fixing so that the filter caps notation creates
28841         a capsfilter element and sets the filter_caps property.  I
28842         think everyone probably wants to keep the shorthand notation.
28843         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
28844         * docs/gst/tmpl/gstpad.sgml:
28845
28846         * gst/elements/gstelements.c: Register capsfilter element.
28847         * gst/Makefile.am: fix spacing
28848         * docs/random/ds/0.9-suggested-changes: random
28849
28850 2005-04-23  David Schleef  <ds@schleef.org>
28851
28852         * gst/elements/Makefile.am:
28853         * gst/elements/gstcapsfilter.c: New element that acts like an
28854         identity, but filters caps.  Will eventually replace filtered
28855         caps in pad linking.
28856         * gst/gstutils.c: (gst_element_create_all_pads): New function
28857         to create all the ALWAYS pads that are registered with an
28858         element class.  This functionality should eventually be
28859         merged in with GstElement initialization.
28860         * gst/gstutils.h:
28861         * testsuite/trigger/README: part of trigger test code that should
28862         have been checked in a long time ago.
28863
28864 2005-04-23  David Schleef  <ds@schleef.org>
28865
28866         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
28867         needed with new versions of libtool (nobody will confirm this),
28868         and hard to carry around.
28869         * gst/autoplug/Makefile.am:
28870         * gst/base/Makefile.am:
28871         * gst/elements/Makefile.am:
28872         * gst/indexers/Makefile.am:
28873         * gst/schedulers/Makefile.am:
28874         * libs/gst/bytestream/Makefile.am:
28875         * libs/gst/control/Makefile.am:
28876         * libs/gst/dataprotocol/Makefile.am:
28877         * libs/gst/getbits/Makefile.am:
28878
28879 2005-04-21  Wim Taymans  <wim@fluendo.com>
28880
28881         * docs/design/draft-push-pull.txt:
28882         * docs/design/part-MT-refcounting.txt:
28883         * docs/design/part-TODO.txt:
28884         * docs/design/part-caps.txt:
28885         * docs/design/part-events.txt:
28886         * docs/design/part-gstbus.txt:
28887         * docs/design/part-gstpipeline.txt:
28888         * docs/design/part-messages.txt:
28889         * docs/design/part-push-pull.txt:
28890         * docs/design/part-query.txt:
28891         Some more docs.
28892
28893 2005-04-21  Wim Taymans  <wim@fluendo.com>
28894
28895         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
28896         (gst_message_new), (gst_message_new_error),
28897         (gst_message_new_warning), (gst_message_new_tag),
28898         (gst_message_new_state_changed), (gst_message_new_application),
28899         (gst_message_get_structure):
28900         * gst/gstmessage.h:
28901         * gst/gststructure.c: (gst_structure_set_parent_refcount),
28902         (gst_structure_copy_conditional):
28903         Use parent refcount in GstMessage to ensure GstStructure
28904         consistency.
28905         Cleaned up headers a bit.
28906         
28907
28908 2005-04-20  Wim Taymans  <wim@fluendo.com>
28909
28910         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28911         (gst_basesink_pad_getcaps), (gst_basesink_init),
28912         (gst_basesink_chain_unlocked):
28913         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
28914         (gst_type_find_helper):
28915         * gst/elements/gsttypefindelement.c:
28916         (gst_type_find_element_have_type), (gst_type_find_element_init),
28917         (stop_typefinding), (gst_type_find_element_handle_event),
28918         (find_suggest), (gst_type_find_element_chain),
28919         (gst_type_find_element_checkgetrange),
28920         (gst_type_find_element_getrange), (do_typefind),
28921         (gst_type_find_element_activate):
28922         * gst/gstbuffer.c: (_gst_buffer_sub_free),
28923         (gst_buffer_default_free), (gst_buffer_default_copy),
28924         (gst_buffer_set_caps):
28925         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
28926         (gst_caps_replace):
28927         * gst/gstmessage.c: (gst_message_new),
28928         (gst_message_new_state_changed):
28929         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28930         (gst_pad_set_checkgetrange_function),
28931         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
28932         (gst_pad_set_caps), (gst_pad_check_pull_range),
28933         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
28934         * gst/gstpad.h:
28935         * gst/gsttypefind.c: (gst_type_find_register):
28936         Make gst_caps_replace() work like other _replace() functions.
28937         Use _caps_replace() where possible.
28938         Make sure _message_new() initialises its field.
28939         Add gst_static_pad_template_get_caps()
28940
28941
28942 2005-04-18  Andy Wingo  <wingo@pobox.com>
28943
28944         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
28945         on the peer, not the pad. I think that was a typo. Pass an extra
28946         arg to see if random access is possible. Activate the pads as
28947         PULL_RANGE if possible.
28948
28949         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
28950
28951         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
28952         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
28953         to PROP_....
28954
28955 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28956
28957         * docs/faq/using.xml:
28958           Add note on gstreamer-properties (#154996).
28959
28960 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28961
28962         * docs/random/bbb/optional-properties:
28963           Some analysis on optional properties.
28964
28965 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28966
28967         * docs/gst/tmpl/gstelementfactory.sgml:
28968         * gst/gstelement.h:
28969         * gst/gstelementfactory.c: (gst_element_factory_init),
28970         (gst_element_factory_cleanup), (gst_element_register),
28971         (__gst_element_factory_add_static_pad_template),
28972         (gst_element_factory_get_static_pad_templates),
28973         (gst_element_factory_can_src_caps),
28974         (gst_element_factory_can_sink_caps):
28975         * gst/registries/Makefile.am:
28976         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
28977         (gst_xml_registry_class_init), (gst_xml_registry_init),
28978         (gst_xml_registry_new), (gst_xml_registry_set_property),
28979         (gst_xml_registry_get_property), (get_time), (make_dir),
28980         (gst_xml_registry_get_perms_func),
28981         (plugin_times_older_than_recurse), (plugin_times_older_than),
28982         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
28983         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
28984         (add_to_char_array), (read_string), (read_uint), (read_enum),
28985         (load_pad_template), (load_feature), (load_plugin), (load_paths),
28986         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
28987         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
28988         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
28989         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
28990         (gst_xml_registry_rebuild):
28991         * gst/registries/gstlibxmlregistry.h:
28992         * tools/gst-compprep.c: (main):
28993         * tools/gst-inspect.c: (print_pad_templates_info):
28994         * tools/gst-xmlinspect.c: (print_element_info):
28995           Use libxml2 for registry parsing, use staticpadtemplates in
28996           elementfactories. Makes gst_init() +/- 10x faster.
28997
28998 2005-04-12  Wim Taymans  <wim@fluendo.com>
28999
29000         * gst/base/Makefile.am:
29001         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29002         (gst_basesink_pad_getcaps), (gst_basesink_init),
29003         (gst_basesink_event), (gst_basesink_change_state):
29004         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29005         (gst_basesrc_init), (gst_basesrc_query),
29006         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29007         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29008         (gst_basesrc_check_get_range), (gst_basesrc_loop),
29009         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29010         (gst_basesrc_stop), (gst_basesrc_activate),
29011         (gst_basesrc_change_state):
29012         * gst/base/gsttypefindhelper.c: (helper_find_peek),
29013         (helper_find_suggest), (gst_type_find_helper):
29014         * gst/base/gsttypefindhelper.h:
29015         * gst/elements/Makefile.am:
29016         * gst/elements/gstelements.c:
29017         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29018         (gst_fakesink_get_times), (gst_fakesink_event),
29019         (gst_fakesink_preroll), (gst_fakesink_render):
29020         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29021         (gst_fakesrc_init), (gst_fakesrc_event_handler),
29022         (gst_fakesrc_get_property), (gst_fakesrc_create),
29023         (gst_fakesrc_start), (gst_fakesrc_stop):
29024         * gst/elements/gstfakesrc.h:
29025         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
29026         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29027         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29028         (gst_filesrc_create_read), (gst_filesrc_create),
29029         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
29030         (gst_filesrc_start):
29031         * gst/elements/gsttypefindelement.c:
29032         (gst_type_find_element_have_type), (gst_type_find_element_init),
29033         (start_typefinding), (stop_typefinding), (push_buffer_store),
29034         (gst_type_find_element_handle_event),
29035         (gst_type_find_element_chain),
29036         (gst_type_find_element_checkgetrange),
29037         (gst_type_find_element_getrange), (do_typefind),
29038         (gst_type_find_element_activate),
29039         (gst_type_find_element_change_state):
29040         * gst/elements/gsttypefindelement.h:
29041         * gst/gstpipeline.c: (pipeline_bus_handler):
29042         Added typefind helper.
29043         Small preroll fix in the base sink.
29044         Disable typefind code in basesrc.
29045         Crude port of typefindelement.
29046         Fakesrc cleanups.
29047
29048
29049 2005-04-11  Wim Taymans  <wim@fluendo.com>
29050
29051         * check/gst/gstbus.c: (gstbus_suite):
29052         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
29053         * check/gstcheck.h:
29054           Fix up the timeout so that the test does not fail.
29055
29056 2005-04-06  Wim Taymans  <wim@fluendo.com>
29057
29058         * gst/base/README:
29059         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29060         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
29061         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29062         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29063         (gst_basesrc_check_get_range), (gst_basesrc_loop),
29064         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29065         (gst_basesrc_stop), (gst_basesrc_activate),
29066         (gst_basesrc_change_state), (basesrc_find_peek),
29067         (basesrc_find_suggest), (gst_basesrc_type_find):
29068         * gst/base/gstbasesrc.h:
29069         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
29070         (gst_filesrc_class_init), (gst_filesrc_init),
29071         (gst_filesrc_finalize), (gst_filesrc_set_location),
29072         (gst_filesrc_set_property), (gst_filesrc_get_property),
29073         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29074         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29075         (gst_filesrc_create_read), (gst_filesrc_create),
29076         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
29077         * gst/elements/gstfilesrc.h:
29078         * gst/gstelement.c: (gst_element_get_state_func),
29079         (gst_element_lost_state), (gst_element_pads_activate):
29080         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29081         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29082         (gst_pad_pull_range):
29083         * gst/gstpad.h:
29084         More work on the generic source base class, implement seeking,
29085         query.
29086         Make filesrc extend the base source class.
29087         Added gst_pad_set_checkgetrange_function to GstPad.
29088
29089 2005-04-06  Andy Wingo  <wingo@pobox.com>
29090
29091         * pkgconfig/gstreamer-base.pc.in:
29092         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
29093
29094         * pkgconfig/Makefile.am:
29095         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
29096
29097 2005-04-04  Wim Taymans  <wim@fluendo.com>
29098
29099         * gst/base/Makefile.am:
29100         * gst/base/README:
29101         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29102         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29103         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29104         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
29105         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29106         (gst_basesrc_base_init), (gst_basesrc_class_init),
29107         (gst_basesrc_init), (gst_basesrc_get_formats),
29108         (gst_basesrc_get_query_types), (gst_basesrc_query),
29109         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
29110         (gst_basesrc_set_property), (gst_basesrc_get_property),
29111         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
29112         (gst_basesrc_loop), (gst_basesrc_activate),
29113         (gst_basesrc_change_state):
29114         * gst/base/gstbasesrc.h:
29115         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
29116         (gst_fakesrc_class_init), (gst_fakesrc_init),
29117         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
29118         (gst_fakesrc_get_property), (gst_fakesrc_create):
29119         * gst/elements/gstfakesrc.h:
29120         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
29121         (gst_filesrc_open_file), (gst_filesrc_loop),
29122         (gst_filesrc_activate), (filesrc_find_peek),
29123         (gst_filesrc_type_find):
29124         Made base source class, make fakesrc extend it.
29125         Add comments to basesink class.
29126         Some filesrc cleanup.
29127
29128 2005-03-31  David Schleef  <ds@schleef.org>
29129
29130         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
29131         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
29132         expected to link against libgstreamer.
29133         * gst/base/Makefile.am: link against libgstreamer
29134         * gst/elements/Makefile.am: same
29135
29136 2005-03-31  Andy Wingo  <wingo@pobox.com>
29137
29138         * tests/instantiate/Makefile.am:
29139         * tests/instantiate/caps.c: Add test to test speed of caps copy
29140         and free.
29141
29142         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
29143         GMemChunk to be fair.
29144
29145         * gst/gsttrashstack.h: Remove warning about using the fallback
29146         trash stack implementation, it's still faster than malloc.
29147
29148 2005-03-30  Andy Wingo  <wingo@pobox.com>
29149
29150         * tests/complexity.c: Add a copyright.
29151
29152 2005-03-31  Wim Taymans  <wim@fluendo.com>
29153
29154         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
29155         (gst_base_transform_class_init), (gst_base_transform_init),
29156         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
29157         (gst_base_transform_get_property),
29158         (gst_base_transform_sink_activate),
29159         (gst_base_transform_src_activate),
29160         (gst_base_transform_change_state):
29161         * gst/base/gstbasetransform.h:
29162         * gst/elements/gstidentity.c: (gst_identity_class_init),
29163         (gst_identity_event), (gst_identity_check_perfect),
29164         (gst_identity_transform), (gst_identity_start),
29165         (gst_identity_stop):
29166         Added start/stop methods to transform base class so subclasses 
29167         don't need to deal with state changes even.
29168
29169 2005-03-31  Wim Taymans  <wim@fluendo.com>
29170
29171         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
29172         (gst_event_new_discontinuous), (gst_event_discont_get_value):
29173         * gst/gstevent.h:
29174         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29175         (gst_pad_pull_range):
29176         Added rate to the discont event to prepare for variable speed
29177         and reverse playback.
29178
29179 2005-03-29  David Schleef  <ds@schleef.org>
29180
29181         * configure.ac:
29182         * testsuite/trigger/Makefile.am:
29183         * testsuite/trigger/trigger.c: A little example program to show
29184         how trigger-based elements can work.
29185
29186 2005-03-29  Wim Taymans  <wim@fluendo.com>
29187
29188         * gst/base/Makefile.am:
29189         * gst/base/README:
29190         * gst/base/gstbasesink.c: (gst_basesink_get_type),
29191         (gst_basesink_base_init), (gst_basesink_class_init),
29192         (gst_basesink_pad_getcaps), (gst_basesink_init),
29193         (gst_basesink_activate), (gst_basesink_change_state):
29194         * gst/base/gstbasesink.h:
29195         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
29196         (gst_base_transform_base_init), (gst_base_transform_finalize),
29197         (gst_base_transform_class_init), (gst_base_transform_init),
29198         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
29199         (gst_base_transform_event), (gst_base_transform_getrange),
29200         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
29201         (gst_base_transform_set_property),
29202         (gst_base_transform_get_property),
29203         (gst_base_transform_sink_activate),
29204         (gst_base_transform_src_activate),
29205         (gst_base_transform_change_state):
29206         * gst/base/gstbasetransform.h:
29207         * gst/elements/gstidentity.c: (gst_identity_finalize),
29208         (gst_identity_class_init), (gst_identity_init),
29209         (gst_identity_event), (gst_identity_check_perfect),
29210         (gst_identity_transform), (gst_identity_set_property),
29211         (gst_identity_get_property), (gst_identity_change_state):
29212         * gst/elements/gstidentity.h:
29213         * gst/gstelement.c: (gst_element_get_state_func),
29214         (gst_element_lost_state), (gst_element_pads_activate):
29215         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29216         (gst_pad_check_pull_range), (gst_pad_pull_range):
29217         * gst/gstpad.h:
29218         Simplify pad activation.
29219         Added function to check if pull_range can be performed.
29220         Error out when pulling inactive or flushing pads.
29221         Removed const from refcounted types as it does not make sense.
29222         Simplify pad templates in basesink
29223         Added base class for simple 1-to-1 transforms.
29224         Make identity subclass the base transform.
29225
29226 2005-03-29  Andy Wingo  <wingo@pobox.com>
29227
29228         * docs/libs/gstreamer-libs-overrides.txt: 
29229         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
29230         really don't understand what's going on, but like whatever. I want
29231         green buildbot!
29232
29233         * docs/gst/Makefile.am:
29234         * docs/libs/Makefile.am: Dist the overrides files.
29235
29236         * check/Makefile.am (clean-local): Remove .libs directories.
29237
29238         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
29239         elements to EXTRA_DIST, so po/ files are happy.
29240
29241         * po/POTFILES.in: Er, remove it here.
29242
29243         * po/POTFILES: Remove gstspider.c.
29244
29245         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
29246
29247         * docs/libs/gstreamer-libs-docs.sgml: 
29248         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
29249         bytestream.
29250
29251         * tests/complexity.c (main): Set the length of the preroll queue
29252         on the sinks to prevent a lockup.
29253
29254         * libs/gst/dataprotocol/Makefile.am: 
29255         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
29256         the same as the one in check/gst-libs/gdp.c.
29257
29258         * po/, docs/gst/: Commit automatic changes to docs and po files.
29259
29260         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
29261         the versioned libgstbase.
29262
29263         * check/Makefile.am: Depend on an unversioned gst-register, seems
29264         to make autoconf happier.
29265
29266         * gst/base/Makefile.am: Make libgstbase a versioned lib.
29267
29268 2005-03-28  Wim Taymans  <wim@fluendo.com>
29269
29270         * configure.ac:
29271         * docs/design/part-gstelement.txt:
29272         * docs/design/part-negotiation.txt:
29273         * docs/design/part-preroll.txt:
29274         * docs/design/part-scheduling.txt:
29275         * docs/design/part-states.txt:
29276         * gst/Makefile.am:
29277         * gst/base/Makefile.am:
29278         * gst/base/README:
29279         * gst/base/gstbasesink.c: (gst_basesink_get_template),
29280         (gst_basesink_base_init), (gst_basesink_class_init),
29281         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29282         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29283         (gst_basesink_set_pad_functions),
29284         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
29285         (gst_basesink_set_property), (gst_basesink_get_property),
29286         (gst_base_sink_get_template), (gst_base_sink_get_caps),
29287         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
29288         (gst_basesink_preroll_queue_push),
29289         (gst_basesink_preroll_queue_empty),
29290         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
29291         (gst_basesink_event), (gst_basesink_get_times),
29292         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
29293         (gst_basesink_chain_unlocked), (gst_basesink_chain),
29294         (gst_basesink_loop), (gst_basesink_activate),
29295         (gst_basesink_change_state):
29296         * gst/base/gstbasesink.h:
29297         * gst/elements/Makefile.am:
29298         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
29299         (gst_fakesink_class_init), (gst_fakesink_init),
29300         (gst_fakesink_set_property), (gst_fakesink_get_property),
29301         (gst_fakesink_get_times), (gst_fakesink_event),
29302         (gst_fakesink_preroll), (gst_fakesink_render),
29303         (gst_fakesink_change_state):
29304         * gst/elements/gstfakesink.h:
29305         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29306         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
29307         * gst/gstelement.c: (gst_element_add_pad),
29308         (gst_element_get_state_func), (gst_element_abort_state),
29309         (gst_element_commit_state), (gst_element_lost_state),
29310         (gst_element_set_state), (gst_element_pads_activate):
29311         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
29312         * gst/gstpipeline.c: (gst_pipeline_send_event),
29313         (gst_pipeline_change_state):
29314         Added state change code.
29315         Added/updated docs.
29316         Added sink base class, make fakesink extend the base class.
29317         Small cleanups in GstPipeline.
29318
29319 2005-03-26  David Schleef  <ds@schleef.org>
29320
29321         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
29322         is broken and should be implemented in a different library.
29323         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29324         * gst/gst.h: remove gstcpu.h
29325         * gst/gstcpu.c: remove
29326         * gst/gstcpu.h: remove
29327         * gst/Makefile.am.future: Remove this file.  It's ancient.
29328
29329 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29330
29331         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29332         (gst_bin_send_event):
29333           Add default event/set_manager handlers. The set_manager handler
29334           takes care that the manager is distributed over kids that were
29335           already in the bin before the manager was set. The event handler
29336           is a utility virtual function that sends the event over all sinks,
29337           so that gst_element_send_event (bin, event); has the expected
29338           behaviour.
29339         * gst/gstpad.c: (gst_pad_event_default):
29340           Re-install default event handling for discontinuities, so that
29341           seeking works without requiring hacks in applications or extra
29342           code in sinks.
29343         * gst/gstpipeline.c: (gst_pipeline_class_init),
29344         (gst_pipeline_send_event):
29345           Half hack, half utility: set a pipeline to PAUSED for seek events,
29346           since that is the only way we can guarantee a/v sync. Means that
29347           you can do gst_element_seek (pipeline, method, pos); on a pipeline
29348           and it "just works".
29349
29350 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29351
29352         * gst/gstpipeline.c: (gst_pipeline_use_clock):
29353           Lock/unlock mismatch.
29354
29355 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
29356
29357         * docs/faq/gst-uninstalled:
29358           add gst-plugins-base
29359         * docs/gst/Makefile.am:
29360           don't error out until docs are fixed
29361         * docs/gst/gstreamer.types:
29362           remove thread
29363
29364 2005-03-22  Wim Taymans  <wim@fluendo.com>
29365
29366         * check/Makefile.am:
29367         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29368         * gst/gststructure.c: (gst_structure_set_valist),
29369         (gst_structure_copy_conditional):
29370         Activated more tests.
29371         Added message test.
29372         Added G_TYPE_POINTER to GstStructure.
29373         
29374
29375 2005-03-22  Wim Taymans  <wim@fluendo.com>
29376
29377         * docs/design/part-TODO.txt:
29378         * docs/design/part-events.txt:
29379         * docs/design/part-gstbin.txt:
29380         * docs/design/part-gstbus.txt:
29381         * docs/design/part-gstpipeline.txt:
29382         * docs/design/part-messages.txt:
29383         * gst/gstbus.c:
29384         * gst/gstmessage.c:
29385         Docs updates
29386
29387 2005-03-21  Wim Taymans  <wim@fluendo.com>
29388
29389         * gst/gstbus.c: (gst_bus_post):
29390         Fix copy-and-paste error.
29391
29392 2005-03-21  Wim Taymans  <wim@fluendo.com>
29393
29394         * check/Makefile.am:
29395         * gst/Makefile.am:
29396         * gst/elements/Makefile.am:
29397         * gst/elements/gstelements.c:
29398         * gst/elements/gstfakesink.c: (gst_fakesink_init),
29399         (gst_fakesink_event), (gst_fakesink_chain):
29400         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29401         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29402         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29403         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29404         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29405         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29406         (gst_fakesrc_loop), (gst_fakesrc_activate),
29407         (gst_fakesrc_change_state):
29408         * gst/elements/gstfakesrc.h:
29409         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29410         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29411         (gst_filesrc_open_file), (gst_filesrc_loop),
29412         (gst_filesrc_activate), (gst_filesrc_change_state),
29413         (filesrc_find_peek), (filesrc_find_suggest),
29414         (gst_filesrc_type_find):
29415         * gst/elements/gstidentity.c: (gst_identity_finalize),
29416         (gst_identity_class_init), (gst_identity_init),
29417         (gst_identity_proxy_getcaps), (identity_queue_push),
29418         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29419         (gst_identity_getrange), (gst_identity_chain),
29420         (gst_identity_sink_loop), (gst_identity_src_loop),
29421         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29422         (gst_identity_set_property), (gst_identity_get_property),
29423         (gst_identity_change_state):
29424         * gst/elements/gstidentity.h:
29425         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29426         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29427         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29428         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29429         (gst_tee_sink_activate):
29430         * gst/elements/gsttee.h:
29431         * gst/gst.c: (gst_register_core_elements), (init_post):
29432         * gst/gst.h:
29433         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29434         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29435         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29436         (gst_bin_change_state):
29437         * gst/gstbin.h:
29438         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29439         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29440         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29441         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29442         (gst_bus_set_sync_handler), (gst_bus_create_watch),
29443         (bus_watch_callback), (bus_watch_destroy),
29444         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29445         (poll_timeout), (gst_bus_poll):
29446         * gst/gstbus.h:
29447         * gst/gstcaps.h:
29448         * gst/gstdata.h:
29449         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29450         (gst_element_post_message), (gst_element_message_full),
29451         (gst_element_get_state_func), (gst_element_get_state),
29452         (gst_element_abort_state), (gst_element_commit_state),
29453         (gst_element_lost_state), (gst_element_set_state),
29454         (gst_element_pads_activate), (gst_element_change_state),
29455         (gst_element_dispose), (gst_element_set_manager_func),
29456         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29457         (gst_element_set_manager), (gst_element_get_manager),
29458         (gst_element_set_bus), (gst_element_get_bus),
29459         (gst_element_set_scheduler), (gst_element_get_scheduler):
29460         * gst/gstelement.h:
29461         * gst/gstevent.c: (gst_event_new_segment_seek),
29462         (gst_event_new_flush):
29463         * gst/gstevent.h:
29464         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29465         (_gst_message_free), (gst_message_get_type), (gst_message_new),
29466         (gst_message_new_eos), (gst_message_new_error),
29467         (gst_message_new_warning), (gst_message_new_tag),
29468         (gst_message_new_state_changed), (gst_message_new_application),
29469         (gst_message_get_structure), (gst_message_parse_tag),
29470         (gst_message_parse_state_changed), (gst_message_parse_error),
29471         (gst_message_parse_warning):
29472         * gst/gstmessage.h:
29473         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29474         (gst_real_pad_set_property), (gst_pad_set_active),
29475         (gst_pad_is_active), (gst_pad_set_blocked_async),
29476         (gst_pad_set_blocked), (gst_pad_is_blocked),
29477         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29478         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29479         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29480         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29481         (gst_pad_link_filtered), (gst_pad_relink_filtered),
29482         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29483         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29484         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29485         (gst_pad_set_caps), (gst_pad_configure_sink),
29486         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29487         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29488         (gst_real_pad_dispose), (gst_real_pad_finalize),
29489         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29490         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29491         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29492         * gst/gstpad.h:
29493         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29494         (pipeline_bus_handler), (gst_pipeline_change_state),
29495         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29496         * gst/gstpipeline.h:
29497         * gst/gstprobe.h:
29498         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29499         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29500         (gst_queue_link_src), (gst_queue_bufferalloc),
29501         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29502         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29503         (gst_queue_loop), (gst_queue_handle_src_event),
29504         (gst_queue_handle_src_query), (gst_queue_src_activate),
29505         (gst_queue_change_state):
29506         * gst/gstqueue.h:
29507         * gst/gstscheduler.c: (gst_scheduler_init),
29508         (gst_scheduler_dispose), (gst_scheduler_create_task),
29509         (gst_scheduler_factory_create):
29510         * gst/gstscheduler.h:
29511         * gst/gststructure.c: (gst_structure_get_type),
29512         (gst_structure_copy_conditional):
29513         * gst/gststructure.h:
29514         * gst/gsttaginterface.h:
29515         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29516         (gst_task_init), (gst_task_dispose), (gst_task_create),
29517         (gst_task_get_state), (gst_task_start), (gst_task_stop),
29518         (gst_task_pause):
29519         * gst/gsttask.h:
29520         * gst/gstthread.c:
29521         * gst/gstthread.h:
29522         * gst/gsttypes.h:
29523         * gst/schedulers/Makefile.am:
29524         * gst/schedulers/cothreads_compat.h:
29525         * gst/schedulers/entryscheduler.c:
29526         * gst/schedulers/faircothreads.c:
29527         * gst/schedulers/faircothreads.h:
29528         * gst/schedulers/fairscheduler.c:
29529         * gst/schedulers/gstbasicscheduler.c:
29530         * gst/schedulers/gstoptimalscheduler.c:
29531         * gst/schedulers/gthread-cothreads.h:
29532         * gst/schedulers/threadscheduler.c:
29533         (gst_thread_scheduler_task_get_type),
29534         (gst_thread_scheduler_task_class_init),
29535         (gst_thread_scheduler_task_init),
29536         (gst_thread_scheduler_task_start),
29537         (gst_thread_scheduler_task_stop),
29538         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29539         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29540         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29541         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29542         (plugin_init):
29543         * libs/gst/Makefile.am:
29544         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29545         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29546         (gst_file_pad_parent_set):
29547         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29548         (gst_dp_event_from_packet):
29549         * tests/complexity.c: (main):
29550         * tests/mass_elements.c: (main):
29551         * testsuite/states/locked.c: (message_received), (main):
29552         * testsuite/states/parent.c: (main):
29553         * tools/gst-inspect.c: (print_element_flag_info),
29554         (print_implementation_info), (print_pad_info):
29555         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29556         (main):
29557         * tools/gst-md5sum.c: (event_loop), (main):
29558         * tools/gst-typefind.c: (main):
29559         * tools/gst-xmlinspect.c: (print_element_info):
29560         Next big merge.
29561         Added GstBus for mainloop integration.
29562         Added GstMessage for sending notifications on the bus.
29563         Added GstTask as an abstraction for pipeline entry points.
29564         Removed GstThread.
29565         Removed Schedulers.
29566         Simplified GstQueue for multithreaded core.
29567         Made _link threadsafe, removed old capsnego.
29568         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
29569         Added pad blocking functions.
29570         Reworked scheduling functions in GstPad to prepare for
29571         scheduling updates soon.
29572         Moved events out of data stream.
29573         Simplified GstEvent types.
29574         Added return values to push/pull.
29575         Removed clocking from GstElement.
29576         Added prototypes for state change function for next merge.
29577         Removed iterate from bins and state change management.
29578         Fixed some elements, disabled others for now.
29579         Fixed -inspect and -launch.
29580         Added check for GstBus.
29581
29582 2005-03-10  Wim Taymans  <wim@fluendo.com>
29583
29584         * docs/design/part-MT-refcounting.txt:
29585         * docs/design/part-clocks.txt:
29586         * docs/design/part-gstelement.txt:
29587         * docs/design/part-gstobject.txt:
29588         * docs/design/part-standards.txt:
29589         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29590         (gst_bin_remove_func), (gst_bin_remove):
29591         * gst/gstbin.h:
29592         * gst/gstbuffer.c:
29593         * gst/gstcaps.h:
29594         * testsuite/clock/clock1.c: (main):
29595         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
29596         (main):
29597         * testsuite/dlopen/loadgst.c: (do_test):
29598         * testsuite/refcounting/bin.c: (add_remove_test1),
29599         (add_remove_test2), (main):
29600         * testsuite/refcounting/element.c: (main):
29601         * testsuite/refcounting/element_pad.c: (main):
29602         * testsuite/refcounting/pad.c: (main):
29603         * tools/gst-launch.c: (sigint_handler_sighandler):
29604         * tools/gst-typefind.c: (main):
29605         Doc updates.
29606         Added doc about clock.
29607         removed gst_bin_iterate_recurse_up(), marked methods
29608         for removal.
29609         Fix more testsuites.
29610
29611 2005-03-09  Wim Taymans  <wim@fluendo.com>
29612
29613         * gst/gstpad.c: (gst_pad_get_direction),
29614         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
29615         (gst_pad_collect_valist):
29616         * testsuite/bins/interface.c: (main):
29617         * testsuite/caps/audioscale.c: (test_caps):
29618         * testsuite/caps/caps.c: (test1), (test2), (test3):
29619         * testsuite/caps/deserialize.c: (main):
29620         * testsuite/caps/enumcaps.c: (main):
29621         * testsuite/caps/filtercaps.c: (main):
29622         * testsuite/caps/intersect2.c: (main):
29623         * testsuite/caps/random.c: (main):
29624         * testsuite/caps/renegotiate.c: (my_fixate), (main):
29625         * testsuite/caps/sets.c: (check_caps):
29626         * testsuite/caps/simplify.c: (check_caps), (main):
29627         * testsuite/caps/subtract.c: (check_caps):
29628         Fix _pad_get_direction wrt ghostpads.
29629         Fix caps testsuite.
29630
29631 2005-03-09  Wim Taymans  <wim@fluendo.com>
29632
29633         * check/Makefile.am:
29634         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
29635         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
29636         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
29637         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
29638         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
29639         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
29640         (gst_bin_remove), (gst_bin_iterate_recurse_up),
29641         (bin_element_is_sink), (gst_bin_iterate_sinks),
29642         (gst_bin_iterate_all_by_interface):
29643         * gst/gstbin.h:
29644         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
29645         (gst_element_change_state), (gst_element_dispose),
29646         (gst_element_finalize), (gst_element_set_loop_function):
29647         * gst/gstelement.h:
29648         * gst/gstiterator.c: (find_custom_fold_func):
29649         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29650         (gst_pad_collectv), (gst_pad_collect_valist),
29651         (gst_pad_template_new):
29652         * gst/gstpipeline.c: (gst_pipeline_class_init),
29653         (gst_pipeline_dispose), (gst_pipeline_set_property),
29654         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
29655         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
29656         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
29657         * gst/gstutils.h:
29658         * gst/schedulers/entryscheduler.c:
29659         * gst/schedulers/gstbasicscheduler.c:
29660         (gst_basic_scheduler_cothreaded_chain),
29661         (gst_basic_scheduler_chain_add_element):
29662         * testsuite/bins/interface.c: (main):
29663         Added GstBin test.
29664         Added GstSystemClock test.
29665         Implemented clock distribution code in GstBin.
29666         Implemented iterate sinks method for future use.
29667         Rearranged gstelement.h
29668         Fix GstIterator comparison bug.
29669         Moved some code to GstPipeline, mostly clocking related.
29670
29671 2005-03-09  Wim Taymans  <wim@fluendo.com>
29672
29673         * configure.ac:
29674         * gst/gst_private.h:
29675         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29676         (gst_bin_remove_func), (gst_bin_remove),
29677         (gst_bin_get_by_name_recurse_up):
29678         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
29679         (gst_clock_id_compare_func), (gst_clock_id_wait),
29680         (gst_clock_id_wait_async), (gst_clock_init),
29681         (gst_clock_adjust_unlocked), (gst_clock_get_time):
29682         * gst/gstelement.h:
29683         * gst/gstinfo.c: (_gst_debug_init):
29684         * gst/gstobject.h:
29685         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29686         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
29687         * gst/gstpad.h:
29688         Bump version number, we're now 0.9.0
29689         Add future debugging category.
29690         Fix NULL _unref() in _get_by_name_recurse_up
29691         Rearrange gstpad.h.
29692         Update some docs.
29693
29694 2005-03-08  Wim Taymans  <wim@fluendo.com>
29695
29696         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
29697         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
29698         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29699         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
29700         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
29701         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
29702         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
29703         * gst/elements/gstidentity.c: (gst_identity_class_init):
29704         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
29705         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
29706         * gst/elements/gstshaper.c: (gst_shaper_class_init):
29707         * gst/elements/gststatistics.c: (gst_statistics_class_init):
29708         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
29709         (gst_tee_link):
29710         * gst/gstelement.c: (gst_element_class_init),
29711         (gst_element_base_class_init), (gst_element_init),
29712         (gst_element_get_random_pad), (gst_element_wait_state_change),
29713         (gst_element_change_state), (gst_element_dispose),
29714         (gst_element_finalize), (gst_element_set_loop_function):
29715         * gst/gstelement.h:
29716         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
29717         * gst/gstthread.c: (gst_thread_class_init),
29718         (gst_thread_release_children_locks), (gst_thread_change_state):
29719         * gst/schedulers/gstbasicscheduler.c:
29720         (gst_basic_scheduler_loopfunc_wrapper),
29721         (gst_basic_scheduler_chain_wrapper),
29722         (gst_basic_scheduler_src_wrapper),
29723         (gst_basic_scheduler_remove_element):
29724         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
29725         Remove threadsafe properties. Fix elements because GObject
29726         complains when installing a property before declaring a
29727         set/get_property handler.
29728         Rearrange gstelement.h file, use STATE macros for state locks.
29729         Free mutexes in the finalize method instead of dispose.
29730
29731 2005-03-08  Wim Taymans  <wim@fluendo.com>
29732
29733         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29734         * gst/gstthread.c: (gst_thread_release_children_locks):
29735         Added parentage check.
29736         Fix build og GstThread again.
29737
29738 2005-03-08  Wim Taymans  <wim@fluendo.com>
29739
29740         * docs/design/part-MT-refcounting.txt:
29741         * docs/design/part-conventions.txt:
29742         * docs/design/part-gstobject.txt:
29743         * docs/design/part-relations.txt:
29744         * docs/design/part-standards.txt:
29745         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29746         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
29747         (gst_bin_get_by_name), (gst_bin_get_by_interface),
29748         (gst_bin_iterate_all_by_interface):
29749         * gst/gstbuffer.h:
29750         * gst/gstclock.h:
29751         * gst/gstelement.c: (gst_element_class_init),
29752         (gst_element_change_state), (gst_element_set_loop_function):
29753         * gst/gstelement.h:
29754         * gst/gstiterator.c:
29755         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
29756         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
29757         (gst_object_dispatch_properties_changed), (gst_object_set_name),
29758         (gst_object_set_parent), (gst_object_unparent),
29759         (gst_object_check_uniqueness):
29760         * gst/gstobject.h:
29761         Docs updates, clean up some headers.
29762
29763 2005-03-07  Wim Taymans  <wim@fluendo.com>
29764
29765         * check/.cvsignore:
29766         * check/Makefile.am:
29767         * check/gst-libs/.cvsignore:
29768         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
29769         * check/gst/.cvsignore:
29770         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
29771         (START_TEST), (gstbus_suite), (main):
29772         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
29773         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
29774         (gst_data_suite), (main):
29775         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
29776         (add_fold_func), (gstiterator_suite), (main):
29777         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
29778         (thread_name_object), (thread_name_object_default),
29779         (gst_object_name_compare), (gst_object_suite), (main):
29780         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
29781         (gst_pad_suite), (main):
29782         * check/gstcheck.c: (gst_check_log_message_func),
29783         (gst_check_log_critical_func), (gst_check_init):
29784         * check/gstcheck.h:
29785         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
29786         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
29787         Added checks.
29788
29789 2005-03-07  Wim Taymans  <wim@fluendo.com>
29790
29791         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
29792         (gst_list_iterator_next), (gst_list_iterator_resync),
29793         (gst_list_iterator_free), (gst_iterator_new_list),
29794         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
29795         (gst_iterator_free), (gst_iterator_push), (filter_next),
29796         (filter_resync), (filter_uninit), (filter_free),
29797         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
29798         (gst_iterator_foreach), (find_custom_fold_func),
29799         (gst_iterator_find_custom):
29800         * gst/gstiterator.h:
29801         Added missing files.
29802
29803 2005-03-07  Wim Taymans  <wim@fluendo.com>
29804
29805         * Makefile.am:
29806         * configure.ac:
29807         * docs/design/part-MT-refcounting.txt:
29808         * docs/design/part-conventions.txt:
29809         * docs/design/part-gstobject.txt:
29810         * docs/design/part-relations.txt:
29811         * examples/mixer/mixer.c: (main):
29812         * examples/thread/thread.c: (eos), (main):
29813         * gst/Makefile.am:
29814         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
29815         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
29816         (gst_spider_plug_from_srcpad):
29817         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
29818         (gst_spider_identity_change_state),
29819         (gst_spider_identity_sink_loop_type_finding):
29820         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
29821         * gst/elements/gstidentity.c: (gst_identity_init):
29822         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
29823         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
29824         * gst/elements/gsttypefindelement.c: (free_entry):
29825         * gst/gst.c:
29826         * gst/gst.h:
29827         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
29828         (gst_bin_set_clock_func), (gst_bin_auto_clock),
29829         (gst_bin_set_index), (gst_bin_set_element_sched),
29830         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
29831         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
29832         (gst_bin_iterate_elements), (iterate_child_recurse),
29833         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
29834         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
29835         (compare_interface), (gst_bin_get_by_interface),
29836         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
29837         * gst/gstbin.h:
29838         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
29839         (gst_buffer_default_free), (gst_buffer_default_copy),
29840         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
29841         (gst_buffer_create_sub):
29842         * gst/gstbuffer.h:
29843         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
29844         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
29845         (gst_caps_unref), (gst_static_caps_get),
29846         (gst_caps_remove_and_get_structure), (gst_caps_append),
29847         (gst_caps_append_structure), (gst_caps_remove_structure),
29848         (gst_caps_copy_nth), (gst_caps_set_simple),
29849         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
29850         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
29851         (gst_caps_structure_intersect_field), (gst_caps_intersect),
29852         (gst_caps_structure_subtract_field), (gst_caps_subtract),
29853         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
29854         (gst_caps_structure_figure_out_union),
29855         (gst_caps_switch_structures), (gst_caps_do_simplify),
29856         (gst_caps_replace), (gst_caps_from_string),
29857         (gst_caps_copy_conditional):
29858         * gst/gstcaps.h:
29859         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
29860         (_gst_clock_id_free), (gst_clock_id_unref),
29861         (gst_clock_id_compare_func), (gst_clock_id_wait),
29862         (gst_clock_id_wait_async), (gst_clock_class_init),
29863         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
29864         (gst_clock_get_time), (gst_clock_set_time_adjust),
29865         (gst_clock_set_property), (gst_clock_get_property):
29866         * gst/gstclock.h:
29867         * gst/gstcompat.h:
29868         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
29869         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
29870         * gst/gstdata.h:
29871         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29872         (gst_element_requires_clock), (gst_element_provides_clock),
29873         (gst_element_set_clock), (gst_element_clock_wait),
29874         (gst_element_wait), (gst_element_set_time_delay),
29875         (gst_element_is_indexable), (gst_element_add_pad),
29876         (gst_element_add_ghost_pad), (gst_element_remove_pad),
29877         (pad_compare_name), (gst_element_get_static_pad),
29878         (gst_element_request_pad), (gst_element_get_request_pad),
29879         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
29880         (gst_element_class_get_pad_template_list),
29881         (gst_element_class_get_pad_template), (gst_element_error_func),
29882         (gst_element_get_random_pad), (gst_element_get_event_masks),
29883         (gst_element_send_event), (gst_element_seek),
29884         (gst_element_get_query_types), (gst_element_query),
29885         (gst_element_get_formats), (gst_element_convert),
29886         (gst_element_is_locked_state), (gst_element_set_locked_state),
29887         (gst_element_sync_state_with_parent), (gst_element_change_state),
29888         (gst_element_finalize), (gst_element_yield),
29889         (gst_element_interrupt), (gst_element_set_scheduler),
29890         (gst_element_get_scheduler), (gst_element_set_loop_function):
29891         * gst/gstelement.h:
29892         * gst/gstevent.h:
29893         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
29894         (gst_format_get_by_nick), (gst_format_get_details),
29895         (gst_format_iterate_definitions):
29896         * gst/gstformat.h:
29897         * gst/gstindex.c: (gst_index_gtype_resolver):
29898         * gst/gstinfo.c:
29899         * gst/gstinfo.h:
29900         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
29901         (gst_mem_chunk_free):
29902         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
29903         (gst_object_ref), (gst_object_unref), (gst_object_sink),
29904         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
29905         (gst_object_dispatch_properties_changed),
29906         (gst_object_set_name_default), (gst_object_set_name),
29907         (gst_object_get_name), (gst_object_set_name_prefix),
29908         (gst_object_get_name_prefix), (gst_object_set_parent),
29909         (gst_object_get_parent), (gst_object_unparent),
29910         (gst_object_check_uniqueness), (gst_object_save_thyself),
29911         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
29912         (gst_object_set_property), (gst_object_get_property),
29913         (gst_object_get_path_string):
29914         * gst/gstobject.h:
29915         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29916         (gst_real_pad_init), (gst_real_pad_get_property),
29917         (gst_pad_custom_new), (gst_pad_get_direction),
29918         (gst_pad_set_active), (gst_pad_is_active),
29919         (gst_pad_set_event_function), (gst_pad_is_linked),
29920         (gst_pad_link_free), (gst_pad_link_intersect),
29921         (gst_pad_link_fixate), (gst_pad_set_caps),
29922         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
29923         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
29924         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
29925         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
29926         (gst_pad_get_caps), (gst_pad_peer_get_caps),
29927         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
29928         (gst_pad_realize), (gst_pad_get_allowed_caps),
29929         (gst_real_pad_dispose), (gst_real_pad_finalize),
29930         (gst_pad_collectv), (gst_pad_collect_valist),
29931         (gst_pad_template_dispose), (gst_pad_template_new),
29932         (gst_pad_get_internal_links):
29933         * gst/gstpad.h:
29934         * gst/gstpipeline.c: (gst_pipeline_dispose),
29935         (gst_pipeline_change_state):
29936         * gst/gstpipeline.h:
29937         * gst/gstplugin.c:
29938         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
29939         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
29940         * gst/gstpluginfeature.h:
29941         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
29942         * gst/gstquery.c: (_gst_query_type_initialize),
29943         (gst_query_type_register), (gst_query_type_get_by_nick),
29944         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
29945         * gst/gstquery.h:
29946         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
29947         * gst/gstscheduler.c: (gst_scheduler_add_element),
29948         (gst_scheduler_factory_create):
29949         * gst/gststructure.c: (gst_structure_set_parent_refcount),
29950         (gst_structure_free), (gst_structure_set_name),
29951         (gst_structure_id_set_value), (gst_structure_set_value),
29952         (gst_structure_set_valist), (gst_structure_remove_field),
29953         (gst_structure_remove_fields),
29954         (gst_structure_remove_fields_valist),
29955         (gst_structure_remove_all_fields), (gst_structure_foreach),
29956         (gst_structure_map_in_place),
29957         (gst_caps_structure_fixate_field_nearest_int),
29958         (gst_caps_structure_fixate_field_nearest_double):
29959         * gst/gststructure.h:
29960         * gst/gstsystemclock.c: (gst_system_clock_class_init),
29961         (gst_system_clock_init), (gst_system_clock_dispose),
29962         (gst_system_clock_async_thread),
29963         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
29964         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
29965         * gst/gstsystemclock.h:
29966         * gst/gsttag.c: (gst_tag_list_add_value_internal),
29967         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
29968         * gst/gsttaginterface.c:
29969         * gst/gstthread.c: (gst_thread_dispose),
29970         (gst_thread_release_children_locks), (gst_thread_change_state),
29971         (gst_thread_main_loop):
29972         * gst/gsttrashstack.h:
29973         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
29974         * gst/gsttypes.h:
29975         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29976         (gst_element_request_pad), (gst_element_get_pad_from_template),
29977         (gst_element_request_compatible_pad),
29978         (gst_element_get_compatible_pad_filtered),
29979         (gst_element_get_compatible_pad), (gst_element_state_get_name),
29980         (gst_element_link_pads_filtered), (gst_element_link_filtered),
29981         (gst_element_link_many), (gst_element_link),
29982         (gst_element_link_pads), (gst_element_unlink_pads),
29983         (gst_element_unlink_many), (gst_element_unlink),
29984         (gst_pad_can_link_filtered), (gst_pad_can_link),
29985         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
29986         (gst_object_default_error), (gst_bin_add_many),
29987         (gst_bin_remove_many), (gst_element_populate_std_props),
29988         (gst_element_class_install_std_props), (gst_buffer_merge),
29989         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
29990         (link_fold_func), (gst_pad_proxy_setcaps):
29991         * gst/gstutils.h:
29992         * gst/gstvalue.c: (gst_value_deserialize_string):
29993         * gst/parse/grammar.y:
29994         * gst/schedulers/gstbasicscheduler.c:
29995         (gst_basic_scheduler_cothreaded_chain),
29996         (gst_basic_scheduler_chain_recursive_add),
29997         (gst_basic_scheduler_pad_link):
29998         * gst/schedulers/gstoptimalscheduler.c:
29999         (get_group_schedule_function),
30000         (gst_opt_scheduler_state_transition),
30001         (gst_opt_scheduler_add_element), (element_get_reachables_func):
30002         * libs/gst/bytestream/bytestream.c:
30003         * libs/gst/dataprotocol/dataprotocol.c:
30004         (gst_dp_header_from_buffer):
30005         * po/nb.po:
30006         * po/ru.po:
30007         * tests/threadstate/threadstate2.c: (eos):
30008         * tools/gst-compprep.c: (main):
30009         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
30010         (print_pad_info), (print_children_info):
30011         * tools/gst-launch.c: (idle_func), (main):
30012         * tools/gst-md5sum.c: (idle_func), (main):
30013         * tools/gst-xmlinspect.c: (print_element_info):
30014         First THREADED backport attempt, focusing on adding locks and
30015         making sure the API is threadsafe. Needs more work. More docs
30016         follow this week.
30017
30018 2005-02-24  Andy Wingo  <wingo@pobox.com>
30019
30020         * tests/bench-complexity.scm:
30021         * tests/complexity.gnuplot: New files, good for running complexity
30022         benchmarks.
30023
30024         * tests/Makefile.am:
30025         * tests/complexity.c: New test, sets up N elements, at each level
30026         teeing into M streams per element. Eeeenteresting.
30027
30028         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
30029         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
30030         running bench-mass_elements.scm.
30031
30032         * tests/bench-mass_elements.scm: New script, runs mass_elements
30033         for various numbers of identities, outputting the results to a
30034         file. Requires guile 1.6. Just for testing.
30035
30036 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
30037
30038         * gst/schedulers/fairscheduler.c:
30039           compile with debug disabled
30040
30041 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
30042
30043         * configure.ac:
30044           hunting season on 0.9 is now OPEN