docs/README: Document that for plgin-docs we extraxt he short-desc from the element...
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2
3         * docs/README:
4           Document that for plgin-docs we extraxt he short-desc from the element
5           details.
6
7         * docs/design/part-states.txt:
8           Tell that devices should be closed in PAUSED -> READY.
9
10         * docs/manual/README:
11           Document how tests in the manual are handled.
12
13         * docs/manuals.mak:
14           Typo in comment.
15
16 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
17
18         * gst/gstbin.c: (bin_query_latency_fold):
19         Only care about latency min and max when the sink is actually a live
20         sink.
21
22 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
23
24         * docs/design/part-block.txt:
25         Fix typo.
26
27         * docs/design/part-element-transform.txt:
28         Add notes about why transform needs to know input/output sizes.
29         Add some issues that need to be solved.
30         Add some more use cases.
31
32         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
33         (gst_test_trans_class_init), (result_sink_chain),
34         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
35         (gst_test_trans_push), (gst_test_trans_pop):
36         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
37         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
38         (set_caps_1), (set_caps_ct1), (transform_ct1),
39         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
40         (gst_basetransform_suite):
41         Add suport for different pad templates and buffer-alloc.
42         Add more checks for caps and buffer-alloc.
43         Add checks for proxy buffer alloc.
44         Add unit test for copy transform.
45
46 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
47
48         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
49
50         * docs/manual/appendix-integration.xml:
51         * docs/manual/appendix-licensing.xml:
52         * docs/manual/basics-elements.xml:
53         * docs/manual/basics-helloworld.xml:
54         * docs/manual/basics-pads.xml:
55         * docs/manual/highlevel-components.xml:
56         * docs/manual/highlevel-xml.xml:
57         * docs/manual/intro-basics.xml:
58         * docs/manual/intro-preface.xml:
59           Typo and formatting fixes (#538594).
60
61 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
62
63         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
64         Fix some memory leaks and uses of object instances that we don't
65         actually own.
66
67 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
68
69         * plugins/elements/gstmultiqueue.c:
70         Add functionality to extra-size-buffers property.
71
72 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
73
74         * plugins/elements/gstmultiqueue.c:
75         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
76         activate the pads if they are added in STATE_NULL.
77
78 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
79
80         * docs/libs/gstreamer-libs-sections.txt:
81         Add new API to doc
82         * libs/gst/check/gstcheck.c:
83         * libs/gst/check/gstcheck.h:
84         API: gst_check_teardown_pad_by_name
85
86 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
87
88         * libs/gst/check/gstcheck.c:
89         * libs/gst/check/gstcheck.h:
90         Also setup request pads and allow setup pads by name (#537812)
91         API: gst_check_setup_src_pad_by_name
92         API: gst_check_setup_sink_pad_by_name
93
94 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
95
96         * tests/check/gst/gstbuffer.c:
97         * tests/check/pipelines/parse-launch.c:
98           Use HAVE_VALGRIND_H some more.
99
100 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
101
102         * scripts/cvs-update.sh:
103           Pass arguments to make.
104           Run autoregen.sh if Makefile is not there.
105
106 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
107
108         * configure.ac:
109         * gst/gstinfo.c:
110           Don't assume that <valgrind/valgrind.h> exists just because
111           the binary is there.
112
113 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
114
115         * tests/check/Makefile.am:
116         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
117         (gst_test_trans_class_init), (gst_test_trans_init),
118         (gst_test_trans_set_data), (result_sink_chain),
119         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
120         (gst_test_trans_pop):
121         * tests/check/libs/transform1.c: (GST_START_TEST),
122         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
123         Add some test basetransform element and the beginnings of various
124         unit tests for it.
125
126 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
127
128         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
129         Increase code readability.
130         Don't try to compare buffer offsets when ther are invalid.
131
132 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
133
134         * docs/design/Makefile.am:
135           Dist some more design docs.
136
137         * docs/random/moving-plugins:
138           Small addition: good plugins mustn't have functional code
139           within assertion macros.
140
141 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
142
143         * docs/design/draft-framestep.txt:
144         Some ideas about a framestep API
145
146         * docs/design/part-element-transform.txt:
147         Start design and use cases for basetransform in order to get it
148         fixed soon.
149
150 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
151
152         * gst/gsttaglist.h:
153           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
154           be in UTF-8 encoding.
155
156 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
157
158         * gst/gstbus.c:
159           Make it known that gst_bus_poll() is pure evil (fixes #538810).
160
161 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
162
163         * plugins/elements/gstcapsfilter.c:
164         * plugins/elements/gstfakesink.c:
165         * plugins/elements/gstfakesrc.c:
166         * plugins/elements/gstfdsink.c:
167         * plugins/elements/gstfdsrc.c:
168         * plugins/elements/gstfilesink.c:
169         * plugins/elements/gstfilesrc.c:
170         * plugins/elements/gstidentity.c:
171         * plugins/elements/gstmultiqueue.c:
172         * plugins/elements/gstqueue.c:
173         * plugins/elements/gsttee.c:
174         * plugins/elements/gsttypefindelement.c:
175           Remove short_description. Add basic docs for gsttypefindelement.
176           Simplify markup for fakesrc/fdsrc.
177
178 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
179
180         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
181         Added Since doc.
182
183 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
184
185         Patch by: joel larsson <tilljoel at gmail dot com>
186
187         * docs/plugins/gstreamer-plugins.args:
188         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
189         (gst_fd_src_init), (gst_fd_src_update_fd),
190         (gst_fd_src_set_property), (gst_fd_src_get_property),
191         (gst_fd_src_create):
192         * plugins/elements/gstfdsrc.h:
193         Add timeout property like udpsrc. Fixes #538628.
194         Add some more docs and example pipelines.
195
196 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
197
198         * docs/libs/gstreamer-libs-sections.txt:
199         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
200         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
201         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
202         (gst_base_sink_do_sync):
203         * libs/gst/base/gstbasesink.h:
204         * win32/common/libgstbase.def:
205         Add method to allow sinks to specify additional delay between the sync
206         times and the actual rendering of the data.
207         API: gst_base_sink_set_render_delay()
208         API: gst_base_sink_get_render_delay()
209
210 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
211
212         * configure.ac:
213         Bump version number back to dev -> 0.10.20.1
214
215 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
216
217         * docs/gst/gstreamer-sections.txt:
218         * gst/gsttaglist.c: (_gst_tag_initialize):
219         * gst/gsttaglist.h:
220         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
221         Fixes bug #538568.
222
223 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
224
225         * libs/gst/controller/gstcontroller.c:
226           Revert one change, that make ret value possible uninitialized.
227
228 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
229
230         * libs/gst/controller/gstcontroller.c:
231           Use freeze/thaw notify to sync notify emission a bit (its also more
232           efficient). Move debug output to LOG (is called a lot in a loop).
233           Always unset g_values if the have been initialized.
234
235 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
236
237         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
238         (gst_base_sink_wait_eos), (gst_base_sink_event):
239         If we have not seen a buffer before EOS, use the segment values to
240         report the current position instead of invalid positions.
241
242 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
243
244         * docs/plugins/tmpl/.cvsignore:
245         * tests/check/gst/.cvsignore:
246           Ignore more.
247
248 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
249
250         * libs/gst/controller/gstinterpolation.c:
251         * libs/gst/controller/gstinterpolationcontrolsource.c:
252         * tests/check/libs/controller.c:
253           Rewrite handling of default values. Fix overflow with unsigned types
254           in linear interpolation. Remove now obsolete _first_value() function.
255           Add more tests. Fixes #538201.
256
257 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
258
259         * libs/gst/base/gstbasetransform.c:
260         (gst_base_transform_class_init), (gst_base_transform_init),
261         (gst_base_transform_transform_caps),
262         (gst_base_transform_prepare_output_buffer):
263         Add debug info.
264         When a buffer is writable, its metadata is also writable so we don't
265         need to subbuffer (which then makes the buffer not-writable anymore).
266
267 >>>>>>> 1.3935
268 === release 0.10.20 ===
269
270 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
271
272         * configure.ac:
273           releasing 0.10.20, "You Crazy Diamond"
274
275 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
276
277         * configure.ac:
278         0.10.19.3 pre-release
279
280 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
281
282         * configure.ac:
283         * gst/gstpreset.c:
284         Rename DATADIR to GST_DATADIR to avoid build problems
285         on win32. Patch By: David Schleef <ds@schleef.org>
286         Fixes: #536857
287
288 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
289
290         * configure.ac:
291         Explicitely link with -ldl if dladdr() is found there. Before it was
292         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
293         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
294
295 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
296
297         * gst/gsterror.c: (_gst_stream_errors_init):
298           Fix typo (spotted by Fabricio Godoy, #536723).
299
300 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
301
302         * configure.ac:
303         0.10.19.2 pre-release
304
305 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
306
307         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
308         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
309         Add some debug.
310         Make sure we don't generate invalid QoS messages.
311
312 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
313
314         * gst/gstevent.c: (gst_event_new_qos):
315         Add some assert and docs for invalid input to the qos function.
316
317 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
318
319         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
320         (gst_base_sink_get_position):
321         The reported position must always be smaller than the last seen
322         timestamps (or timestamp + duration for reverse).
323
324 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
325
326         Patch by: Rob Bradford <rob at robster dot org dot uk>
327
328         * gst/gstregistry.c: (gst_registry_scan_path_level):
329         Don't recurse into .debug directories as some distros install
330         the debugging symbols next to the plugins in .debug directories
331         and dlopen() crashes on them sometimes. Fixes bug #508070.
332
333         Add FIXME for 0.11 to not recurse into directories at all because
334         it's very inconsistent to the behaviour of other PATH environment
335         variables.
336
337 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
338
339         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
340         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
341         Fix position query range checks in reverse playback.
342
343 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
344
345         * gst/gstelement.c:
346         * gst/gstelement.h:
347         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
348         clear of the reference to the resulting pad must be released later
349         or not, resulting in possible leaks. Fixes bug #533865.
350
351 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
352
353         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
354
355         * gst/gstelementfactory.c:
356         Small doc fix. Fixes #535285.
357
358 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
359
360         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
361
362         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
363         (gst_base_src_get_range), (gst_base_src_pad_get_range),
364         (gst_base_src_loop), (gst_base_src_set_flushing),
365         (gst_base_src_change_state):
366         Make sending an EOS event to the basesrc non-blocking even if the
367         implementation does blocking waits in the create function. This is done
368         by unlocking the create function when EOS is sent.
369         Fixes #535218.
370
371 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
372
373         * tools/gst-inspect.c: (print_element_properties_info):
374         If possible print the element type of GValueArray properties.
375
376 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
377
378         * gst/gstiterator.c:
379         Remove an unused field from the private GstListIterator struct.
380
381 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
382
383         * libs/gst/controller/gstcontroller.c:
384           Add parameter guards.
385
386 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
387
388         * tests/check/gst/gstpipeline.c:
389           Revert test change and add comment why it should not work.
390
391 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
392
393         * tests/check/gst/gstpipeline.c:
394           Extending the test a little to verify that we also get the NULL state-
395           change message.
396
397 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
398
399         * gst/gstpreset.c: (gst_preset_default_get_meta),
400           (gst_preset_get_preset_names), (gst_preset_get_property_names),
401           (gst_preset_load_preset), (gst_preset_save_preset),
402           (gst_preset_rename_preset), (gst_preset_delete_preset),
403           (gst_preset_set_meta):
404           Add Since: markers to docs blurbs.
405
406         * win32/common/libgstreamer.def:
407           Add recently-added API.
408
409 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
410
411         Patch by: Stefan Kost  <ensonic@users.sf.net>
412
413         * configure.ac:
414         Add DATADIR for storing presets.
415
416         * docs/gst/gstreamer-docs.sgml:
417         * docs/gst/gstreamer-sections.txt:
418         * docs/gst/gstreamer.types.in:
419         Add GstPreset to docs.
420
421         * gst/Makefile.am:
422         * gst/gst.h:
423         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
424         (preset_open_and_parse_header), (preset_parse_version),
425         (preset_merge), (preset_get_keyfile),
426         (gst_preset_default_get_preset_names),
427         (gst_preset_default_get_property_names),
428         (gst_preset_default_load_preset),
429         (gst_preset_default_save_presets_file),
430         (gst_preset_default_save_preset),
431         (gst_preset_default_rename_preset),
432         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
433         (gst_preset_default_get_meta), (gst_preset_default_randomize),
434         (gst_preset_default_reset), (gst_preset_get_preset_names),
435         (gst_preset_get_property_names), (gst_preset_load_preset),
436         (gst_preset_save_preset), (gst_preset_rename_preset),
437         (gst_preset_delete_preset), (gst_preset_set_meta),
438         (gst_preset_get_meta), (gst_preset_class_init),
439         (gst_preset_base_init), (gst_preset_get_type):
440         * gst/gstpreset.h:
441         Add GstPreset to core. Fixes #396779
442
443         * tests/check/Makefile.am:
444         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
445         (gst_preset_test_set_property), (gst_preset_test_class_init),
446         (gst_preset_test_base_init), (gst_preset_test_get_type),
447         (gst_preset_test_plugin_init), (GST_START_TEST),
448         (remove_preset_file), (test_setup), (test_teardown),
449         (gst_preset_suite):
450         Add GstPreset unit tests.
451
452 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
453
454         * gst/gstpad.c: (gst_pad_event_default_dispatch):
455         The default event function on a sinkpad should return TRUE when
456         there are no internal links but should collect the return values from
457         the internal links otherwise.
458
459 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
460
461         * plugins/elements/gsttypefindelement.c:
462         (gst_type_find_element_src_event),
463         (gst_type_find_element_handle_event):
464         Use faster and safer _pad_push_event().
465
466 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
467
468         * docs/gst/gstreamer-sections.txt:
469         * gst/gstutils.c: (element_find_unlinked_pad),
470           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
471         * gst/gstutils.h:
472           API: add gst_bin_find_unlinked_pad()
473           API: deprecate gst_bin_find_unconnected_pad() (#401456)
474
475 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
476
477         * gst/gstclock.c:
478         * gst/gstclock.h:
479         * gst/gsttask.c:
480         * gst/gsttask.h:
481         Fixed a bunch of typos.
482
483 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
484
485         * gst/gstpad.h:
486         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
487           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
488           (gst_parse_bin_from_description_full):
489         * gst/gstutils.h:
490           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
491
492 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
493
494         * docs/pwg/advanced-tagging.xml:
495           Small docs update, can't be bothered to rewrite the nonsensical
496           examples right now.
497
498 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
499
500         * gst/gstevent.h:
501           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
502
503 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
504
505         * gst/parse/grammar.y:
506           Remove unneeded casts.
507
508 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
509
510         * gst/parse/grammar.y:
511         * tests/check/pipelines/parse-launch.c:
512           Get all missing elements from a parse launch string if possible
513           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
514
515 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
516
517         * tests/check/Makefile.am:
518         * tests/check/pipelines/parse-launch.c:
519           Add some unit tests for the new gst_parse_launch*_full() API.
520           (Exposes a previously-existing memory leak in the error code
521           path, so adding to VALGRIND_TO_FIX for now).
522
523 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
524
525         * docs/gst/gstreamer-sections.txt:
526         * gst/gst.c: (init_post):
527         * gst/gst_private.h: (_GstParseContext):
528         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
529           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
530           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
531           (gst_parse_launch_full):
532         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
533           (GstParseFlags), (GstParseContext):
534         * gst/gstutils.c: (gst_parse_bin_from_description),
535           (gst_parse_bin_from_description_full):
536         * gst/gstutils.h:
537         * gst/parse/grammar.y:
538         * gst/parse/types.h:
539         * win32/common/libgstreamer.def:
540           Add new gst_parse_*_full API (#528178):
541           API: gst_parse_launch_full()
542           API: gst_parse_launchv_full()
543           API: gst_parse_bin_from_description_full()
544           API: gst_parse_context_new()
545           API: gst_parse_context_free()
546           API: gst_parse_context_get_missing_elements()
547
548 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
549
550         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
551
552         * docs/faq/gst-uninstalled:
553           Also support ffmpeg in gst-uninstalled.
554
555 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
556
557         * configure.ac:
558         After discussion on IRC use the binary registry as default
559         but allow to disable it with --disable-binary-registry.
560
561         * win32/common/libgstreamer.def:
562         Add the two new symbols for the binary registry.
563
564 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
565
566         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
567         * gst/gstutils.c: (gst_parse_bin_from_description):
568         * gst/parse/grammar.y: (graph):
569           More guards against bad input; typo fix; some minor clean-ups.
570
571 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
572
573         Patch by: Sjoerd Simons <sjoerd at luon dot net>
574
575         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
576         If nothing else can be used, use the last buffer's start time as
577         the segment's last stop. Fixes bug #534258.
578
579 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
580
581         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
582           Move size sanity check to the right place: downstream may return
583           a buffer with a smaller size if the buffer caps are different than
584           the requested ones, as may happen when doing reverse negotiation.
585
586 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
587
588         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
589         (gst_file_sink_render):
590         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
591         (gst_file_src_start):
592         Small cleanups. Add note adbout g_fopen() on windows and why we don't
593         use it yet.
594
595 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
596
597         * gst/gstpad.c: (gst_pad_load_and_link):
598         * gst/gstutils.c: (gst_element_link_pads),
599         (gst_element_unlink_pads):
600         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
601         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
602         (gst_check_teardown_sink_pad),
603         (gst_check_element_push_buffer_list):
604         * tests/check/elements/fakesink.c: (GST_START_TEST):
605         * tests/check/elements/filesink.c:
606         * tests/check/elements/filesrc.c: (GST_START_TEST):
607         * tests/check/elements/multiqueue.c: (setup_multiqueue),
608         (mq_sinkpad_to_srcpad):
609         * tests/check/elements/tee.c: (GST_START_TEST):
610         * tests/check/generic/sinks.c: (GST_START_TEST):
611         * tests/check/gst/gstbin.c: (GST_START_TEST):
612         * tests/check/gst/gstevent.c: (GST_START_TEST):
613         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
614         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
615         * tests/check/gst/gstquery.c: (GST_START_TEST):
616         * tests/check/gst/gstutils.c: (GST_START_TEST):
617         * tests/check/libs/basesrc.c: (GST_START_TEST):
618         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
619         (gst_parse_test_element_change_state):
620         Don't use gst_element_get_pad().
621
622 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
623
624         * docs/Makefile.am:
625         Fix installing plugin documentation when gtk-doc is disabled.
626
627 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
628
629         * docs/manual/advanced-autoplugging.xml:
630         * docs/manual/basics-helloworld.xml:
631         * docs/manual/basics-pads.xml:
632         * docs/manual/highlevel-components.xml:
633         Avoid using a bad function in the example code.
634
635 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
636
637         * gst/gstclock.c: (gst_clock_set_calibration):
638         Fix debug of the new clock rate.
639
640 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
641
642         * win32/common/libgstbase.def:
643         Add gst_base_sink_wait_clock() to the exported symbols.
644
645 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
646
647         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
648
649         * libs/gst/base/gstbasetransform.c:
650         (gst_base_transform_sink_event):
651         Unref events that the GstBaseTransform::event vfunc didn't want to
652         have forwarded by the base class. Closes a leak in identity.
653         Fixes bug #446763.
654
655 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
656
657         * docs/libs/gstreamer-libs-sections.txt:
658         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
659         * libs/gst/base/gstbasesink.h:
660         Expose a method that was previously used internally to synchronize
661         against the clock because it can be useful for subclasses too.
662         API: GstBaseSink::gst_base_sink_wait_clock()
663
664 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
665
666         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
667           Add sanity check to make sure we don't get smaller buffers
668           than requested (and fallback to normal buffer alloc if we do).
669
670 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
671
672         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
673         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
674         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
675         Refactor adjusting the running_time with latency and offset into a
676         separate method.
677         When doing clipping, we still want to use the subclass get_times method,
678         just in case the DURATION or TIMESTAMP are not set.
679
680 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
681
682         * docs/gst/gstreamer-sections.txt:
683         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
684         * gst/gsttypefind.h:
685         * win32/common/libgstreamer.def:
686           API: add gst_type_find_suggest_simple(), #533740.
687
688 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
689
690         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
691           Use right error code when typefinding fails, so we can use
692           the default (translated) error messages.
693
694 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
695
696         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
697         (gst_base_src_start):
698         When the subclass did not set caps on outgoing buffers, configure the
699         caps we negotiated on the source pad.
700         When the typefind helper does not find caps, error out properly instead
701         of doing things with NULL caps.
702
703 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
704
705         * gst/gsttypefind.h:
706           Tabs to spaces, oh yes!
707
708 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
709
710         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
711           Add David's and Benjamin's tests for array intersection to the
712           unit test suite (#147931).
713
714 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
715
716         * gst/gstevent.c:
717           Document that gst_event_new_tag() and gst_event_new_navigation()
718           take ownership of the taglist/structure passed to them. (#533635).
719
720 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
721
722         * docs/Makefile.am:
723         Don't descend into the plugins dir if plugin docs building
724         is disabled.
725
726         * docs/README:
727         Add a note about the new type:GTypeName syntax for the plugin
728         documentation .types file.
729
730 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
731
732         * gst/gstmessage.c: (gst_message_new_error),
733         (gst_message_new_warning), (gst_message_new_info):
734         * gst/gstmessage.h:
735         Mark the debug string parameters as const. Fixes bug #533490.
736
737 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
738
739         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
740         Sort buffer cache list by end offsets. This makes sure that we don't
741         stop to search for a cached buffer that contains the requested data
742         too early.
743         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
744         more efficient. Fixes bug #459862.
745
746 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
747
748         * gst/gstinfo.c:
749           Explain why we copy the list.
750
751         * gst/gstpipeline.c:
752           Improve docs.
753
754         * gst/gstutils.c:
755           Add one debug-log statement to help tracing probelms with linking pads.
756
757 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
758
759         * tests/check/gst/gstinfo.c:
760         Add a test for removing the default log handler. Seems to fail under
761         windows.
762
763 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
764
765         * gst/gstpad.c: (gst_pad_peer_accept_caps):
766         Release pad lock before calling out to avoid a possible deadlock.
767
768 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
769
770         * gst/parse/grammar.y:
771         Remove unneeded value unset.
772
773         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
774         Add unit test for de/serialization of caps.
775
776 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
777
778         * plugins/elements/gstfakesink.c:
779         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
780         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
781         (gst_fake_src_class_init):
782         Use custom marshalers that take GstMiniObject as first parameter.
783         Using OBJECT as parameter while a GstMiniObject is given will lead
784         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
785
786 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
787
788         * plugins/elements/gsttypefindelement.c:
789         (gst_type_find_element_handle_event),
790         (gst_type_find_element_send_cached_events),
791         (gst_type_find_element_change_state):
792         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
793         immediately.
794
795 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
796
797         * plugins/elements/gsttypefindelement.c:
798         (gst_type_find_handle_src_query), (stop_typefinding),
799         (gst_type_find_element_handle_event),
800         (gst_type_find_element_send_cached_events),
801         (gst_type_find_element_change_state):
802         Forward FLUSH_START events immediately and clean up instead of
803         caching them.
804
805 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
806
807         Patch by: Sjoerd Simons <sjoerd at luon dot net>
808
809         * libs/gst/base/gstbasetransform.c:
810         (gst_base_transform_buffer_alloc):
811         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
812         fall back to default negotiation in the chain function if the caps
813         are different from what was requested. Fixes bug #526768.
814
815 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
816
817         * gst/gstsegment.c:
818         * tests/check/gst/gstsegment.c:
819           No, let's not use g_slice_{dup|copy} here, since they only exist
820           since GLib 2.14 and we still depend only on >= 2.12. Also add
821           unit test for gst_segment_copy().
822
823 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
824
825         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
826           Try to fix 'dereferencing type-punned pointer will break strict
827           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
828           changed the default GType typedef from gulong to gsize at some point,
829           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
830           g_once_* functions all take a gsize * though, so work around the type
831           mismatch for C++ by doing everything in gsize and casting to GType
832           later.
833
834 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
835
836         * plugins/elements/gstmultiqueue.c:
837         Add documentation for the signals to push our core plugin docs
838         coverage back up to 100%.
839
840 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
841
842         * gst/gstinfo.h (GST_FUNCTION):
843           Reverted GST_FUNCTION to the old version as we don't want the
844           full signature in C++ code. Also added support for MSVC.
845
846 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
847
848         * gst/gstutils.h:
849         Intern the type name string, similar to what G_DEFINE_TYPE does.
850
851 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
852
853         * gst/gstutils.h:
854         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
855
856 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
857
858         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
859
860         * libs/gst/base/gstbasetransform.c:
861         (gst_base_transform_buffer_alloc):
862         Don't passthrough buffer allocation too easily if the caps change.
863         This breaks when working in passthrough mode and upstream changes
864         it's caps. Fixes bug #526768.
865
866 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
867
868         * gst/gstinfo.c (gst_debug_log_valist):
869           Improved the __FILE__ part of debug output for MSVC.
870
871 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
872
873         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
874           Declaration after statement fix for compilers like MSVC.
875
876 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
877
878         * win32/common/config.h.in:
879           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
880           use the real thing than having "???" unconditionally.
881
882 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
883
884         * gst/gstinfo.h (GST_FUNCTION):
885           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
886
887 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
888
889         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
890         Small code cleanup.
891
892         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
893         (gst_base_sink_set_flushing):
894         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
895         Fix some comments.
896
897 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
898
899         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
900         (gst_fake_src_init), (gst_fake_src_set_property),
901         (gst_fake_src_get_property), (gst_fake_src_start):
902         * plugins/elements/gstfakesrc.h:
903         Added format property to control the format of the newsegment events.
904         API: GstFakeSrc:format
905
906 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
907
908         * win32/common/libgstreamer.def:
909         Add gst_pad_has_name() to the exported symbols.
910
911 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
912
913         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
914         * libs/gst/base/gstbasetransform.c:
915         (gst_base_transform_prepare_output_buffer):
916         Don't allow negative sizes when allocating new buffers.
917         Fixes bug #461253.
918
919 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
920
921         Patch by: Sjoerd Simons <sjoerd at luon net>
922
923         * gst/gstbus.c: (gst_bus_source_dispatch):
924           Don't print a warning if the queue is empty when we try to pop
925           here. That could happen if another thread or callback set the
926           bus to flushing between the source's check/prepare and the
927           dispatch being called (#531538).
928
929 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
930
931         * plugins/elements/gstmultiqueue.c:
932           Small docs fix.
933         
934 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
935
936         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
937         Add unit test for deserializing uint64s and check some really large
938         numbers in the int64 test.
939
940 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
941
942         * tools/gst-inspect.c: (n_print), (print_hierarchy),
943         (print_interfaces), (print_element_properties_info),
944         (print_signal_info):
945         Use "%s" as format string instead of printing strings directly.
946
947 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
948
949         * gst/gstclock.c: (gst_clock_set_calibration):
950         Make some checks actually useful.
951
952         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
953         Remove some unused code. Unsigned integers tend to be >= 0.
954
955 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
956
957         * gst/gstminiobject.c: (gst_value_get_mini_object):
958           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
959           function was not in the unscheduled 0.10.19 release.
960
961 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
962
963         * gst/gstregistry.c: (gst_registry_scan_path_level):
964           Only print one log message per non-plugin file.
965
966 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
967
968         * gst/gstinfo.c: (gst_debug_log_default):
969           Fix alignment of debug log columns on 64-bit.
970
971 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
972
973         * docs/libs/Makefile.am:
974         * docs/libs/gstreamer-libs-sections.txt:
975           Ignore private controller headers for docs.
976
977 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
978
979         * libs/gst/controller/gstcontrollerprivate.h:
980         * libs/gst/controller/gsthelper.c:
981         * libs/gst/controller/gstinterpolation.c:
982         * libs/gst/controller/gstinterpolationcontrolsource.c:
983         (gst_interpolation_control_source_set_interpolation_mode):
984         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
985         * libs/gst/controller/lib.c:
986         Move some private declarations into private headers.
987
988 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
989
990         * gst/gstdebugutils.c: (debug_dump_element_pad):
991         Remove some code that is unused after Stefan's refactoring and uses
992         uninitialized variables now, resulting in a compiler warning.
993
994 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
995
996         * gst/gstregistry.c: (gst_registry_scan_path_level):
997           Run g_str_has_suffix() only on the file name, not the
998           entire file path.
999
1000 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
1001
1002         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
1003           Since we're not called only from the chain function any longer,
1004           we can't assume that there's always data in the queue, so move
1005           the is_full check to the beginning of the loop (otherwise we'd
1006           hit the assert when changing the limit properties while the
1007           queue is empty or not running yet).
1008           Also, only set a discont if items were actually removed from
1009           the queue.
1010
1011         * tests/check/elements/queue.c: (test_leaky_downstream):
1012           Test case for the above.
1013
1014 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
1015
1016         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
1017
1018         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
1019         (gst_queue_chain), (queue_capacity_change),
1020         (gst_queue_set_property):
1021         When changing thr max capacity of a leaky queue, immediatly drop buffers
1022         instead of waiting for a push on the sinkpad. Fixes #530637.
1023
1024 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
1025
1026         * gst/gstdebugutils.c:
1027           Refactor code and fix handling of ghostpads and their proxypads.
1028
1029 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1030
1031         * docs/gst/gstreamer-sections.txt:
1032         * gst/gstevent.c: (gst_event_has_name):
1033         * gst/gstevent.h:
1034         * tests/check/gst/gstevent.c: (GST_START_TEST):
1035         Add method to conveniently check the name of a custom event with
1036         gst_event_has_name().
1037         Reformat the event docs so that related methods are put together instead
1038         of the default alphabetical sort.
1039         Update unit test with new method.
1040         API: GstEvent::gst_event_has_name()
1041
1042 2008-04-28  Michael Smith <msmith@songbirdnest.com>
1043
1044         * libs/gst/check/Makefile.am:
1045           Don't add an explicit link to libgstreamer-0.10.la; it's already
1046           included in GST_OBJ_LIBS.
1047
1048 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
1049
1050         * gst/gst.c:
1051         Register GstClock type from a type-safe context. Fixes bug #530317.
1052
1053 2008-04-25  Michael Smith <msmith@songbirdnest.com>
1054
1055         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
1056         * tools/gst-run.c:
1057           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
1058
1059 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1060
1061         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1062         (gst_bin_dispose):
1063         Use the GLib stuff to create a private structure.
1064         Add some locking around some dispose methods to make them a little
1065         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1066
1067 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
1068
1069         * libs/gst/base/gstbasesink.h:
1070         * libs/gst/base/gstbasesrc.h:
1071         * libs/gst/base/gstbasetransform.h:
1072         * libs/gst/base/gstcollectpads.h:
1073           Fix doc typos and unify caps a bit.
1074
1075 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
1076
1077         * tools/gst-launch.1.in:
1078           Forgot to also add the envvar docs here.
1079
1080 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
1081
1082         * gst/gst.c: (init_post), (gst_deinit):
1083         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
1084           (test_concurrent_create), (gst_pipeline_suite):
1085           Ref some more classes in gst_init() to work around thread-safety
1086           issues in pre-2.16 GLibs, and add basic unit test.
1087
1088 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1089
1090         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1091         (gst_base_sink_send_event):
1092         Rearrange the latency query code. We always want to do the upstream
1093         query, even if we are not live so that the upstream elements can get the
1094         latency results too. If we fail doing the query and we are live, we
1095         return TRUE afterwards.
1096
1097 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1098
1099         patch by: Jason Zhao <e3423c@motorola.com>
1100
1101         * docs/gst/running.xml:
1102         * gst/gst.c:
1103           Enable/disable scan_and_update_registry() based on commandline switch
1104           or environment variable. Fixes #520468.
1105           
1106         * ChangeLog:
1107           Fix typo in my previous commit.
1108
1109 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1110
1111         * gst/gstregistrybinary.c:
1112           Add a warning if we hit unhandled factories when saving.
1113           More debug logging detail, but move to LOG category.
1114
1115 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1116
1117         * gst/gstregistry.c:
1118           Tell the *truth* when improving the documentation.
1119
1120 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
1121
1122         * gst/gstelementfactory.c: (gst_element_factory_make):
1123         Unref the factory after it was used the last time, not before.
1124
1125         * gst/gstindexfactory.c: (gst_index_factory_make):
1126         Improve debugging a bit and don't leak a ref to the index factory with
1127         each call.
1128
1129 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1130
1131         * gst/gstregistry.c:
1132           Improve the documentation.
1133
1134 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1135
1136         * gst/gstsegment.c:
1137           The glib macro seems to be borked. Use g_slice_copy directly and cast
1138           in the hope that this fixes the warning on 64bit.
1139
1140 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1141
1142         * gst/gstsegment.c:
1143           Document the new function. Use g_slice_dup() (no need for
1144           gst_segment_init()).    
1145
1146 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1147
1148         * docs/gst/gstreamer-sections.txt:
1149           Move GParamSepc macros to standart section.
1150   
1151         * gst/gstbin.c:
1152           Dn't document _get_type - its in private section in docs anyway and
1153           this doc-blob was incomplete.
1154
1155         * gst/gstclock.h:
1156           Fix wrong symbol names in docs.
1157
1158         * gst/gstmacros.h:
1159           Add once doc sentence.
1160
1161         * tests/check/gst/.cvsignore:
1162           Ignore more.
1163
1164 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1165
1166         * docs/gst/Makefile.am:
1167           And remove those libs here.
1168
1169 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
1170
1171         * docs/libs/Makefile.am:
1172           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
1173
1174 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1175
1176         Patch by: Olivier Crete <tester at tester dot ca>
1177
1178         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1179         Add the min-threshold to the min latency if possible. Fixes #529148.
1180
1181 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1182
1183         * docs/gst/gstreamer.types.in:
1184           Stupid editor, I removed that line as it should go in yet.
1185
1186 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1187
1188         * docs/gst/gstreamer.types.in:
1189         * docs/libs/gstreamer-libs.types:
1190           Remove library types fro core docs and have them in libs docs.
1191           Reformat and cleanup. Add comment for miniobject types.
1192
1193 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
1194
1195         * gst/gsturi.c: (gst_uri_get_protocol):
1196           Fix leak: g_strdown operates on the string in place, while
1197           g_ascii_strdown() returns a newly-allocated string.
1198
1199 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
1200
1201         * tools/gst-inspect.c: (print_uri_handler_info),
1202         (print_element_info):
1203         Print the URI protocols and the URI type supported by the element.
1204
1205 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1206
1207         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
1208         Use g_value_take_string() instead of the deprecated
1209         g_value_set_string_take_ownership().
1210
1211 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1212
1213         * gst/gstregistrybinary.c: (_gst_crc32):
1214         Return the old CRC instead of 0 if we give a NULL buffer
1215         or a buffer with a length of 0.
1216
1217 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1218
1219         * gst/gsturi.c: (gst_uri_protocol_check_internal),
1220         (gst_uri_get_protocol), (gst_uri_has_protocol),
1221         (gst_uri_construct), (gst_uri_handler_set_uri):
1222         A valid URI scheme can also include '+', '-' and '.' additional
1223         to alphanumeric characters as per RFC 3986 Section 3.1.
1224
1225         Handle URI schemes case insensitive in all places and convert
1226         to lower-case when constructing an URI or setting an URI with
1227         the GstURIHandler interface. Fixes bug #528868.
1228         All elements can still assume (as before) that they will
1229         get passed URIs with a lower-case URI scheme by the GstURIHandler
1230         interface.
1231
1232 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
1233
1234         * gst/gstcaps.c: (gst_static_caps_get):
1235         * gst/gstclock.c: (gst_clock_entry_new):
1236           Don't use g_atomic_set_int where it's not needed.
1237
1238 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
1239
1240         * gst/gstvalue.c: (gst_value_deserialize_caps):
1241         * gst/parse/grammar.y:
1242         Fix 2 caps leaks.
1243
1244 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1245
1246         * gst/gstutils.c: (gst_atomic_int_set):
1247         Use g_atomic_int_set() here too instead of assignment +
1248         g_atomic_int_get().
1249
1250 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1251         
1252         * gst/gstutils.c:
1253         * gst/gstutils.h:
1254         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1255         now that we depend on new enough GLib.
1256
1257         * gst/gstcaps.c: (gst_static_caps_get):
1258         * gst/gstclock.c: (gst_clock_entry_new):
1259         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1260         (gst_debug_set_default_threshold), (_gst_debug_category_new),
1261         (gst_debug_category_set_threshold):
1262         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1263         (gst_base_sink_set_qos_enabled):
1264         * libs/gst/net/gstnettimeprovider.c:
1265         (gst_net_time_provider_set_property):
1266         Use g_atomic_int_set() instead of gst_atomic_int_set().
1267
1268 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1269
1270         * gst/gstquery.c:
1271           Also use G_GINT64_CONSTANT for the queries.
1272
1273 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1274
1275         * gst/gstmessage.c:
1276           Use G_GINT64_CONSTANT in varargs function.
1277
1278 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1279
1280         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1281         Initialize the registry magic with zeroes.
1282
1283 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1284
1285         * gst/gstregistrybinary.c: (_gst_crc32),
1286         (gst_registry_binary_write),
1287         (gst_registry_binary_initialize_magic),
1288         (gst_registry_binary_write_cache),
1289         (gst_registry_binary_check_magic),
1290         (gst_registry_binary_read_cache):
1291         * gst/gstregistrybinary.h:
1292         Add crc32 checksum to the binary registry file and check this before
1293         accepting a registry file.
1294
1295         Also free the data list when writing to the registry file fails.
1296
1297 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1298
1299         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1300         (gst_registry_binary_load_feature),
1301         (gst_registry_binary_load_plugin):
1302         If an element supports the Uri interface, returns a valid pointer
1303         to the supported URI protocols but this pointer contains nothing
1304         don't try to save that as it will corrupt the registry.
1305
1306         Don't unref the plugin if we added it to the registry already but
1307         fail to load a feature as gst_registry_add_plugin() takes ownership
1308         of the plugin.
1309
1310         Improve debugging a bit.
1311
1312 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1313
1314         * gst/gsttaglist.h:
1315           Clarify some tag item docs after discussion on irc.
1316
1317 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1318
1319         * docs/gst/gstreamer-docs.sgml:
1320           Remove commented out plugins (they have their own docs). Update
1321           comments.
1322
1323 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1324
1325         * docs/gst/gstreamer-docs.sgml:
1326         * docs/gst/gstreamer-sections.txt:
1327         * gst/gstparamspecs.c:
1328         * gst/gstparamspecs.h:
1329           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1330           docs to own section.
1331
1332         * gst/gstvalue.c:
1333           This now only documents GValue.
1334           
1335         * docs/libs/gstreamer-libs-sections.txt:
1336         * libs/gst/controller/gstcontroller.h:
1337           Remove GST_PARAM_CONTROLLABLE.
1338
1339 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1340
1341         * docs/README:
1342           Correct file path. Tell about how to use -overrides.txt.
1343         * docs/design/draft-tagreading.txt:
1344           Small design update.
1345
1346 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
1347
1348         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1349         (gst_registry_binary_load_plugin):
1350         Fix a typo in a debug message and revert change from yesterday as
1351         gst_registry_add_plugin() will only fail if something is really wrong
1352         already and we can't survive it anyway.
1353
1354 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
1355
1356         * gst/gst.c: (init_post), (gst_deinit):
1357           Pre-register GstGError GType from a thread-safe context
1358           (fixes #527967); unref enum type classes in deinit.
1359
1360 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1361
1362         Patch by: Rene Stadler <mail at renestadler de>
1363
1364         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1365           Merging an empty list with another list in KEEP_ALL mode should
1366           yield an empty list as result and not the second list (#512578).
1367
1368         * tests/check/gst/gsttagsetter.c:
1369           Add unit test for tag merge modes and the aforementioned bug.
1370
1371 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1372
1373         Patch by: Rene Stadler <mail at renestadler de>
1374
1375         * gst/gsttaglist.h:
1376           Fix description to match the order in the table (#512577).
1377   
1378 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1379
1380         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
1381
1382         * libs/gst/net/gstnettimepacket.h:
1383         * docs/libs/gstreamer-libs-sections.txt:
1384           Define socklen_t as int if it's not defined yet. Fixes compilation
1385           with MSVC6 and other versions where socklen_t is not defined in
1386           the windows headers (#518022).
1387
1388 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
1389
1390         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1391         If gst_registry_add_plugin() fails our reference to the plugin is
1392         invalid so don't try to use it anymore and instead error out.
1393
1394 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
1395
1396         * tools/gst-xmlinspect.c: (print_element_info), (main):
1397           De-cruft a bit. If no argument is specified, print all elements in
1398           XML syntax rather than a freestyle list of elements like gst-inspect.
1399           Also, don't print XML header chunk unless we actually have something
1400           to print (ie. don't print it before an error message); print error
1401           message to stderr not stdout. Remove support for printing plugin
1402           info (it would just output something freestyle along the lines of
1403           gst-inspect so far), which fixes #514507. Also add license header.
1404
1405 2008-04-11  Julien Moutte  <julien@fluendo.com>
1406
1407         Mac OS X love...
1408         * configure.ac: Merge platform specific defines, introduce a new
1409         define on OS X to remember that forking when updating registry is
1410         unsafe.
1411         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1412         module.
1413         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1414         is defined.
1415         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1416         condition that leads to absolutely no plugins being registered on
1417         OS X.
1418
1419 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1420
1421         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1422
1423         * gst/gstutils.c: (gst_pad_add_data_probe),
1424           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1425           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1426           (gst_pad_add_buffer_probe_full):
1427         * gst/gstutils.h:
1428         * docs/gst/gstreamer-sections.txt:
1429         * win32/common/libgstreamer.def:
1430           Add gst_pad_add_*_probe_full() functions with a notify callback that
1431           lets the caller free the data it passes to the probe functions. This
1432           is useful for bindings such as gst-python or gstreamermm (#526814).
1433           API: gst_pad_add_data_probe_full
1434           API: gst_pad_add_buffer_probe_full
1435           API: gst_pad_add_event_probe_full
1436
1437         * tests/check/gst/gstutils.c:
1438           Add minimal unit test to make sure freeing the data actually works
1439           as expected.
1440
1441         * tests/benchmarks/.cvsignore:
1442           Random cvsignore addendum.
1443
1444 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1445
1446         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1447           (GST_DEBUG_BIN_TO_DOT_FILE):
1448           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1449           to it in the docs (since these are macros the types of the arguments
1450           won't be shown in the docs otherwise).
1451
1452 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1453
1454         * gst/gstpad.c:
1455           Do not abort on out of memory for pad_alloc_buffer.
1456
1457 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1458
1459         * libs/gst/check/gstcheck.c:
1460           Remove blank line between symbol name ad parameters to fix gtkdoc
1461           warning.
1462
1463 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1464
1465         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
1466
1467         * docs/gst/gstreamer-sections.txt:
1468         * gst/gstsegment.c:
1469         * gst/gstsegment.h:
1470         * win32/common/libgstreamer.def:
1471           Expose gst_segment_copy() to make things easier for the c++ bindings.
1472           Fixes #518932.
1473           API: gst_segment_copy()
1474
1475 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1476
1477         * gst/gst.c: (gst_init_get_option_group), (init_post):
1478           Fix const position; ref GType classes for enum types to work
1479           around thread-safety issues in GLib versions < 2.16.
1480
1481 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
1482
1483         * docs/design/part-buffering.txt:
1484         Fix some typos and set the estimated total for push mode to -1.
1485
1486         * gst/gstquery.c: (gst_query_new_buffering):
1487         Set buffering-left to 0 as we're not buffering by default.
1488
1489         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1490         Implement BUFFERING query.
1491
1492 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1493
1494         Based on patch by: Milosz Derezynski <internalerror gmail com>
1495
1496         * gst/gsterror.c: (_gst_stream_errors_init):
1497         * gst/gsterror.h:
1498           Add two new error codes for encrypted content. Fixes #524659.
1499           API: GST_STREAM_ERROR_DECRYPT
1500           API: GST_STREAM_ERROR_DECRYPT_NOKEY
1501
1502 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1503
1504         * gst/gstquery.h:
1505           Fix typo.
1506
1507         * win32/common/libgstreamer.def:
1508           Add new functions.
1509
1510 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
1511
1512         * plugins/elements/gstidentity.c: (gst_identity_event),
1513         (gst_identity_start):
1514         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
1515         event after processing some data. Fixes bug #526042.
1516
1517 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1518
1519         * docs/gst/gstreamer-sections.txt:
1520         * gst/gstquery.c: (gst_query_parse_latency),
1521         (gst_query_set_buffering_percent),
1522         (gst_query_parse_buffering_percent),
1523         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
1524         * gst/gstquery.h:
1525         Rename _avail -> _range
1526         API: gst_query_set_buffering_range
1527         API: gst_query_parse_buffering_range
1528
1529 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1530
1531         * docs/design/part-buffering.txt:
1532         * gst/gstquark.c:
1533         * gst/gstquark.h:
1534         * gst/gstquery.c: (gst_query_parse_latency),
1535         (gst_query_new_buffering), (gst_query_set_buffering_percent),
1536         (gst_query_parse_buffering_percent):
1537         * gst/gstquery.h:
1538         Add busy field and quark for the buffering query so that the app can
1539         only use the query to see if buffering is in progress.
1540
1541 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1542
1543         * docs/gst/gstreamer-sections.txt:
1544         * gst/gstmessage.c: (gst_message_set_buffering_stats),
1545         (gst_message_parse_buffering_stats):
1546         * gst/gstmessage.h:
1547         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1548         (gst_query_parse_latency), (gst_query_new_buffering),
1549         (gst_query_set_buffering_percent),
1550         (gst_query_parse_buffering_percent),
1551         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
1552         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
1553         * gst/gstquery.h:
1554         Reorder the message docs and headers for clarity.
1555         Add aditional buffering stats API for messages.
1556         Add buffering query.
1557         Convert some leftover queries to use GstQuark.
1558         API: gst_message_set_buffering_stats
1559         API: gst_message_parse_buffering_stats
1560         API: GST_QUERY_BUFFERING
1561         API: GstBufferingMode
1562         API: gst_query_new_buffering
1563         API: gst_query_set_buffering_percent
1564         API: gst_query_parse_buffering_percent
1565         API: gst_query_set_buffering_stats
1566         API: gst_query_parse_buffering_stats
1567
1568 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1569
1570         * gst/gstmessage.c: (gst_message_new_error),
1571         (gst_message_new_warning), (gst_message_new_info),
1572         (gst_message_new_buffering), (gst_message_new_state_changed),
1573         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
1574         (gst_message_new_new_clock), (gst_message_new_segment_start),
1575         (gst_message_new_segment_done), (gst_message_new_duration),
1576         (gst_message_new_async_start), (gst_message_parse_buffering),
1577         (gst_message_parse_state_changed),
1578         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1579         (gst_message_parse_new_clock), (gst_message_parse_error),
1580         (gst_message_parse_warning), (gst_message_parse_info),
1581         (gst_message_parse_segment_start),
1582         (gst_message_parse_segment_done), (gst_message_parse_duration),
1583         (gst_message_parse_async_start):
1584         Use GstQuark for messages.
1585
1586 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1587
1588         * gst/gstquark.c: (_priv_gst_quarks_initialize):
1589         * gst/gstquark.h:
1590         Add some more quarks needed for messages and queries.
1591
1592 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1593
1594         * docs/design/part-buffering.txt:
1595         Remove the "none" buffering mode, STREAM is a good default.
1596         Move estimated-time to the avail query, that's when it will be needed.
1597         Other small typo fixes and updates.
1598
1599 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
1600
1601         * gst/gstindex.c: (gst_index_resolver_get_type):
1602           Don't put descriptions into the nick field of a GEnumValue: it's not
1603           meant for that and some language bindings rely on the nick field to
1604           construct constants and the like. Fixes #526705.
1605
1606 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
1607
1608         * NEWS:
1609         * RELEASE:
1610         * gstreamer.doap:
1611           Merge other changes from 0.10.19 release branch.
1612
1613 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
1614
1615         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1616
1617         * configure.ac:
1618         Actually build dlls when cross-compiling with mingw32.
1619         Fixes bug #526247.
1620
1621 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
1622
1623         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1624
1625         * gst/gstpoll.c:
1626         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
1627
1628 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1629
1630         * docs/design/draft-latency.txt:
1631         Fix typo.
1632
1633         * docs/design/part-buffering.txt:
1634         Update design docs with more buffering ideas.
1635
1636 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
1637
1638         * configure.ac:
1639           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
1640
1641 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
1642
1643         * configure.ac:
1644           Revert part that belongs to the preset patch.
1645
1646 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
1647
1648         * configure.ac:
1649           Add qoutes to the define. Fixes # 525961.
1650
1651 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
1652
1653         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
1654         (gst_file_index_load), (gst_file_index_add_id),
1655         (gst_file_index_get_assoc_entry):
1656         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
1657         (gst_mem_index_free_id), (gst_mem_index_add_id),
1658         (gst_mem_index_index_format):
1659         Use GSlice when possible.
1660
1661 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
1662
1663         * libs/gst/controller/gstinterpolationcontrolsource.c:
1664         (gst_control_point_free),
1665         (gst_interpolation_control_source_set_internal):
1666         Use GSlice for allocating the control points.
1667
1668 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
1669
1670         * plugins/elements/gsttypefindelement.c:
1671         (gst_type_find_element_class_init),
1672         (gst_type_find_element_set_property),
1673         (gst_type_find_element_get_property),
1674         (gst_type_find_element_activate):
1675         * plugins/elements/gsttypefindelement.h:
1676         Cleanup properties.
1677         Fix pad leak when peer query fails.
1678         We can still typefind when the peer returns -1.
1679         Add property to force caps and bypass typefinding. This will be used in
1680         uridecodebin.
1681         API::force-caps
1682
1683 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
1684
1685         * configure.ac:
1686         Require GLib 2.12.
1687
1688         * gst/glib-compat-private.h:
1689         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
1690         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1691         Unconditionally use GSlice for allocation.
1692
1693         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
1694         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
1695         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
1696         (gst_structure_free):
1697         Use GSlice for allocation.
1698
1699 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
1700
1701         * gst/parse/Makefile.am:
1702         * gst/parse/grammar.tab.pre.c:
1703         * gst/parse/grammar.tab.pre.h:
1704         * gst/parse/lex._gst_parse_yy.pre.c:
1705         Require a new enough flex and bison and remove the parser hacks to use
1706         a pre-regenerated version.
1707
1708 2008-04-01  Julien Moutte  <julien@fluendo.com>
1709
1710         patch by: Jason Zhao <E3423C@motorola.com>
1711
1712         * configure.ac: Add a configure switch to disable option parsing
1713         in gst_init.
1714         Fixes #522882.
1715
1716 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1717
1718         * configure.ac:
1719         * gst/gstregistry.c:
1720           MacOS has plugins under .so or under .dylib. Add detection for MacOS
1721           and handle this case.
1722
1723         * gst/gst.c:
1724           Add a comment here describing, why we stat each plugin and not try to
1725           be smart.
1726
1727 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
1728
1729         * libs/gst/base/gstbasetransform.c:
1730         (gst_base_transform_prepare_output_buffer):
1731         Also unset the GAP flag on buffers if we're working inplace but
1732         the element is not GAP-aware.
1733
1734         Mark a comment as FIXME 0.11.
1735
1736 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1737
1738         * gst/gst.c:
1739           Fix type in log message and add one to ease seeing how long registry
1740           cache verification takes.
1741
1742         * gst/gstregistry.c:
1743           Only test plugin filenames against G_MODULE_SUFFIX.
1744
1745 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1746
1747         * gst/gstdebugutils.c:
1748           Improve handling ghost/proxy pads.
1749
1750 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
1751
1752         * docs/gst/gstreamer-sections.txt:
1753         * gst/gstpad.c:
1754         * gst/gstpad.h:
1755           Expose macro to docs and fix link to it.
1756
1757 2008-03-27  Michael Smith <msmith@fluendo.com>
1758
1759         * libs/gst/dataprotocol/dataprotocol.c:
1760         (gst_dp_packet_from_event_1_0):
1761           When calculating GDP body CRC, use the correct pointer. 
1762           Fixes part of #522401.
1763
1764 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1765
1766         Patch by: Mark Nauwelaerts <manauw at skynet be>
1767
1768         * plugins/elements/gstidentity.c: (gst_identity_class_init),
1769         (gst_identity_init), (gst_identity_prepare_output_buffer):
1770         Identity is not always a passthrough element, it can modify the buffer
1771         timestamps when it has a datarate and operates in single-segment mode.
1772         We therefore make it an in_place filter with a custom buffer prepare
1773         function that conditionally makes the input buffer metadata writable
1774         when needed.  Fixes #523985.
1775
1776 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1777
1778         Patch by: Mark Nauwelaerts <manauw at skynet be>
1779
1780         * gst/gstclock.h:
1781         * libs/gst/base/gstbasesrc.h:
1782         * libs/gst/base/gstbasetransform.c:
1783         * libs/gst/check/gstcheck.c:
1784         Small documentation fixes. Fixes #523978.
1785
1786 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1787
1788         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
1789         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
1790         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
1791
1792 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1793
1794         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
1795         (single_queue_underrun_cb):
1796         When trying to make room in the queue, bump the max allowed buffers
1797         bigger than the current amount of buffers in the queue. this fixes some
1798         nasty deadlocks in multiqueue when dynamically changing the limits of
1799         the queue.
1800
1801 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1802
1803         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
1804
1805         * gst/gstcaps.c: (gst_caps_set_simple),
1806         (gst_caps_set_simple_valist), (gst_caps_intersect):
1807         * gst/gstcaps.h:
1808         Constify the field gchar * params in set_simple and friends.
1809         Fixes #522326.
1810
1811 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1812
1813         * gst/gstvalue.c: (gst_value_transform_object_string):
1814         Transform a GstObject to a more meaningfull string that includes the
1815         object type in addition to its name.
1816
1817 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
1818
1819         * ChangeLog:
1820           ChangeLog surgery to add bugnumber to commit.
1821
1822 2008-03-23  Rene Stadler  <mail@renestadler.de>
1823
1824         * libs/gst/base/gstbasetransform.c:
1825         (gst_base_transform_set_gap_aware): Fix confusing documentation.
1826
1827 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1828
1829         * gst/gstregistrybinary.c: (gst_registry_binary_write):
1830         Rename constant everywhere and don't forget one occurence.
1831
1832 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1833
1834         * gst/gstregistrybinary.c: (gst_registry_binary_write):
1835         Align memory to the pointer size even if the architecture allows
1836         unaligned memory access. Unaligned memory access usually comes with
1837         performance penality.
1838
1839 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1840
1841         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1842         (gst_registry_binary_check_magic),
1843         (gst_registry_binary_load_pad_template),
1844         (gst_registry_binary_load_feature),
1845         (gst_registry_binary_load_plugin):
1846         Align memory to the pointer size instead of always 32 bit. Fixes
1847         unaligned memory accesses on ia64 and friends.
1848
1849         * gst/gstregistrybinary.h:
1850         Bump binary registry format version for this as it changes the
1851         format on those architectures that don't have unaligned access
1852         and 64 bit pointers.
1853
1854 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
1855
1856         * docs/pwg/advanced-dparams.xml:
1857         * docs/pwg/building-props.xml:
1858         * docs/pwg/other-source.xml:
1859         * gst/glib-compat.h:
1860         * gst/gstbin.c: (gst_bin_class_init):
1861         * gst/gstclock.c: (gst_clock_class_init):
1862         * gst/gstindex.c: (gst_index_class_init):
1863         * gst/gstobject.c: (gst_object_class_init):
1864         * gst/gstpad.c: (gst_pad_class_init):
1865         * gst/gstpipeline.c: (gst_pipeline_class_init):
1866         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1867         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
1868         * libs/gst/base/gstbasetransform.c:
1869         (gst_base_transform_class_init):
1870         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
1871         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
1872         (_gst_check_fault_handler_sighandler),
1873         (_gst_check_fault_handler_setup), (gst_check_init):
1874         * libs/gst/controller/gstcontroller.c:
1875         (_gst_controller_class_init):
1876         * libs/gst/controller/gstlfocontrolsource.c:
1877         (gst_lfo_control_source_class_init):
1878         * libs/gst/net/gstnetclientclock.c:
1879         (gst_net_client_clock_class_init):
1880         * libs/gst/net/gstnettimeprovider.c:
1881         (gst_net_time_provider_class_init):
1882         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
1883         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
1884         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
1885         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
1886         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1887         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
1888         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1889         * plugins/elements/gstidentity.c: (gst_identity_class_init):
1890         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
1891         * plugins/elements/gstqueue.c: (gst_queue_class_init):
1892         * plugins/elements/gsttee.c: (gst_tee_class_init):
1893         * plugins/elements/gsttypefindelement.c:
1894         (gst_type_find_element_class_init):
1895         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
1896         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
1897         use it everywhere for GParamSpecs that use static strings (i.e. all).
1898         This gives us less memory usage, fewer allocations and thus less
1899         memory defragmentation. Fixes bug #523806.
1900
1901 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
1902
1903         * gst/gstminiobject.c: (gst_value_dup_mini_object),
1904         (gst_param_spec_mini_object):
1905         * gst/gstminiobject.h:
1906         * win32/common/libgstreamer.def:
1907         * docs/gst/gstreamer-sections.txt:
1908         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
1909         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
1910         GstParamSpecMiniObject into a public header for this.
1911
1912         This make GstMiniObject a bit more consistent with GObject and makes
1913         it possible to extend the param specs.
1914
1915         gst_value_dup_mini_object is mainly useful for set_property methods.
1916
1917         Fixes bug #523798.
1918
1919         * tools/gst-inspect.c: (print_element_properties_info):
1920         Print something useful for GstMiniObject properties and not just
1921         "unknown type".
1922
1923 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
1924
1925         * docs/gst/gstreamer-sections.txt:
1926         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1927         (gst_registry_binary_check_magic):
1928         * gst/gstregistrybinary.h:
1929         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
1930         and add it to the (private part) of the docs to fix the build.
1931
1932 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
1933
1934         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1935         (gst_registry_binary_check_magic),
1936         (gst_registry_binary_read_cache):
1937         * gst/gstregistrybinary.h:
1938         Don't use GST_MAJORMINOR for the binary registry version. Instead
1939         hardcode a value that must be changed whenever the format changes
1940         in an incompatible way.
1941         Also don't GST_ERROR when there is a version mismatch, just
1942         regenerate the registry silently.
1943
1944 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
1945
1946         * configure.ac:
1947         Back to development - 0.10.18.1
1948
1949 === release 0.10.18 ===
1950
1951 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
1952
1953         * configure.ac:
1954           releasing 0.10.18, "So far away"
1955
1956 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
1957
1958         * configure.ac:
1959         * win32/common/config.h:
1960         0.10.17.4 pre-release
1961
1962 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1963
1964         Patch by: Ole André Vadla Ravnås
1965             <ole dot andre dot ravnas at tandberg dot com>
1966
1967         * docs/gst/gstreamer-sections.txt:
1968         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
1969         (gst_poll_update_winsock_event_mask),
1970         (gst_poll_prepare_winsock_active_sets),
1971         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
1972         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
1973         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
1974         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
1975         (gst_poll_check_ctrl_commands), (gst_poll_wait):
1976         * gst/gstpoll.h:
1977         * win32/common/libgstreamer.def:
1978         Add new function gst_poll_fd_ignored() for improved Windows
1979         compatibility.
1980         Various minor fixes and cleanups. See #520808.
1981
1982 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
1983
1984         * gst/gstindex.c: (gst_index_entry_free):
1985         * gst/gstindex.h:
1986           Don't free key strings which we don't own. Fixes crash in
1987           gst_index_entry_free() (#522741).
1988
1989         * tests/check/Makefile.am:
1990         * tests/check/gst/.cvsignore:
1991         * tests/check/gst/gstindex.c: (test_index_entries),
1992           (gst_index_suite), (gst_index):
1993           Add unit test for the above.
1994
1995 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
1996
1997         * win32/common/libgstreamer.def:
1998         Remove symbols that were removed recently. Fixes bug #521740.
1999
2000 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
2001
2002         * configure.ac:
2003         * win32/common/config.h:
2004         0.10.17.3 pre-release
2005
2006 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2007
2008         Patch by: Ole André Vadla Ravnås
2009             <ole dot andre dot ravnas at tandberg dot com>
2010
2011         * docs/gst/gstreamer-sections.txt:
2012         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
2013         (gst_poll_update_winsock_event_mask), (gst_poll_new),
2014         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
2015         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2016         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
2017         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2018         (gst_poll_fd_can_write), (gst_poll_wait),
2019         (gst_poll_set_controllable), (gst_poll_restart),
2020         (gst_poll_set_flushing):
2021         * gst/gstpoll.h:
2022         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
2023         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
2024         (gst_net_time_provider_new):
2025         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2026         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
2027         * tests/benchmarks/gstpollstress.c: (main):
2028         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
2029         Remove GstPollMode from the API, it does not make sense to let the
2030         application control this.
2031         Add support for Win32.
2032         Fix the testsuite. Fixes #520671.
2033
2034 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
2035
2036         Patch by: Ole André Vadla Ravnås
2037             <ole dot andre dot ravnas at tandberg dot com>
2038
2039         * gst/gstregistrybinary.c:
2040         Include io.h for write() and close() when building with MSVC. Fixes
2041         bug #520877.
2042
2043 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
2044
2045         * configure.ac:
2046         * gst/gst_private.h:
2047         * gst/gstconfig.h.in:
2048         * gst/gstregistry.h:
2049         * gst/gstregistrybinary.c:
2050         * win32/common/gstconfig.h:
2051           Move registry backend API to private headers where we can. Add
2052           fixme-0.11 comments for the others. Add stubs for the xml backend when
2053           using the binary to ensure they functions exists (they should not be
2054           used though). Fixes #520756.
2055
2056 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
2057
2058         * configure.ac:
2059         * win32/common/config.h:
2060         0.10.17.2 prelease
2061
2062 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
2063
2064         * gst/gstregistrybinary.c: (gst_registry_binary_write),
2065         (gst_registry_binary_read_cache):
2066         * gst/gstregistryxml.c: (gst_registry_save):
2067         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
2068         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
2069         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2070         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2071         Switch to using portabl gsize/gssize instead of size_t/ssize_t
2072         Fixes #520152
2073
2074 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
2075
2076         * gst/gstminiobject.c:
2077         Import gst_private.h before any other header that might include other
2078         glib headers. This fixes the build on windows using native compilers.
2079
2080 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2081
2082         * win32/common/gstconfig.h:
2083           Add here too, just for completeness.
2084
2085 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2086
2087         * configure.ac:
2088         * gst/gstconfig.h.in:
2089         * gst/gstregistry.h:
2090           Fix broken use of config.h-defined preprocessor directive in a public
2091           header file. Add a corresponding define to gstconfig.h, since we can't
2092           really remove those function declarations from the header file now
2093           (or can we? and why are they there in the first place?).
2094
2095 2008-03-03  Andy Wingo  <wingo@pobox.com>
2096
2097         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
2098         the new warning.
2099
2100         * gst/gststructure.c (gst_structure_from_string): Warn if
2101         structure_from_string didn't consume the whole string, but the
2102         caller did not provide an end pointer.
2103
2104 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
2105
2106         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
2107
2108         * gst/gstregistryxml.c: (read_string), (load_feature):
2109           Strings allocated by libxml2 should be freed with xmlFree(), not
2110           with g_free(). Fixes issues on windows in certain contexts (#519698).
2111
2112 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
2113
2114         * gst/gstinterface.c: (gst_element_implements_interface):
2115           Don't crash if the element supports the interface queried, but does
2116           not implement GstImplementsInterface. Fixes #519584.
2117
2118         * tests/check/Makefile.am:
2119         * tests/check/gst/.cvsignore:
2120         * tests/check/gst/gstinterface.c:
2121           Add unit test for the above.
2122
2123 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2124
2125         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2126         Small doc update.
2127
2128 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2129
2130         * gst/gstsegment.c: (gst_segment_set_seek),
2131         (gst_segment_to_stream_time):
2132         Improve some comment.
2133         Update variables where it makes more sense.
2134
2135 2008-02-29  Rene Stadler  <mail@renestadler.de>
2136
2137         * gst/gsturi.c: (gst_uri_handler_get_protocols):
2138         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
2139         URIHandlers implemented using language bindings.
2140
2141 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2142
2143         * gst/gstelementfactory.h:
2144         * tests/check/elements/fakesink.c:
2145         * tests/check/elements/fakesrc.c: (setup_fakesrc):
2146         * tests/check/elements/fdsrc.c: (setup_fdsrc):
2147         * tests/check/elements/filesink.c: (setup_filesink):
2148         * tests/check/elements/filesrc.c: (setup_filesrc):
2149         * tests/check/elements/identity.c: (setup_identity):
2150         * tests/check/elements/tee.c:
2151         * tests/check/generic/sinks.c:
2152         * tests/check/generic/states.c: (setup), (teardown):
2153         * tests/check/gst/gst.c:
2154         * tests/check/gst/gstabi.c:
2155         * tests/check/gst/gstbin.c:
2156         * tests/check/gst/gstbus.c: (pull_messages):
2157         * tests/check/gst/gstcaps.c:
2158         * tests/check/gst/gstelement.c:
2159         * tests/check/gst/gstevent.c:
2160         * tests/check/gst/gstghostpad.c:
2161         * tests/check/gst/gstiterator.c:
2162         * tests/check/gst/gstmessage.c:
2163         * tests/check/gst/gstminiobject.c: (my_foo_init):
2164         * tests/check/gst/gstobject.c: (thread_name_object),
2165         (gst_object_suite):
2166         * tests/check/gst/gstpad.c:
2167         * tests/check/gst/gstplugin.c:
2168         * tests/check/gst/gstpoll.c:
2169         * tests/check/gst/gstquery.c:
2170         * tests/check/gst/gstsegment.c:
2171         * tests/check/gst/gststructure.c:
2172         * tests/check/gst/gstsystemclock.c:
2173         * tests/check/gst/gsttask.c:
2174         * tests/check/gst/gstutils.c:
2175         * tests/check/gst/gstvalue.c:
2176         * tests/check/gst/struct_hppa.h:
2177         * tests/check/gst/struct_i386.h:
2178         * tests/check/gst/struct_ppc32.h:
2179         * tests/check/gst/struct_ppc64.h:
2180         * tests/check/gst/struct_x86_64.h:
2181         * tests/check/libs/adapter.c: (create_and_fill_adapter):
2182         * tests/check/libs/basesrc.c:
2183         * tests/check/libs/controller.c: (GST_START_TEST):
2184         * tests/check/libs/gdp.c:
2185         * tests/check/libs/gstnetclientclock.c:
2186         * tests/check/libs/gstnettimeprovider.c:
2187         * tests/check/libs/libsabi.c:
2188         * tests/check/libs/struct_hppa.h:
2189         * tests/check/libs/struct_i386.h:
2190         * tests/check/libs/struct_ppc32.h:
2191         * tests/check/libs/struct_ppc64.h:
2192         * tests/check/libs/struct_x86_64.h:
2193         * tests/check/pipelines/cleanup.c:
2194         * tests/check/pipelines/simple-launch-lines.c:
2195         * tests/check/pipelines/stress.c:
2196         And correct even more valid sparse warnings.
2197
2198         * win32/common/libgstreamer.def:
2199         Add gst_poll_fd_init to the list of symbols.
2200
2201 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2202
2203         * gst/gstconfig.h.in:
2204         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
2205         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
2206         (gst_check_log_critical_func), (gst_check_drop_buffers),
2207         (gst_check_element_push_buffer_list):
2208         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
2209         (gst_controller_get_type):
2210         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
2211         (gst_object_get_controller), (gst_object_get_control_source):
2212         * libs/gst/controller/gstinterpolationcontrolsource.c:
2213         (gst_interpolation_control_source_new):
2214         * libs/gst/controller/gstlfocontrolsource.c:
2215         (gst_lfo_control_source_new):
2216         * libs/gst/dataprotocol/dataprotocol.c:
2217         (gst_dp_event_from_packet_0_2):
2218         * plugins/elements/gstfdsrc.c:
2219         * plugins/elements/gstmultiqueue.c:
2220         * plugins/elements/gsttee.c:
2221         * plugins/elements/gsttypefindelement.c:
2222         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
2223         (gst_file_index_add_association):
2224         * plugins/indexers/gstmemindex.c:
2225         * tests/benchmarks/gstpollstress.c: (mess_some_more):
2226         * tests/check/elements/queue.c: (setup_queue):
2227         * tests/check/gst/gstpipeline.c:
2228         * tests/check/libs/collectpads.c: (setup), (teardown),
2229         (gst_collect_pads_suite):
2230         * tests/examples/adapter/adapter_test.c:
2231         * tests/examples/metadata/read-metadata.c: (make_pipeline):
2232         * tests/examples/xml/createxml.c:
2233         * tests/examples/xml/runxml.c:
2234         * tools/gst-inspect.c:
2235         * tools/gst-run.c:
2236         Correct all relevant warnings found by the sparse semantic code
2237         analyzer. This include marking several symbols static, using
2238         NULL instead of 0 for pointers, not using variable sized arrays
2239         on the stack, moving variable declarations to the beginning of
2240         a block and using "foo (void)" instead of "foo ()" for declarations.
2241
2242 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2243
2244         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2245         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2246         Don't reset GstPollFDs, this is not necessary at all.
2247
2248         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2249         (delayed_restart), (delayed_control):
2250         Use GST_POLL_FD_INIT.
2251
2252 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2253
2254         * gst/gstpoll.c: (gst_poll_fd_init):
2255         * gst/gstpoll.h:
2256         Added Since tags.
2257
2258         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2259         Use some more init macros.
2260
2261 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2262
2263         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2264         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2265         Use init macros and functions.
2266
2267 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2268
2269         * docs/gst/gstreamer-sections.txt:
2270         * gst/gstpoll.c: (gst_poll_fd_init):
2271         * gst/gstpoll.h:
2272         Add INIT macro and _init method for initializing the GstPollFD.
2273
2274 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
2275
2276         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2277         (gst_fd_sink_update_fd):
2278         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2279         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2280         (delayed_restart), (delayed_control):
2281         Initialize some uninitialized variables as spotted by valgrind.
2282
2283 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2284
2285         * tests/benchmarks/Makefile.am:
2286         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2287         (main):
2288         Add poll stress test.
2289
2290 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2291
2292         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2293
2294         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2295         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2296         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2297         * plugins/elements/gstfdsink.h:
2298         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2299         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2300         (gst_fd_src_unlock_stop), (gst_fd_src_create),
2301         (gst_fd_src_uri_set_uri):
2302         * plugins/elements/gstfdsrc.h:
2303         Port to GstPoll. See #505417.
2304
2305 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
2306
2307         * win32/common/libgstreamer.def:
2308         Add new gst_poll_ symbols to win32 defs.
2309
2310 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2311
2312         * docs/libs/gstreamer-libs-sections.txt:
2313         * libs/gst/net/gstnetclientclock.c:
2314         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2315         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2316         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2317         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2318         * libs/gst/net/gstnetclientclock.h:
2319         * libs/gst/net/gstnettimeprovider.c:
2320         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2321         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2322         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2323         (gst_net_time_provider_new):
2324         * libs/gst/net/gstnettimeprovider.h:
2325         Use a private stuct to not break ABI.
2326
2327 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2328
2329         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2330
2331         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2332         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2333         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2334         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2335         * libs/gst/net/gstnetclientclock.h:
2336         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2337         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2338         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2339         (gst_net_time_provider_new):
2340         * libs/gst/net/gstnettimeprovider.h:
2341         Massive code removal and cleanups because of GstPoll.
2342         Fixes #505417.
2343
2344 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2345
2346         * configure.ac:
2347         Add checks for poll, ppoll and pselect.
2348
2349         * docs/gst/gstreamer-docs.sgml:
2350         * docs/gst/gstreamer-sections.txt:
2351         Add docs for GstPoll.
2352
2353         * gst/Makefile.am:
2354         * gst/gst.h:
2355         * gst/gstpoll.c: (find_index), (selectable_fds),
2356         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2357         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2358         (gst_poll_set_mode), (gst_poll_get_mode),
2359         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2360         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2361         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2362         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2363         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2364         (gst_poll_fd_can_write), (gst_poll_wait),
2365         (gst_poll_set_controllable), (gst_poll_restart),
2366         (gst_poll_set_flushing):
2367         * gst/gstpoll.h:
2368         Add generic poll abstraction. We ideally don't want to have this in core
2369         here but in glib intead...
2370         This code will be used in various network elements and ultimately for
2371         the nanosecond precision monotonic clock (that's why it's here in core).
2372         It'll allow us to implement cancelable socket operations for windows too.
2373
2374         * tests/check/Makefile.am:
2375         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2376         (delayed_stop), (delayed_restart), (delayed_flush),
2377         (delayed_control), (gst_poll_suite):
2378         Add GstPoll unit test.
2379
2380 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
2381
2382         * gst/gstfilter.c:
2383           Improve documentation of gst_filter_run(). Fixes #518627.
2384
2385 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2386
2387         * docs/README:
2388           Add a few lines about the new 'check-inspected-versions' target.
2389
2390 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2391
2392         * tests/check/gst/gstevent.c:
2393           Add qos to the event test. Rename tcase/tsuite; is not only about
2394           custom events.
2395
2396 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2397
2398         * plugins/elements/gstqueue.c:
2399           Ensure that buffer metadata is writeable, before modifying. Spotted by
2400           Mike.
2401
2402 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
2403
2404         * plugins/elements/gstqueue.c:
2405         * plugins/elements/gstqueue.h:
2406           When dropping buffers in leaky modes, mark next buffers we sent as
2407           DISCONT.
2408
2409 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2410
2411         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2412           Also, if mmap() fails that would be a READ error, not OPEN_READ.
2413
2414 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2415
2416         * plugins/elements/Makefile.am:
2417         * plugins/elements/gstbufferstore.c:
2418         * plugins/elements/gstbufferstore.h:
2419         * plugins/elements/gsttypefindelement.h:
2420           Remove GstBufferStore, no idea why we were still building it.
2421           It's not used anywhere and superseded by GstAdapter.
2422
2423         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2424           (gst_file_src_create_mmap):
2425         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2426           Printf format fixes for 64-bit integers.
2427
2428 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2429
2430         * configure.ac:
2431         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2432         We're not in 0.8 times anymore.
2433
2434 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
2435
2436         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2437         (gst_check_element_push_buffer_list):
2438         * libs/gst/check/gstcheck.h:
2439         Make the declaration in the header for
2440         gst_check_element_push_buffer_list match the implementation.
2441
2442         Fix up spelling, grammar and wording of the documentation in a few
2443         places, and add the Since keyword to new API functions.
2444         Use g_list_delete_link instead of g_list_remove in
2445         gst_check_drop_buffers, since it's immeasurably more efficient.
2446
2447         * tests/check/elements/fakesrc.c: (GST_START_TEST):
2448         Use new gst_check_drop_buffers function where appropriate.
2449
2450         * win32/common/libgstbase.def:
2451         * win32/common/libgstreamer.def:
2452         Add new symbols gst_collect_pads_take_buffer, 
2453         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2454         exports
2455
2456         Changelog surgery to add API keyword to new gst_check API.
2457
2458 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2459
2460         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2461         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2462         Update pre-generated flex files with flex 2.3.34.
2463
2464 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2465
2466         * gst/gstminiobject.c:
2467           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2468           friendly to subclasses and not require them to know all internals
2469           of their parent class.
2470
2471 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
2472
2473         * docs/libs/gstreamer-libs-sections.txt:
2474         * libs/gst/base/gstcollectpads.c:
2475         * libs/gst/base/gstcollectpads.h:
2476           Add sub-buffer functions to collectpads. Fixes #516187.
2477           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
2478
2479 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
2480
2481         * gst/gstbuffer.c:
2482           Copy selected buffer-flags when creating subbuffers.
2483           Fixes #516395.
2484
2485 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
2486
2487         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
2488         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
2489         * gst/gstmessage.c: (gst_message_class_init),
2490         (gst_message_finalize):
2491         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
2492         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
2493         (gst_mmap_buffer_finalize):
2494         Properly chain up finalize functions to the parent class.
2495
2496 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
2497
2498         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
2499
2500         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
2501         (gst_index_set_resolver_full):
2502         * gst/gstindex.h:
2503         Add new function with option to dispose of user_data in resolver.
2504         Actually call the dispose function when finalizing the object and not
2505         just when changing the resolver/filter.
2506         API: GstIndex::gst_index_set_resolver_full()
2507
2508         * docs/gst/gstreamer-sections.txt:
2509         Add new function to docs. Fixes #515469.
2510
2511 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
2512
2513         * gst/gstindex.c: (gst_index_finalize):
2514         Chain up finalize to the parent class. Fixes leaking the GstObject
2515         name and other things.
2516
2517 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
2518
2519         * configure.ac:
2520         Make DISABLE_DEPRECATED defined *only* during CVS, not during
2521         pre-releases or releases.
2522
2523         * docs/faq/gst-uninstalled:
2524         Add gst-plugins-gl
2525
2526         * docs/random/release:
2527         Change one of the steps - we only upload core & base to Gnome FTP
2528
2529 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
2530
2531         * gst/gstconfig.h.in:
2532           Add 'id' for example.
2533
2534         * gst/gstpad.c:
2535         * gst/gstutils.c:
2536         * plugins/elements/gstfdsink.c:
2537           Link to signals. Doc and comment fixes.
2538
2539 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
2540
2541         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
2542         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
2543           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
2544           unused and unimplemented; finally, it is plugin features, not
2545           plugins, that have ranks.
2546           
2547 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
2548
2549         * gst/gstpluginfeature.h:
2550           Clarify GstRank range docs.
2551
2552 2008-02-05  David Schleef  <ds@schleef.org>
2553
2554         * gst/gst.c: Add a separate gst_deinitialized that prevents
2555           gst_init() from being called after gst_deinit().  Fixes #509559
2556
2557 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
2558
2559         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
2560         (gst_bin_class_init):
2561         * gst/gstelement.c: (gst_element_base_class_init),
2562         (gst_element_class_add_pad_template):
2563         * gst/gstpadtemplate.c: (gst_pad_template_init):
2564         * gst/gstpipeline.c: (gst_pipeline_get_type),
2565         (gst_pipeline_base_init), (gst_pipeline_class_init):
2566         * libs/gst/base/gstbasesink.c:
2567         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2568         (gst_base_src_base_init), (gst_base_src_class_init):
2569         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2570         (gst_capsfilter_class_init):
2571         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2572         (gst_fake_sink_class_init):
2573         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2574         (gst_fake_src_class_init):
2575         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2576         (gst_fd_sink_class_init):
2577         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2578         (gst_fd_src_class_init):
2579         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2580         (gst_file_sink_class_init):
2581         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2582         (gst_file_src_class_init):
2583         * plugins/elements/gstidentity.c: (gst_identity_base_init),
2584         (gst_identity_class_init):
2585         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2586         (gst_multi_queue_class_init):
2587         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2588         (gst_queue_class_init):
2589         * plugins/elements/gsttee.c: (gst_tee_base_init),
2590         (gst_tee_class_init):
2591         * plugins/elements/gsttypefindelement.c:
2592         (gst_type_find_element_base_init),
2593         (gst_type_find_element_class_init):
2594         * tests/check/gst/gstelement.c: (gst_element_suite):
2595         Revert previous changes to the behaviour of GstPadTemplates, etc
2596         and the possiblity to call them in class_init as it breaks too
2597         many elements. Reopens bug #491501.
2598
2599         Should be applied again for 0.11, thus added a few FIXME 0.11 at
2600         several places.
2601
2602 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
2603
2604         * tools/gst-launch.c:
2605         Dump one graph per pipeline state-change and state change name
2606         (if GST_DEBUG_DUMP_DOT_DIR is set).
2607
2608 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
2609
2610         * gst/gstpad.c:
2611         * tests/check/gst/gstpad.c:
2612         Be sure that we have a new copy of the caps and not
2613         reffed caps from a template
2614
2615 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
2616
2617         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2618         * gst/gstpipeline.c: (gst_pipeline_get_type),
2619         (gst_pipeline_class_init):
2620         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2621         (gst_base_sink_class_init):
2622         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2623         (gst_base_src_class_init):
2624         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
2625         (gst_base_transform_class_init):
2626         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2627         (gst_collect_pads_class_init):
2628         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
2629         * libs/gst/net/gstnettimeprovider.c:
2630         (gst_net_time_provider_base_init),
2631         (gst_net_time_provider_class_init):
2632         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2633         (gst_capsfilter_class_init):
2634         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2635         (gst_fake_sink_class_init):
2636         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2637         (gst_fake_src_class_init):
2638         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2639         (gst_fd_sink_class_init):
2640         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2641         (gst_fd_src_class_init):
2642         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2643         (gst_file_sink_class_init):
2644         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2645         (gst_file_src_class_init):
2646         * plugins/elements/gstidentity.c: (gst_identity_base_init),
2647         (gst_identity_class_init):
2648         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2649         (gst_multi_queue_class_init):
2650         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2651         (gst_queue_class_init):
2652         * plugins/elements/gsttee.c: (gst_tee_base_init),
2653         (gst_tee_class_init):
2654         * plugins/elements/gsttypefindelement.c:
2655         (gst_type_find_element_base_init),
2656         (gst_type_find_element_class_init):
2657         Don't use base_init where not absolutely necessary. For example it's
2658         not necessary anymore for adding pad templates or setting element
2659         details.
2660
2661         Leave empty base_init functions in several places as GST_BOILERPLATE
2662         still defines and uses them.
2663
2664 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
2665
2666         * gst/gstelement.c: (gst_element_base_class_init),
2667         (gst_element_class_add_pad_template):
2668         * gst/gstpadtemplate.c:
2669         Make it possible (and recommended) to set element details and add
2670         pad templates in the class_init functions by copying the details/pad
2671         templates in GstElement's base_init.
2672
2673         Also make it possible to replace existing pad templates by adding
2674         a new one with the same name. This was done in a hackish fashion
2675         in same elements before already.
2676
2677         Don't reference pad templates that are added a second time. A
2678         new pad template has a refcount of one and is not floating anymore
2679         and to be owned by the element's class. Make this more explicit by
2680         mentioning it in the docs of gst_element_class_add_pad_template().
2681
2682         These changes are backwards compatible. Fixes bug #491501.
2683
2684         * tests/check/gst/gstelement.c:
2685         Add unit test for setting element details, adding pad templates and
2686         replacing them in a subclass.
2687
2688 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
2689
2690         * tools/gst-inspect.c: (print_interfaces),
2691         (print_element_properties_info), (print_pad_info),
2692         (print_signal_info), (print_element_info):
2693         Fix a few memory leaks.
2694
2695 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2696
2697         * docs/libs/gstreamer-libs-sections.txt:
2698         * libs/gst/check/gstcheck.c:
2699         * libs/gst/check/gstcheck.h:
2700         Add more functions for unit testing: gst_check_drop_buffers,
2701         gst_check_caps_equal, gst_check_element_push_buffer_list,
2702         gst_check_element_push_buffer
2703         API: gst_check_drop_buffers
2704         API: gst_check_caps_equal
2705         API: gst_check_element_push_buffer_list
2706         API: gst_check_element_push_buffer
2707
2708 2008-02-01  Julien Moutte  <julien@fluendo.com>
2709
2710         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
2711         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
2712         (gst_index_finalize), (gst_index_entry_free),
2713         (gst_index_add_association): Fix memory leaks.
2714         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
2715         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
2716         (gst_mem_index_free_format), (gst_mem_index_free_id),
2717         (gst_mem_index_finalize): Fix memory leaks.
2718         * win32/common/config.h: Updated to CVS HEAD.
2719
2720 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
2721
2722         * docs/README:
2723           Some more details about how the plugin docs works.
2724
2725         * docs/plugins/gstreamer-plugins-sections.txt:
2726           Whitespace cleanup.
2727
2728 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
2729
2730         * gst/parse/grammar.tab.pre.c:
2731         * gst/parse/grammar.tab.pre.h:
2732         * gst/parse/grammar.y:
2733         * gst/parse/lex._gst_parse_yy.pre.c:
2734           Add delayed set-property. This allows to set properties on dynamicaly
2735           created objects (pads in videomxer). Fixes #509391.
2736
2737 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2738
2739         * gst/gstutils.c:
2740         Check if caps are not NULL (fix bug #510194)
2741
2742 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2743
2744         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
2745         (gst_base_sink_get_position_paused):
2746         Add fixme regarding EOS in pull mode.
2747         Fix position reporting in PAUSED for negative rates.
2748
2749 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2750
2751         * gst/gstminiobject.c: (gst_mini_object_replace):
2752         When replacing a miniobject, do a quick equality check first so that we
2753         can avoid a ref/unref pair.
2754
2755 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2756
2757         * docs/design/part-synchronisation.txt:
2758         Update some docs.
2759
2760         * docs/plugins/Makefile.am:
2761         * docs/plugins/gstreamer-plugins-docs.sgml:
2762         * docs/plugins/gstreamer-plugins-sections.txt:
2763         * plugins/elements/gstmultiqueue.c:
2764         Add multiqueue to the docs.
2765
2766 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2767
2768         * configure.ac:
2769           Back to CVS
2770
2771 === release 0.10.17 ===
2772
2773 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
2774
2775         * configure.ac:
2776           releasing 0.10.17, "Due Negligence"
2777
2778 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2779
2780         * gst/gstutils.c:
2781         Revert caps != NULL check temporarily for 0.10.17 release.
2782
2783 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
2784
2785         * gst/gstutils.c:
2786         Check if caps are not NULL (fix bug #510194)
2787
2788 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2789
2790         * gst/gstutils.c:
2791         Fix compilation on systems that have posix timers but no
2792         monotonic clock.
2793         Fixes: #512715
2794         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
2795         dot net>
2796
2797 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2798
2799         * tools/gst-inspect.c:
2800         Revert previous commit in preparation for an impromptu 0.10.17 release
2801
2802 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
2803
2804         * tools/gst-inspect.c: (print_interfaces),
2805         (print_element_properties_info), (print_pad_info),
2806         (print_signal_info), (print_element_info):
2807         Fix a few memory leaks.
2808
2809 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
2810
2811         * configure.ac:
2812         Back to CVS
2813
2814 === release 0.10.16 ===
2815
2816 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
2817
2818         * configure.ac:
2819           releasing 0.10.16, "Special Dispensation"
2820
2821 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
2822
2823         * configure.ac:
2824           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
2825           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
2826           not fail when trying to crosscompile on OpenEmbedded (#511750).
2827
2828 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
2829
2830         * docs/manuals.mak:
2831         Use $(MAKE) instead of make to fix the build if GNU make is
2832         called different. Fixes bug #510747.
2833
2834 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
2835
2836         * gst/gstplugin.c: (_gst_plugin_initialize):
2837           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
2838           again, which I broke two commits ago when changing the API
2839           of gst_plugin_register_static(): the g_list_foreach() in
2840           _gst_plugin_register_static still assumed the old function
2841           signature and would therefore fail (re-fixes #510187).
2842
2843         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
2844           (_gst_plugin_register_static), (gst_plugin_register_static):
2845           Revert the (technically correct) change to call g_thread_init() from
2846           the pre-main() constructor. This will break programs which call
2847           g_thread_init() without an if (!g_thread_supported()) guard in their
2848           main function. We could just blame it on GLib or the application, but
2849           it's probably best to just avoid this altogether and simply not use
2850           any GLib functions here and use plain old malloc() with a simple
2851           array to store the plugins to register later when gst_init() is
2852           finally called (re-fixes #510187).
2853
2854         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
2855           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
2856           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
2857           (GST_START_TEST), (gst_plugin_suite):
2858           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
2859           works.
2860
2861 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
2862
2863         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2864           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
2865           This makes gtk-doc complain, but results in slightly better
2866           compiler errors. The old _gst_plugin_register_static() is
2867           still guarded, so there'll be a compiler warning about that
2868           instead. Fixes #510187 too.
2869
2870 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
2871
2872         * gst/gst.c: (init_post):
2873         * gst/gstplugin.c: (_gst_plugin_register_static),
2874           (gst_plugin_register_static), (_gst_plugin_initialize):
2875         * gst/gstplugin.h: (GstPluginFilter):
2876           Change API of gst_plugin_register_static() to not take
2877           a GstPluginDesc, but rather just take all the arguments
2878           in a GstPluginDesc directly. This is more intuitive and
2879           avoids certain mistakes when porting code from
2880           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
2881           Fixes #510187.
2882
2883         * tests/check/gst/gstplugin.c:
2884           Fix up for changed API.
2885
2886 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2887
2888         * docs/faq/legal.xml:
2889           Update FAQ, Totem actually has an exception these days.
2890
2891 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
2892
2893         * win32/common/libgstreamer.def:
2894         Add new API declarations
2895
2896 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
2897
2898         * gst/gstminiobject.c:
2899           Spelling fixes for the API docs.
2900
2901 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
2902
2903         * libs/gst/base/gstbasetransform.c:
2904           Fix long property description for QoS.
2905
2906 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
2907
2908         * gst/gst.c:
2909         _gst_trace_on is already provided by gsttrace.h, no need to declare
2910         it ourselves.
2911
2912         * docs/libs/gstreamer-libs-sections.txt:
2913         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
2914         and remove strange tcase_add_test which is outputting a warning.
2915
2916         * libs/gst/check/gstcheck.c:
2917         * libs/gst/check/gstcheck.h:
2918         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
2919         and define them in gstcheck.c instead of having every .c file whcih
2920         includes gstcheck.h be defining its own copy and relying on symbol
2921         interposing to marry them all, which doesn't work on Solaris.
2922
2923         * tests/check/elements/identity.c: (GST_START_TEST):
2924         Don't define 'buffers' locally, it comes from libgstcheck.
2925
2926         * tests/check/generic/sinks.c: (send_buffer):
2927         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
2928
2929         * tests/check/gst/gststructure.c: (GST_START_TEST):
2930         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
2931         * tests/check/gst/gstutils.c: (GST_START_TEST):
2932         * tests/check/gst/gstvalue.c: (GST_START_TEST):
2933         Add a bunch of casts to make various constants fit the types
2934         they're being assigned to.
2935
2936 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
2937
2938         * gst/gstchildproxy.c:
2939           Improve docs and add some ideas for making this more general-purpose.
2940
2941 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
2942
2943         * gst/gst_private.h: (GST_CAT_TYPES):
2944           Add GST_CAT_TYPES, for consistency, and so that the other
2945           debug categories don't make fun of it. Spotted by Saur on IRC.
2946
2947 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
2948
2949         * gst/parse/Makefile.am:
2950           Move types.h from EXTRA_DIST to noinst_HEADERS.
2951
2952 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
2953
2954         * autogen.sh:
2955           Add -Wno-portability to the automake parameters to stop warnings
2956           about GNU make extensions being used. We require GNU make in almost
2957           every Makefile anyway.
2958
2959         * configure.ac:
2960           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
2961           at the same time is required for per target flags.
2962
2963 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
2964
2965         * gst/gstmacros.h:
2966           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
2967           __GNUC__ is defined before using it.
2968
2969 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
2970
2971         * docs/gst/gstreamer-sections.txt:
2972         * gst/gst.c: (init_post):
2973         * gst/gstplugin.c: (_gst_plugin_register_static),
2974           (gst_plugin_register_static), (_gst_plugin_initialize),
2975           (gst_plugin_register_func):
2976         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2977           API: add gst_plugin_register_static() and deprecate
2978           GST_PLUGIN_DEFINE_STATIC, since it's not portable
2979           (#498924).
2980           Also, in _gst_plugin_register_static(), make sure to call
2981           g_thread_init() before calling GLib functions such as
2982           g_list_append() if we're not initialised yet, since that
2983           may lead to random crashes with older GSlice/GLib versions.
2984
2985         * tests/check/gst/gstplugin.c:
2986           Adapt unit test to above changes.
2987
2988 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
2989
2990         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
2991         * gst/gstcaps.c: (gst_caps_to_string):
2992         * gst/gststructure.c: (GST_ASCII_IS_STRING),
2993           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
2994           Yet another gratuitous GString micro-optimisation: add a (private)
2995           function that serialises a structure appending to an existing
2996           GString, so that when we serialise caps we don't need to alloc+free
2997           a throwaway GString for each structure (each of which also entailing
2998           multiple reallocs on the way); also use g_string_sized_new() in
2999           various places with an approximate string length to avoid reallocs
3000           within GString. See #500143.
3001
3002 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3003
3004         * gst/gststructure.c: (gst_structure_id_set_value):
3005           Always check UTF-8 conformance of structure strings and not only
3006           if the debugging system is enabled; reasoning: the behaviour of
3007           the actual code shouldn't really change depending on whether the
3008           debugging system is enabled or not (#508291).
3009
3010 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
3011
3012         * Makefile.am:
3013           Remove old coverage target in favour of "make lcov".
3014
3015 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3016
3017         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3018         (gst_base_src_loop):
3019         The start segment for reverse playback goes from start to last_stop.
3020
3021 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3022
3023         Patch by: Peter Kjellerstedt <pkj axis com>
3024
3025         * gst/gstclock.h:
3026         Cast the results from the timeval/spec_to_time macros to what the
3027         docs say it casts to, a GstClockTime. fixes #508175.
3028
3029 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3030
3031         * gst/gstbuffer.c:
3032         Update some comments.
3033
3034         * tools/gst-inspect.c: (print_element_properties_info):
3035         Improve printing of flags.
3036
3037 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
3038
3039         * libs/gst/base/gstbasetransform.c:
3040           (gst_base_transform_transform_size):
3041           Print element name with g_warning() if there's a problem
3042           with the unit size.
3043
3044 2008-01-07  David Schleef  <ds@schleef.org>
3045
3046         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
3047
3048         * libs/gst/controller/gstcontroller.h:
3049         * libs/gst/controller/gstcontrolsource.h:
3050         * libs/gst/controller/gstinterpolationcontrolsource.h:
3051         * libs/gst/controller/gstlfocontrolsource.h:
3052         * libs/gst/dataprotocol/dataprotocol.h:
3053           Fix empty prototypes.  Fixes bug #507957.
3054
3055 2008-01-07  David Schleef  <ds@schleef.org>
3056
3057         * docs/faq/dependencies.xml: Fix typo.
3058
3059 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3060
3061         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
3062         (gst_base_src_loop):
3063         Don't update the last_stop position in do_seek, that's the position we
3064         did a seek to.
3065         Read backwards when we have a negative rate.
3066
3067         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
3068         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
3069         (filesrc_suite):
3070         Add check for reverse reading.
3071
3072 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
3073
3074         Patch by: Alexis Ballier <aballier at gentoo org>
3075
3076         * tests/check/gst/gstabi.c:
3077         * tests/check/gst/struct_ppc64.h:
3078         * tests/check/libs/libsabi.c:
3079         * tests/check/libs/struct_ppc64.h:
3080           Decide which header to include based on the userland ABI target
3081           and not the kernel/cpu. Fix up structure sizes of ppc64 header
3082           for 64-bit userland (#503590).  Might need something similar for
3083           x86 too.
3084
3085 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3086
3087         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
3088           Log the reason why fopen fails in addition to the fact that it failed.
3089           
3090 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
3091
3092         * gst/parse/parse.l:
3093         Use "%option never-interactive" to prevent useless calls to isatty()
3094         on every input when parsing. Also use "%option noinput" to not define
3095         the static input/yyinput functions which we don't use anyway. This
3096         removes a compiler warning with gcc 4.3 and saves some bytes in the
3097         library.
3098         
3099         * gst/parse/lex._gst_parse_yy.pre.c:
3100         Regenerated for the above change.
3101
3102 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3103
3104         * gst/gstpad.c: (fixate_value):
3105         Don't crash when trying to fixate and empty list.
3106         Fixes #506643.
3107
3108 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
3109
3110         * docs/faq/gst-uninstalled:
3111         Clarify the comments to make the usage of this script and what it
3112         does easier to understand.
3113
3114 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
3115
3116         * tools/gst-plot-timeline.py:
3117         Add more options to gst-plot-timeline
3118
3119 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
3120
3121         * docs/design/part-synchronisation.txt:
3122         Some more info on how the stream_time in GstBaseSink is done.
3123
3124 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
3125
3126         * tests/check/generic/sinks.c: (gst_sinks_suite):
3127           Put back the tcase_set_timeout(), apparently it's needed after
3128           all; fix it up in a way that makes things work with valgrind too.
3129
3130 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
3131
3132         * gst/gstdebugutils.c:
3133           Add warning when failed to open file for writing.
3134
3135 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3136
3137         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
3138
3139         * gst/gstvalue.c: (gst_value_is_fixed):
3140           Optimisation: bail out of the loop as early as possible (#500143).
3141
3142 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3143
3144         * gst/gstcaps.c: (gst_caps_to_string):
3145         * gst/gstinfo.c: (gst_debug_construct_term_color):
3146         * gst/gstparse.c: (gst_parse_launchv):
3147         * gst/gstutils.c: (gst_util_dump_mem):
3148         * gst/gstvalue.c: (gst_value_serialize_any_list),
3149           (gst_value_transform_any_list_string):
3150           Bunch of gratuitous nano-optimisations.
3151
3152 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3153
3154         * tests/check/generic/sinks.c: (async_done_func),
3155           (async_done_eos_func):
3156           Fix leak in unit test (bus sync handler must unref the message
3157           if it returns GST_BUS_DROP). Don't fiddle with the default test
3158           timeout, this is smaller than the current preconfigured value
3159           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
3160           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
3161
3162 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3163
3164         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3165
3166         * configure.ac:
3167         Check for stdio_ext.h for the filesink changes.
3168
3169         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
3170         (gst_file_sink_class_init), (gst_file_sink_init),
3171         (gst_file_sink_dispose), (gst_file_sink_set_property),
3172         (gst_file_sink_get_property), (gst_file_sink_open_file),
3173         (gst_file_sink_close_file):
3174         * plugins/elements/gstfilesink.h:
3175         Add two properties to control the buffering mode and size.
3176         API: GstFileSink::buffer-mode
3177         API: GstFileSink::buffer-size
3178         Fixes #500150.
3179
3180 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3181
3182         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
3183         Add some more docs to explain why a FIXME was wrongly added. 
3184
3185 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
3186
3187         * gst/gstobject.c:
3188           Fix typo in the gst_object_{ref,unref} documentation.
3189
3190 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
3191
3192         * tests/check/libs/controller.c:
3193         * tests/check/libs/typefindhelper.c:
3194         * tests/check/pipelines/parse-launch.c:
3195           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
3196           going to be deprecated (see #498924).
3197
3198 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
3199
3200         * gst/gsttypefind.c: (gst_type_find_register):
3201           Make gst_type_find_register work for static typefind functions,
3202           ie. allow passing plugin == NULL (prerequisite for #498924).
3203
3204         * gst/gstelementfactory.c: (gst_element_register):
3205           Small docs addition.
3206
3207 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3208
3209         * gst/gstpad.c: (gst_pad_dispose):
3210         Really unlink the peer pad instead of setting the peer pointer to NULL
3211         when we dispose the pad.
3212         This correctly calls the unlink functions and makes sure that the peer
3213         does not have a handle to invalid memory. See #504671.
3214
3215         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3216         Add testsuite for above case.
3217
3218 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
3219
3220         Patch by: Peter Kjellerstedt <pkj axis com>
3221
3222         * libs/gst/check/gstcheck.h:
3223           Fix detection of the check version we're compiling against (would
3224           otherwise break if check goes v0.10.0); correctly report the
3225           name of the failed test again in case of failure, instead of
3226           just 'tf' (fixes #504499).
3227
3228 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3229
3230         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3231         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3232         (gst_base_src_loop), (gst_base_src_set_flushing),
3233         (gst_base_src_change_state):
3234         Allow sending EOS to the source to make it send out an EOS event from
3235         the streaming thread.
3236         Update docs and deprecate the old NULL/READY shutdown method.
3237
3238         * tests/check/libs/basesrc.c: (GST_START_TEST),
3239         (gst_basesrc_suite):
3240         Add unit test for controlled shutdown.
3241
3242 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3243
3244         * docs/design/part-synchronisation.txt:
3245         Small updates.
3246
3247         * gst/gstsegment.c: (gst_segment_set_seek),
3248         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3249         (gst_segment_to_running_time):
3250         The seek format can be different from the segment format when the start
3251         and stop values are not to be updated, when we only do a rate change for
3252         example.
3253
3254         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3255         (gst_segment_suite):
3256         Add a testcase for the rate-only seeks, checking that the format is
3257         correctly ignored when start and stop are not updated.
3258
3259 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
3260
3261         Patch by: Matthias Bolte <photon at mail dot upb dot de>
3262
3263         * win32/vs8/grammar.vcproj:
3264         * win32/vs8/libgstcontroller.vcproj:
3265         * win32/vs8/libgstreamer.vcproj:
3266         Fix compilation with VS8 and include some missing files.
3267
3268 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
3269
3270         * gst/gsttaglist.c:
3271           Small docs addition: mention that the strings returned by
3272           gst_tag_list_get_string*() are in UTF-8 encoding.
3273
3274 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
3275
3276         * Makefile.am:
3277           The check-exports stuff moved to common/win32.mak, so include that.
3278
3279 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3280
3281         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3282         (gst_base_src_perform_seek), (gst_base_src_get_range),
3283         (gst_base_src_set_playing), (gst_base_src_change_state):
3284         Make _wait_playing() not check any variables so that we can call this
3285         function from subclasses. Move the checks elsewhere similar to
3286         _wait_preroll() in basesink.
3287         Add some debugging.
3288         Only signal the LIVE cond when we are going back to PLAYING.
3289
3290 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
3291
3292         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3293           Use g_remove() and g_rename(). Check result of g_rename(), and
3294           don't leak the open file descriptor if we error out when writing.
3295
3296         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3297           Must check the return value of close() after writing out the new
3298           registry file.  Sometimes write problems such as out-of-diskspace
3299           are only reported when the file is closed and not already during
3300           the write.  This may have caused partial/broken registry files in
3301           some rare circumstances. Should fix #503675.
3302
3303 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
3304
3305         * docs/gst/.cvsignore:
3306         * docs/libs/.cvsignore:
3307         * docs/plugins/.cvsignore:
3308         Ignore files generated by new common/* modifications
3309
3310 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3311
3312         * win32/common/libgstbase.def:
3313           Yes, you can also have a <TAB> if you want.
3314
3315 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3316
3317         * win32/common/libgstbase.def:
3318           Add new basetransform API to win export file.
3319
3320 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3321
3322         * tests/check/gst/gstbin.c:
3323           Adjust the test to the refcount change two days ago.
3324
3325 2007-12-14  David Schleef  <ds@schleef.org>
3326
3327         * docs/faq/getting.xml: Fix typo.
3328
3329 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
3330
3331         * docs/libs/gstreamer-libs-sections.txt:
3332         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3333           (gst_base_transform_prepare_output_buffer),
3334           (gst_base_transform_set_gap_aware):
3335         * libs/gst/base/gstbasetransform.h:
3336           API: Add gst_base_transform_set_gap_aware() to control whether
3337           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3338           get buffers with this flag at all. Fixes #503231.
3339
3340 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
3341
3342         * libs/gst/base/gstbasesink.c:
3343         * libs/gst/base/gstbasesrc.c:
3344         * libs/gst/base/gstbasetransform.c:
3345           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3346           thread. Correct log message in gstbasesrc.c.
3347
3348 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3349
3350         * gst/gstutils.c: (element_find_unconnected_pad):
3351           Fix possible compiler warning (#503417).
3352
3353 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3354
3355         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3356           Don't use GST_CAT_EVENT here for logging, it makes no sense.
3357
3358 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
3359
3360         * tools/gst-inspect.c: (print_element_properties_info):
3361           Add support for GstFraction properties.
3362
3363 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
3364
3365         * Makefile.am:
3366           Add check-exports target and run it as part of 'make check'
3367           (see #499140 and #493983).
3368
3369         * gst/gst_private.h:
3370         * gst/gstelementfactory.h:
3371         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3372         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3373           (_priv_gst_in_valgrind):
3374         * gst/gstinfo.h: (GstLogFunction):
3375         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3376           (gst_type_find_register):
3377         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3378           (gst_type_find_factory_get_type):
3379         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3380           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3381           (gst_controller_new_valist), (gst_controller_new_list),
3382           (_gst_controller_dispose), (_gst_controller_class_init):
3383         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3384         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3385           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3386           (gst_object_get_controller), (gst_object_set_controller),
3387           (gst_object_suggest_next_sync), (gst_object_sync_values),
3388           (gst_object_set_control_source), (gst_object_get_control_source),
3389           (gst_object_get_value_arrays), (gst_object_get_value_array),
3390           (gst_object_get_control_rate), (gst_object_set_control_rate):
3391         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3392         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3393           Make some functions that should be static static; rename some
3394           private symbols so that they don't get exported; add some FIXME
3395           comments so we can move accidentally exported functions into
3396           our private section in 0.11.
3397
3398         * win32/common/libgstreamer.def:
3399           Add gst_utils_get_timestamp().
3400
3401 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3402
3403         * gst/gstvalue.c:
3404         * gst/gstvalue.h:
3405           Add more missing "Since:" tags to docs.
3406
3407 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3408
3409         * gst/gstutils.c:
3410           Add mising "Since:" to docs.
3411
3412 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3413
3414         * gst/gstplugin.c:
3415           Include "glib-compat-private.h" to fix the build on system with
3416           glib < 2.10. Fixes #503131.
3417
3418 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3419
3420         * gst/gstutils.c:
3421         * gst/gstutils.h:
3422           Actually its not PURE as it gets the time from elsewhere.
3423
3424 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3425
3426         * docs/gst/gstreamer-sections.txt:
3427         * gst/gstclock.h:
3428         * gst/gstdebugutils.c:
3429         * gst/gstinfo.c:
3430         * gst/gstutils.c:
3431         * gst/gstutils.h:
3432         * libs/gst/base/gstbasesink.c:
3433         * tools/gst-launch.c:
3434           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3435           uses as we don't have HAVE_POSIX_TIMERS in public headers.
3436           Thanks Tim for spotting.
3437           API: gst_util_get_timestamp
3438
3439 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
3440
3441         * configure.ac:
3442           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3443
3444 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
3445
3446         * gst/gststructure.c: (gst_structure_validate_name),
3447           (gst_structure_new_valist), (gst_structure_parse_value),
3448           (gst_structure_from_string):
3449           Don't crash in _from_string() if the structure name is not valid
3450           (fixes #501560).  Allow structure names to start with a number
3451           again (this apparently broke the ubuntu codec installer).
3452
3453         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3454           (GST_START_TEST):
3455           Add unit test for the crash; update unit tests for new behaviour.
3456
3457 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
3458
3459         * gst/gstutils.c:
3460         Clarify gst_element_get_compatible_pad() documentation.
3461         Fixes #500919.
3462
3463 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
3464
3465         * tests/check/Makefile.am:
3466           Don't forget to dist {gst,libs}/struct_hppa.h.
3467
3468 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3469
3470         * libs/gst/base/gstbasesink.c:
3471           Use new API to get elapsed time.
3472
3473 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3474
3475         * gst/gstdebugutils.c:
3476         * gst/gstinfo.c:
3477           Fix wrong order of args in GST_CLOCK_DIFF() usage.
3478
3479         * tools/gst-launch.c:
3480           Use new API to get elapsed time.
3481
3482 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3483
3484         * docs/gst/gstreamer-sections.txt:
3485         * gst/gstclock.h:
3486         * gst/gstdebugutils.c:
3487         * gst/gstinfo.c:
3488           Rename new API + ChangeLog surgery to remove old name from last entry..
3489
3490 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3491
3492         * docs/gst/gstreamer-sections.txt:
3493         * gst/gstclock.h:
3494         * gst/gstdebugutils.c:
3495         * gst/gstinfo.c:
3496           Now hide the different clock stuff behind a macro.
3497
3498 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3499
3500         * configure.ac:
3501         * gst/gstdebugutils.c:
3502         * gst/gstinfo.c:
3503           Apply the posix-timer check from #361155. Conditionally use the posix
3504           timer for logging. This gives better timestamp precission, less
3505           overhead and no ntp jitter.
3506
3507 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
3508
3509         * gst/gstminiobject.c: (gst_mini_object_get_type),
3510         (gst_mini_object_class_init), (gst_mini_object_copy_default),
3511         (gst_mini_object_finalize), (gst_mini_object_copy),
3512         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
3513         (gst_mini_object_replace), (param_mini_object_validate),
3514         (gst_param_spec_mini_object_get_type):
3515         Some cleanup and checking against invalid function parameters.
3516
3517 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
3518
3519         * docs/gst/gstreamer-sections.txt:
3520         * gst/gstclock.h:
3521         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3522         (gst_systemclock_suite):
3523         Start merging in the easy bits of #361155, the monotonic clock patch.
3524         This one adds a few handy macros with docs and a testsuite.
3525
3526 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
3527
3528         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
3529         Be a bit smarter when seeking, like, don't try to do a seek when it's
3530         not needed. This avoids errors when the file is not seekable.
3531         Fixes #499771.
3532
3533 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
3534
3535         * docs/gst/gstreamer-docs.sgml:
3536         * docs/gst/gstreamer-sections.txt:
3537         * docs/gst/gstreamer.types.in:
3538         * gst/Makefile.am:
3539         * gst/gst.h:
3540         * gst/gstpreset.c:
3541         * gst/gstpreset.h:
3542         * plugins/elements/gstqueue.c:
3543           Due to popular request remove preset interface again. :-(.
3544
3545 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3546
3547         * tools/gst-inspect.c:
3548           Print 'default value' for enums and flags too.
3549
3550 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3551
3552         * docs/random/ensonic/profiling.txt:
3553           More ideas.
3554
3555         * gst/gstbin.c:
3556           Fix typo and give better log output.
3557
3558         * gst/gstdebugutils.c:
3559         * gst/gstdebugutils.h:
3560           More ideas, make graphs a bit smaller and fix param name in macro.
3561
3562 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3563
3564         * gst/gstpreset.c:
3565           Try harder to use the return value from fgets().
3566
3567 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
3568
3569         * gst/gstpreset.c:
3570           For theses two fgets we handle the error below.
3571
3572 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
3573
3574         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
3575         Only send upstream events upstream. Fixes #498746.
3576
3577 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
3578
3579         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3580
3581         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3582         (gst_identity_init), (gst_identity_transform_ip),
3583         (gst_identity_set_property), (gst_identity_get_property):
3584         * plugins/elements/gstidentity.h:
3585         Add property to disable handoff signal emission. Fixes #498694.
3586         API: GstIdentity::signal-handoffs
3587
3588 2007-11-21  Julien Moutte  <julien@fluendo.com>
3589
3590         * docs/faq/gst-uninstalled: Yet another missing library for the
3591         uninstalled script (fft)
3592
3593 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
3594
3595         * docs/faq/developing.xml:
3596         Add a question about how to submit new translations.
3597
3598         * docs/random/release:
3599         Update the contact email address for the Translation Project
3600
3601         * plugins/elements/gstfdsrc.c:
3602         The parent_class for fdsrc is pushsrc, not GstElement.
3603
3604 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
3605
3606         * gst/gstpreset.c:
3607           Plug a leak and fix saving.
3608
3609 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
3610
3611         * docs/gst/gstreamer-sections.txt:
3612         Add new gst_preset__get_property_names() function to the docs
3613         to fix the build.
3614
3615 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
3616
3617         * gst/gstpreset.c:
3618         * gst/gstpreset.h:
3619           Change _get_preset_names API to return a strv with copies. Add
3620           _get_property_names to allow implementations to filter and provide
3621           good default implementation.
3622
3623 2007-11-20  Julien MOUTTE  <julien@moutte.net>
3624
3625         * docs/faq/gst-uninstalled: Add another library to the uninstalled
3626         script (sdp).
3627
3628 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
3629
3630         * gst/gstpreset.c:
3631           More cleanups, docs, and TODOs from comments that now slowly come in.
3632
3633 2007-11-19  Julien MOUTTE  <julien@moutte.net>
3634
3635         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
3636         search path.
3637
3638 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
3639
3640         * gst/gstpreset.c:
3641           Fix bogus warning and make the property type specific code more
3642           similar.
3643
3644 2007-11-19  Julien MOUTTE  <julien@moutte.net>
3645
3646         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
3647         it build on OS X.
3648
3649 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
3650
3651         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3652         (gst_bin_add_func), (gst_bin_remove_func),
3653         (gst_bin_change_state_func), (gst_bin_continue_func):
3654         Change email, cleanups add some more debug and comments.
3655         Also set bus and clock on new elements when the pipeline was in error.
3656
3657 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
3658
3659         * gst/gstbin.c:
3660         * gst/gstdebugutils.c:
3661           Fix build with --disable-gst-debug. Fixes #497859.
3662           Spotted by Sameer Naik.
3663
3664 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3665
3666         * gst/gstevent.c:
3667           Little documentation improvment.
3668
3669         * gst/gstpreset.c:
3670           More TODO cleanups. Remove c++ comments.
3671
3672         * libs/gst/controller/gstcontroller.c:
3673           Add TODO and use quark from static string.
3674
3675         * tests/check/gst/gstmessage.c:
3676         * tests/check/gst/gststructure.c:
3677           Use quark from static string.
3678
3679 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3680
3681         * gst/gstpreset.c:
3682           Add some comments and TODOs.
3683
3684         * gst/gstpreset.h:
3685           Add padding for future changes.
3686
3687         * plugins/elements/gstqueue.c:
3688           Implement the iface.    
3689
3690 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3691
3692         * docs/gst/gstreamer-docs.sgml:
3693         * docs/gst/gstreamer-sections.txt:
3694         * docs/gst/gstreamer.types.in:
3695         * gst/Makefile.am:
3696         * gst/gst.h:
3697         * gst/gstpreset.c:
3698         * gst/gstpreset.h:
3699           Add the preset interface (Fixes #396779). Do some doc cleanups along.
3700
3701 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
3702
3703         * configure.ac:
3704
3705         Back to CVS
3706
3707 === release 0.10.15 ===
3708
3709 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
3710
3711         * configure.ac:
3712           releasing 0.10.15, "October"
3713
3714 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
3715
3716         * win32/vs6/libgstreamer.dsp:
3717         Convert line endings back to DOS.
3718
3719 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
3720
3721         * docs/design/draft-tagreading.txt:
3722         * docs/random/ensonic/profiling.txt:
3723         Update fast tagreading draft and performance profiling ideas.
3724
3725 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
3726
3727         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
3728         Don't hold the object lock when unreffing a buffer because it could
3729         cause a deadlock when the finalize function wants to grab the object
3730         lock too. Fixes #495133.
3731
3732 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
3733
3734         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
3735         (gst_segment_to_stream_time), (gst_segment_to_running_time):
3736         Also accumulate time correctly when doing reverse playback. Fixes
3737         #488201,
3738         When converting to running and stream time, use default values for
3739         start/stop/time/accum when comparing different formats. Fixes #494245.
3740
3741         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3742         Do running/stream time in TIME format.
3743
3744         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3745         (gst_segment_suite):
3746         2 new unit tests for segment accumulation.
3747
3748 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
3749
3750         * gst/gst.c: (init_pre):
3751         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
3752           (_gst_debug_bin_to_dot_file):
3753           Move getenv() back into gst_init, so everyone can live happily
3754           ever after. Make sure the symbol isn't exported though.
3755
3756 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3757
3758         Patch by: Sebastien Moutte  <sebastien moutte net>
3759
3760         * win32/common/gstenumtypes.c:
3761         * win32/common/gstenumtypes.h:
3762           Update enum types.
3763
3764         * win32/vs6/libgstreamer.dsp:
3765           Update vs6 project files (#494343).
3766
3767 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3768
3769         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
3770         (gst_base_src_perform_seek), (gst_base_src_default_event),
3771         (gst_base_src_set_flushing), (gst_base_src_activate_push),
3772         (gst_base_src_activate_pull):
3773         Unify flushing code, remove some old unlock code that is no longer used.
3774         Take the streaming lock when seeking to avoid races. Fixes #492729.
3775         Added some more comments.
3776
3777 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3778
3779         * gst/gst.c: (_gst_disable_segtrap):
3780           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
3781           we can use gst_segtrap_is_enabled() there now that we have that API.
3782           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
3783           to do the getenv here (and export the variable).
3784
3785         * gst/gstdebugutils.c: (debug_dump_element),
3786           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
3787           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
3788
3789         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
3790           (gst_debug_log_default):
3791           Rename _gst_info_start_time to priv_gst_info_start_time so it
3792           doesn't get exported (was never in any header).
3793
3794         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
3795           (gst_plugin_loading_mutex):
3796           Make static mutex gst_plugin_loading_mutex really static (was never
3797           in any header), and use gst_segtrap_is_enabled() instead of
3798           _gst_disable_segtrap.
3799
3800         * gst/gsttrace.c: (_gst_trace_default):
3801           Make local _gst_trace_default static (was never in any header).
3802
3803 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3804
3805         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
3806
3807         * win32/common/libgstbase.def:
3808         * win32/common/libgstcontroller.def:
3809         * win32/common/libgstdataprotocol.def:
3810         * win32/common/libgstnet.def:
3811         * win32/common/libgstreamer.def:
3812           Add more missing symbols, remove some duplicates, and sort
3813           as the 'sort' command sorts it (partially fixes #493983).
3814
3815 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3816
3817         * gst/gstelement.c: (gst_element_set_state_func):
3818         Only change the state cookie if a different state was set on the
3819         element. See #492729.
3820
3821 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3822
3823         * gst/gstvalue.c:
3824           Remove unused and uninitialised type variables that were still
3825           exported for some reason (they were never in any header files
3826           though).
3827
3828 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3829
3830         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3831         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
3832         (gst_base_sink_event), (gst_base_sink_get_position_last),
3833         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
3834         (gst_base_sink_change_state):
3835         Don't try to report a 0 position when we don't know, return -1 and FALSE
3836         instead. This mostly happens when we are prerolling.
3837         Make sure we can report the right position before we post the ASYNC_DONE
3838         message so that a message handler can query position without races.
3839
3840         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
3841         (async_done_handoff), (async_done_func), (send_buffer),
3842         (async_done_eos_func), (gst_sinks_suite):
3843         Add two tests for the above.
3844
3845 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3846
3847         * MAINTAINERS:
3848         Update with new email address.
3849
3850         * docs/design/part-TODO.txt:
3851         Add some more info about future pad-block and negotiation changes.
3852
3853         * docs/design/part-buffering.txt:
3854         Add some ideas about buffering reporting.
3855
3856 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
3857
3858         * tests/check/gst/gstobject.c:
3859         Disable silly racy test that always fails on this combination of CPU
3860         and kernel.
3861
3862 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3863
3864         Patch by: Murray Cumming  <murrayc@murrayc.com>
3865
3866         * gst/gstobject.c:
3867           Corrected the registration of the parent-set and parent-unset
3868           signals: The parameter is a GstObject, not a GObject (#493134).
3869
3870 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3871
3872         * gst/gst_private.h:
3873         * gst/gstbuffer.h:
3874         * gst/gstevent.h:
3875         * gst/gstformat.h:
3876         * gst/gstmessage.h:
3877         * gst/gstplugin.h:
3878         * gst/gstquery.h:
3879         * gst/gsttaglist.h:
3880         * gst/gstvalue.h:
3881           Move declaration of private _gst_foo_initialize() functions into
3882           our private header file where they should have been all along.
3883
3884 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3885
3886         * docs/plugins/gstreamer-plugins-sections.txt:
3887         * gst/gstdebugutils.h:
3888         * gst/gstxml.h:
3889         * plugins/elements/gstqueue.c:
3890           gtk-doc fixes; trailing-comma-in-enum fix.
3891
3892 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3893
3894         * gst/gst.c: (gst_deinit):
3895           Clean up on deinit (not the external ones though, doesn't seem to be
3896           needed for some reason).
3897
3898 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3899
3900         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
3901           Remove __declspec(dllimport) for MSVC that was copied over into core
3902           from a plugin, obviously without ever having been tested (note the
3903           single underscore in _declspec in the initial commit), and that doesn't
3904           really make sense.  See #492077.
3905
3906 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3907
3908         * gst/gst.c: (init_post):
3909         * gst/gstevent.c: (_gst_event_initialize):
3910         * gst/gstquery.c: (_gst_query_initialize):
3911         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
3912           g_type_class_ref() other types as well, see #349410 and #64764.
3913
3914         * gst/gstbuffer.c: (_gst_buffer_initialize):
3915         * gst/gstmessage.c: (_gst_message_initialize):
3916           Simplify existing g_type_class_ref().
3917
3918 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3919
3920         * gst/gstformat.c: (_gst_format_initialize):
3921           g_type_class_ref() our GstFormat type to make sure we avoid the
3922           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
3923           bug #64764. Should fix intermittent tee unit test failures (#474823).
3924
3925 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3926
3927         * tests/check/elements/tee.c: (test_num_buffers):
3928           Simplify, simplify, simplify - or not.  Rewrite unit test
3929           not to use gst_parse_launch(); allow N sub-streams. Increasing
3930           the number of sub-streams seems to reproduce #474823 more easily.
3931
3932 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
3933
3934         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
3935
3936         * gst/gsttrace.c:
3937         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3938         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3939         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
3940           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
3941           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
3942           so use _pipe() directly (#492077).
3943
3944         * win32/common/dirent.c: (_treaddir):
3945           Add a couple of casts to make it build without warnings with MSVC.
3946
3947         * win32/common/libgstreamer.def:
3948           Add some more symbols that need to be exported.
3949
3950 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
3951
3952         * tests/examples/metadata/read-metadata.c: (message_loop):
3953           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
3954           arriving in a second or third tag message are added to
3955           the tag list as well.
3956
3957 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
3958
3959         * libs/gst/base/gstbasesrc.c:
3960           Its "Since:" and not "@Since:". And remove an superflous cast.
3961
3962 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
3963
3964         * docs/libs/gstreamer-libs-sections.txt:
3965         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3966         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
3967         (gst_base_sink_get_property), (gst_base_sink_render_object),
3968         (gst_base_sink_preroll_object),
3969         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3970         (gst_base_sink_change_state):
3971         * libs/gst/base/gstbasesink.h:
3972         Add a new last-buffer property that contains the last buffer used in
3973         basesink for preroll or rendering. useful for making snapshots.
3974         API: gst_base_sink_get_last_buffer()
3975         API: GstBaseSink::last-buffer
3976
3977 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
3978
3979         * docs/gst/running.xml:
3980         * gst/gst.c:
3981         * gst/gstdebugutils.c:
3982         * gst/gstdebugutils.h:
3983         * tools/gst-launch.c:
3984           Improve bin graph dumping, by using the envvar to specify a path.
3985           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
3986
3987 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
3988
3989         * plugins/elements/gsttypefindelement.c:
3990           (gst_type_find_element_handle_event),
3991           (gst_type_find_element_activate):
3992           Post special error message if we can't determine the type of a stream
3993           because it's empty.
3994
3995 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
3996
3997         * docs/gst/running.xml:
3998         * gst/gstdebugutils.c:
3999           Document new env-var. Add one log-line after dumpng a graph.
4000
4001 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
4002
4003         * configure.ac:
4004           Ugly hack to put the (recently removed and non-portable, apparently)
4005           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
4006           GNU ld, because without that 'make check' fails miserably on my debian
4007           stable box.  Someone with more knowledge of linker intricacies and
4008           portability issues than me fix this properly please.
4009
4010 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
4011
4012         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
4013         Reset last seen position after flushing so that we don't report the old
4014         position anymore.
4015
4016 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4017
4018         * gst/gstelementfactory.c: (gst_element_register):
4019         * gst/gsturi.h:
4020         Patch from Alessandro Decina adding get_type_full and
4021         get_protocols_full private vfuncs to the URIHandler interface
4022         to allow bindings to support creating URI handlers. 
4023         Partially fixes: #339279
4024         API: GstURIHandlerInterface::get_type_full
4025         API: GstURIHandlerInterface::get_protocols_full
4026
4027 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4028
4029         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
4030         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
4031         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
4032         Make it so that pads are considered linked until a buffer is pushed
4033         and discovered otherwise. This avoids problems with decodebin2 hanging
4034         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
4035         case.
4036
4037         Make sure we lock the multiqueue when updating the max-size properties.
4038         
4039         Fix a crash on Solaris in a debug statement in get_request_pad that
4040         passes a NULL string to GST_DEBUG. 
4041
4042         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
4043         (run_output_order_test):
4044         Fix the test to allow the first buffer on not-linked pads to come out
4045         of sequence while multiqueue discovers that they are not-linked.
4046
4047 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4048
4049         * configure.ac:
4050         * libs/gst/check/Makefile.am:
4051         Use a custom export symbol regex for libgstcheck, as it needs
4052         to export symbols that don't match the standard GStreamer gst_*
4053         pattern, and  --export-dynamic is not portable (only works on 
4054         GNU ld)
4055
4056         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4057         (gst_check_setup_sink_pad):
4058         Make sure to pass a message parameter to the fail_* macros.
4059
4060         * tests/check/gst/gstinfo.c: (GST_START_TEST):
4061         Fix some compiler warnings.
4062
4063 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
4064
4065         * tests/check/gst/gststructure.c: (test_to_string):
4066           Disable test that checks that white spaces are not allowed
4067           in structure names or field names, since we need to
4068           support that for now for backwards compatibility reasons.
4069
4070 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
4071
4072         * docs/gst/gstreamer-sections.txt:
4073         * gst/gsttaglist.c:
4074         * gst/gsttaglist.h:
4075           API: add GST_TAG_ARTIST_SORTNAME
4076           API: add GST_TAG_ALBUM_SORTNAME
4077           API: add GST_TAG_TITLE_SORTNAME
4078           Add tag variants for sorting (#414539).
4079
4080 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
4081
4082         * gst/gststructure.c:
4083           Also allow white space for names so we don't break
4084           backwards compatibility.
4085
4086 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
4087
4088         * docs/design/part-TODO.txt:
4089         * docs/design/part-segments.txt:
4090         * docs/design/part-streams.txt:
4091         Small updates.
4092
4093 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
4094
4095         * docs/gst/gstreamer-sections.txt:
4096          Fixed documentation from my previous commit (added new API add
4097          gst_value_set_structure(), add gst_value_get_structure() and
4098          GST_VALUE_HOLDS_STRUCTURE).
4099
4100 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
4101
4102         * gst/gstdebugutils.c:
4103           Reflow code to fix uninitialized variable warning.
4104
4105 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
4106
4107         * gst/gstcaps.c: (gst_caps_to_string),
4108         (gst_caps_from_string_inplace):
4109         * gst/gststructure.c: (gst_structure_get_abbrs),
4110         (gst_structure_to_string), (gst_structure_from_string):
4111         * gst/gstvalue.c: (gst_value_set_structure),
4112         (gst_value_get_structure), (gst_value_serialize_structure),
4113         (gst_value_deserialize_structure), (_gst_value_initialize):
4114         * gst/gstvalue.h:
4115         * tests/check/gst/gststructure.c: (GST_START_TEST),
4116         (gst_structure_suite):
4117         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4118          Added GstStructure to gst_value_table and its related functions.
4119          Changed gst_structure_to_string to print ';' in the end.
4120          Changed gst_caps_to_string to not print ';' beteween its
4121          fields (structures) anymore and remove the lastes ';' from latest
4122          structure. Now it is possible to have nested structures.
4123          In addition, backward compatibilty is assured by accepting '\0' as
4124          end delimiter. Fixes: #487969.
4125          API: add gst_value_set_structure()
4126          API: add gst_value_get_structure()
4127          API: add GST_VALUE_HOLDS_STRUCTURE
4128
4129 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
4130
4131         * gst/gstbus.c:
4132           When no GSource callback has been set up, tell developer
4133           to use a function that actually exists.
4134
4135 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
4136
4137         * docs/gst/gstreamer-sections.txt:
4138         * gst/Makefile.am:
4139         * gst/gst.c:
4140         * gst/gst.h:
4141         * gst/gstdebugutils.c:
4142         * gst/gstdebugutils.h:
4143         * gst/gstinfo.c:
4144         * gst/gstinfo.h:
4145         * tools/gst-launch.c:
4146           Allow dumping pipelines as dot graphs. Fixes #456573.
4147
4148 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4149
4150         * gst/gststructure.c:
4151           Allow '+' as well, it can be part of media or mime types
4152           such as image/svg+xml.
4153
4154 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4155
4156         * docs/gst/gstreamer-sections.txt:
4157         * gst/gstbus.c:
4158         * gst/gstbus.h:
4159           API: add gst_bus_pop_filtered
4160           API: add gst_bus_timed_pop_filtered
4161           Two new functions for waiting for specific message types on the
4162           bus for a specified amount of time without iterating any main
4163           loops or main contexts.
4164
4165         * tests/check/gst/gstbus.c:
4166           Some tests for the new functions.
4167
4168 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4169
4170         * docs/libs/gstreamer-libs-sections.txt:
4171           Make gtk-doc ignore stuff it should ignore.
4172
4173 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4174
4175         * libs/gst/check/gstcheck.c:
4176         * libs/gst/check/gstcheck.h:
4177           Allow runtime selection of unit tests to run via the GST_CHECKS
4178           environment variable (test case function names, comma-separated).
4179
4180 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
4181
4182         * gst/gststructure.c:
4183         * tests/check/gst/gststructure.c:
4184           Revert serialisation change and constrain structure-names after
4185           consensus on irc. Update api documentation to reflect the change.
4186
4187 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
4188
4189         * gst/gststructure.c:
4190           Improve serialization and fix tests.
4191
4192         * tests/check/gst/gststructure.c:
4193           Add another test that covers why I actually did the previous structure
4194           change.
4195
4196 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
4197
4198         * tools/gst-inspect.c: (print_element_info):
4199         Don't crash when inspecting an element.
4200
4201 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4202
4203         * tests/check/gst/gststructure.c:
4204           Add unit test for escaping of structure name when serialising
4205           and deserialising to/from strings.
4206
4207 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
4208
4209         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4210         (gst_single_queue_new):
4211         * plugins/elements/gstqueue.c: (gst_queue_init),
4212         (gst_queue_push_one):
4213         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
4214         upstream is tricked into thinking it can suggest a format downstream
4215         while downstream does not support that format. The real problem is that
4216         core calls acceptcaps when pushing a buffer with new caps, for which we
4217         do a little workaround by setting the caps on the srcpad ourselves
4218         before pushing the buffer (until this is figured out). Fixes #486758.
4219
4220 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4221
4222         * gst/gststructure.c:
4223         * gst/gstvalue.c:
4224           Add some more comments and debug output. Quote structure name to fix
4225           deserialisation of some strings.
4226
4227 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4228
4229         * gst/gstbuffer.h:
4230           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4231           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4232
4233 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4234
4235         * tools/gst-inspect.c:
4236           Save approx. 400 1 byte allocs when printing. Use API to acces element
4237           details.
4238
4239         * tools/gst-run.c:
4240           Avoid a strdup.
4241
4242         * tools/gst-xmlinspect.c:
4243           Use API to acces element details.
4244
4245 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4246
4247         * gst/gstinfo.c:
4248           Fix some spelling errors.
4249
4250 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
4251
4252         * gst/gstbin.c: (bin_handle_async_done):
4253         Correctly set the next state if all of our async children commited their
4254         state. This makes sure we can actually cancel the state change in
4255         progress. Fixes a regression in Rhythmbox when seeking.
4256
4257 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4258
4259         * gst/gstbin.c:
4260           Don't shadow local variable.
4261
4262         * gst/gstinfo.c:
4263           Don't shadow global function name.
4264
4265 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4266
4267         * gst/gstelementfactory.c:
4268         * gst/gstpluginfeature.c:
4269         * gst/gstpluginfeature.h:
4270         * gst/gstregistrybinary.c:
4271         * gst/gstregistryxml.c:
4272         * gst/gsttypefind.c:
4273           Use already-interned string for the private GstPluginFeature
4274           plugin_name field.
4275
4276 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4277
4278         * docs/libs/gstreamer-libs-sections.txt:
4279           Add new API to docs; fixes the build.
4280
4281 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
4282         
4283         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4284
4285         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4286         (gst_base_sink_event):
4287         * libs/gst/base/gstbasesink.h:
4288         Add function to wait for EOS, subclasses can use this to correctly wait
4289         for devices to drain before performing the EOS logic. Fixes #485343.
4290         API: gst_base_sink_wait_eos()
4291
4292 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4293
4294         * gst/gstplugin.h:
4295           Cast description string constants in GST_PLUGIN_DEFINE macros
4296           to a (gchar*) to make C++ code using these macros compile
4297           without warning with g++-4.2 (see #462737).  Even if slightly
4298           ugly, this seems preferable to putting the description strings
4299           into the GLib quark table or making the structure member a
4300           const gchar * and doing casts in core code that allocs and
4301           frees these strings, or requiring a cast in the C++ code.
4302
4303 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4304
4305         * gst/gstinfo.h:
4306           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4307           to print the entire class/function signature into the log
4308           file for C++ code.  This only affects C++ code, for C code
4309           everything remains the same.
4310
4311 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
4312
4313         * gst/gstbin.c: (remove_from_queue):
4314         Work around a problem with pipelines containing (semi)loops until a
4315         proper, more complicated solution is ready. See #475455.
4316
4317 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4318
4319         * gst/gstplugin.c:
4320         * gst/gstplugin.h:
4321         * gst/gstregistrybinary.c:
4322         * gst/gstregistryxml.c:
4323           Put more strings into the GLib quark table. No need to keep
4324           a hundred-something copies of identical version strings,
4325           license strings, package name strings and package origin
4326           strings around. 
4327
4328 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4329
4330         * docs/manual/advanced-dataaccess.xml:
4331           Don't imply that it's okay to unconditionally change
4332           buffer data or buffer metadata in a pad probe callback,
4333           and a bunch of other comments. Fixes #430031.
4334
4335 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4336
4337         * win32/common/gstenumtypes.c:
4338         * win32/common/gstenumtypes.h:
4339         * win32/common/gstversion.h:
4340           Update generated files.
4341
4342 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4343
4344         * docs/manual/advanced-autoplugging.xml:
4345           Prefix section with broken code with a warning (see #342432).
4346
4347 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4348
4349         * docs/manual/appendix-integration.xml:
4350         * docs/manual/basics-init.xml:
4351           Call g_thread_init() before g_option_context_new() to
4352           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4353
4354 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4355
4356         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4357         (gst_base_sink_queue_object_unlocked),
4358         (gst_base_sink_queue_object), (gst_base_sink_event),
4359         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4360         When we received EOS and are waiting for when to post the EOS message,
4361         our state is prerolled and we should not return ASYNC.
4362         Reorganize some code paths to implement this behavior.
4363
4364         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4365         (gst_sinks_suite):
4366         Add unit test to verify above EOS fix.
4367
4368 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4369
4370         * plugins/elements/gsttypefindelement.c:
4371         (gst_type_find_element_have_type), (gst_type_find_element_init),
4372         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4373         Move detecting the input caps of the sinkpad to the setcaps function.
4374         This allows us to update the output caps when we receive new input caps
4375         instead of always using the first detected caps.
4376
4377 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4378
4379         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4380         (gst_base_sink_get_position):
4381         Don't try to preroll non-async elements after a flush.
4382         Subtract latency form clock times when reporting position.
4383
4384 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4385
4386         * gst/gstpad.c: (gst_pad_pause_task):
4387         * gst/gstutils.c:
4388         Small comment and documentation update.
4389
4390 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4391
4392         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4393         (gst_base_src_set_live), (gst_base_src_is_live),
4394         (gst_base_src_query_latency), (gst_base_src_perform_seek),
4395         (gst_base_src_default_event), (gst_base_src_wait),
4396         (gst_base_src_do_sync), (gst_base_src_get_range),
4397         (gst_base_src_pad_get_range), (gst_base_src_loop),
4398         (gst_base_src_unlock), (gst_base_src_unlock_stop),
4399         (gst_base_src_set_flushing), (gst_base_src_set_playing),
4400         (gst_base_src_activate_push), (gst_base_src_activate_pull),
4401         (gst_base_src_change_state):
4402         Rework the locking of basesrc in a similar fashion to basesink. We
4403         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4404         us to handle live sources and semi live ones much better.
4405         Simplify flushing.
4406         Fix unlocking when seeking, shutting down and pausing in live sources.
4407
4408 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4409
4410         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4411         Fix compilation again.
4412
4413 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4414
4415         * gst/gstelement.c:
4416           Use meaningful categories for the logs to clean the default one.
4417
4418 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4419
4420         * tests/check/pipelines/cleanup.c:
4421           Print message name and not just number.
4422
4423 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4424
4425         * docs/design/draft-tagreading.txt:
4426           Add some more thoughts.
4427
4428 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4429
4430         * tests/check/pipelines/simple-launch-lines.c:
4431           Print message name and not just number.
4432
4433 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4434
4435         * libs/gst/base/gsttypefindhelper.c:
4436           Speedup typefinding. This is work in progress (see #459862).
4437
4438 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4439
4440         * gst/gstplugin.c:
4441           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4442           Spotted by Josep Torra Valles <josep@fluendo.com>.
4443
4444 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
4445
4446         * gst/gstclock.h:
4447           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4448           field has moved to GstObject.
4449
4450 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
4451
4452         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4453         (gst_base_src_get_range), (gst_base_src_change_state):
4454         Call unlock for live sources so that they can't get stuck in _create and
4455         produce a buffer before they are set back to PLAYING.
4456
4457 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
4458
4459         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4460         (gst_queue_locked_dequeue):
4461         Comment the segment-related code... in the PROPER function.
4462         See #482147 and my commit from yesterday.
4463
4464 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
4465
4466         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4467         Also initialize the counter that calculates the first timestamp on a
4468         buffer correctly for non-live sources.
4469
4470 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
4471
4472         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4473         Disable code that's breaking the current-time-level reporting.
4474         See #482147
4475
4476 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
4477
4478         * docs/gst/gstreamer-sections.txt:
4479         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
4480         as they shouldn't show up. Fixes the docs build.
4481
4482 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
4483         
4484         * gst/gstinfo.h:
4485         Add an explicit variable importation needed on VS6 (only for MSC_VER)
4486         Define M_PI which is used in files which are including gstinfo.h. 
4487         VS6 includes doesn't define it.
4488         * win32/common/libgstbase.def:
4489         * win32/common/libgstcontroller.def:
4490         * win32/common/libgstreamer.def:
4491         Add new exported functions and variables.
4492         * win32/vs6/libgstcontroller.dsp:
4493         * win32/vs6/libgstreamer.dsp:
4494         Update the list of files to build.
4495         
4496 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
4497
4498         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4499
4500         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
4501         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
4502         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
4503         Improve debugging. Fixes #480858.
4504
4505 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
4506
4507         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4508
4509         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4510         First patch of code cleanups, use the macros and right arguments in the
4511         macros to signal and lock the queue. See #480858.
4512
4513 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
4514
4515         * gst/gstbus.c: (poll_func):
4516         Improve debugging when dealing with _poll().
4517
4518 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
4519
4520         * gst/gstregistryxml.c:
4521           Fix memory leak I introduced a few days ago.
4522
4523 2007-09-26  Michael Smith <msmith@fluendo.com>
4524
4525         * gst/gstbuffer.c: (gst_buffer_finalize):
4526           Make it once again possible to free GstBuffers in the default
4527           build.
4528           The poisoning scribbles on parts of the miniobject we need in
4529           order to free it.
4530           Fixes #480341
4531
4532 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
4533
4534         * docs/gst/gstreamer-sections.txt:
4535         * gst/gsttaglist.c:
4536         * gst/gsttaglist.h:
4537         API: add GST_TAG_COMPOSER, fixes #459809.
4538
4539 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
4540
4541         * gst/gstplugin.c:
4542         * gst/gstplugin.h:
4543         Add the 3-clause BSD license and the MIT/X11 license to the license
4544         list. Fixes #479784.
4545
4546 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
4547
4548         * docs/faq/getting.xml:
4549           Add Q+A about different GStreamer versions (#364056).
4550
4551 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4552
4553         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4554         (gst_base_sink_event), (gst_base_sink_change_state):
4555         Return correct gboolean from query function.
4556
4557 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4558
4559         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4560         (gst_base_sink_event), (gst_base_sink_query),
4561         (gst_base_sink_change_state):
4562         Simplify latency query.
4563         When not synchronizing, we can report latency without querying the peer
4564         element.
4565
4566 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4567
4568         * gst/gstobject.h:
4569         * gst/gstvalue.c:
4570         Fix small typos in the docs.
4571
4572 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4573
4574         * docs/design/draft-latency.txt:
4575         * docs/design/draft-push-pull.txt:
4576         * docs/design/draft-tagreading.txt:
4577         * docs/design/part-MT-refcounting.txt:
4578         * docs/design/part-activation.txt:
4579         * docs/design/part-block.txt:
4580         * docs/design/part-element-source.txt:
4581         * docs/design/part-events.txt:
4582         * docs/design/part-gstbin.txt:
4583         * docs/design/part-gstelement.txt:
4584         * docs/design/part-gstobject.txt:
4585         * docs/design/part-gstpipeline.txt:
4586         * docs/design/part-messages.txt:
4587         * docs/design/part-preroll.txt:
4588         * docs/design/part-push-pull.txt:
4589         * docs/design/part-qos.txt:
4590         * docs/design/part-query.txt:
4591         * docs/design/part-scheduling.txt:
4592         * docs/design/part-seeking.txt:
4593         * docs/design/part-segments.txt:
4594         * docs/design/part-states.txt:
4595         Documentation updates and typo fixes.
4596
4597 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4598
4599         * plugins/elements/gstfakesink.c:
4600           Add some debug text to error message to indicate that
4601           we errored out on request.
4602
4603         * tools/gst-launch.c:
4604           When the state change to PLAYING fails, check for an
4605           error message on the bus and print it.
4606
4607 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
4608
4609         translated by: Jorge González González <aloriel@gmail.com>
4610
4611         * po/LINGUAS:
4612         * po/es.po:
4613           Added Spanish translation.
4614
4615 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
4616
4617         * plugins/elements/gstqueue.c: (gst_queue_push_one):
4618         Fix printf arguments.
4619
4620 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
4621
4622         * tests/check/generic/states.c:
4623           Improved state change unit test.
4624
4625 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
4626
4627         * gst/gstbin.h:
4628           Move priv to the right place.
4629
4630         * gst/gstsystemclock.c:
4631           Add FIXME: and improve log.
4632
4633         * tests/check/Makefile.am:
4634         * tests/examples/manual/Makefile.am:
4635           Work with all types of registries.
4636
4637 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
4638
4639         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4640         Don't unref the event after pushing it. Fixes #478401.
4641
4642 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
4643
4644         * .cvsignore:
4645         * tests/examples/manual/.cvsignore:
4646           Ignore registries in any format.
4647
4648 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
4649
4650         * gst/glib-compat-private.h:
4651           Add compatibility macro for g_intern_string() for
4652           GLib-2.8 (any reason we can't just bump the
4653           requirement to at least 2.10?)
4654
4655         * gst/gstpadtemplate.h:
4656         * gst/gstelementfactory.c:
4657         * gst/gstregistryxml.c:
4658         * gst/gstregistrybinary.c:
4659           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
4660           up the internal code accordingly.  This shouldn't be a problem, since
4661           there is no reason external code could ever assume the string in such
4662           a structure is dynamically allocated unless it did that itself;  the
4663           use of g_strdup() is private to element factories.  The new code also
4664           saves some memory by putting pad template name strings into the GLib
4665           quark table instead of allocating them dynamically.
4666           Declaring this field constant fixes warnings with g++-4.2 when using
4667           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
4668
4669 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
4670
4671         * gst/gstelementfactory.c:
4672           Release static caps. Fixes #475723.
4673
4674 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
4675
4676         * gst/gstinfo.c:
4677         * gst/gstinfo.h:
4678           Make some internal API take const gchar * instead of just
4679           gchar * to avoid compiler warnings with g++-4.2.2 when
4680           passing string constants (partially fixes #478092).
4681
4682 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
4683
4684         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
4685         A latency query fails when one of the sinks fail.
4686
4687         * gst/gstelement.c: (gst_element_set_base_time):
4688         Improve debugging.
4689
4690 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
4691
4692         * gst/gstbin.c: (gst_bin_continue_func):
4693         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4694         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
4695         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
4696
4697         Fix minor compilation warnings shown with Forte.
4698
4699 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
4700
4701         * plugins/elements/gstqueue.c: (apply_buffer),
4702         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
4703         Measure queue level based on the diff between head and tail timestamps
4704         even when pushing the first buffer.
4705
4706 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4707
4708         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4709         (gst_base_sink_event), (gst_base_sink_change_state):
4710         Sinks that don't preroll can always be queried for the latency.
4711         Don't post ASYNC start when we are not async.
4712
4713 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4714
4715         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4716         (gst_queue_handle_sink_event), (gst_queue_chain),
4717         (gst_queue_push_one), (gst_queue_handle_src_query),
4718         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
4719         * plugins/elements/gstqueue.h:
4720         When downstream returns UNEXPECTED from pushing a buffer, don't try to
4721         push more buffers but allow pushing of EOS and NEWSEGMENT.
4722         Add some more debug info here and there. Fixes #476514.
4723
4724 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4725
4726         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4727         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
4728         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4729         (gst_base_sink_set_flushing), (gst_base_sink_query),
4730         (gst_base_sink_change_state):
4731         Latency query is allowed after we are prerolled. Introduce a new flag
4732         for this and stop abusing other variables.
4733
4734 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4735
4736         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4737         Push OOB events downstream when we get them in send_event. This allows
4738         the application to insert events in the pipeline.
4739         Add some more comments.
4740
4741 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4742
4743         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
4744         (do_bin_latency), (gst_bin_change_state_func):
4745         * gst/gstpipeline.c: (gst_pipeline_change_state):
4746         Move latency query from GstPipeline to GstBin so that we can also
4747         use it when async-handling is enabled on bins.
4748
4749 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4750
4751         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4752         (gst_base_src_do_sync), (gst_base_src_change_state):
4753         Update docs.
4754         Clean up the timestamping and syncing code for pseudo live sources.
4755
4756 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
4757
4758         Patch by: Steve Fink  <sphink gmail com>
4759
4760         * docs/manual/appendix-checklist.xml:
4761           Mention less -R switch in the section about debug output (#474055).
4762
4763 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4764
4765         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4766         Queue can latency to the pipeline up to the configured max size in time.
4767         Report this fact in the latency query.
4768
4769 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4770
4771         Patch by: Sebastien Moutte <sebastien at moutte dot net>
4772
4773         * libs/gst/controller/gstinterpolation.c:
4774         * libs/gst/controller/gstlfocontrolsource.c:
4775         Use gst_guint64_to_gdouble() when converting from a uint64 or
4776         GstClockTime to double to fix the build on win32. Fixes #474371.
4777
4778 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4779
4780         * gst/gstbuffer.c: (gst_buffer_finalize):
4781         Implement poisoning for GstBuffer if --enable-poisoning is specified.
4782         When finalizing a buffer the complete struct is filled with 0xff,
4783         thus making a use of the buffer after the final unref impossible.
4784
4785 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4786
4787         * tests/check/libs/controller.c: (GST_START_TEST):
4788         Use fail_unless_equals_int(a, b) instead of
4789         fail_unless_equals (a == b) to get better output on failures.
4790
4791 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
4792
4793         * tests/check/gst/gsturi.c:
4794           Also check for the other file URI variant on win32.
4795
4796 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
4797
4798         * gst/gsturi.c: (gst_uri_get_location):
4799           If there's no hostname, we want to return 'c:/foo/bar.txt'
4800           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
4801
4802         * tests/check/gst/gsturi.c:
4803           Unit test for the above and a few more things.
4804
4805 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
4806
4807         * docs/design/part-live-source.txt:
4808         Add docs on how live sources should timestamp.
4809
4810         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4811         Add some more debug info.
4812         For subclasses that are live and like to sync, add aditional startup
4813         latency to sync time and timestamps so that we timstamp according to the
4814         design doc.
4815
4816 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
4817
4818         * gst/gstbuffer.c:
4819           Also do a g_type_class_ref() for the subbuffer type in
4820           the init function.
4821
4822 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
4823
4824         * docs/gst/gstreamer-sections.txt:
4825         * gst/gstpad.c: (gst_pad_peer_query):
4826         * gst/gstpad.h:
4827         Add function to perform a query on the peer of a pad.
4828         API: gst_pad_peer_query()
4829
4830 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
4831
4832         * tests/check/gst/gstsystemclock.c:
4833           Cleanup the test a little (use gst-logging and not g_message). Improve
4834           test to check if a wait reached the target.
4835
4836 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
4837
4838         * docs/libs/gstreamer-libs-sections.txt:
4839           Add new API to docs and fix the build.
4840
4841 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
4842
4843         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4844         (gst_base_src_init), (gst_base_src_set_do_timestamp),
4845         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
4846         (gst_base_src_get_property), (gst_base_src_do_sync):
4847         * libs/gst/base/gstbasesrc.h:
4848         Add property to make the basesrc timestamp buffers based on the current
4849         running time.
4850         API: GstBaseSrc::do-timestamp
4851         API: gst_base_src_set_do_timestamp()
4852         API: gst_base_src_get_do_timestamp()
4853
4854 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
4855
4856         * docs/random/release:
4857           Really make sure translations are up-to-date before
4858           a release (#465010).
4859
4860 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
4861
4862         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4863         Always destroy the timer, also in error cases.
4864
4865 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
4866
4867         * docs/manual/highlevel-xml.xml:
4868         Fix XML example code. Fixes #472714.
4869
4870 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
4871
4872         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4873         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4874         (gst_base_sink_query):
4875         Protect eos and have_preroll with the OBJECT lock so we don't need to
4876         take the PREROLL lock when querying the latency. Fixes #473846.
4877
4878 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
4879
4880         * gst/gstelement.c:
4881           Give some log-messages a category.
4882
4883 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
4884
4885         * gst/gststructure.c:
4886         (gst_structure_fixate_field_nearest_fraction):
4887         Fix fraction list fixation code. Take the fraction with the smallest
4888         difference with the target instead of the first one in the list.
4889
4890         * tests/check/gst/gststructure.c: (GST_START_TEST),
4891         (gst_structure_suite):
4892         Added test to verify correct fraction list fixation behaviour.
4893
4894 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
4895
4896         * win32/common/libgstreamer.def:
4897           Export gst_bus_add_signal_watch too.
4898
4899 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
4900
4901         * docs/libs/gstreamer-libs-sections.txt:
4902         Add new methods to docs.
4903
4904         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4905         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
4906         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
4907         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
4908         * libs/gst/base/gstbasesink.h:
4909         Add ts-offset property to fine-tune the synchronisation.
4910         API: GstBaseSink::ts-offset property
4911         API: gst_base_sink_set_ts_offset()
4912         API: gst_base_sink_get_ts_offset()
4913
4914 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
4915
4916         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4917         (gst_base_sink_init), (gst_base_sink_set_sync),
4918         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4919         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
4920         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
4921         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
4922         (gst_base_sink_get_property), (gst_base_sink_change_state):
4923         * libs/gst/base/gstbasesink.h:
4924         Add async property to instruct the sink never to inform the parent about
4925         ASYNC state changes, update docs.
4926         Check argument with g_return_* for the public functions.
4927         API: GstBaseSink::async property
4928         API: gst_base_sink_set_async_enabled()
4929         API: gst_base_sink_is_async_enabled()
4930
4931 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
4932
4933         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
4934         Improve debugging.
4935
4936         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4937         (gst_base_src_default_query), (gst_base_src_wait),
4938         (gst_base_src_do_sync), (gst_base_src_change_state):
4939         Rearrange some code so that we can add support for measuring the 
4940         startup latency.
4941
4942 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
4943
4944         * docs/random/ensonic/dynlink.txt:
4945           More thoughs on this.
4946
4947         * plugins/elements/gstcapsfilter.c:
4948           Add bugzilla ticket number to FIXME comment.
4949
4950 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
4951
4952         * docs/design/part-TODO.txt:
4953         * docs/design/part-block.txt:
4954         Update some docs.
4955
4956 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
4957
4958         * gst/Makefile.am:
4959           Revert patch which uses $(gst_headers) instead of $^ because it
4960           breaks make dist.
4961
4962 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
4963
4964         * tests/check/gst/gstbin.c: (GST_START_TEST):
4965           Fix leaks in the new unit test.
4966
4967 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
4968
4969         * gst/gst.c:
4970           Don't use GST_INFO before the debug system is actually initialised
4971           (shouldn't do any harm, but won't print anything either, so we can
4972           just as well remove it).
4973
4974         * gst/gstinfo.h:
4975           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
4976           compilers that don't support variadic macros (such as MSVC), should
4977           check for debug_level <= __gst_debug_min as well, since that's the
4978           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
4979           inline helper functions. Should improve performance a bit, but also
4980           makes sure uses of GST_INFO et.al are ignored if the debugging
4981           system isn't initialised yet (instead of printing an assertion
4982           failure).
4983
4984 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
4985
4986         patch by: David Nečas <yeti@physics.muni.cz>
4987
4988         * gst/Makefile.am:
4989           Replace some non portable makefile constructs.
4990
4991 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
4992
4993         * common/gtk-doc-plugins.mak:
4994           Grrrrr. Don't remove the types file on make clean.
4995
4996 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
4997
4998         * tools/gst-launch.1.in:
4999         Add colorspace to example pipeline. Fixes #458274.
5000
5001 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
5002
5003         * docs/random/release:
5004           The release manager should run 'make download-po' before making a
5005           release to make sure translations are up-to-date.
5006
5007         * po/LINGUAS:
5008         * po/be.po:
5009         * po/pl.po:
5010         * po/rw.po:
5011           Add some new translations.
5012
5013 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
5014
5015         * tools/gst-launch.c: (event_loop), (main):
5016         Don´t try to do any state management when a live pipeline posts
5017         buffering messages.
5018         Also make the buffering string translatable.
5019
5020 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5021
5022         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
5023         (bin_handle_async_start), (gst_bin_handle_message_func):
5024         Improve debugging.
5025         When adding elements, insert messages into the bus of the newly added
5026         element and make sure the element is the source of the message. This
5027         allows the parent bin to intercept the message and do the
5028         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
5029         messages to the app (which is not allowed).
5030         Update some docs.
5031
5032         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5033         Fix testsuite so that is does not work around messages that should not
5034         have been posted in the first place.
5035
5036 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5037
5038         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
5039         (update_degree), (gst_bin_sort_iterator_next):
5040         Fix annoying bug in the sorted iterator where a sink that is not really
5041         a sink (when it has downstream links) screwed up the iterator.
5042
5043         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5044         Unit test to verify the fix.
5045
5046 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5047
5048         * gst/gstmessage.h:
5049         Add some more docs for the messages.
5050
5051         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5052         (gst_base_sink_query):
5053         Add some more debugging.
5054
5055         * tools/gst-launch.c: (event_loop):
5056         When interrupting, don't try to set pipeline to PAUSED twice.
5057
5058 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
5059
5060         
5061         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
5062         (bin_handle_async_start), (gst_bin_handle_message_func):
5063         Move ASYNC_START message posting to where it belongs, similar to
5064         async_done. 
5065         Don't post ASYNC_START when we are in error. 
5066         Post ASYNC_START when we added an async element to a bin.
5067
5068 2007-08-14  Julien MOUTTE  <julien@moutte.net>
5069
5070         * gst/gstindex.c: (gst_index_add_association): Fix index entry
5071         generation from vargs. Fixes #466595.
5072
5073 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
5074
5075         * gst/gstbin.c: (gst_bin_element_set_state):
5076         Always change the state of a NO_PREROLL element even if it has ASYNC
5077         elements inside (in case of a bin).
5078
5079         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
5080         Unit test for this case.
5081
5082 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
5083
5084         * libs/gst/check/gstbufferstraw.c:
5085         * libs/gst/check/gstcheck.h:
5086         * libs/gst/controller/gstcontroller.c:
5087         * libs/gst/controller/gstcontrolsource.h:
5088         * libs/gst/controller/gstlfocontrolsource.h:
5089         * plugins/elements/gstcapsfilter.h:
5090         * plugins/elements/gstfdsink.h:
5091         * plugins/elements/gstfdsrc.h:
5092           Add more missing docs.
5093
5094 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5095
5096         * gst/gststructure.c:
5097         Add Since tag to docs.
5098
5099 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5100
5101         * docs/gst/gstreamer-sections.txt:
5102         * gst/gststructure.c: (gst_structure_get_uint):
5103         * gst/gststructure.h:
5104         Add function to get uint from a structure.
5105         API: gst_structure_get_uint()
5106
5107 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5108
5109         * gst/gstcaps.c: (gst_caps_set_simple_valist),
5110         (gst_caps_intersect):
5111         Fix proper check for simple caps.
5112
5113 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
5114
5115         * docs/gst/Makefile.am:
5116         * docs/libs/Makefile.am:
5117           Remove cruft and do some cleanups.
5118
5119         * docs/gst/gstreamer-docs.sgml:
5120         * docs/libs/gstreamer-libs-docs.sgml:
5121           Prepare for comming gtkdoc features (rebase against online docs).
5122
5123 2007-08-10  Michael Smith <msmith@fluendo.com>
5124
5125         * docs/gst/gstreamer-sections.txt:
5126           Add gst_registry_add_path to docs.
5127
5128 2007-08-10  Michael Smith <msmith@fluendo.com>
5129
5130         * gst/gstregistry.h:
5131           Add gst_registry_add_path, which was missing from this header.
5132
5133 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
5134
5135         * libs/gst/controller/gstlfocontrolsource.c:
5136           Printf format fix.
5137
5138 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
5139
5140         * libs/gst/base/gstbasesink.c:
5141           Don't send an async_start message during downwards state change if 
5142           target state is less than READY
5143
5144 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5145
5146         translated by: Gabor Kelemen <kelemeng@gnome.hu>
5147
5148         * po/LINGUAS:
5149         * po/hu.po:
5150           Added Hungarian translation.
5151
5152 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5153
5154         * po/fi.po:
5155         * po/it.po:
5156         * po/nl.po:
5157         * po/sv.po:
5158         * po/uk.po:
5159           Updated translations.
5160
5161 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
5162
5163         * libs/gst/controller/Makefile.am:
5164         Dist gstlfocontrolsourceprivate.h
5165
5166 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
5167
5168         * docs/libs/gstreamer-libs.types:
5169         Don't register the enum type gst_lfo_waveform_get_type() in the
5170         .types file - only GObject derived types belong.
5171
5172 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
5173
5174         Patch by: <arenevier at fdn dot fr>
5175
5176         * gst/gstbuffer.h:
5177         Remove comma from last element in enum to avoid compile errors when
5178         using -pendantic. Fixes #464366.
5179
5180 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
5181
5182         * docs/design/part-TODO.txt:
5183         Add some more TODO items
5184
5185         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
5186         Improve debugging.
5187
5188         * gst/gstcaps.c: (gst_caps_intersect):
5189         Optimize trivial intersection case between identical caps pointers.
5190
5191         * gst/gstelement.c: (gst_element_continue_state),
5192         (gst_element_set_state_func):
5193         * gst/gstpad.c:
5194         Fix spelling and grammar mistakes.
5195
5196 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
5197
5198         * po/POTFILES.in:
5199         * po/POTFILES.skip:
5200           Update POTFILES. Fixes #461599.
5201
5202 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
5203
5204         * gst/gst.c:
5205         Fix confusing typo in debug output.
5206
5207 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
5208
5209         reviewed by: Stefan Kost <ensonic@users.sf.net>
5210
5211         * libs/gst/controller/Makefile.am:
5212         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
5213         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
5214         (gst_lfo_control_source_new),
5215         (gst_lfo_control_source_set_waveform),
5216         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
5217         (gst_lfo_control_source_finalize),
5218         (gst_lfo_control_source_dispose),
5219         (gst_lfo_control_source_set_property),
5220         (gst_lfo_control_source_get_property),
5221         (gst_lfo_control_source_class_init):
5222         * libs/gst/controller/gstlfocontrolsource.h:
5223         * libs/gst/controller/gstlfocontrolsourceprivate.h:
5224         API: Add GstLFOControlSource, a control source that gives values
5225         for specific timestamps based on several periodic waveforms.
5226         Fixes #459717.
5227
5228         * tests/check/libs/controller.c: (GST_START_TEST),
5229         (gst_controller_suite):
5230         * docs/libs/gstreamer-libs-docs.sgml:
5231         * docs/libs/gstreamer-libs-sections.txt:
5232         * docs/libs/gstreamer-libs.types:
5233         Add documentation and unit tests for GstLFOControlSource.
5234
5235 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
5236
5237         * configure.ac:
5238         Back to CVS
5239
5240 === release 0.10.14 ===
5241
5242 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
5243
5244         * configure.ac:
5245           releasing 0.10.14, "Breathing Vacuum"
5246
5247 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
5248
5249         * gst/gstelement.c: (gst_element_class_set_details_simple):
5250         * gst/gstelement.h:
5251           Make strings passed to gst_element_class_set_details_simple()
5252           constant, as they should be (#462752).
5253
5254 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
5255
5256         * gst/gstbin.c: (gst_bin_change_state_func),
5257         (bin_handle_async_done), (gst_bin_handle_message_func):
5258         Don't forget about the fact that some element went ASYNC even after a
5259         resync. This makes us post the ASYNC_DONE message correctly.
5260         Fixes #462558.
5261
5262 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5263
5264         * gst/gstregistry.c: (gst_registry_add_feature):
5265         When replacing an existing feature in the registry, make sure to
5266         continue holding a reference until we've replaced the name string
5267         within our feature hash table. Make sure to use g_hash_table_replace
5268         instead of g_hash_table_insert to ensure the new name string is used
5269         as a key instead of the old one that we're about to free.
5270         Fixes: #462085
5271
5272 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5273
5274         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5275         (gst_plugin_feature_set_name):
5276         Revert patch from #459466 until after the release and we can work
5277         out exactly what the problem is (if any).
5278
5279 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5280
5281         * docs/gst/gstreamer-sections.txt:
5282         * gst/gsttaglist.c:
5283         * gst/gsttaglist.h:
5284           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5285
5286 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
5287
5288         * docs/libs/Makefile.am:
5289         Include our build-prefix libs and includes before the generic ones to
5290         avoid linking against the installed libs when we want the build-tree
5291         ones.
5292
5293 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5294
5295         Patch by: Steve Fink  <sphink gmail com>
5296
5297         * docs/pwg/building-testapp.xml:
5298           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5299           if people try to build or install the example from the plugin
5300           template against a GStreamer from package using the configure
5301           defaults.
5302
5303 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
5304
5305         Patch by: Steve Fink  <sphink gmail com>
5306
5307         * tools/gst-inspect.1.in:
5308           Document --print-all and --print-plugin-auto-install-info command
5309           line options in man page.
5310
5311 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5312
5313         * docs/gst/gstreamer-sections.txt:
5314         Add docs for new api function.
5315
5316 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5317
5318         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5319         * gst/gstelementfactory.h:
5320         API: gst_element_factory_has_interface()
5321         Added method to check if an element factory implements a named
5322         interface.
5323
5324 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
5325
5326         * configure.ac:
5327         * docs/gst/gstreamer.types.in:
5328           Another conditional doc check.
5329
5330         * gst/gstmessage.c:
5331         * gst/gstparamspecs.h:
5332         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5333         * gst/gstvalue.c:
5334         * gst/gstxml.h:
5335           API-doc fixes.
5336
5337 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5338
5339         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5340         (gst_registry_binary_load_feature),
5341         (gst_registry_binary_load_plugin),
5342         (gst_registry_binary_read_cache):
5343           Print error just once and with additional info.
5344
5345 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5346
5347         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5348         (helper_find_suggest), (helper_find_get_length),
5349         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5350         (gst_type_find_helper_for_buffer):
5351           Cleanup the typefindhelper code and add private doc comments.
5352
5353 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
5354
5355         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5356         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5357         Fix capsfilter for cases where the caps set on capsfilter will provide
5358         additional information.
5359         Fixes #449197
5360
5361 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5362
5363         * gst/gsttypefindfactory.c:
5364           Fix docs that recommened wrong function to use.
5365
5366 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5367
5368         * tools/gst-inspect.c: (print_plugin_features):
5369           Also give media-type for typefinders in element output.
5370
5371 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5372
5373         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5374         (gst_registry_remove_features_for_plugin_unlocked),
5375         (gst_registry_add_feature), (gst_registry_remove_feature),
5376         (gst_registry_lookup_feature_locked):
5377         * gst/gstregistry.h:
5378           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5379           Fixes #459501.
5380
5381 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5382
5383         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5384         (gst_plugin_feature_set_name):
5385           Avoid double memory usage for pluginfeature names. Fixes #459466.
5386
5387 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5388
5389         * gst/gstpad.h:
5390           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5391           driving the pipeline may need to explicitly check for NOT_LINKED as
5392           well, since IS_FATAL doesn't cover that.
5393
5394 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5395
5396         * docs/pwg/advanced-types.xml:
5397           Fix typo and duplicate entry in video formats list.
5398
5399 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
5400
5401         * libs/gst/controller/gstinterpolation.c:
5402         Also round to the nearest int when using cubic interpolation.
5403
5404 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
5405
5406         * libs/gst/controller/gstinterpolation.c:
5407         When linearly interpolating integer types, round to the nearest int
5408         by adding 0.5. Don't do it for float/double types.
5409         Fixes the failing controller test on my machine, which is somehow
5410         rounding differently than on the buildbots.
5411
5412 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5413
5414         * tools/gst-plot-timeline.py:
5415           Better log parsing (categories can have -). Adjust text vs. lines, so
5416           that they span the same y-range.        
5417
5418 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5419
5420         * docs/random/ensonic/audiobaseclasses.txt:
5421         * docs/random/ensonic/dynlink.txt:
5422         * docs/random/ensonic/profiling.txt:
5423           Save my thoughts.
5424
5425         * docs/random/moving-plugins:
5426           Add note to use g_assert type macros.
5427
5428 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5429
5430         * configure.ac:
5431         * libs/gst/check/Makefile.am:
5432           Add libm check as we use in for plugins.
5433
5434 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
5435
5436         * gst/gstbin.c: (gst_bin_continue_func):
5437         Check that the state_cookie hasn't changed since the continue_func
5438         was scheduled. Avoids problems where the state changes back to
5439         something it shouldn't be because it was changed in the meantime.
5440
5441 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
5442
5443         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5444         (gst_registry_binary_save_string),
5445         (gst_registry_binary_save_pad_template),
5446         (gst_registry_binary_save_feature),
5447         (gst_registry_binary_save_plugin),
5448         (gst_registry_binary_load_feature),
5449         (gst_registry_binary_load_plugin),
5450         (gst_registry_binary_read_cache):
5451           Fix memory leak. Be less verbose in the log.
5452
5453 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5454
5455         * tests/check/elements/.cvsignore:
5456         Add file to cvsignore as commanded.
5457
5458 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5459
5460         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5461         (mq_dummypad_event), (run_output_order_test):
5462         Use a GStaticMutex to protect all cases where libcheck
5463         fail_if/fail_unless macros might be called from multiple threads
5464         simultaneously to avoid errors like:
5465           "check_pack.c:107: :-1081725400:Bad message type arg"
5466
5467 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5468
5469         * tests/check/pipelines/stress.c: (GST_START_TEST):
5470         Make sure we set the pipeline back to the NULL state before
5471         dropping our final reference.
5472
5473 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5474
5475         * tests/check/elements/tee.c: (GST_START_TEST):
5476         Make the tee stress-test a little less stressful so it doesn't just
5477         time out on slow-machines, and remove a small race when it's starting 
5478         up by adding a get_state() call.
5479
5480 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
5481
5482         * gst/gst.c:
5483           Avoid reading registry twice on startup. Fixes #457322.
5484
5485 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
5486
5487         * pkgconfig/gstreamer-check-uninstalled.pc.in:
5488         * pkgconfig/gstreamer-check.pc.in:
5489         Substitute the CFLAGS for libcheck into our .pc file too so that
5490         dependent modules will pick it up properly if libcheck is installed
5491         into some other prefix.
5492
5493 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
5494
5495         * configure.ac:
5496         Revert the pkg-config check for libcheck, since it pulls in the
5497         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
5498         a proper solution, either from the check project, or something else.
5499
5500 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
5501
5502         * configure.ac:
5503           Use pkg-config to locate check.
5504
5505 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
5506
5507         * gst/gsttaglist.c:
5508           Fix doc syntax.
5509
5510         * gst/gstutils.c:
5511         * gst/gstutils.h:
5512           Add deprecation guards.
5513
5514         * libs/gst/base/gstcollectpads.h:
5515           Don't document object (this is implicitly private).
5516
5517 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
5518
5519         * gst/gststructure.c: (gst_structure_parse_value):
5520           When deserialising foo=bar without a type cast, check if it's a
5521           boolean before falling back to a string type, otherwise things like
5522           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
5523           because the filtercaps end up having a signed=(string)true field,
5524           which causes problems later when intersection caps.
5525
5526         * tests/check/gst/gststructure.c: (GST_START_TEST):
5527           Add a unit test for this.
5528
5529 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
5530
5531         Reviewed by: Stefan Kost <ensonic@users.sf.net>
5532
5533         * libs/gst/controller/Makefile.am:
5534         * libs/gst/controller/gstcontroller.c:
5535         (gst_controlled_property_add_interpolation_control_source),
5536         (gst_controlled_property_new), (gst_controlled_property_free),
5537         (gst_controller_find_controlled_property),
5538         (gst_controller_new_valist), (gst_controller_new_list),
5539         (gst_controller_new), (gst_controller_remove_properties_valist),
5540         (gst_controller_remove_properties_list),
5541         (gst_controller_remove_properties),
5542         (gst_controller_set_property_disabled),
5543         (gst_controller_set_disabled), (gst_controller_set_control_source),
5544         (gst_controller_get_control_source), (gst_controller_get),
5545         (gst_controller_sync_values), (gst_controller_get_value_array),
5546         (_gst_controller_dispose), (gst_controller_get_type),
5547         (gst_controlled_property_set_interpolation_mode),
5548         (gst_controller_set), (gst_controller_set_from_list),
5549         (gst_controller_unset), (gst_controller_unset_all),
5550         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
5551         * libs/gst/controller/gstcontroller.h:
5552         * libs/gst/controller/gstcontrollerprivate.h:
5553         * libs/gst/controller/gstcontrolsource.c:
5554         (gst_control_source_class_init), (gst_control_source_init),
5555         (gst_control_source_get_value),
5556         (gst_control_source_get_value_array), (gst_control_source_bind):
5557         * libs/gst/controller/gstcontrolsource.h:
5558         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
5559         (gst_object_get_control_source):
5560         * libs/gst/controller/gstinterpolation.c:
5561         (gst_interpolation_control_source_find_control_point_node),
5562         (gst_interpolation_control_source_get_first_value),
5563         (_interpolate_none_get), (interpolate_none_get),
5564         (interpolate_none_get_boolean_value_array),
5565         (interpolate_none_get_enum_value_array),
5566         (interpolate_none_get_string_value_array),
5567         (_interpolate_trigger_get), (interpolate_trigger_get),
5568         (interpolate_trigger_get_boolean_value_array),
5569         (interpolate_trigger_get_enum_value_array),
5570         (interpolate_trigger_get_string_value_array):
5571         * libs/gst/controller/gstinterpolationcontrolsource.c:
5572         (gst_control_point_free), (gst_interpolation_control_source_reset),
5573         (gst_interpolation_control_source_new),
5574         (gst_interpolation_control_source_set_interpolation_mode),
5575         (gst_interpolation_control_source_bind),
5576         (gst_control_point_compare), (gst_control_point_find),
5577         (gst_interpolation_control_source_set_internal),
5578         (gst_interpolation_control_source_set),
5579         (gst_interpolation_control_source_set_from_list),
5580         (gst_interpolation_control_source_unset),
5581         (gst_interpolation_control_source_unset_all),
5582         (gst_interpolation_control_source_get_all),
5583         (gst_interpolation_control_source_get_count),
5584         (gst_interpolation_control_source_init),
5585         (gst_interpolation_control_source_finalize),
5586         (gst_interpolation_control_source_dispose),
5587         (gst_interpolation_control_source_class_init):
5588         * libs/gst/controller/gstinterpolationcontrolsource.h:
5589         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
5590         API: Refactor GstController into the core controller which can take
5591         a GstControlSource for providing actual values for timestamps.
5592         Implement a interpolation control source and use this for backward
5593         compatibility, deprecate a bunch of functions that are now handled
5594         by GstControlSource or GstInterpolationControlSource.
5595         Make it possible to disable the controller completely or only for
5596         specific properties. Fixes #450711.
5597         * docs/libs/gstreamer-libs-docs.sgml:
5598         * docs/libs/gstreamer-libs-sections.txt:
5599         * docs/libs/gstreamer-libs.types:
5600         Add new functions and classes to the docs.
5601         * tests/check/libs/controller.c: (GST_START_TEST),
5602         (gst_controller_suite):
5603         * tests/examples/controller/audio-example.c: (main):
5604         Port unit test and example to the new API and add some new
5605         unit tests.
5606
5607 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
5608
5609         Patch by: Mark Nauwelaerts <manauw at skynet be>
5610
5611         * plugins/elements/gstmultiqueue.c:
5612         (gst_multi_queue_get_internal_links), (apply_buffer),
5613         (single_queue_overrun_cb), (gst_single_queue_new):
5614         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
5615         the pipeline layout can be tracked correctly. Fixes #453732.
5616
5617 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
5618
5619         * docs/gst/Makefile.am:
5620         * docs/libs/Makefile.am:
5621         * docs/plugins/Makefile.am:
5622           Simplify --extra-dir as gtkdoc scans recursively.
5623
5624 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
5625
5626         * tools/gst-launch.c: (main):
5627         When we got an error, there is no point in waiting for preroll when
5628         shutting down.
5629
5630 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
5631
5632         * plugins/elements/gsttee.c: (gst_tee_base_init),
5633         (gst_tee_request_new_pad), (gst_tee_release_pad),
5634         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
5635         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
5636         (gst_tee_chain):
5637         Be a lot smarter when deciding what srcpad to use for proxying
5638         the buffer_alloc. Also handle pad added/removed when doing so.
5639         Fixes #357959.
5640         Keep track of what pads we already pushed on in case we have pads
5641         added/removed while pushing. Fixes #374639 
5642
5643         * tests/check/Makefile.am:
5644         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
5645         (tee_suite):
5646         Added unit test for pad resync.
5647
5648 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5649
5650         * po/nl.po:
5651         * po/sv.po:
5652           Updated translations.
5653
5654 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5655
5656         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
5657
5658         * po/LINGUAS:
5659         * po/fi.po:
5660           Added new Finnish translation.
5661
5662 2007-06-28  Wim Taymans  <wim@fluendo.com>
5663
5664         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5665         (single_queue_overrun_cb):
5666         When figuring out when a queue is filled, use our internal time estimate
5667         based on segments, just like check_full does.
5668
5669 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
5670
5671         * gst/gstminiobject.c: (gst_mini_object_get_type):
5672           Remove 3 do-nothing methods.
5673
5674 2007-06-27  Wim Taymans  <wim@fluendo.com>
5675
5676         Patch by: Tim Angus <tim at ngus dot net>
5677
5678         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5679         (gst_capsfilter_set_property):
5680         Take a reference instead of a copy when setting "caps".
5681         Fix documentation to clarify this behaviour. Fixes #449414.
5682
5683 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
5684
5685         * gst/gstindexfactory.c: (gst_index_factory_get_type):
5686         * gst/gstplugin.c: (gst_plugin_init):
5687         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
5688         * gst/gstquery.c: (gst_query_get_type):
5689         * gst/gstregistry.c: (gst_registry_init):
5690         * gst/gsturi.c: (gst_uri_handler_base_init):
5691           Remove empty instance_init() functions to save relocs and lessen the
5692           noise. Remove some of the function prototypes that are doubled by
5693           G_DEFINE_TYPE.
5694           
5695 2007-06-27  Wim Taymans  <wim@fluendo.com>
5696
5697         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
5698
5699         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
5700         Add peer and direction in the XML serialisation of ghostpads.
5701         Fixes #449226.
5702
5703 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
5704
5705         * configure.ac:
5706           Preserve useful information, thanks Tim.
5707
5708 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
5709
5710         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5711         (gst_single_queue_flush), (apply_segment), (apply_buffer),
5712         (gst_single_queue_push_one), (gst_multi_queue_loop),
5713         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5714         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
5715         (compute_high_id), (gst_single_queue_new):
5716         * plugins/elements/gstmultiqueue.h:
5717         Take the multiqueue lock when updating the fill level so we don't get
5718         confused. 
5719
5720         After applying a buffer or event on the src pad segment, make sure to
5721         call gst_data_queue_limits_changed() to get the data queue to unblock
5722         and check the filled state again.
5723         
5724         Rework the not-linked pad handling so the logic is that not-linked 
5725         pads can push as fast as they like, but only so they never get 
5726         ahead of any linked pads.
5727
5728         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
5729         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
5730         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
5731
5732         Add a test to check that not-linked pads always stay behind
5733         linked pads.
5734
5735         Fixes: #430682
5736
5737 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
5738
5739         * docs/random/release:
5740           Some updates to the release procedure.
5741
5742 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
5743
5744         * gst/gstelementfactory.c: (__gst_element_details_clear):
5745           Microoptimization that saves stunning 80 bytes.
5746
5747 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
5748
5749         * docs/plugins/gstreamer-plugins.args:
5750         * docs/plugins/inspect/plugin-coreelements.xml:
5751         * docs/plugins/inspect/plugin-coreindexers.xml:
5752           Update docs with caps info.
5753
5754 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5755
5756         * po/it.po:
5757           Updated Italian translation.
5758
5759 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5760
5761         * ChangeLog:
5762         * po/vi.po:
5763           Update Vietnamese translations.
5764
5765 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5766
5767         * libs/gst/base/gstbasesink.c:
5768           Remove unused signal enum.
5769
5770 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
5771
5772         * docs/gst/gstreamer-sections.txt:
5773         * gst/gstelement.c:
5774         * gst/gstutils.c: (gst_type_register_static_full):
5775         Beef up and include the docs for gst_type_register_static_full and
5776         gst_element_class_set_details_simple and add the API keyword
5777         in the ChangeLog.
5778
5779 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
5780
5781         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5782         (update_time_level), (gst_single_queue_push_one),
5783         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
5784         (single_queue_overrun_cb), (single_queue_underrun_cb),
5785         (single_queue_check_full):
5786         Fix setting max-* properties after adding queues.
5787         Use IS_FILLED for checking visible items.
5788         Signal overrun if multiple queues overrun.
5789         Add extra debug output.
5790         Patch by: Wim Taymans <wim@fluendo.com>
5791
5792 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
5793
5794         * gst/gstelement.c: (gst_element_class_set_details_simple):
5795         * gst/gstelement.h:
5796         * gst/gstutils.c: (gst_type_register_static_full):
5797         * gst/gstutils.h:
5798         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
5799         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
5800         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
5801         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
5802         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
5803         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
5804         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
5805         * plugins/elements/gstidentity.c: (gst_identity_base_init):
5806         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
5807         * plugins/elements/gstqueue.c: (gst_queue_base_init),
5808         (apply_buffer), (gst_queue_chain):
5809         * plugins/elements/gsttee.c: (gst_tee_base_init):
5810         * plugins/elements/gsttypefindelement.c:
5811         (gst_type_find_element_base_init),
5812         (gst_type_find_element_class_init):
5813           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
5814           API: add gst_type_register_static_full
5815           API: add gst_element_class_set_details_simple
5816
5817 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5818
5819         * docs/pwg/advanced-types.xml:
5820           Fix typo in iana.org URI.
5821
5822 2007-06-19  Andy Wingo  <wingo@pobox.com>
5823
5824         * tests/check/pipelines/simple-launch-lines.c
5825         (test_state_change_returns): Enable pull-mode tests now that
5826         basesink has been fixed.
5827
5828         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
5829         Changed from gst_base_sink_is_prerolled, reversing the sense of
5830         the return value. Returns FALSE also if the sink is in pull mode,
5831         in which case it needs no preroll.
5832         (gst_base_sink_query, gst_base_sink_change_state): Update for
5833         needs_preroll change.
5834         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
5835         chaining up, in which we return SUCCESS directly if we activated
5836         in pull mode instead of ASYNC. Involves countering an async_start
5837         message sent before chaining up; not sure if this is correct, in
5838         an ideal world we only send async-start when activating in push
5839         mode.
5840
5841         * tests/check/pipelines/simple-launch-lines.c
5842         (test_state_change_returns): New test, partially disabled until
5843         basesink is fixed.
5844
5845 2007-06-19  Wim Taymans  <wim@fluendo.com>
5846
5847         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5848         (gst_multi_queue_sink_event):
5849         Fix event leak.
5850
5851 2007-06-19  Wim Taymans  <wim@fluendo.com>
5852
5853         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
5854         (gst_bin_change_state_func), (bin_push_state_continue),
5855         (bin_handle_async_start), (bin_handle_async_done),
5856         (gst_bin_handle_message_func):
5857         Move the common code for posting state-change messages into
5858         one function.
5859         Broadcast the state signal after we posted the messages.
5860         Mark the bin as busy when it's doing a state-change.
5861         Make sure async-start/done messages don't interfere with the bin's
5862         state when it's busy.
5863         After the state change, let the bin check which elements completed the
5864         state change while it was busy so that it can update its state.
5865
5866 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
5867
5868         * docs/random/release:
5869         Add a note about updating the doap file to the release checklist
5870
5871 2007-06-18  Wim Taymans  <wim@fluendo.com>
5872
5873         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5874         (gst_single_queue_push_one), (gst_multi_queue_chain),
5875         (gst_multi_queue_sink_event):
5876         Make sure we don't reference the buffer/event after we have given away
5877         ownership in the queue.
5878
5879 2007-06-18  Wim Taymans  <wim@fluendo.com>
5880
5881         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5882         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
5883         Update queue state _after_ adding the item in the queue because else we
5884         could end up being full without the element added yet.
5885
5886 2007-06-18  Wim Taymans  <wim@fluendo.com>
5887
5888         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
5889         (gst_bin_remove_func), (gst_bin_get_state_func),
5890         (gst_bin_element_set_state), (gst_bin_continue_func),
5891         (bin_push_state_continue), (bin_handle_async_start),
5892         (bin_handle_async_done), (gst_bin_handle_message_func):
5893         * gst/gstbin.h:
5894         Immediatly commit the toplevel bin state when receiving an async-done
5895         message. This enables us to avoid spawning a thread to commit the state
5896         in some common cases and it also avoids some races.
5897         Avoid spawning a state thread when adding/removing async elements to a
5898         toplevel bin. Instead we immediatly update the bin state.
5899         Get rid of iterating all the children when getting the state in the bin
5900         because it is now always up-to-date.
5901         Fix bug where locked elements would always return _SUCCESS even it they
5902         returned NO_PREROLL before being locked.
5903         Fix the order of the state_change, async-start/done messages that was
5904         sometimes incorrect.
5905         Mark the state_dirty field as deprecated, we don't need it anymore as we
5906         are always up-to-date.
5907
5908         * gst/gstelement.c: (gst_element_get_state_func),
5909         (gst_element_continue_state):
5910         Small debug inprovements.
5911         Return the previous element state return when nothing is pending instead
5912         of blindly returning SUCCESS.
5913
5914         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
5915         (gst_sinks_suite):
5916         Add a whole bunch of new testcases.
5917
5918 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5919
5920         * po/uk.po:
5921         * po/vi.po:
5922           Update translations.
5923
5924 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
5925
5926         * gst/gstpad.c:
5927         Fix typo in the docs.
5928
5929 2007-06-15  Wim Taymans  <wim@fluendo.com>
5930
5931         * docs/libs/gstreamer-libs-sections.txt:
5932         Add docs for new methods.
5933
5934 2007-06-15  Wim Taymans  <wim@fluendo.com>
5935
5936         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
5937         (gst_multi_queue_item_new):
5938         Don't use GSlice because we don't depend on >= 2.10 yet.
5939
5940 2007-06-15  Wim Taymans  <wim@fluendo.com>
5941
5942         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5943         (update_time_level), (apply_segment), (apply_buffer),
5944         (gst_single_queue_push_one), (gst_multi_queue_item_new),
5945         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
5946         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
5947         (single_queue_underrun_cb), (single_queue_check_full):
5948         Remove debug printf.
5949
5950 2007-06-15  Wim Taymans  <wim@fluendo.com>
5951
5952         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
5953         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
5954         (gst_data_queue_set_flushing), (gst_data_queue_push),
5955         (gst_data_queue_pop), (gst_data_queue_drop_head),
5956         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
5957         * libs/gst/base/gstdataqueue.h:
5958         Various cleanups.
5959         Added methods to get the current levels and to inform the queue that the
5960         'full' limits changed.
5961
5962         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5963         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5964         (gst_single_queue_flush), (update_time_level), (apply_segment),
5965         (apply_buffer), (gst_single_queue_push_one),
5966         (gst_multi_queue_item_steal_object),
5967         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5968         (gst_multi_queue_loop), (gst_multi_queue_chain),
5969         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5970         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
5971         (gst_multi_queue_src_query), (single_queue_overrun_cb),
5972         (single_queue_underrun_cb), (single_queue_check_full),
5973         (gst_single_queue_new):
5974         Keep track of time in the queue by measuring the difference between
5975         running_time on input and output. This gives more accurate results and
5976         can compensate for segments correctly.
5977         Make a queue by default only 5 buffers deep. We will now increase the
5978         buffer size depending on the filledness of the other queues.
5979         Factor out commong flush code.
5980         Make sure we don't add additional refcounts to buffers when we can avoid
5981         it.
5982         Propagate GstFlowReturn differently.
5983         Use GSlice for intermediate GstMultiQueueItems.
5984         Keep track of EOS.
5985         Resize queues on over and underruns based on filled level of other
5986         queues.
5987         When checking if the queue is filled, prefer to measure in time if we
5988         can and fall back to bytes when no time is known.
5989
5990         * plugins/elements/gstqueue.c:
5991         Fix return value.
5992
5993 2007-06-15  Wim Taymans  <wim@fluendo.com>
5994
5995         * libs/gst/base/gstbasetransform.c:
5996         (gst_base_transform_sink_event):
5997         Work around the brokenness of the event vmethod in basetransform. Prefer
5998         to return TRUE when the subclass returned FALSE (meaning don't forward
5999         the event). 
6000
6001         * libs/gst/base/gstbasetransform.h:
6002         Clarify the docs.
6003
6004 2007-06-15  Wim Taymans  <wim@fluendo.com>
6005
6006         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
6007         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6008         (gst_base_src_default_query), (gst_base_src_get_range),
6009         (gst_base_src_start):
6010         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
6011         Improve debugging.
6012
6013 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
6014
6015         * docs/pwg/advanced-types.xml:
6016           Added more formats to caps table.
6017
6018 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
6019
6020         * tools/gst-launch.c: (main):
6021           Remove crufy code. GOption does not need this workaround.
6022
6023 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6024
6025         * libs/gst/controller/gstcontroller.c:
6026         (gst_controlled_property_set_interpolation_mode):
6027           Fix wrong getter for enums in controller.
6028
6029 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6030
6031         * libs/gst/check/gstcheck.c: (gst_check_init):
6032           Intercept criticals and warnings in the Gst-Phonon log domain, so
6033           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
6034           well.
6035         
6036 2007-06-14  Edward Hervey  <edward@fluendo.com>
6037
6038         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
6039         Since this file doesn't include "gst.h" it will not go through the
6040         macros that disable GST_LOG if debugging was disabled.
6041
6042 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6043
6044         * libs/gst/check/Makefile.am:
6045         * libs/gst/check/gstcheck.h:
6046         * pkgconfig/gstreamer-check-uninstalled.pc.in:
6047         * pkgconfig/gstreamer-check.pc.in:
6048           Ugly 'fix' for the controller unit test on the p5 bot: in
6049           fail_unless_equals_float() check whether the values are 'almost
6050           equal' by allowing a small absolute error, which should be good
6051           enough for our use cases (normal numbers and values close to 0).
6052           Proper fixage left to floating point arithmetic aficionados.
6053
6054 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6055
6056         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
6057         (gst_base_sink_render_object), (gst_base_sink_get_position):
6058           Add two breaks thats where missing.
6059
6060 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6061
6062         * docs/libs/gstreamer-libs-sections.txt:
6063         * libs/gst/check/gstcheck.h:
6064           API: add fail_unless_equals_float() and assert_equals_float().
6065           Add documentation for some of the macros.
6066
6067         * tests/check/libs/controller.c: (GST_START_TEST):
6068           Use newly-added asserts.
6069
6070 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6071
6072         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
6073           Show the caps change in the log to help spotting the case of not
6074           exactly matching caps.
6075
6076 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6077
6078         * docs/pwg/building-boiler.xml:
6079           Fix typos, spotted by Thijs Vermeir (#447190).
6080
6081 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
6082
6083         * docs/plugins/tmpl/.cvsignore:
6084         Ignore file to keep the buildbots happy
6085
6086 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
6087
6088         * docs/plugins/Makefile.am:
6089         * docs/plugins/gstreamer-plugins-docs.sgml:
6090         * docs/plugins/gstreamer-plugins-sections.txt:
6091         Pull fdsink into the docs too.
6092
6093 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
6094
6095         * libs/gst/controller/gstinterpolation.c:
6096         Actually use the new functions with min/max checks for the trigger and
6097         none interpolation modes for get() and get_value_array() instead of
6098         just the latter.
6099
6100 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
6101
6102         * libs/gst/controller/gstcontroller.c:
6103         (gst_controlled_property_free):
6104         Unset the minimum and maximum GValues when freeing the corresponding
6105         GstControllerProperty struct.
6106
6107 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
6108
6109         * libs/gst/controller/gstcontroller.c:
6110         (gst_controlled_property_new):
6111         * libs/gst/controller/gstcontrollerprivate.h:
6112         * libs/gst/controller/gstinterpolation.c:
6113         (gst_controlled_property_find_control_point_node),
6114         (interpolate_none_get), (interpolate_none_get_enum_value_array),
6115         (interpolate_none_get_string_value_array),
6116         (interpolate_trigger_get),
6117         (interpolate_trigger_get_enum_value_array),
6118         (interpolate_trigger_get_string_value_array):
6119         Protect against values larger or smaller than the minimum or maximum
6120         allowed value for the property when using values that can be compared.
6121
6122         Optimize trigger interpolator a bit by taking the last requested value
6123         into account instead of always looping through the complete list.
6124
6125         Fix coding style a bit, everywhere else we use "return foo" instead
6126         of "return (foo)".
6127         
6128         * tests/check/libs/controller.c: (GST_START_TEST),
6129         (gst_controller_suite):
6130         Add unit test for the protection against too large or too small
6131         values.
6132
6133 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
6134
6135         * docs/random/slomo/controller.txt:
6136         Add some thoughts about the future of the controller.
6137
6138 2007-06-08  Wim Taymans  <wim@fluendo.com>
6139
6140         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6141         Don't overflow in retimestamping code.
6142
6143 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
6144
6145         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
6146         Use gst_util_guint64_to_gdouble for conversions.
6147         * win32/common/libgstreamer.def:
6148         Add new exported functions.
6149
6150 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
6151
6152         * gst/gstutils.c:
6153           Small docs addition.
6154
6155 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6156
6157         * README:
6158           Remove that test line again.
6159
6160 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6161
6162         * README:
6163           Test commit mail sending.
6164
6165 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6166
6167         * configure.ac:
6168           Fix typo and test commit mail sending.
6169
6170 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6171
6172         * tests/examples/controller/audio-example.c:
6173           Improve comment and test commit mail sending.
6174
6175 2007-06-07  Wim Taymans  <wim@fluendo.com>
6176
6177         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
6178         (gst_bin_remove_func), (gst_bin_element_set_state),
6179         (bin_handle_async_start), (bin_handle_async_done),
6180         (gst_bin_handle_message_func):
6181         Add helper function to find messages.
6182         Generate the async-done messages together with the state change
6183         messages.
6184         Small cleanups in handling toplevel bins.
6185
6186 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6187
6188         * libs/gst/base/gstdataqueue.c:
6189         * libs/gst/base/gstdataqueue.h:
6190         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6191         (gst_multi_queue_item_new), (gst_multi_queue_chain),
6192         (gst_multi_queue_sink_event):
6193         * tests/check/elements/multiqueue.c: (multiqueue_suite):
6194           Fix multiqueue leaking buffers and events when downstream or the
6195           queue are flushing. Make refcounting assumptions explicit and
6196           document them (shouldn't break existing code that uses it other than
6197           maybe leak miniobjects, but that already happens anyway). Add unit
6198           test for the most common flushing case. Fixes #423700.
6199           
6200 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
6201
6202         * libs/gst/controller/gstcontroller.c:
6203         Clarify docs: The get_all, get_value_array(s) functions
6204         don't modify the GObject properties.
6205
6206 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
6207
6208         * libs/gst/controller/gstcontroller.c:
6209         (gst_controlled_property_set_interpolation_mode),
6210         (gst_controlled_property_prepend_default),
6211         (gst_controlled_property_new), (gst_controller_set_unlocked),
6212         (gst_controller_set), (gst_controller_set_from_list),
6213         (gst_controller_unset), (gst_controller_unset_all):
6214         * libs/gst/controller/gstcontrollerprivate.h:
6215         * libs/gst/controller/gstinterpolation.c:
6216         Factor out the 'set' logic into gst_controller_set_unlocked for the
6217         gst_controller_set and gst_controller_set_from_list functions.
6218
6219         To make life of the interpolators easier always add a control point
6220         at timestamp zero with the default value.
6221
6222         In the linear interpolator make things more obvious by better variable
6223         naming (slope).
6224
6225         Implement cubic interpolation mode (by using a natural cubic spline)
6226         and map the quadratic interpolation mode to this too (as quadratic
6227         doesn't make much sense, see discussion on the list).
6228
6229         * tests/check/libs/controller.c: (GST_START_TEST),
6230         (gst_controller_suite):
6231         Add unit test for the cubic interpolation mode and check everywhere
6232         if the interpolation mode could be set as expected.
6233
6234 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6235
6236         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6237           Don't use GLib-2.10 functions, we still depend on
6238           GLib-how-old-is-it-again-2.8.
6239
6240 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6241
6242         * docs/gst/gstreamer-sections.txt:
6243         * gst/Makefile.am:
6244         * gst/gst.c:
6245         * gst/gst.h:
6246         * gst/gstparamspecs.c: (_gst_param_fraction_init),
6247         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6248         (_gst_param_fraction_values_cmp),
6249         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6250         * gst/gstparamspecs.h:
6251         * gst/gstvalue.c:
6252         * tests/check/Makefile.am:
6253         * tests/check/gst/.cvsignore:
6254         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6255         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6256         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6257         (GST_START_TEST), (gst_param_spec_suite):
6258           API: add GstParamSpecFraction, so elements can have fraction
6259           properties without lots of painful string parsing (#444648).
6260
6261 2007-06-05  Wim Taymans  <wim@fluendo.com>
6262
6263         * gst/gstobject.c: (gst_object_class_init):
6264         Fix signal signature.
6265
6266         * gst/gstsegment.c:
6267         Add small clarification in the api docs.
6268
6269         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6270         States are protected with object lock.
6271
6272 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6273
6274         * AUTHORS:
6275         I should probably be listed as an author by now.
6276
6277         * docs/random/release:
6278         Update the release doc
6279
6280 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
6281
6282         * gst/gstvalue.c:
6283           Make docs for gst_value_compare() mention return enums that
6284           actually exist.
6285
6286 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6287
6288         * configure.ac:
6289           Back to CVS
6290
6291 === release 0.10.13 ===
6292
6293 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
6294
6295         * configure.ac:
6296           releasing 0.10.13, "With or without you"
6297
6298 2007-05-25  Wim Taymans  <wim@fluendo.com>
6299
6300         * gst/gstbin.c: (bin_handle_async_done):
6301         Make sure that the child bin stops after completing the async state
6302         change so that the parent can continue the state change to PLAYING.
6303         Fixes #441159.
6304
6305 2007-05-25  Wim Taymans  <wim@fluendo.com>
6306
6307         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6308         (unref_data), (gst_collect_pads_remove_pad),
6309         (gst_collect_pads_check_pads):
6310         Use additional refcounting to avoid crashes when dynamically adding and
6311         removing pads. Fixes #420206.
6312
6313 2007-05-24  Wim Taymans  <wim@fluendo.com>
6314
6315         * tools/gst-launch.c: (event_loop):
6316         When buffering goes from a two digit to a single digit number, make sure
6317         to remove the old second digit by writing a blank over it.
6318
6319 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6320
6321         * libs/gst/base/gstdataqueue.c:
6322           Eliminate tabs and trailing comma in enum list; fix some typos.
6323
6324 2007-05-24  Wim Taymans  <wim@fluendo.com>
6325
6326         * tests/check/gst/gstbin.c: (GST_START_TEST):
6327         Allow refcount of 3 and 4 because some state thread might still be busy
6328         with it.
6329
6330 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6331
6332         * plugins/elements/Makefile.am:
6333         * plugins/elements/gstmultiqueue.h:
6334         * plugins/elements/gstqueue.h:
6335           These are not installed headers, no need for padding.
6336
6337 2007-05-24  Wim Taymans  <wim@fluendo.com>
6338
6339         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6340         (gst_bin_continue_func):
6341         Enable latency for next release.
6342         Restore STATE_LOCK around recalc_state that was left out during the
6343         rewrite and could result in racy behaviour when _get_state and
6344         recalc_state are run concurrently. See #440463.
6345
6346 2007-05-23  Wim Taymans  <wim@fluendo.com>
6347
6348         * tests/check/gst/gstsystemclock.c: (store_callback),
6349         (GST_START_TEST):
6350         Improve test_async_order to also work when both timers are already
6351         expired when we get scheduled to check it.
6352
6353 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6354
6355         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6356         (gst_bin_set_property), (gst_bin_get_property),
6357         (gst_bin_remove_func), (gst_bin_handle_message_func):
6358         * gst/gstbin.h:
6359           'private' is a c++ keyword, let's not use that in header files,
6360           otherwise c++ compilers will throw a tantrum.
6361
6362 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6363
6364         * plugins/elements/gstelements.c:
6365         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6366         (gst_file_sink_get_current_offset):
6367         * plugins/indexers/gstindexers.c: (plugin_init):
6368           Use #ifdef for HAVE_XYZ for consistency.
6369
6370         * tests/check/Makefile.am:
6371         * tests/check/elements/.cvsignore:
6372         * tests/check/elements/filesink.c: (setup_filesink),
6373         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6374           Add some unit tests for filesink.
6375
6376 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6377
6378         Patch by: Mark Nauwelaerts <manauw at skynet be>
6379
6380         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6381         (gst_file_sink_query), (gst_file_sink_do_seek),
6382         (gst_file_sink_get_current_offset), (gst_file_sink_render):
6383         * plugins/elements/gstfilesink.h:
6384           Fix position reporting; rename data_written member to current_pos to
6385           reflect its real meaning (fixes #412648).
6386
6387 2007-05-22  Edward Hervey  <edward@fluendo.com>
6388
6389         * docs/gst/gstreamer-sections.txt:
6390         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6391         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6392         (gst_bin_remove_func), (gst_bin_handle_message_func):
6393         * gst/gstbin.h:
6394         Add a property for bins that handle the state change of their childs.
6395         Fixes #435880
6396
6397 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
6398
6399         * libs/gst/controller/gstinterpolation.c:
6400         Use an array of the correct type when using _get_value_array with
6401         linear interpolation.
6402
6403 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
6404
6405         * gst/gstelement.c (gst_element_requires_clock,
6406           gst_element_provides_clock, gst_element_request_pad,
6407           gst_element_class_set_details, gst_element_class_set_details_simple,
6408           gst_element_default_send_event, gst_element_abort_state,
6409           gst_element_continue_state, gst_element_set_state,
6410           gst_element_set_state_func, iterator_activate_fold_with_resync):
6411         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6412           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6413           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6414           gst_pad_get_range, gst_pad_pull_range):
6415         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6416           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6417           GstPadActivateModeFunction, GstPadChainFunction,
6418           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6419           GstPadFixateCapsFunction, GstPadTemplate):
6420         * gst/gstpipeline.c (gst_pipeline_change_state,
6421           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6422           gst_pipeline_set_clock, gst_pipeline_auto_clock,
6423           gst_pipeline_get_delay):
6424           Whitespace and docs fixes.
6425
6426 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6427
6428         * libs/gst/controller/gstinterpolation.c:
6429         (interpolate_trigger_get_enum_value_array),
6430         (interpolate_trigger_get_string_value_array):
6431         Add support for retrieving value arrays when using the trigger
6432         interpolation mode. 
6433
6434 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6435
6436         * libs/gst/controller/gstcontroller.c:
6437         (gst_controller_get_value_array):
6438         * libs/gst/controller/gstcontroller.h:
6439         Clarify the docs of gst_controller_get_value_array(): The array where
6440         the values should be written to must be allocated as there seems to be
6441         no way to get the size of a random GType. This doesn't change any
6442         behaviour. Also fix some typos all over the place and remove an unused,
6443         commented function that is not necessary as g_object_set() could be
6444         used instead.
6445         * tests/check/libs/controller.c: (GST_START_TEST),
6446         (gst_controller_suite):
6447         Add unit test for gst_controller_get_value_array().
6448
6449 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
6450
6451         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6452
6453         Disable part of the gst_buffer_try_new_and_alloc test, because
6454         it can happily succeed on 64-bit systems where there's more address
6455         space available.
6456
6457 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6458
6459         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6460         Add unit test for the improved caps checking from bug #421543.
6461
6462 2007-05-21  Wim Taymans  <wim@fluendo.com>
6463
6464         * docs/design/part-synchronisation.txt:
6465         Small addition.
6466
6467         * gst/gstbin.c: (gst_bin_query):
6468         * plugins/elements/gstqueue.c: (apply_segment):
6469         Improve debugging.
6470
6471         * gst/gstmessage.h:
6472         Improve docs.
6473
6474 2007-05-21  Wim Taymans  <wim@fluendo.com>
6475
6476         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6477         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
6478         (gst_pad_configure_src):
6479         Added simple version of improved caps checking. It was previously
6480         assumed that a setcaps function would check the validity of the caps but
6481         people prefer us to check caps against the template automatically. 
6482         Fixes #421543.
6483
6484 2007-05-21  Wim Taymans  <wim@fluendo.com>
6485
6486         * libs/gst/base/gstbasetransform.h:
6487         Fix macro for locking/unlocking the transform lock.
6488
6489 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
6490
6491         * docs/plugins/tmpl/.cvsignore:
6492           Ignore more.
6493
6494 2007-05-18  Edward Hervey  <edward@fluendo.com>
6495
6496         * plugins/elements/gstqueue.c: (gst_queue_loop):
6497         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
6498         for the subtle art of warning a potentially blocking thread that it
6499         should check the source pad return value, and relay the information
6500         upstream.
6501
6502 2007-05-18  Edward Hervey  <edward@fluendo.com>
6503
6504         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6505         Release the queue lock !
6506
6507 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6508
6509         * docs/libs/gstreamer-libs-sections.txt:
6510         Add the two new controller functions to the appropiate places.
6511
6512 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6513
6514         reviewed by: Stefan Kost <ensonic@users.sf.net>
6515
6516         * libs/gst/controller/gstcontroller.c:
6517         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
6518         (_gst_controller_get_property), (_gst_controller_set_property),
6519         (_gst_controller_init), (_gst_controller_class_init):
6520         * libs/gst/controller/gstcontroller.h:
6521         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
6522         (gst_object_get_control_rate), (gst_object_set_control_rate):
6523         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
6524         Add API that provides sync suggestion timestamps for elements that
6525         call gst_object_sync_values() from which those elements can subdivide
6526         their processing loop to get the best results for the controlled
6527         properties. For now it just suggests last_sync + control_rate as
6528         new timestamp but this will be improved in the future.
6529
6530         While doing that change the control-rate property to a GstClockTime
6531         from guint and change it's meaning from samples to nanoseconds as
6532         the GstController doesn't know anything about sampling rate. Strictly
6533         speaking this breaks ABI but as the control-rate property didn't do
6534         anything in the past and as such couldn't be used this should be no
6535         problem.        
6536
6537 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6538
6539         reviewed by: Stefan Kost <ensonic@users.sf.net>
6540
6541         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6542         (gst_controller_unset_all):
6543         * libs/gst/controller/gstcontrollerprivate.h:
6544         * libs/gst/controller/gstinterpolation.c:
6545         (gst_controlled_property_find_control_point_node):
6546         Save last synced value from the list to continue searching from there
6547         in future syncs. This speeds everything up a bit.
6548         
6549 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6550
6551         reviewed by: Stefan Kost <ensonic@users.sf.net>
6552
6553         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
6554         (gst_control_point_find), (gst_controlled_property_new),
6555         (gst_control_point_free), (gst_controlled_property_free),
6556         (gst_controller_set), (gst_controller_set_from_list),
6557         (gst_controller_unset), (gst_controller_unset_all),
6558         (gst_controller_sync_values):
6559         * libs/gst/controller/gstcontroller.h:
6560         * libs/gst/controller/gstcontrollerprivate.h:
6561         * libs/gst/controller/gstinterpolation.c:
6562         (gst_controlled_property_find_control_point_node),
6563         (interpolate_none_get), (interpolate_trigger_get):
6564         Add a new private GstControlPoint struct which "inherits" from
6565         GstTimedValue to allow different interpolators to store internal
6566         values next to each control point. From the outside everything is
6567         still a GstControlPoint so we don't loose binary compatibility.
6568         Also fixup all the GValue handling to not leak GValues or list nodes.
6569         * tests/check/libs/controller.c: (GST_START_TEST):
6570         Free the list nodes and GValues in the controller_misc test.
6571
6572 2007-05-17  Edward Hervey  <edward@fluendo.com>
6573
6574         * gst/gstsegment.c:
6575         Small doc fix.
6576
6577 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
6578
6579         * gst/gstplugin.c: (gst_plugin_load_file):
6580           If we fail to load a plugin because of unresolved symbols or missing
6581           libraries and spew a warning to stderr, we may just as well mention
6582           which plugin it was that failed to load.
6583
6584 2007-05-13  David Schleef  <ds@schleef.org>
6585
6586         * docs/Makefile.am: the gtk-doc makefile snippet correctly
6587           handles the case when ENABLE_GTK_DOC is false, and installs
6588           the prebuilt documentation.  So gtk-doc subdirs are 
6589           unconditionally enabled.  Fixes: #349099.
6590
6591 2007-05-13  David Schleef  <ds@schleef.org>
6592
6593         * gst/gstutils.h: Reword some documentation.
6594
6595 2007-05-12  David Schleef  <ds@schleef.org>
6596
6597         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
6598           do anything with the passed "module" parameter, so remove it.
6599           Allows removal of additional vestigal code.
6600
6601 2007-05-12  David Schleef  <ds@schleef.org>
6602
6603         * gst/gstplugin.c:
6604           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
6605           Switch to using g_stat() because it's more portable.
6606
6607 2007-05-12  David Schleef  <ds@schleef.org>
6608
6609         * gst/gst.c:
6610           Add GST_DISABLE_OPTION_PARSING, in order to disable option
6611           parsing for embedded systems.
6612         * gst/gstelementfactory.c:
6613           Allow gst_element_register() to be called with plugin==NULL.
6614           Did nobody notice that static elements were broken?
6615
6616 2007-05-12  Wim Taymans  <wim@fluendo.com>
6617
6618         * tools/gst-launch.c: (event_loop):
6619         Give more interesting info when buffering starts and stops.
6620         Fix case where buffering starts but we fail to update the buffering flag
6621         because the target state is not PLAYING.
6622
6623 2007-05-12  Wim Taymans  <wim@fluendo.com>
6624
6625         * plugins/elements/gstqueue.c: (gst_queue_init),
6626         (gst_queue_finalize), (update_time_level), (apply_segment),
6627         (apply_buffer), (gst_queue_locked_flush),
6628         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
6629         (gst_queue_handle_sink_event), (gst_queue_chain),
6630         (gst_queue_push_one), (gst_queue_loop):
6631         * plugins/elements/gstqueue.h:
6632         Refactor an cleanup queue a bit.
6633         Do better time level calculations that also work when the srcpad is not
6634         yet running.
6635         Remove some unneeded debug lines.
6636
6637         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
6638         Added testcase for time level measurement.
6639         Try to make some stuff more racefree.
6640
6641 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
6642
6643         * gst/gsturi.c: (gst_element_make_from_uri):
6644           Don't leak plugin feature.
6645
6646         * tests/check/Makefile.am:
6647         * tests/check/gst/.cvsignore:
6648         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
6649           Add brain-dead unit test.
6650
6651 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
6652
6653         Patch by: Jeroen Wouters <woutersj at gmail com>
6654
6655         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
6656           Treat protocol strings in a case-insensitive way (#437563).
6657
6658 2007-05-11  Michael Smith <msmith@fluendo.com>
6659
6660         * gst/gstplugin.c: (gst_plugin_load_file):
6661         * gst/gstregistry.c: (gst_registry_scan_path_level):
6662           Don't print a g_warning for any failure to load a shared object.
6663           Instead, push this down into gstplugin.c, and warn _only_ if we
6664           failed to open the module (i.e. failure to link).
6665           Avoids warnings on normal, working, non-plugin .so files.
6666
6667 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
6668
6669         * gst/gstplugin.c (gst_plugin_load_file):
6670         * gst/gstregistry.c (GST_CAT_DEFAULT,
6671           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
6672           Print a g_warning if there was an error when loading a plugins during
6673           registry scan. The shuld help beginners starting with gst-plugin
6674           template.
6675
6676 2007-05-10  Wim Taymans  <wim@fluendo.com>
6677
6678         * plugins/elements/gstqueue.c: (gst_queue_class_init),
6679         (update_time_level), (gst_queue_locked_flush),
6680         (gst_queue_handle_sink_event), (gst_queue_chain),
6681         (gst_queue_push_one), (gst_queue_loop):
6682         * plugins/elements/gstqueue.h:
6683         Be smarter when calculating the current amount of data in the queue by
6684         measuring the difference between start and end timestamps (in running
6685         time) inside the queue. Fixes #432876.
6686         API: GstQueue::pushing to notify elements that we are pushing data again
6687         since the running signal is rather broken for this purpose.
6688
6689 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
6690
6691         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
6692           gst_queue_base_init, gst_queue_init):
6693           use GST_BOILERPLATE
6694
6695 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
6696
6697         * win32/common/libgstreamer.def:
6698         Add new exported functions.
6699         * win32/vs6/grammar.dsp:
6700         Use grammar pre-generated files.
6701
6702 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6703
6704         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
6705
6706         * gst/Makefile.am:
6707         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
6708         * gst/gstparse.h:
6709         * gst/gstutils.c: (gst_parse_bin_from_description):
6710         * gst/gstutils.h:
6711           Maintain API and ABI when --disable-parse is used. Now that
6712           we have an appropriate error code, we can just return NULL and the
6713           appropriate error when gst_parse_launch() is used despite it having
6714           been disabled (#342564).
6715
6716         * tests/check/Makefile.am:
6717         * tests/check/pipelines/.cvsignore:
6718         * tests/check/pipelines/parse-disabled.c:
6719           Make sure these functions exist and return NULL plus a GError when
6720           --disable-parse is used.
6721
6722 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6723
6724         * tests/benchmarks/complexity.c: (main):
6725         * tests/benchmarks/mass-elements.c: (main):
6726           Set a good example and don't leak messages.
6727
6728 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
6729
6730         * docs/gst/Makefile.am:
6731         * docs/libs/Makefile.am:
6732           Correct fixxrefs options.
6733
6734         * docs/plugins/Makefile.am:
6735         * docs/plugins/gstreamer-plugins-docs.sgml:
6736         * docs/plugins/gstreamer-plugins-sections.txt:
6737         * plugins/elements/Makefile.am:
6738         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
6739         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
6740           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
6741           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
6742           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
6743           _GstCapsFilterClass, trans_class):
6744         * plugins/elements/gstelements.c (name, rank, type, _elements):
6745         * plugins/elements/gstidentity.c
6746           (gst_identity_check_imperfect_timestamp,
6747           gst_identity_check_imperfect_offset):
6748           Document capsfilter and add doc-blurb to identity.
6749
6750 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6751
6752         * libs/gst/controller/gstcontroller.c:
6753         (gst_controlled_property_set_interpolation_mode):
6754         * libs/gst/controller/gstinterpolation.c:
6755           Don't crash if someone tries to set an interpolation mode that
6756           is invalid or that isn't supported yet. Fixes #422295.
6757
6758         * tests/check/libs/controller.c: (GST_START_TEST),
6759         (gst_controller_suite):
6760           Add a test case for the above.
6761
6762 2007-05-03  Edward Hervey  <edward@fluendo.com>
6763
6764         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6765         Properly set the last_stop position on GstSegment. This will only happen
6766         if there is a buffer to push out.
6767
6768 2007-05-03  Wim Taymans  <wim@fluendo.com>
6769
6770         * libs/gst/base/gstbasetransform.c:
6771         (gst_base_transform_buffer_alloc):
6772         always_in_place does not mean that the sink and source caps are the
6773         same! Make sure we don't blindly proxy the buffer_alloc in this case.
6774
6775 2007-05-03  Wim Taymans  <wim@fluendo.com>
6776
6777         * docs/libs/gstreamer-libs-sections.txt:
6778         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6779         (gst_base_src_default_query), (gst_base_src_get_range):
6780         * libs/gst/base/gstbasesrc.h:
6781         API: gst_base_src_query_latency(). Added method so that subclasses can
6782         easily get the latency values of the base source class.
6783
6784 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
6785
6786         * tools/gst-inspect.c (print_implementation_info):
6787         Remove 0.8 cruft.
6788
6789 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
6790
6791         * tools/Makefile.am:
6792         * tools/gst-launch.1.in:
6793           Don't create a customised man page based on the host architecture,
6794           describe the default registry path generically. That way the man
6795           page is the same for all architectures and packagers have one
6796           multilib issue less to deal with. Fixes #434926.
6797
6798 2007-05-02  Wim Taymans  <wim@fluendo.com>
6799
6800         * gst/gstpad.c:
6801         Fix documentation as spotted by rg on IRC. 
6802
6803 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
6804
6805         * gst/gstutils.c:
6806           Improve docs for gst_element_{link,unlink}.
6807
6808 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
6809
6810         * docs/design/part-events.txt:
6811         * docs/design/part-overview.txt:
6812         * gst/gstevent.c:
6813         * gst/gsturi.c:
6814         * gst/gsturi.h:
6815         * libs/gst/base/gstbasesink.c:
6816           Typo fixes; minor docs addition.
6817
6818 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6819
6820         * docs/gst/gstreamer-sections.txt:
6821         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
6822         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
6823         * gst/gsturi.h:
6824         API: Add gst_uri_protocol_is_supported(), which checks if a sink
6825         or src that supports a given URI protocol exists.
6826
6827 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6828
6829         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6830         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6831         Set the location to NULL if "file://" is set as URI. Otherwise
6832         some random previous URI would still be set if "file://" is
6833         set on an already used filesink/filesrc.
6834
6835 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6836
6837         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6838         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6839         Special case the "file://" URI as as this is used by some
6840         applications to test with gst_element_make_from_uri if there's
6841         an element that supports the URI protocol.
6842         Also move the g_path_is_absolute() check for the location part
6843         of the URI to also check this for "file://localhost/bla" URIs.
6844
6845 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
6846
6847         * docs/gst/gstreamer-sections.txt:
6848         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
6849         * gst/gstbuffer.h:
6850         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6851         (gst_buffer_suite):
6852           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
6853
6854 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
6855
6856         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6857         (gst_registry_binary_load_pad_template),
6858         (gst_registry_binary_load_plugin),
6859         (gst_registry_binary_read_cache):
6860         * gst/gstregistrybinary.h:
6861           Implement no-mmap alternative for registry reading. Do code cleanups.
6862           Add more comments about avoiding strdups for all text data. Comments
6863           welcome.
6864
6865 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
6866
6867         * gst/gstregistrybinary.h (GstBinaryPluginElement,
6868           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
6869           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
6870           Comment structs and reformat to fix the build (that stuff should go
6871           into a priv. header).
6872
6873 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
6874
6875         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
6876         (gst_registry_binary_load_feature):
6877         * gst/gstregistrybinary.h:
6878           Refactor so that we can implement multiple features. Add support for
6879           TypeFindFactory features.
6880
6881 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
6882
6883         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
6884
6885         * configure.ac:
6886           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
6887
6888 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
6889
6890         * gst/gstbin.c: (gst_bin_element_set_state),
6891         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
6892         (bin_handle_async_done), (gst_bin_handle_message_func):
6893           Fix build with --gst-disable-gst-debug
6894
6895 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
6896
6897         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
6898           Make sure streaming has finished before calling the ::stop() vfunc,
6899           since that vfunc might clear state which is being used in the
6900           streaming thread. This fixes a race that caused crashes in
6901           audioresample when shutting down a pipeline (#420106).
6902
6903 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
6904
6905         * docs/gst/gstreamer-sections.txt:
6906           That was one byte missing.
6907
6908 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
6909
6910         * configure.ac:
6911         * docs/gst/gstreamer-sections.txt:
6912         * gst/Makefile.am:
6913         * gst/gstconfig.h.in:
6914         * gst/gstobject.c: (gst_object_class_init),
6915         (gst_signal_object_class_init):
6916         * gst/gstobject.h:
6917           2nd attempt to have a xml-less build as a joined effort of #413123
6918           and #421480.
6919
6920 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
6921
6922         * docs/design/draft-tagreading.txt:
6923           Added open issues/thoughts to draft.
6924
6925 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6926
6927         * gst/parse/grammar.tab.pre.c:
6928         * gst/parse/grammar.tab.pre.h:
6929         * gst/parse/lex._gst_parse_yy.pre.c:
6930         Update the prebuild parser sources.
6931
6932 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6933
6934         * gst/parse/Makefile.am:
6935         And now fix the building of the flex sources. Now everything should
6936         work as expected.
6937
6938 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6939
6940         * gst/parse/Makefile.am:
6941         Now hopefully fix the build failures by setting proper rule
6942         dependencies and moving instead of copying.
6943
6944 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
6945
6946         * tests/benchmarks/complexity.gnuplot:
6947         * tests/benchmarks/complexity.scm:
6948         * tests/benchmarks/mass-elements.gnuplot:
6949         * tests/benchmarks/mass-elements.scm:
6950           Total licensification.
6951
6952 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
6953
6954         * gst/parse/Makefile.am:
6955           Fix the build by correcting the rule that gave wrong files to flex.
6956
6957 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
6958
6959         * tests/benchmarks/complexity.c:
6960         * tests/benchmarks/mass-elements.c:
6961           Change licence to LGPL as granted by Benjamin and Andy.
6962
6963 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6964
6965         * gst/parse/Makefile.am:
6966         Add correct grammar.tab.h dependency if compiling without new enough
6967         flex. Fixes #431150.
6968
6969 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
6970
6971         * gst/parse/Makefile.am:
6972         Fix typo and use outdated sources if the flex/bison sources are newer
6973         than the pregenerated ones but flex is too old. Print a warning in
6974         that case. This should fix the build on the build bot.
6975
6976 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
6977
6978         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
6979         * gst/parse/Makefile.am:
6980         * gst/parse/grammar.y:
6981         * gst/parse/parse.l:
6982         Make the parser reentrant and recursively callable. This requires flex
6983         >= 2.5.31, for older versions pregenerated sources are used as we
6984         can't bump the build dependency. Finally fixes #349180.
6985
6986         * gst/gstparse.c: (gst_parse_launch):
6987         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
6988         now anyway.
6989
6990         * docs/gst/Makefile.am:
6991         * docs/gst/Makefile.am:
6992         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
6993         (__gst_parse_strfree), (__gst_parse_link_new),
6994         (__gst_parse_link_free), (__gst_parse_chain_new),
6995         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
6996         (gst_parse_element_set), (gst_parse_free_link),
6997         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
6998         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
6999         (_gst_parse_launch):
7000         * gst/parse/grammar.tab.pre.h:
7001         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
7002         (yy_get_previous_state), (yy_try_NUL_trans), (input),
7003         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
7004         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
7005         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
7006         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
7007         (_gst_parse_yypop_buffer_state),
7008         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
7009         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
7010         (yy_fatal_error), (_gst_parse_yyget_extra),
7011         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
7012         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
7013         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
7014         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
7015         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
7016         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
7017         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
7018         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
7019         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
7020         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
7021         (_gst_parse_yyfree):
7022         If the installed flex version is too old use pre-generated parser
7023         sources. These pre-generated parser sources are always updated when
7024         the actual flex/bison sources change but require everybody who wants
7025         to change something in the parser to have flex >= 2.5.31 installed.
7026
7027 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
7028
7029         * common/m4/gst-gettext.m4:
7030         * gst/gst-i18n-lib.h:
7031           Make --disable-nls to work
7032
7033 2007-04-17  Wim Taymans  <wim@fluendo.com>
7034
7035         * gst/gstconfig.h.in:
7036         Revert previous change that broke the build.
7037
7038 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
7039
7040         * configure.ac:
7041         * gst/Makefile.am:
7042         * gst/gstconfig.h.in:
7043           Drop libxml2 dependency when building with 
7044           --enable-binary-registry --disable-loadsave
7045
7046 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
7047
7048         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7049         (gst_registry_binary_read_cache):
7050         * gst/gstregistrybinary.h:
7051           Remove unnecessary <sys/mman.h> include which broke the win32 build
7052           with MingW; move includes from header file to .c file, even if the
7053           header file isn't installed; use g_strerror() where UTF-8 strings
7054           are expected, such as in GST_DEBUG messages.
7055
7056 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7057
7058         * docs/libs/gstreamer-libs-sections.txt:
7059         Remove bogus addition for API I didn't end up keeping.
7060
7061         * libs/gst/base/gstbasesrc.h:
7062         Mention Since: 0.10.13 in the documentation.
7063
7064         Add the API keyword to the previous ChangeLog entry.
7065
7066 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7067
7068         * docs/libs/gstreamer-libs-sections.txt:
7069         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7070         (gst_base_src_default_prepare_seek_segment),
7071         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
7072         * libs/gst/base/gstbasesrc.h:
7073         Allow basesrc derived classes to execute seeks in other formats
7074         by providing a prepare_seek_segment vmethod. Sub-classes can choose
7075         to prepare the GstSegment in any format that their perform_seek method
7076         will be able to understand. The default implementation provides the
7077         old behaviour of attempting to convert the seek offsets to the 
7078         configured native format.
7079
7080         API: basesrc::prepare_seek_segment vmethod.
7081
7082 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7083
7084         * gst/gstelement.c: (gst_element_get_state_func):
7085         Don't output the same debug statement twice.
7086
7087         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
7088         (gst_adapter_peek), (gst_adapter_take_buffer):
7089         Optimise the case where we have buffers at the head of the queue that
7090         can be joined quickly (because they're contiguous sub-buffers) by
7091         merging them together rather than copying data out into new memory.
7092
7093         * gst/parse/grammar.y:
7094         * tests/check/pipelines/parse-launch.c:
7095         Fix a leak in an error path for parse_launch, and add a check 
7096         for it to the testsuite.
7097
7098 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7099
7100         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7101           Don't deadlock when releasing a pad - gst_pad_set_active may try
7102           and take the multiqueue lock too.
7103
7104 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
7105
7106         * gst/gsterror.c: (_gst_core_errors_init):
7107         * gst/gsterror.h:
7108           API: add GST_CORE_ERROR_DISABLED (#392804).
7109
7110 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7111
7112         * docs/faq/gst-uninstalled:
7113           don't get empty paths on the PATH variables
7114         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
7115           Don't format for the uncommon terminal width of 84 characters.
7116
7117 2007-04-06  Wim Taymans  <wim@fluendo.com>
7118
7119         * gst/gstpipeline.c: (reset_stream_time),
7120         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
7121         Only try to select a different pipeline clock when we went back to
7122         PAUSED and not when we merely got flushed.
7123
7124 2007-04-05  Michael Smith  <msmith@fluendo.com>
7125
7126         * tools/gst-launch.1.in:
7127           fractions are better supported in gstreamer than ractions, so
7128           suggest using those.
7129
7130 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7131
7132         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
7133
7134         * po/LINGUAS:
7135         * po/da.po:
7136           Added Danish translation.
7137
7138 2007-04-05  Wim Taymans  <wim@fluendo.com>
7139
7140         * libs/gst/base/gstbasesink.c:
7141         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
7142         Fix leak caused when refusing newsegment after EOS.
7143
7144         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7145         (gst_fake_sink_init), (gst_fake_sink_set_property),
7146         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
7147         (gst_fake_sink_render), (gst_fake_sink_change_state):
7148         * plugins/elements/gstfakesink.h:
7149         Add num-buffers property to make the element generate EOS after a
7150         configurable amount of buffers.
7151         API: fakesink::num-buffers property.
7152
7153         * tests/check/elements/fakesink.c: (GST_START_TEST),
7154         (fakesink_suite):
7155         Fix GstBus leak in test.
7156         Test for fakesink num-buffers.
7157
7158 2007-04-05  Wim Taymans  <wim@fluendo.com>
7159
7160         * libs/gst/base/gstbasesink.c:
7161         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
7162         (gst_base_sink_change_state):
7163         Don't accept anything after an EOS, return UNEXPECTED instead.
7164
7165         * tests/check/elements/fakesink.c: (GST_START_TEST),
7166         (fakesink_suite):
7167         Unit test for new EOS behaviour.
7168
7169 2007-04-05  Wim Taymans  <wim@fluendo.com>
7170
7171         * gst/gstelement.c: (gst_element_get_request_pad):
7172         Make padtemplates also work when they don't contain %s or %d.
7173
7174 2007-04-05  Wim Taymans  <wim@fluendo.com>
7175
7176         * docs/gst/gstreamer-sections.txt:
7177         * gst/gstclock.c: (gst_clock_adjust_unlocked),
7178         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
7179         * gst/gstclock.h:
7180         Improve _adjust_unlocked() so that it overflows less.
7181         Add gst_clock_unadjust_unlocked to convert from external time to
7182         internal time based on calibration.
7183         Add some more debug.
7184         API: GstClock::gst_clock_unadjust_unlocked()
7185
7186 2007-04-03  Wim Taymans  <wim@fluendo.com>
7187
7188         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7189
7190         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7191         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
7192         when releasing sink pad. Fixes #425400.
7193
7194 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
7195
7196         * docs/random/ensonic/dynlink.txt:
7197           More work on proposal for new core api.
7198
7199         * docs/libs/gstreamer-libs-sections.txt:
7200         * libs/gst/base/gstbasetransform.h:
7201           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
7202           
7203         * libs/gst/controller/gstcontroller.c:
7204         (on_object_controlled_property_changed),
7205         (gst_controller_sync_values),
7206         (gst_controller_set_interpolation_mode):
7207         * libs/gst/controller/gstcontroller.h:
7208           Less verbose logging add docs for unimplemented parts and correctly
7209           return when using unavailable parts.
7210
7211 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
7212
7213         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
7214         Move all the debug to the CLOCK category, and associate it with
7215         the clock object.
7216
7217 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
7218
7219         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
7220         Make take_buffer a bit quicker by removing redundant checks
7221         caused by calling gst_adapter_take.
7222
7223 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7224
7225         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
7226           Don't leak GCond.
7227
7228         * tests/check/Makefile.am:
7229         * tests/check/elements/.cvsignore:
7230         * tests/check/elements/multiqueue.c: (setup_multiqueue),
7231         (GST_START_TEST), (multiqueue_suite):
7232           Add some dead simple unit tests for the 'multiqueue' element
7233           (some bits don't work yet and are disabled for now).
7234
7235 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7236
7237         * gst/gstelement.c: (gst_element_get_request_pad),
7238         (gst_element_class_get_request_pad_template):
7239           Make gst_element_get_request_pad() create request pads only for
7240           request pad templates and not for, say, sometimes pad templates.
7241
7242 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
7243
7244         * docs/design/draft-klass.txt:
7245           Add example that needs more thinking.
7246         
7247         * docs/design/draft-missing-plugins.txt:
7248           More thoughts about wrapper plugins.
7249         
7250         * docs/random/ensonic/embedded.txt:
7251         * docs/random/ensonic/profiling.txt:
7252           More design work.
7253
7254 2007-03-25  Wim Taymans  <wim@fluendo.com>
7255
7256         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7257         (gst_base_src_loop):
7258         Only push the segment events in the PLAYING state for live sources.
7259
7260 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
7261
7262         * gst/gstpipeline.c: (gst_pipeline_change_state):
7263         Modify the clock distribution path in PAUSED->PLAYING so that we 
7264         never attempt to choose a new clock unless we're actually leaving
7265         the PAUSED state for the first time. This prevents choosing a
7266         different clock when the state_change gets called for a 2nd time due
7267         to some element doing an async state change.
7268
7269 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7270
7271         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7272         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7273         (gst_pad_chain_unchecked), (gst_pad_push):
7274         Revert last commit. This needs some more thoughts.
7275
7276 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7277
7278         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7279         (gst_pad_chain_unchecked), (gst_pad_push):
7280         Check in set_caps if the caps are compatible with the pad and remove
7281         two functions that are redundant now. Fixes #421543.
7282
7283 2007-03-22  Wim Taymans  <wim@fluendo.com>
7284
7285         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7286         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7287         Unref some more to make valgrind happy.
7288
7289 2007-03-22  Wim Taymans  <wim@fluendo.com>
7290
7291         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7292         (gst_system_clock_id_wait_jitter),
7293         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7294         Fix anoying regression that survived a few releases. When adding an
7295         async entry while blocking on a sync entry, the sync entry will unblock
7296         but still be busy, so it should continue to wait instead of returning
7297         _BUSY to the app.
7298         Add some comments here and there.
7299
7300         * tests/check/gst/gstsystemclock.c: (mixed_thread),
7301         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7302         Add testcase for this.
7303
7304 2007-03-22  Wim Taymans  <wim@fluendo.com>
7305
7306         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7307         Handle errors from the clock sync better, only UNSCHEDULED indicates a
7308         WRONG_STATE and can silently pause the task. All other cases should
7309         error out.
7310
7311 2007-03-22  Wim Taymans  <wim@fluendo.com>
7312
7313         Patch by: Ville Syrjala <syrjala at sci dot fi>
7314
7315         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7316         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
7317         Improve debugging.
7318
7319 2007-03-21  Michael Smith  <msmith@fluendo.com>
7320
7321         * docs/pwg/advanced-types.xml:
7322           Fix some errors in the typefinding docs pointed out on irc.
7323
7324 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
7325
7326         * libs/gst/base/gstbasesrc.c:
7327         Clarify FIXME comment in the face of having added unlock_stop()
7328
7329 2007-03-21  Wim Taymans  <wim@fluendo.com>
7330
7331         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7332         Prepare for release where we warn against possible app breakage in the
7333         case of live pipelines along with an env var to enable/disable live
7334         preroll mode (GST_COMPAT=[no-]live-preroll).
7335
7336 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7337
7338         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7339         So we should use correct constants for checking for None offset.
7340
7341 2007-03-20  Wim Taymans  <wim@fluendo.com>
7342
7343         * docs/design/part-block.txt:
7344         Mention the fact that the newly switched element should be set to at
7345         least PAUSED.
7346
7347 2007-03-20  Wim Taymans  <wim@fluendo.com>
7348
7349         * gst/gst.c:
7350         Fix compilation with registry disabled as spotted by Saur.
7351
7352 2007-03-20  Wim Taymans  <wim@fluendo.com>
7353
7354         Patch by: Olivier Crete <tester at tester dot ca>
7355
7356         * gst/gstelement.c: (gst_element_sync_state_with_parent):
7357         Look at the pending state too when syncing the element state to the
7358         parent. Fixes #420133.
7359
7360 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
7361
7362         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7363         (gst_base_sink_change_state):
7364         * libs/gst/base/gstbasesink.h:
7365         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7366         (gst_base_src_default_event), (gst_base_src_unlock_stop),
7367         (gst_base_src_deactivate):
7368         * libs/gst/base/gstbasesrc.h:
7369         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7370         for sub-classes to correctly clear any state they set trying to
7371         unlock, such as clearing out unlock commands from a command fd.
7372         API: basesrc::unlock_stop
7373         API: basesink::unlock_stop
7374
7375         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7376         (gst_fd_sink_render), (gst_fd_sink_unlock),
7377         (gst_fd_sink_unlock_stop):
7378         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7379         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7380         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7381
7382         Implement unlock_stop in fdsrc and fdsink.
7383         Implement seeking in fdsrc when a seekable fd is passed, as in
7384         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7385
7386 2007-03-19  Wim Taymans  <wim@fluendo.com>
7387
7388         Patch by: Evan Nemerson <evan at coeus dash group dot com>
7389
7390         * gst/gstelement.c: (gst_element_class_init):
7391         Fix pad-added and pad-removed signal signatures so that the pad type is
7392         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7393
7394 2007-03-19  Wim Taymans  <wim@fluendo.com>
7395
7396         * docs/gst/gstreamer-sections.txt:
7397         Add new element field and method.
7398
7399         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7400         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7401         (gst_bin_recalc_state), (gst_bin_get_state_func),
7402         (gst_bin_element_set_state), (gst_bin_change_state_func),
7403         (gst_bin_continue_func), (bin_bus_handler),
7404         (bin_push_state_continue), (bin_handle_async_start),
7405         (bin_handle_async_done), (gst_bin_handle_message_func):
7406         Make async state changes a bit smarter by using new ASYNC_START and
7407         ASYNC_DONE messages. This reduces the number of times we run the state
7408         recalculation thread.
7409         Don't change state of element with a pending ASYNC_START message.
7410         Deprecate STATE_DIRTY messages.
7411         
7412         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7413         (gst_element_get_state_func), (gst_element_continue_state),
7414         (gst_element_lost_state), (gst_element_set_state_func),
7415         (gst_element_change_state):
7416         * gst/gstelement.h:
7417         Keep the state that was last set by the app in a new element field.
7418         Don't allow state changes when handling an element event.
7419         Post ASYNC_START and ASYNC_DONE messages.
7420         Change lost_state so that we go to PAUSED and wait for the parent to set
7421         us to PLAYING again (so latency calculation can be performed)
7422         Export gst_element_change_state() method so that subclasses can use it.
7423         API: gst_element_change_state()
7424         API: GST_STATE_TARGET
7425
7426         * gst/gstpipeline.c: (gst_pipeline_class_init),
7427         (reset_stream_time), (gst_pipeline_change_state),
7428         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7429         Using the new ASYNC_START message we can reset the base_time when
7430         needed. This can then be used to implement base_time redistribution in
7431         flushing seeks so that we can remove the explicit seek handling.
7432         Perform latency query and configuration when going to PLAYING.
7433
7434         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7435         (gst_base_sink_query), (gst_base_sink_change_state):
7436         Post new ASYNC_START/ASYNC_DONE messages.
7437
7438         * tests/check/generic/sinks.c: (GST_START_TEST):
7439         Fix test because the bin will not set the async element to PLAYING right
7440         away.
7441
7442         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7443         Make the message check a little stronger.
7444         Handle ASYNC messages.
7445
7446         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7447         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7448         Expect ASYNC_DONE messages.
7449
7450 2007-03-19  Wim Taymans  <wim@fluendo.com>
7451
7452         * docs/gst/gstreamer-sections.txt:
7453         * gst/gstmessage.c: (gst_message_new_async_start),
7454         (gst_message_new_async_done), (gst_message_parse_info),
7455         (gst_message_parse_async_start):
7456         * gst/gstmessage.h:
7457         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7458         support.
7459
7460 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
7461
7462         * tools/gst-inspect.c:
7463         (print_plugin_automatic_install_info_codecs):
7464           Now that we don't check for the 'Codec' keyword any longer in the
7465           klass, we shouldn't spew a warning if the klass isn't a decoder or
7466           encoder (since it might be a Source/Network, for example).
7467
7468 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7469
7470         * tools/gst-inspect.c:
7471         (print_plugin_automatic_install_info_codecs):
7472           Don't require decoder/demuxer/depayloader elements or
7473           encoder/muxer/paylader elements to have 'Codec' as part of their
7474           factory class string when introspecting a plugin's capabilities.
7475           draft-klass.txt mentions that it might be removed in future, and
7476           flump3dec doesn't have it as part of its class string, so chances
7477           are others might also not have it.
7478
7479 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7480
7481         * po/af.po:
7482         * po/az.po:
7483         * po/bg.po:
7484         * po/ca.po:
7485         * po/cs.po:
7486         * po/de.po:
7487         * po/en_GB.po:
7488         * po/fr.po:
7489         * po/it.po:
7490         * po/nb.po:
7491         * po/nl.po:
7492         * po/ru.po:
7493         * po/sq.po:
7494         * po/sr.po:
7495         * po/sv.po:
7496         * po/tr.po:
7497         * po/uk.po:
7498         * po/vi.po:
7499         * po/zh_CN.po:
7500         * po/zh_TW.po:
7501           Update translations from translation project
7502
7503 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
7504
7505         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
7506         (gst_child_proxy_set_property):
7507           Invert precondition check to be alike the ones in the mimiced gobject
7508           api.
7509
7510 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
7511
7512         * docs/design/draft-tagreading.txt:
7513         * docs/random/ensonic/audiobaseclasses.txt:
7514           Do some Architect work.
7515
7516         * gst/gstobject.c: (gst_object_set_name):
7517           Add a WARNING.
7518
7519         * gst/gstpad.c:
7520           Add docs that point from gst_pad_get_range to gst_pad_pull_range
7521
7522 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
7523
7524         * gst/gstsystemclock.c: (gst_system_clock_init),
7525         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
7526         Defer starting the async system clock thread until the first async
7527         wait is scheduled. Fixes #414986.
7528
7529 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
7530
7531         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
7532         (gst_single_queue_free):
7533           Fix small leak (free GstSingleQueue structure too, not only contents).
7534
7535 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
7536
7537         * gst/gstbin.c:(gst_bin_add):
7538         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
7539         * win32/common/libgstbase.def:
7540         * win32/common/libgstreamer.def:
7541         Add new exported functions.
7542
7543 2007-03-09  Wim Taymans  <wim@fluendo.com>
7544
7545         * docs/plugins/gstreamer-plugins-sections.txt:
7546         Fix GstTee docs.
7547
7548 2007-03-09  Wim Taymans  <wim@fluendo.com>
7549
7550         * docs/gst/gstreamer-sections.txt:
7551         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
7552         * gst/gstbuffer.h:
7553         Add metadata copy functions. Fixes #393099.
7554         API: gst_buffer_copy_metadata()
7555
7556         * gst/gstutils.c: (gst_buffer_stamp):
7557         * libs/gst/base/gstbasetransform.c:
7558         (gst_base_transform_prepare_output_buffer):
7559         Use new metadata copy functions.
7560
7561 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7562
7563         * plugins/elements/gstidentity.c: (gst_identity_class_init),
7564         (gst_identity_init), (gst_identity_check_perfect),
7565         (gst_identity_check_imperfect_timestamp),
7566         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
7567         (gst_identity_set_property), (gst_identity_get_property):
7568         * plugins/elements/gstidentity.h:
7569         Separate out check-imperfect-timestamp and check-imperfect-offset.
7570         Put back check-perfect as it was to keep compatibility.
7571
7572 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
7573
7574         * gst/gstelement.c: (gst_element_dispose):
7575         There's no need to warn if VOID_PENDING is not NONE here, as
7576         long as the state is NULL it's ok, and that's checked immediately
7577         above.
7578
7579 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7580
7581         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7582         Fix check for perfect stream to ignore buffers with -1 
7583         offsets/offset ends when checking data contiguity.
7584
7585 2007-03-08  Wim Taymans  <wim@fluendo.com>
7586
7587         * tools/gst-launch.c: (event_loop):
7588         Print INFO messages.
7589
7590 2007-03-08  Wim Taymans  <wim@fluendo.com>
7591
7592         * libs/gst/base/gstbasetransform.c:
7593         (gst_base_transform_sink_eventfunc),
7594         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7595         (gst_base_transform_activate):
7596         * libs/gst/base/gstbasetransform.h:
7597         Add support for dropping buffers with custom GstFlowReturn.
7598         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
7599         buffers or dropped buffers.
7600
7601         * docs/libs/gstreamer-libs-sections.txt:
7602         docs for new custom return code.
7603
7604         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7605         Use drop support in base class to implement drop-probability.
7606
7607 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
7608
7609         * gst/gst.c: (load_plugin_func):
7610         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
7611         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7612         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
7613           Remove newlines at end of debug log strings.
7614
7615 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7616
7617         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7618         Only post bus message at max, once per buffer received.
7619
7620 2007-03-07  Wim Taymans  <wim@fluendo.com>
7621
7622         * docs/design/Makefile.am:
7623         * docs/design/part-synchronisation.txt:
7624         Add doc about synchronisation
7625
7626         * docs/design/draft-latency.txt:
7627         * docs/design/part-TODO.txt:
7628         * docs/design/part-clocks.txt:
7629         * docs/design/part-events.txt:
7630         * docs/design/part-gstbus.txt:
7631         * docs/design/part-gstpipeline.txt:
7632         * docs/design/part-live-source.txt:
7633         * docs/design/part-messages.txt:
7634         * docs/design/part-overview.txt:
7635         * docs/design/part-streams.txt:
7636         * docs/design/part-trickmodes.txt:
7637         Documentation updates.
7638
7639 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
7640
7641         * gstreamer.doap:
7642         Update the doap file.
7643
7644 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7645
7646         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7647         Rename non-perfect to imperfect for Mike and for the sanctity of the
7648         language.
7649         Also make sure bus message gets emitted for data-incontiguities.
7650
7651 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7652
7653         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
7654         (gst_identity_start):
7655         * plugins/elements/gstidentity.h:
7656         Emit bus message if check-perfect is true and we encounter a
7657         non-perfect stream between 2 consecutive buffers.
7658         Fixes #415394.
7659
7660 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
7661
7662         * configure.ac:
7663         Back to CVS
7664
7665 === release 0.10.12 ===
7666
7667 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
7668
7669         * configure.ac:
7670           releasing 0.10.12, "Inevitable Demise"
7671
7672 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
7673
7674         * configure.ac:
7675          Version 0.10.11.2 (0.10.12 pre-release)
7676          Bump libtool versioning.
7677
7678 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
7679
7680         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7681           Log flow-names and not numbers.
7682
7683 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7684
7685         * configure.ac:
7686           Convert to new AG_GST style.
7687
7688 2007-02-28  Wim Taymans  <wim@fluendo.com>
7689
7690         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
7691         Don't unref query twice.
7692
7693 2007-02-28  Wim Taymans  <wim@fluendo.com>
7694
7695         * gst/gstvalue.c: (gst_value_transform_object_string),
7696         (_gst_value_initialize):
7697         Implement GstObject -> string transform so we print object names
7698         when serializing GValues containing GstObjects.
7699
7700 2007-02-28  Wim Taymans  <wim@fluendo.com>
7701
7702         * docs/gst/gstreamer-sections.txt:
7703         Add new stuff to docs.
7704
7705 2007-02-28  Wim Taymans  <wim@fluendo.com>
7706
7707         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
7708         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
7709         (gst_base_sink_change_state):
7710         Improve latency query code.
7711         Don't leak latency events.
7712
7713         * tests/check/gst/gstbin.c: (GST_START_TEST):
7714         Improve debugging.
7715
7716 2007-02-28  Wim Taymans  <wim@fluendo.com>
7717
7718         * gst/gstelement.c: (gst_element_message_full),
7719         (gst_element_get_state_func):
7720         * gst/gstelement.h:
7721         Improve docs a little. Added Since: for new macro.
7722
7723         * gst/gstobject.c: (gst_object_sink):
7724         * gst/gstpipeline.c: (gst_pipeline_change_state),
7725         (gst_pipeline_set_new_stream_time):
7726         * gst/gstpipeline.h:
7727         Improve debugging and docs.
7728
7729         * gst/gstutils.c: (gst_element_state_change_return_get_name):
7730         Improve debugging.
7731
7732 2007-02-28  Wim Taymans  <wim@fluendo.com>
7733
7734         * gst/gstelement.c: (gst_element_message_full),
7735         (gst_element_set_locked_state), (gst_element_get_state_func),
7736         (gst_element_change_state):
7737         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
7738         Documentation updates.
7739         Small code cleanups.
7740
7741         * gst/gstmessage.c: (gst_message_new_info),
7742         (gst_message_parse_info):
7743         * gst/gstmessage.h:
7744         API: gst_message_new_info()
7745         API: gst_message_parse_info()
7746         Add INFO message create and parse code.
7747
7748 2007-02-28  Wim Taymans  <wim@fluendo.com>
7749
7750         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
7751         (bin_query_latency_done):
7752         Also report the live parameter of a latency query.
7753
7754 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7755
7756         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
7757           Copy the current generic/states example from -base and adapt so
7758           we can use the exact same code everywhere.
7759           Check a STATES_IGNORE_ELEMENTS env var which can be used
7760           to ignore certain element factories for this test, which is
7761           what is being done in -base
7762         * tests/check/Makefile.am:
7763           Mention this environment variable.
7764
7765 2007-02-27  Wim Taymans  <wim@fluendo.com>
7766
7767         * docs/gst/gstreamer-sections.txt:
7768         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7769         (gst_bus_timed_pop), (gst_bus_pop):
7770         * gst/gstbus.h:
7771         API: gst_bus_timed_pop()
7772         Implement gst_bus_timed_pop() to do a blocking timed wait for a
7773         message to arrive on the bus.
7774
7775         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
7776         (gst_bus_suite):
7777         Two unit tests for new _timed_pop() function.
7778
7779 2007-02-23  Wim Taymans  <wim@fluendo.com>
7780
7781         * gst/gstpipeline.c: (gst_pipeline_change_state),
7782         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
7783         Don't ref a NULL clock in _provide_clock_func().
7784         Don't allow an INVALID delay.
7785         Don't try to calculate base_time with an invalid start_time.
7786         Also distribute and notify a NULL clock when it was selected.
7787
7788         * tools/gst-launch.c: (event_loop):
7789         Don't crash when a NULL clock was selected in the pipeline.
7790
7791 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
7792
7793         * docs/design/Makefile.am:
7794         * docs/design/draft-missing-plugins.txt:
7795         * docs/random/draft-missing-plugins.txt:
7796           Some small updates: update plugin system identifier prefix
7797           ('gstreamer.net' to 'gstreamer'), mention our new install
7798           API in libgstbaseutils rather than libgimme-codec, add
7799           reference to the online docs.
7800
7801 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7802
7803         * win32/common/config.h:
7804           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
7805           use moap cl ci to only check in what is mentioned in the ChangeLog.
7806
7807 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7808
7809         * docs/gst/gstreamer-sections.txt:
7810         * gst/gstelement.h:
7811           Fix up documentation to link to the correct GstGError section.
7812           Add GST_ELEMENT_INFO macro since someone else added a Info message.
7813
7814 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7815
7816         * tools/gst-launch.c: (event_loop):
7817           Make sure that we actually show the important message part of a
7818           warning message.
7819           No need to check if the gerror is not NULL to free; first of all
7820           g_free accepts NULL; and second the default error handler would
7821           segfault if gerror was NULL.
7822
7823 2007-02-21  Wim Taymans  <wim@fluendo.com>
7824
7825         * docs/gst/gstreamer-sections.txt:
7826         Removed docs as well.
7827
7828 2007-02-21  Wim Taymans  <wim@fluendo.com>
7829
7830         * gst/gstmessage.c: (gst_message_parse_duration):
7831         * gst/gstmessage.h:
7832         Remove new messages for release.
7833
7834 2007-02-20  Wim Taymans  <wim@fluendo.com>
7835
7836         * docs/design/part-gstghostpad.txt:
7837         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
7838         (gst_ghost_pad_new_full):
7839         Make the ghostpad a parent of the internal pad again for better backward
7840         compatibility. Don't write code that relies on this however.
7841
7842         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7843         (gst_pad_link_check_hierarchy):
7844         Require that parents should be GstElements in the hierarchy check.
7845
7846 2007-02-20  Wim Taymans  <wim@fluendo.com>
7847
7848         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
7849         (gst_bin_change_state_func), (bin_query_min_max_init),
7850         (bin_query_latency_fold), (bin_query_latency_done),
7851         (gst_bin_query):
7852         Improve debug info.
7853         Implement latency query.
7854
7855 2007-02-20  Wim Taymans  <wim@fluendo.com>
7856
7857         * docs/design/part-gstghostpad.txt:
7858         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
7859         (gst_ghost_pad_internal_do_activate_push),
7860         (gst_ghost_pad_internal_do_activate_pull),
7861         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7862         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
7863         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
7864         Do not set the internal pad as a parent anymore so we can avoid
7865         hierarchy linking errors when the ghostpad has no parent yet. This also
7866         fixes failed activation because of unlinked internal pads, which in
7867         turn fixes the impossible case where you have to activate a pad before
7868         you can add it to a running element.
7869         Also fix the docs.
7870
7871         * gst/gstpad.c: (pre_activate), (post_activate),
7872         (gst_pad_set_active), (gst_pad_activate_pull),
7873         (gst_pad_activate_push), (gst_pad_check_pull_range):
7874         Add some more debug info.
7875         Mark activation mode in pre_activate so that we don't try to activate in
7876         endless loops. Fixes #385084.
7877
7878 2007-02-19  Wim Taymans  <wim@fluendo.com>
7879
7880         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
7881         (gst_base_transform_check_get_range):
7882         Implement a checkgetrange function instead of relying on the default
7883         core behaviour that assumes we can operate in pull mode if we have a
7884         getrange function. First step at fixing #385084.
7885
7886 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
7887
7888         * gst/gstchildproxy.h:
7889         * libs/gst/base/gstbasesink.h:
7890         * libs/gst/base/gstbasesrc.h:
7891         * libs/gst/base/gstbasetransform.h:
7892         More docs coverage and some ChangeLog surgery (add missing names)
7893
7894 2007-02-15  Wim Taymans  <wim@fluendo.com>
7895
7896         * docs/design/part-TODO.txt:
7897         * docs/design/part-activation.txt:
7898         * docs/design/part-block.txt:
7899         * docs/design/part-buffering.txt:
7900         * docs/design/part-clocks.txt:
7901         * docs/design/part-element-source.txt:
7902         * docs/design/part-events.txt:
7903         * docs/design/part-gstbin.txt:
7904         * docs/design/part-gstbus.txt:
7905         * docs/design/part-gstpipeline.txt:
7906         * docs/design/part-live-source.txt:
7907         * docs/design/part-messages.txt:
7908         * docs/design/part-overview.txt:
7909         * docs/design/part-qos.txt:
7910         * docs/design/part-query.txt:
7911         * docs/design/part-states.txt:
7912         * docs/design/part-trickmodes.txt:
7913         Some doc updates. Start renaming from stream_time to running_time where
7914         it was used wrongly.
7915
7916 2007-02-15  Wim Taymans  <wim@fluendo.com>
7917
7918         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
7919         Answer LATENCY query.
7920
7921 2007-02-15  Wim Taymans  <wim@fluendo.com>
7922
7923         * tests/check/gst/gstevent.c: (event_probe), (test_event),
7924         (GST_START_TEST):
7925         Improve debugging.
7926
7927 2007-02-15  Wim Taymans  <wim@fluendo.com>
7928
7929         * gst/gstpad.c: (gst_pad_get_internal_links_default),
7930         (gst_pad_dispatcher):
7931         Improve debugging of default pad dispatcher and query functions.
7932
7933 2007-02-15  Wim Taymans  <wim@fluendo.com>
7934
7935         * docs/gst/gstreamer-sections.txt:
7936         Remove old unused method.
7937
7938 2007-02-13  Wim Taymans  <wim@fluendo.com>
7939
7940         * tests/check/gst/gstsegment.c: (GST_START_TEST):
7941         Fix check
7942
7943 2007-02-13  Wim Taymans  <wim@fluendo.com>
7944
7945         * docs/design/part-seeking.txt:
7946         Some small update.
7947
7948         * gst/gstsegment.c: (gst_segment_set_seek):
7949         Revert old bogus change that should make seeking work again.
7950
7951 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
7952
7953         * docs/random/ensonic/dynlink.txt:
7954         * docs/random/ensonic/interfaces.txt:
7955         * docs/random/ensonic/receipies.txt:
7956           Possible dynamic reconnection api, plus some type fixes the other two
7957           docs.
7958
7959 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
7960
7961         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7962         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7963         Also check for an absolute path following file:// in the filesrc
7964         element. Remove redundant check and call g_path_is_absolute() on the
7965         unescaped location.
7966
7967 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
7968
7969         * docs/design/draft-klass.txt:
7970           Add existing category analysis.
7971           
7972         * gst/gstcaps.c:
7973           Fix doc example, framerate is a fraction.
7974
7975 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
7976
7977         * configure.ac:
7978         * docs/gst/Makefile.am:
7979         * docs/gst/gstreamer-sections.txt:
7980         * docs/libs/Makefile.am:
7981           Erm, forgot a bunch of --extra-dir.
7982
7983 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
7984
7985         * configure.ac:
7986         * docs/gst/Makefile.am:
7987         * docs/libs/Makefile.am:
7988         * docs/plugins/Makefile.am:
7989           Add crossreferences to glib/gobject docs.
7990
7991 2007-02-12  Wim Taymans  <wim@fluendo.com>
7992
7993         * docs/design/draft-latency.txt:
7994         Small update.
7995
7996         * docs/libs/gstreamer-libs-sections.txt:
7997         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7998         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
7999         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
8000         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
8001         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
8002         (gst_base_sink_get_position), (gst_base_sink_query),
8003         (gst_base_sink_change_state):
8004         * libs/gst/base/gstbasesink.h:
8005         API: gst_base_sink_query_latency() to let subclasses query the upstream
8006         latency.
8007         API: gst_base_sink_get_latency() to let subclasses query the configured
8008         latency in the sink.
8009         Implement query and set latency.
8010         Update some docs.
8011         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
8012         don't continue preroll when we are flushing. Fixes #405284.
8013
8014         * tests/check/pipelines/stress.c: (change_state_timeout),
8015         (quit_timeout), (GST_START_TEST), (stress_suite):
8016         Test for #405284.
8017
8018 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
8019
8020         Patch by: René Stadler <mail at renestadler de>
8021
8022         * docs/gst/gstreamer-sections.txt:
8023         * gst/gsttaglist.c: (_gst_tag_initialize):
8024         * gst/gsttaglist.h:
8025           API: add GST_TAG_REFERENCE_LEVEL (#403597).
8026
8027 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
8028
8029         * docs/libs/Makefile.am:
8030           Fix path to core docs.
8031
8032         * gst/gstbin.c: (gst_bin_get_by_interface),
8033         (gst_bin_iterate_all_by_interface):
8034           Refix docs by also renaming 'interface' to 'iface' in implementation.
8035
8036         * docs/gst/gstreamer-sections.txt:
8037         * gst/gstcaps.c:
8038         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
8039         * gst/gstchildproxy.h:
8040         * gst/gstelementfactory.c:
8041         * gst/gstpadtemplate.h:
8042         * libs/gst/controller/gstcontroller.c:
8043         (gst_controlled_property_new):
8044           Document more.
8045
8046 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
8047
8048         * gst/gstbin.h:(gst_bin_get_by_interface),
8049         (gst_bin_iterate_all_by_interface):
8050         Replace interface parameter name by iface as interface is 
8051         a reserved keyword in Visual Studio for C++ projects so it removes
8052         a build error for application developpers using VS.
8053         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
8054         Fix a bug on Windows in uri format check. Now the prefix checked
8055         is file:// and next we check if the path after file:// is absolute.
8056         * win32/common/libgstbase.def:
8057         * win32/common/libgstdataprotocol.def:
8058         * win32/common/libgstgstreamer.def:
8059         Add new exported functions.
8060
8061 2007-02-09  Andy Wingo  <wingo@pobox.com>
8062
8063         * tests/check/pipelines/simple-launch-lines.c
8064         (simple_launch_lines_suite, test_tee): Disable tee test until I
8065         have time to fix it :-(
8066
8067         * tests/check/Makefile.am (noinst_HEADERS): 
8068         * tests/check/libs/libsabi.c: 
8069         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
8070         * tests/check/gst/gstabi.c: 
8071         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
8072
8073         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
8074         tests for push and pull tee behavior.
8075
8076         * plugins/elements/gsttee.h: 
8077         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
8078         mark as deprecated as well as unimplemented. It was a crack idea.
8079         Add support for tee operating in pull mode, off by default.
8080
8081         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
8082         normal-case logs down to LOG, raise errors to WARNING.
8083         (gst_registry_xml_read_cache): Don't log before calling a function
8084         that logs.
8085
8086         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
8087         exit (registry finalize).
8088         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
8089         DEBUG log when we emit signals that people don't even have the
8090         chance to connect to.
8091         (gst_registry_scan_path_level): Less logging in the normal case.
8092
8093 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
8094
8095         Patch by: Michal Benes <michal dot benes at itonis dot tv>
8096
8097         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8098         Correctly generate EOS for non-seekable files. We don't have a total
8099         length for them and would get an unexpected end of file if we only
8100         special-cased for regular files. (Fixes: #404569)
8101
8102 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
8103
8104         * tests/check/elements/filesrc.c: (GST_START_TEST),
8105         (filesrc_suite):
8106         Add unit test for the GstURIHandler interface in filesrc. This also
8107         tests the newly added file://localhost/foo/bar support.
8108
8109 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8110
8111         * gst/gstelementfactory.h:
8112           The klass string is not a hierarchy. Add reference to the design doc
8113           for more information and common types.
8114
8115 2007-02-02  Wim Taymans  <wim@fluendo.com>
8116
8117         * gst/gstquery.c: (gst_query_new_latency):
8118         Remove old structure field.
8119
8120 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
8121
8122         * tools/gst-launch.1.in:
8123           Give example for network streaming (#351998)
8124
8125 2007-02-02  Wim Taymans  <wim@fluendo.com>
8126
8127         * docs/gst/gstreamer-sections.txt:
8128         Add docs for new methods.
8129
8130         * gst/gstevent.c: (gst_event_new_latency),
8131         (gst_event_parse_latency):
8132         * gst/gstevent.h:
8133         Add new LATENCY event to configure latency in a pipeline.
8134         API: gst_event_new_latency
8135         API: gst_event_parse_latency
8136
8137         * gst/gstmessage.c: (gst_message_new_buffering),
8138         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
8139         (gst_message_new_latency), (gst_message_parse_buffering),
8140         (gst_message_parse_lost_preroll):
8141         * gst/gstmessage.h:
8142         Added messages used in draft-latency.
8143         API: gst_message_new_lost_preroll
8144         API: gst_message_parse_lost_preroll
8145         API: gst_message_new_prerolled
8146         API: gst_message_new_latency
8147
8148         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
8149         (gst_query_parse_latency):
8150         * gst/gstquery.h:
8151         Implemented new latency query as in design doc.
8152         API: gst_query_new_latency
8153         API: gst_query_set_latency
8154         API: gst_query_parse_latency
8155
8156 2007-02-02  Wim Taymans  <wim@fluendo.com>
8157
8158         * docs/design/draft-latency.txt:
8159         Slight redesign to allow for dynamic latency adjustments.
8160
8161         * docs/design/part-negotiation.txt:
8162         Fix some typos.
8163
8164 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
8165
8166         reviewed by: Wim Taymans <wim@fluendo.com>
8167
8168         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8169         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8170         Allow file://localhost/foo/bar URLs and correctly fail for every other
8171         hostname that one sets. This was gnomevfssrc is linked for those if
8172         installed as it can handle it (#403172)
8173
8174 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
8175
8176         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8177
8178         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8179         (unref_data), (gst_collect_pads_add_pad_full):
8180         * libs/gst/base/gstcollectpads.h:
8181         Don't put the previously added destroy notify in the GstCollectData
8182         struct as all it's padding is already used and we don't want to break
8183         ABI. Instead put in the pad's GObject data for now. This should be
8184         cleaned up for 0.11 (#402393).
8185
8186 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
8187
8188         reviewed by: Wim Taymans <wim@fluendo.com>
8189
8190         * docs/libs/gstreamer-libs-sections.txt:
8191         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8192         (unref_data), (gst_collect_pads_add_pad),
8193         (gst_collect_pads_add_pad_full):
8194         * libs/gst/base/gstcollectpads.h:
8195         API: Add function to specify a destroy notification for custom
8196         GstCollectData when adding new pads in GstCollectPads (#402393).
8197
8198 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
8199
8200         * po/sv.po:
8201           Update Swedish translation (#378255).
8202
8203 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
8204
8205         * docs/design/draft-klass.txt:
8206           Fix the previous change, this is a list of categories and not a hierarchy.
8207
8208 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
8209
8210         * docs/design/draft-klass.txt:
8211           Add info about how to get a list of used classes.
8212
8213 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
8214
8215         * plugins/elements/gsttypefindelement.c:
8216         (gst_type_find_element_chain_do_typefinding),
8217         (gst_type_find_element_change_state):
8218           Don't leak found caps in chain function (no idea why that never
8219           showed up as a leak anywhere).
8220
8221 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
8222
8223         * gst/gstplugin.h:
8224           Fix and expand GstPluginDesc API docs.
8225
8226 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8227
8228         * gst/gstcaps.c:
8229         * gst/gstelementfactory.c:
8230         * gst/gstpadtemplate.h:
8231           api doc fixes
8232
8233         * libs/gst/controller/gstcontroller.c:
8234         (gst_controlled_property_new):
8235         * tests/examples/controller/audio-example.c:
8236           comment fixes
8237
8238 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8239
8240         * configure.ac:
8241           comment about refining the xml deps
8242
8243         * docs/manuals.mak:
8244           comments about moving away from jade for docs
8245         
8246         * gst/gst.c:
8247           recommit the ifdefs to use the binary registry
8248         
8249         * gst/gstbin.c: (gst_bin_change_state_func):
8250           this break is obsolete
8251
8252         * gst/gstelementfactory.h:
8253           better GST_ELEMENT_DETAILS docs, add comment about translation
8254
8255         * gst/gstinfo.h:
8256           remove eol slash
8257
8258         * gst/gstobject.c: (gst_signal_object_get_type):
8259           add G_UNLIKELY as usual
8260
8261         * gst/gstpad.c: (gst_pad_event_default):
8262           add fall trhu comment
8263
8264         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8265         (gst_registry_binary_initialize_magic),
8266         (gst_registry_binary_save_string),
8267         (gst_registry_binary_save_pad_template),
8268         (gst_registry_binary_save_feature),
8269         (gst_registry_binary_save_plugin),
8270         (gst_registry_binary_write_cache),
8271         (gst_registry_binary_check_magic),
8272         (gst_registry_binary_load_pad_template),
8273         (gst_registry_binary_load_feature),
8274         (gst_registry_binary_load_plugin),
8275         (gst_registry_binary_read_cache):
8276           comment typo and formatting
8277
8278         * gst/gstutils.c: (gst_element_state_get_name),
8279         (gst_element_state_change_return_get_name):
8280           remove obsolete breaks
8281
8282         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8283           add FIXME 0.11 and remove cpp comment
8284
8285 2007-01-29  Edward Hervey  <edward@fluendo.com>
8286
8287         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8288         Fix print statement in an even more portable way.
8289
8290 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
8291
8292         * docs/gst/gstreamer-sections.txt:
8293         * gst/gstutils.h:
8294           API: add GST_ROUND_DOWN_* macros (#401781).
8295
8296 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
8297
8298         * docs/gst/gstreamer.types.in:
8299         * gst/gstregistry.c: (gst_registry_class_init):
8300           Document registry signals and make gtk-doc pick them up (#401381).
8301
8302 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8303
8304         * docs/pwg/building-testapp.xml:
8305           Add some audioconverts and audioresample to the pipeline, and some
8306           more comments and error handling.
8307
8308 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8309
8310         * docs/manual/manual.xml:
8311         * docs/pwg/pwg.xml:
8312           Fix typo (#400987).
8313
8314 2007-01-26  Wim Taymans  <wim@fluendo.com>
8315
8316         * gst/gstcaps.c: (gst_static_caps_get):
8317         Init caps flags too.
8318
8319 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
8320
8321         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8322
8323         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8324         If not using mmap'ed files try to seek to the end instead of the
8325         start to determine whether we can seek at all. This fixes the case
8326         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8327         seeks for everything afterwards fail. Fixes #400656
8328
8329 2007-01-25  Wim Taymans  <wim@fluendo.com>
8330
8331         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8332         Add some refcount debugging.
8333         Make gst_static_caps_get threadsafe, which is needed when autoplugging
8334         in multiple streaming threads.
8335
8336 2007-01-25  Wim Taymans  <wim@fluendo.com>
8337
8338         Patch by: David Schleef <ds at schleef dot org>
8339
8340         * docs/libs/gstreamer-libs-sections.txt:
8341         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8342         * libs/gst/base/gstadapter.h:
8343         API: gst_adapter_copy() that can reduce the amount of memcpy when
8344         getting data from the adapter. Fixes #388201.
8345
8346 2007-01-25  Edward Hervey  <edward@fluendo.com>
8347
8348         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8349         In print statements, "%x" is for guint. Fixes build on macosx.
8350
8351 2007-01-24  Edward Hervey  <edward@fluendo.com>
8352
8353         * plugins/elements/gstmultiqueue.c:
8354         (gst_multi_queue_loop):
8355         Small fix.
8356         (single_queue_overrun_cb), (single_queue_underrun_cb),
8357         (single_queue_check_full), (gst_single_queue_new):
8358         Implement single queue growth system.
8359         This uses the extra-size properties, and will grow single queues by
8360         that much if one goes full whereas there are others empty. This is
8361         called extra-mode in the code.
8362         When a single queue's levels go back below the initial max-size
8363         limits, it is no longer in extra-mode. This is to ensure we don't
8364         consume too much memory.
8365         Fixes #399875
8366
8367 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
8368
8369         * gst/gst.c: (gst_init_get_option_group):
8370           Make warning about late g_thread_init() calls a bit more explicit,
8371           so that it's more obvious to application developers what they need
8372           to do if a user files a bug against their application.
8373
8374 2007-01-22  Edward Hervey  <edward@fluendo.com>
8375
8376         * plugins/elements/gstmultiqueue.c:
8377         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8378         Remove previous hack of unsetting the flushing flag for the source pad
8379         instead of activating it. Instead, fix the source pad activate function
8380         so that it no longer depends on having a parent set or not.
8381
8382 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
8383
8384         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8385
8386         * docs/manual/basics-bus.xml:
8387           Fix example code, gst_element_unref() doesn't exist any longer.
8388
8389 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
8390
8391         Patch by: Mark Nauwelaerts <manauw at skynet be>
8392
8393         * gst/gstpad.c:
8394           Fix two docs typoes (#399094).
8395
8396 2007-01-19  Edward Hervey  <edward@fluendo.com>
8397
8398         * docs/faq/gst-uninstalled:
8399         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8400         depending on libgstbaseutils can work in uninstalled environment.
8401
8402 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
8403
8404         * gst/gsttaglist.h:
8405         * gst/gsttagsetter.c:
8406         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8407         statement for new tag.
8408
8409 2007-01-17  Edward Hervey  <edward@fluendo.com>
8410
8411         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8412         When dynamically creating single queues, activate sinkpad before adding
8413         it.
8414         We should be doing the same thing for the source pad, but we can't
8415         since it would call a method which needs the parent to be set in order
8416         to work propertly. Instead of activating the source pad, we just unset
8417         the flushing flag, which is the minimal requirement for adding a pad
8418         to an element in a state greater than READY.
8419
8420 2007-01-17  Edward Hervey  <edward@fluendo.com>
8421
8422         * docs/faq/gst-uninstalled:
8423         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8424         Mac OS X.
8425
8426 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
8427
8428         * tests/check/gst/gstabi.c:
8429         * tests/check/gst/struct_hppa.h:
8430         * tests/check/libs/libsabi.c:
8431         * tests/check/libs/struct_hppa.h:
8432           Add ABI structs for HPPA (see #393796).
8433
8434 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
8435
8436         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8437           Actually write ABI structs to the file specified in the GST_ABI
8438           environment variable, as the message we print claims we would.
8439
8440 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8441
8442         * tests/check/gst/gsttask.c:
8443           Fix header comment.
8444
8445 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8446
8447         * gst/gsttaglist.c: (_gst_tag_initialize):
8448           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8449           previous two entries.
8450
8451 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8452
8453         * docs/gst/gstreamer-sections.txt:
8454         * gst/gsttaglist.c: (_gst_tag_initialize):
8455         * gst/gsttaglist.h:
8456           Add tag support for beat-per-minute.
8457
8458 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8459
8460         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8461         (gst_registry_binary_initialize_magic),
8462         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8463         (gst_registry_binary_save_pad_template),
8464         (gst_registry_binary_save_feature),
8465         (gst_registry_binary_save_plugin),
8466         (gst_registry_binary_write_cache),
8467         (gst_registry_binary_check_magic),
8468         (gst_registry_binary_load_pad_template),
8469         (gst_registry_binary_load_feature),
8470         (gst_registry_binary_load_plugin),
8471         (gst_registry_binary_read_cache):
8472         * gst/gstregistrybinary.h:
8473           Use glib types, cleanup comments, impement interfaces and uri-types.
8474
8475 2007-01-13  Andy Wingo  <wingo@pobox.com>
8476
8477         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
8478         getrange() to return buffers with other caps, while we fix
8479         demuxers and typefind, or otherwise change part-negotiation.txt.
8480
8481 2007-01-12  Andy Wingo  <wingo@pobox.com>
8482
8483         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
8484         Factor start/stop into this private function instead of partially
8485         in activate functions and partially in the change_state function.
8486         Fixes setup before the element has changed from READY->PAUSED, as
8487         is the case in pull-mode pipelines.
8488         (gst_base_transform_sink_activate_push)
8489         (gst_base_transform_src_activate_pull): Refactor to use
8490         gst_base_transform_activate().
8491         (gst_base_transform_change_state): Removed, not needed any more.
8492
8493         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8494         Truncate before fixating.
8495         
8496         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8497         Don't set_caps() if the result of fixating is ANY, as it's not
8498         supported, and not necessary in the case of a link with no
8499         template caps on either side. Fixes tests/check/libs/basesrc in
8500         some pull-mode tests.
8501
8502         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
8503         (gst_base_transform_init, gst_base_transform_sink_activate_push)
8504         (gst_base_transform_src_activate_pull): 
8505         Track the activation mode.
8506         (gst_base_transform_setcaps): In pull mode, when activating the
8507         src pad, after activating the sink pad, activate the sink pad's
8508         peer, as discussed in part-negotiation.txt.
8509
8510         * libs/gst/base/gstbasesrc.h: 
8511         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
8512         vmethod, as in basesink.
8513
8514         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
8515
8516         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
8517         mode, first proxy the setcaps to the peer pad.
8518         (gst_base_sink_pad_fixate): Add a fixate function that calls the
8519         new fixate vmethod.
8520         (gst_base_sink_default_activate_pull): Rename from
8521         gst_base_sink_activate_pull.
8522         (gst_base_sink_negotiate_pull): New function, performs negotiation
8523         in pull mode before calling ::activate_pull().
8524         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
8525         vmethod instead of the default implementation. I have no idea how
8526         this worked before. Negotiate before calling activate_pull.
8527
8528         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
8529         sink pads in pull mode. In addition to being correct, fixes
8530         filesrc ! decodebin ! identity ! fakesink.
8531         (gst_pad_get_range, gst_pad_pull_range): Don't call
8532         gst_pad_set_caps() if the caps changes; instead error out with
8533         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
8534
8535 2007-01-12  Andy Wingo  <wingo@pobox.com>
8536
8537         * docs/design/part-negotiation.txt: Update with more policy.
8538
8539 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8540
8541         * libs/gst/check/gstbufferstraw.h:
8542         * libs/gst/check/gstcheck.h:
8543           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
8544           belongs.
8545
8546 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8547
8548         * tests/check/Makefile.am:
8549         * tests/check/gst/.cvsignore:
8550         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
8551         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
8552         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
8553         (GST_START_TEST), (gst_tag_setter_suite):
8554           Add minimal unit test for beforementioned GstTagSetter bug.
8555
8556 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8557
8558         Patch by: René Stadler <mail at renestadler dot de>
8559
8560         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
8561           gst_tag_list_merge() returns a new list, so it's not the best idea
8562           to ingore its return value. Effectively meant that tags could only
8563           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
8564           Also add function guard to require a non-NULL taglist as input (has
8565           always been so due to gst_tag_list_copy(), just making it explicit).
8566
8567 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8568
8569         * docs/random/draft-missing-plugins.txt:
8570           Some additions: mention new API that is supposed to be used at the
8571           various stages; short blob about new gst-inspect introspection
8572           option; mention potential future problem with plugins that have
8573           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
8574
8575 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8576
8577         * tools/gst-inspect.c:
8578         (print_plugin_automatic_install_info_codecs),
8579         (print_plugin_automatic_install_info_protocols),
8580         (print_plugin_automatic_install_info), (main):
8581         Add --print-plugin-auto-install-info option to gst-inspect, so we can
8582         introspect plugin files and get machine-parsable output that corresponds
8583         to the last bit of the missing-plugin installer string (small gotcha:
8584         doesn't take into account ranks).
8585
8586 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
8587
8588         * configure.ac:
8589         * docs/gst/gstreamer-sections.txt:
8590         * gst/Makefile.am:
8591         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
8592         (gst_registry_lookup_locked):
8593         * gst/gstregistry.h:
8594         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8595         (gst_registry_binary_initialize_magic),
8596         (gst_registry_binary_save_string),
8597         (gst_registry_binary_save_pad_template),
8598         (gst_registry_binary_save_feature),
8599         (gst_registry_binary_save_plugin),
8600         (gst_registry_binary_write_cache),
8601         (gst_registry_binary_check_magic),
8602         (gst_registry_binary_load_pad_template),
8603         (gst_registry_binary_load_feature),
8604         (gst_registry_binary_load_plugin),
8605         (gst_registry_binary_read_cache):
8606         * gst/gstregistrybinary.h:
8607         * gst/gstregistryxml.c: (load_feature),
8608         (gst_registry_xml_read_cache):
8609           commit binary registry (disabled by default, see #359653)
8610
8611 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8612
8613         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
8614           Fix 'make check' too.
8615
8616 2007-01-10  Andy Wingo  <wingo@pobox.com>
8617
8618         * docs/design/part-negotiation.txt: Fix a typo, add a couple
8619         notes.
8620         
8621         * docs/design/part-negotiation.txt: Update with, um, one way that
8622         pull-mode negotiation might work?
8623
8624         * gst/gstpad.h: 
8625         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
8626         that the pad must be a src pad; makes sense to call it the other
8627         way in pull mode, and the logic is symmetric anyway.
8628
8629 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
8630
8631         * plugins/elements/gstfilesink.c:
8632           Include <stdio.h> for fseeko().
8633
8634 2007-01-10  Wim Taymans  <wim@fluendo.com>
8635
8636         * gst/gstevent.c:
8637         * gst/gstevent.h:
8638         Reserve LATENCY event.
8639
8640 2007-01-09  Wim Taymans  <wim@fluendo.com>
8641
8642         * docs/design/draft-latency.txt:
8643         Updates.
8644
8645 2007-01-09  Wim Taymans  <wim@fluendo.com>
8646
8647         * docs/design/draft-latency.txt:
8648         Updates.
8649
8650         * gst/gstelement.h:
8651         * gst/gststructure.c:
8652         * gst/gsttrace.c:
8653         Small typo fixes.
8654
8655 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
8656
8657         * tests/check/.cvsignore:
8658           Ignore test-registry.xml as well.
8659
8660 2007-01-09  Wim Taymans  <wim@fluendo.com>
8661
8662         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8663         unref data at the end when we are done with the pad.
8664
8665 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
8666
8667         * docs/gst/gstreamer-sections.txt:
8668         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
8669         (init_post), (gst_deinit), (gst_update_registry):
8670         * gst/gst.h:
8671           API: add gst_update_registry() (#391296).
8672
8673         * tests/check/Makefile.am:
8674         * tests/check/gst/gstregistry.c:
8675         * tests/check/gst/.cvsignore:
8676           Simple unit test for the above.
8677
8678 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
8679
8680         * gst/gstregistry.c: (gst_registry_scan_path_level):
8681           Plugin extension on HP-UX is .sl, add that to the list of approved
8682           plugin extensions (see #393796).
8683
8684         * tests/check/gst/gstpad.c: (GST_START_TEST):
8685           ulong => gulong. Fixes compilation with HP-UX compiler.
8686
8687         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8688           Fix compilation if valgrind headers are not available.
8689
8690 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
8691
8692         * win32/common/libgstreamer.def: 
8693           Add new exported function.
8694         * win32/vs6/libgstbase.dsp: 
8695           Add gstdataqueue.c to the build.
8696         * win32/vs6/libgstcoreelements.dsp:
8697           Add gstmultiqueue.c to the build.
8698         
8699 2007-01-06  Andy Wingo  <wingo@pobox.com>
8700
8701         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
8702         activate_pull(), providing for a way to specialize the process of
8703         spawning a thread to pull on the sink pad. There is a default
8704         implementation.
8705
8706         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
8707         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
8708         (gst_base_sink_init): Renamed pad activation functions (inserting
8709         "_pad" in their names). Refactor to use the new activate_pull
8710         vmethod, as appropriate.
8711         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
8712         default activate_pull function to start a task pulling from the
8713         sink pad, as before.
8714
8715         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
8716         on the pads if necessary, as in push()/chain(). Update docs.
8717         Shouldn't affect existing pull() usage as it is currently only
8718         being used on buffers without caps.
8719
8720 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8721
8722         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8723         (init_pre):
8724           Call g_thread_init() first thing in gst_init() / gst_check_init().
8725           When initialisation is done via gst_init_get_option_group() and
8726           GOption parsing, issue a warning if the GLib thread system has not
8727           been initialised yet by the time gst_init_get_option_group() is
8728           called, as it's quite likely other GLib functions such as
8729           g_option_context_new() have been called already then, and
8730           g_thread_init() must be called before any other GLib function. The
8731           application in question must be fixed in that case, since memory
8732           corruption might happen otherwise.
8733           We issue the warning because even if the GLib folks decide to work
8734           around the problem on their end in future, this is still an issue
8735           with all GLib versions >= 2.10.0, so we should warn until we depend
8736           on a GLib version we know to be safe.
8737           Update documentation as well.
8738           Closes bug #391278.
8739
8740 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8741
8742         * tools/gst-inspect.c: (main):
8743         * tools/gst-launch.c: (main):
8744         * tools/gst-typefind.c: (main):
8745         * tools/gst-xmlinspect.c: (main):
8746           Call g_thread_init() really really early, before any other GLib
8747           function (see #342564 and recent discussion on gtk-devel-list).
8748
8749 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8750
8751         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
8752
8753         * gst/gst_private.h:
8754         * gst/gstconfig.h.in:
8755         * gst/gstinfo.h:
8756           On win32, all the __declspec stuff for symbol exporting is
8757           apparently only needed with MSVC, but doesn't work with MingW.
8758           Fixes compilation with MingW and #391909.
8759
8760 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8761
8762         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
8763           Change some GST_ERROR_OBJECT that aren't really errors to
8764           GST_WARNING_OBJECT in order to reduce terminal spam.
8765
8766 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
8767
8768         * tests/check/Makefile.am:
8769           disable test again, as there seem to be still race problems
8770
8771 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
8772
8773         * tests/check/Makefile.am:
8774         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8775         (GST_START_TEST), (queue_suite):
8776           enable queue test again, add tests for the leaky behaviour
8777
8778 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
8779
8780         * configure.ac:
8781         * tests/examples/Makefile.am:
8782           Compile adapter test/example only if the required headers are
8783           available (fixes #391915).
8784
8785 2007-01-01  David Schleef  <ds@schleef.org>
8786
8787         * gst/gstplugin.c:
8788           Restore the previous signal handler for SIGSEGV instead of
8789           setting to default, since we may have stolen it away from
8790           someone.  (i.e., Mono)
8791
8792 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
8793
8794         * docs/random/draft-missing-plugins.txt:
8795           Some small additions and clarifications.
8796
8797 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
8798
8799         * gst/gstregistryxml.c: (gst_registry_save_escaped):
8800           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
8801           since that can lead to random memory corruptions and crashes
8802           (may or may not be related to #383244, #386711, and #386711).
8803
8804 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8805
8806         * tests/check/.cvsignore:
8807         * tests/check/Makefile.am:
8808           sync .cvsignome and CLEANFILES
8809
8810 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8811
8812         * tests/check/Makefile.am:
8813           fix distcheck
8814
8815 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8816
8817         * docs/design/part-states.txt:
8818           two tiny additional comments
8819         
8820         * gst/gststructure.c:
8821           doc fixing
8822
8823         * tests/check/Makefile.am:
8824         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8825         (GST_START_TEST):
8826           disable test for now, unless it gets fixed
8827
8828 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8829
8830         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8831         (GST_START_TEST):
8832           fix race in underrun test
8833
8834 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8835
8836         * tests/check/elements/.cvsignore:
8837           ignore more
8838
8839         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8840         (GST_START_TEST):
8841           try to narrow test failure
8842
8843 2006-12-21  David Schleef  <ds@schleef.org>
8844
8845         * plugins/elements/gstfakesrc.c:
8846           Use g_random_int_range(), since it produces better random
8847           numbers in a range than almost-correct floating point code.
8848
8849 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8850
8851         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
8852         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8853         (gst_check_teardown_sink_pad):
8854           do not automatically (de)activate pads
8855
8856         * tests/check/Makefile.am:
8857         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8858         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
8859           add new, yet simple tests for queue
8860
8861         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
8862         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
8863         * tests/check/elements/filesrc.c: (cleanup_filesrc),
8864         (GST_START_TEST):
8865         * tests/check/elements/identity.c: (cleanup_identity):
8866           consistent pad (de)activation
8867
8868 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
8869
8870         Patch by: Sebastian Dröge  <slomo ubuntu com>
8871
8872         * libs/gst/base/gstcollectpads.c:
8873           Fix two doc typos (#387866).
8874
8875 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
8876
8877         * docs/manual/advanced-dparams.xml:
8878           Fix typo (g_object_control_properties() doesn't exist).
8879
8880 2006-12-19  Edward Hervey  <edward@fluendo.com>
8881
8882         * gst/gstsegment.c: (gst_segment_set_seek):
8883         Fine tune the cases where the segment start/stop values are really
8884         updated.
8885         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8886         Add tests for the return values of gst_segment_set_seek().
8887
8888 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
8889
8890         * gst/gst.c:
8891           Docs typo fix.
8892
8893         * plugins/elements/gstqueue.c: (gst_queue_class_init),
8894         (gst_queue_init):
8895           Fix incorrect documentation and flesh it out a bit more.
8896           Set default values for the max properties on the GParamSpec as well,
8897           so it shows up correctly in gst-inspect.
8898
8899 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
8900
8901         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
8902           Correct docs of queue, add more detail and crosslink it more.
8903
8904 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
8905
8906         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8907           Print additional debug info when the stream isn't perfectly
8908           timestamped; don't try to use invalid durations.
8909
8910 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
8911
8912         * docs/design/Makefile.am:
8913           Dist new design docs.
8914
8915 2006-12-16  Wim Taymans  <wim@fluendo.com>
8916
8917         Patch by: Sjoerd Simons <sjoerd at luon dot net>
8918
8919         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
8920         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8921         (gst_collect_pads_stop), (gst_collect_pads_event),
8922         (gst_collect_pads_chain):
8923         * libs/gst/base/gstcollectpads.h:
8924         Add refcounting to the collectpads data so we can track when it's safe
8925         to free the data. Fixes #383382.
8926
8927 2006-12-15  Wim Taymans  <wim@fluendo.com>
8928
8929         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8930         (gst_collect_pads_remove_pad):
8931         Automatically activate/deactivate pads when they are added to a
8932         started/stoped collectpads.
8933
8934 2006-12-15  Wim Taymans  <wim@fluendo.com>
8935
8936         * gst/gstelement.c: (gst_element_add_pad):
8937         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
8938         * gst/gstpad.c: (gst_pad_init):
8939         Set pads to FLUSHING when they are created. Check, warn and fix when a
8940         demuxer adds an inactive pad to itself when running. Fixes #339326.
8941
8942 2006-12-15  Wim Taymans  <wim@fluendo.com>
8943
8944         * gst/gstelement.c: (gst_element_class_init),
8945         (gst_element_default_send_event), (gst_element_send_event),
8946         (gst_element_default_query), (gst_element_query):
8947         Expose default element send_event and query handling as vmethods that
8948         subclasses can chain up to.
8949
8950 2006-12-15  Wim Taymans  <wim@fluendo.com>
8951
8952         * gst/gstelement.c: (gst_element_set_state_func):
8953         Small documentation fixes.
8954
8955 2006-12-15  Wim Taymans  <wim@fluendo.com>
8956
8957         * docs/design/draft-latency.txt:
8958         Checked in draft for handling latency in pipelines.
8959
8960 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8961
8962         * Makefile.am:
8963         * gstreamer.doap:
8964         * gstreamer.spec.in:
8965           adding .doap file
8966
8967 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
8968
8969         * gst/gst.c: (init_pre), (init_post):
8970           init_pre() and init_post() might be called via our GOptionGroup or
8971           from gst_init(), and we should skip both of them if we've already
8972           been initialised, otherwise we will init some things twice or add
8973           two default log functions.
8974
8975 2006-12-13  Edward Hervey  <edward@fluendo.com>
8976
8977         * docs/manual/basics-bus.xml:
8978         No, gst_main_loop does not exist. Its g_main_loop.
8979         Discovered by somebody who abused the copy-paste technique of coding :)
8980
8981 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
8982
8983         * gst/gstghostpad.c:
8984           Log ghostpad debug stuff to the GST_PADS category as well rather
8985           than just to the default category.
8986
8987 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
8988
8989         * configure.ac:
8990         * gst/gst.c: (init_pre):
8991           Add some basic system details such as OS and architecture
8992           to the debug output if possible, courtesy of uname().
8993
8994 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
8995
8996         * docs/gst/running.xml:
8997           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
8998           environment variables.
8999
9000 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
9001
9002         * tests/check/gst/gstbin.c: (GST_START_TEST):
9003         It is acceptable to have a refcount of 2 or 3 at this point in the
9004         test, because the pipeline might be just posting its state_change
9005         message. The next line then waits for that message to appear using
9006         bus_poll, so that should be fine too.
9007
9008 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
9009
9010         * gst/gst.c: (ensure_current_registry_forking):
9011         Ignore EINTR when reading from the child registry pipe.
9012         Explicitly ignore the return value from close, since it makes no
9013         difference.
9014
9015         * gst/gstminiobject.c: (gst_mini_object_ref),
9016         (gst_mini_object_unref):
9017         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
9018
9019         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
9020         When removing cached plugins, remove their features too, so they're
9021         not visible after they've disappeared.
9022
9023         * gst/gstutils.c: (prepare_link_maybe_ghosting):
9024         In the unlikely case that we are linking pads with no parents, don't
9025         crash trying to get the non-existent parent bin.
9026
9027         * gst/parse/grammar.y:
9028         Output debug in the PIPELINE category
9029
9030 2005-03-08  Wim Taymans  <wim@fluendo.com>
9031
9032         Patch by: René Stadler <mail at renestadler dot de>
9033
9034         * gst/gstclock.c: (gst_clock_new_periodic_id):
9035         Reject invalid clock times for interval of periodic ids.
9036         Fixes ##383506.
9037
9038 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
9039
9040         * gst/gstelementfactory.c: (gst_element_factory_create):
9041         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9042         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9043         * tools/gst-inspect.c: (print_element_info):
9044         Fix refcounting of gst_plugin_feature_load to match the docs. 
9045         Fixes: #380129
9046
9047 2006-12-07  Wim Taymans  <wim@fluendo.com>
9048
9049         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
9050         (gst_base_sink_get_position):
9051         Improve debugging of events.
9052
9053 2006-12-07  Wim Taymans  <wim@fluendo.com>
9054
9055         Patch by: René Stadler <mail at renestadler dot de>
9056
9057         * gst/gstclock.c: (gst_clock_id_wait):
9058         Make period ids add the interval to the origial requested time instead
9059         of the possibly updated time which can be wrong when there are multiple
9060         waiters for the same id. Fixes #382592.
9061
9062         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
9063         (gst_system_clock_id_wait_jitter_unlocked),
9064         (gst_system_clock_id_wait_jitter):
9065         Fix restart in the async notify thread when an async entry is added to
9066         the front of the list. Fixes #381492. 
9067
9068         * tests/check/gst/gstsystemclock.c: (store_callback),
9069         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
9070         Added test for multiple async waits.
9071         Added test for async wait order.
9072
9073 2006-12-07  Wim Taymans  <wim@fluendo.com>
9074
9075         * gst/gstbin.c: (gst_bin_query):
9076         Add some more docs about the POSITION query.
9077
9078 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
9079
9080         * configure.ac:
9081         Bump version nano - back to CVS.
9082
9083 === release 0.10.11 ===
9084
9085 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
9086
9087         * configure.ac:
9088           releasing 0.10.11, "Love never runs on time"
9089
9090 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
9091
9092         * win32/common/libgstbase.def:
9093         * win32/common/libgstreamer.def:
9094         * win32/vs8/libgstbase.vcproj:
9095         * win32/vs8/libgstcoreelements.vcproj:
9096         * win32/vs8/libgstreamer.vcproj:
9097         Fix compilation on win32 under VS8
9098         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9099         Partially fixes #381175
9100
9101 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
9102
9103         * gst/gstvalue.c: (gst_value_compare_fraction):
9104         If someone is foolish enough to compare 2 fractions with denominator =
9105         0, return UNORDERED rather than aborting.
9106
9107 2006-11-28  Edward Hervey  <edward@fluendo.com>
9108
9109         * libs/gst/base/Makefile.am:
9110         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
9111         (gst_data_queue_base_init), (gst_data_queue_class_init),
9112         (gst_data_queue_init), (gst_data_queue_new),
9113         (gst_data_queue_cleanup), (gst_data_queue_finalize),
9114         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
9115         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
9116         (gst_data_queue_is_empty), (gst_data_queue_is_full),
9117         (gst_data_queue_set_flushing), (gst_data_queue_push),
9118         (gst_data_queue_pop), (gst_data_queue_drop_head),
9119         (gst_data_queue_set_property), (gst_data_queue_get_property):
9120         * libs/gst/base/gstdataqueue.h:
9121         New GstDataQueue object for threadsafe queueing. Most useful for
9122         elements that need some queueing functionnality.
9123         * docs/libs/gstreamer-libs-docs.sgml:
9124         * docs/libs/gstreamer-libs-sections.txt:
9125         Insert documentation for GstDataQueue
9126         * plugins/elements/Makefile.am:
9127         * plugins/elements/gstelements.c:
9128         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
9129         (gst_multi_queue_class_init), (gst_multi_queue_init),
9130         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
9131         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
9132         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
9133         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
9134         (gst_multi_queue_loop), (gst_multi_queue_chain),
9135         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
9136         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
9137         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
9138         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
9139         (wake_up_next_non_linked), (compute_next_non_linked),
9140         (single_queue_overrun_cb), (single_queue_underrun_cb),
9141         (single_queue_check_full), (gst_single_queue_new):
9142         * plugins/elements/gstmultiqueue.h:
9143         New multiqueue element, using GstDataQueue. Used for queuing multiple
9144         streams.
9145         Closes #344639 and #347785
9146
9147 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
9148
9149         * docs/pwg/advanced-types.xml:
9150           add more missing type details
9151
9152         * tools/gst-run.c: (main):
9153           remove unused variable
9154
9155 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
9156
9157         * docs/libs/Makefile.am:
9158         * docs/libs/gstreamer-libs.types:
9159           add types of base classes to enable gobject specific stuff in the docs
9160
9161         * docs/random/ensonic/embedded.txt:
9162           more ideas about isolating platform specific things
9163
9164 2006-11-20  Wim Taymans  <wim@fluendo.com>
9165
9166         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
9167
9168         * libs/gst/check/gstcheck.h:
9169         Fix compilation and running against 0.9.4. Fixes #377332.
9170
9171 2006-11-20  Wim Taymans  <wim@fluendo.com>
9172
9173         * gst/gstsegment.c: (gst_segment_set_seek),
9174         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9175         (gst_segment_to_running_time):
9176         Fix boundary checking in to_running_time() and to_stream_time().
9177         Fixes #377183.
9178
9179         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9180         stream and running time can now be calculated for the complete
9181         clipped segment.
9182
9183 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
9184
9185         * gst/gstpad.c: (gst_pad_push_event):
9186           Can't access event structure after giving away ownership of
9187           the event.
9188
9189 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
9190
9191         * docs/random/ensonic/embedded.txt:
9192         * docs/random/ensonic/profiling.txt:
9193         * docs/random/ensonic/receipies.txt:
9194           more thinking
9195
9196 2006-11-13  Wim Taymans  <wim@fluendo.com>
9197
9198         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9199
9200         * gst/gstpad.c:
9201         Fix documentation for gst_pad_dispatcher. Fixes #374475.
9202
9203 2006-11-13  Wim Taymans  <wim@fluendo.com>
9204
9205         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
9206
9207         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9208         Store new length in segment duration so we don't keep on calling the
9209         potentially expensize get_size() call. Fixes #370865.
9210
9211 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
9212
9213         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
9214
9215         * win32/common/libgstreamer.def:
9216           Add two missing symbols (#366492).
9217
9218 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
9219
9220         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
9221         (gst_adapter_take_buffer):
9222         Fix format string to use all its arguments.
9223         Remove useless >= check on a guint
9224
9225 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9226
9227         * tests/examples/adapter/.cvsignore:
9228         Ignore build file as commanded by the build-bot
9229
9230 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9231
9232         * tests/examples/adapter/Makefile.am:
9233         * tests/examples/adapter/adapter_test.c: (run_test_take),
9234         (run_test_take_buffer), (run_tests), (main):
9235
9236         Add new files from the previous commit
9237
9238 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9239
9240         * Makefile.am:
9241         * configure.ac:
9242         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9243         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9244         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9245         * libs/gst/base/gstadapter.h:
9246         * tests/check/libs/adapter.c: (create_and_fill_adapter),
9247         (GST_START_TEST), (gst_adapter_suite):
9248         * tests/examples/Makefile.am:
9249         Do some optimisation work in GstAdapter to avoid copies in more cases.
9250         It could still do slightly better by merging buffers when
9251         gst_buffer_is_span_fast is true, but is already faster. 
9252
9253         Also, avoid traversing a single-linked list to append each incoming 
9254         buffer inside the adapter.
9255
9256         Add simple test app that times the adapter behaviour in different
9257         situations, and extend the unit test to check that bytes enter and
9258         exit the adapter in their original order.
9259
9260 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
9261
9262         * docs/random/draft-missing-plugins.txt:
9263           Update: use element message instead of adding a new message
9264           type to the core; don't provide GStreamer API to initiate the
9265           plugin download, just provide API to compose the strings needed
9266           and let an external libgimmestuff handle the rest.
9267
9268 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
9269
9270         * tools/gst-inspect.c: (print_element_properties_info):
9271         Print a string instead of 'unknown type' for GValueArray properties
9272
9273 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
9274
9275         * docs/random/draft-missing-plugins.txt:
9276         More small fixes.
9277
9278 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9279
9280         * tests/examples/typefind/typefind.c: (type_found), (main):
9281           Make typefind element example work again (#371894); add a
9282           license header.
9283
9284 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9285
9286         * docs/random/draft-missing-plugins.txt:
9287           Commit initial draft about how to deal with missing plugins,
9288           needs work (API too).
9289
9290 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
9291
9292         * docs/pwg/advanced-types.xml:
9293           documents the new caps elements (see #363118)
9294
9295 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9296
9297         * gst/gstplugin.c: (gst_plugin_load_file):
9298         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9299         (gst_file_src_map_region), (gst_file_src_start):
9300         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9301         (gst_file_index_commit):
9302           Use g_strerror() instead of strerror() - we want UTF-8.
9303
9304 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9305
9306         Patch by: Peter Kjellerstedt <pkj at axis com>
9307
9308         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9309           Another printf fix (#371493).
9310
9311 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9312
9313         * tests/check/gst/gsttag.c:
9314           relicence (okay with author=company)
9315
9316 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9317
9318         * gst/gstpad.c: (gst_pad_event_default_dispatch),
9319         (gst_pad_push_event):
9320           Enhance debug and improve docs
9321         
9322         * gst/gsturi.c:
9323           Fix docs
9324
9325 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9326
9327         * docs/random/ensonic/distributed.txt:
9328         * docs/random/ensonic/profiling.txt:
9329           more ideas
9330
9331 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9332
9333         * docs/gst/gstreamer-sections.txt:
9334           add new API and fix the build
9335           
9336         * gst/gstbin.c: (gst_bin_recalc_state):
9337         * gst/gstelement.c: (gst_element_message_full),
9338         (gst_element_get_state_func), (gst_element_set_state_func):
9339           use new API and improve logging
9340         
9341         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9342         * gst/gstutils.h:
9343           API: add function to get StateChangereturn names to improve logs 
9344
9345 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9346
9347         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9348           I'm considering shooting the next person to put strerror stuff
9349           in the translateable part of the message.
9350
9351 2006-11-03  Wim Taymans  <wim@fluendo.com>
9352
9353         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9354         Get the type and printf conversion specifiers right.
9355
9356 2006-11-03  Wim Taymans  <wim@fluendo.com>
9357
9358         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9359
9360         * gst/gstpad.c: (gst_pad_init), (pre_activate),
9361         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9362         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9363         Some small cleanups. Improve debugging.
9364         * gst/gstpad.h:
9365         Signal all waiting threads with a broadcast instead of just one.
9366         Fixes #369942.
9367
9368 2006-11-03  Wim Taymans  <wim@fluendo.com>
9369
9370         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9371         (gst_fd_src_create):
9372         Add some debugging. 
9373         Only update fd when it's different from the old.
9374
9375 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9376
9377         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9378           Printf fixes for PPC/OSX, take two (#369366).
9379
9380 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9381
9382         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
9383
9384         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9385         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9386         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9387           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9388           don't cast to long long for portability reasons, but use
9389           GLib's types instead.
9390
9391 2006-10-30  Michael Smith  <msmith@fluendo.com>
9392
9393         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9394           Get the arguments to lseek() the right way around.
9395           Fixes 367677.
9396
9397 2006-10-30  Wim Taymans  <wim@fluendo.com>
9398
9399         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9400
9401         * gst/gstinfo.h:
9402         _declspec should be __declspec (two underscores, not one). Fixes 366572.
9403
9404 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9405
9406         Patch by: Kjartan Maraas  <kmaraas at gnome org>
9407
9408         * docs/design/part-MT-refcounting.txt:
9409         * docs/random/wtay/capsnego2-docs:
9410         * gst/gstclock.c:
9411         * gst/gstxml.c:
9412           Typo fixes (#366212).
9413
9414 2006-10-28  Wim Taymans  <wim@fluendo.com>
9415
9416         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9417
9418         * gst/gst.c:
9419         * win32/common/libgstbase.def:
9420         * win32/common/libgstreamer.def:
9421         * win32/vs8/libgstbase.vcproj:
9422         * win32/vs8/libgstcontroller.vcproj:
9423         Add needed entries in .def files.
9424         Use HAVE_UNISTD_H.
9425         Rearrange def files in vs8 solutions. Fixes #366286.
9426
9427 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9428
9429         * win32/common/gstconfig.h:
9430           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9431           hand-made win32 gstconfig.h. Fixes #366321.
9432
9433 2006-10-27  Wim Taymans  <wim@fluendo.com>
9434
9435         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9436         (gst_ghost_pad_new_full):
9437         Make acceptcaps return TRUE when we don't have a target, just like
9438         setcaps does.
9439
9440 2006-10-27  Wim Taymans  <wim@fluendo.com>
9441
9442         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9443         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9444
9445 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
9446
9447         * gst/gststructure.c: (gst_structure_id_set_value):
9448           If someone tries to set a non-UTF8 string field on a structure,
9449           don't just print a warning, but also ignore the request and do
9450           not change/add that field to the structure.
9451
9452         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9453           Test for the above.
9454
9455 2006-10-25  David Schleef  <ds@schleef.org>
9456
9457         * gst/gstinfo.c:
9458           g_hash_table_insert() needs a cast to a non-const pointer duh.
9459
9460 2006-10-25  David Schleef  <ds@schleef.org>
9461
9462         * gst/gstinfo.c:
9463         * gst/gstinfo.h:
9464           Change name parameter of _gst_debug_register_funcptr to const
9465           to reflect the constness of its use in the function as well
9466           as to quiet a gcc warning.
9467
9468 2006-10-25  Edward Hervey  <edward@fluendo.com>
9469
9470         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9471         Don't push the buffer if it's empty.
9472         Closes #363095
9473
9474 2006-10-24  Wim Taymans  <wim@fluendo.com>
9475
9476         * gst/gstevent.h:
9477         Add small comment.
9478
9479         * libs/gst/base/gstbasetransform.c:
9480         (gst_base_transform_sink_eventfunc):
9481         Debug segment values *after* updating them as this is more
9482         interesting.
9483
9484 2006-10-23  Wim Taymans  <wim@fluendo.com>
9485
9486         * docs/design/part-events.txt:
9487         Update some docs.
9488
9489         * docs/design/part-block.txt:
9490         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9491         (gst_pad_push_event):
9492         Revert BLOCKING patch, it tries to be smart without really having a
9493         clear idea what or how. So, now we discard all FLUSHING events again on
9494         a blocking pad. Should fix gnonlin again.
9495
9496 2006-10-23  Wim Taymans  <wim@fluendo.com>
9497
9498         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9499
9500         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9501         (gst_base_src_start), (gst_base_src_activate_push):
9502         Make sure size is always initialized. Fixes #364388.
9503
9504 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
9505
9506         * docs/random/ensonic/distributed.txt:
9507           add some ideas about doing distributed processing
9508
9509         * docs/random/ensonic/profiling.txt:
9510           get_rusage look promising
9511
9512 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
9513
9514         * docs/manual/basics-helloworld.xml:
9515           Add a cast in example to fix compile warning
9516
9517 2006-10-18  Wim Taymans  <wim@fluendo.com>
9518
9519         * gst/gstsegment.c: (gst_segment_set_last_stop),
9520         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9521         Relax arg checking again, -1 is allowed.
9522
9523 2006-10-18  Wim Taymans  <wim@fluendo.com>
9524
9525         * gst/gstsegment.c: (gst_segment_set_last_stop),
9526         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9527         _set_last_stop() must be with a value != -1
9528         A _TYPE_SET to -1 means seek to 0.
9529         Calc last_stop correctly for negative rates.
9530         Make sure we work with positive durations when updating a segment.
9531
9532 2006-10-18  Wim Taymans  <wim@fluendo.com>
9533
9534         * docs/design/part-live-source.txt:
9535         * gst/gstclock.h:
9536         Small docs fixes.
9537
9538 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
9539
9540         * gst/gstbuffer.h:
9541           Add an explicit cast to GstBuffer** to keep old code that added an
9542           explicit cast to GstMiniObject** for gst_mini_object_replace()
9543           compiling without warning.
9544
9545 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
9546
9547         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
9548           check for validity of dates
9549
9550 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9551
9552         * docs/gst/gstreamer-sections.txt:
9553           Forgot this one, makes gtk-doc shut up.
9554
9555 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9556
9557         Patch by: Peter Kjellerstedt <pkj at axis com>
9558
9559         * gst/gstobject.h:
9560           Don't define xmlNodePtr to gpointer if the core was built with
9561           --disable-loadsave and --disable-registry, this will break
9562           applications that want to use libxml2 but are buildling against a
9563           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
9564           instead so we don't have to mess with the libxml2 namespace
9565           (#361675).
9566
9567 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9568
9569         * gst/gstbuffer.h:
9570           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
9571           type-punned pointer warnings.
9572
9573 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
9574
9575         * gst/gstelement.h:
9576           Add casts to the correct return type to state <=> state transition
9577           macros.
9578
9579 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
9580
9581         * docs/design/part-live-source.txt:
9582           describe howto handle latency
9583         
9584         * docs/random/ensonic/profiling.txt:
9585           more ideas
9586
9587         * tools/gst-plot-timeline.py:
9588           fix log parsing for solaris, remove unused function
9589
9590 2006-10-16  Wim Taymans  <wim@fluendo.com>
9591
9592         * docs/design/part-trickmodes.txt:
9593         * gst/gstevent.c:
9594         Update some docs regarding reverse playback.
9595
9596 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
9597
9598         Patch by: Marcus Granado  <mrc dot gran at gmail com>
9599
9600         * win32/vs8/grammar.vcproj:
9601           Error out with a warning if glib-genmarshal.exe is not in path,
9602           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
9603
9604 2006-10-13  Wim Taymans  <wim@fluendo.com>
9605
9606         * gst/gstsegment.c: (gst_segment_set_seek):
9607         When seeking to stop -1, set last_stop (current position) to the
9608         duration of the segment.
9609
9610 2006-10-13  Wim Taymans  <wim@fluendo.com>
9611
9612         * gst/gstelement.h:
9613         Clarify _NO_PREROLL a bit more.
9614
9615         * gst/gstevent.c:
9616         Fix docs.
9617
9618         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
9619         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
9620         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
9621         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
9622         due to wrong locking order. Fixes #361769.
9623         Remove some redundant/misplaced checks in pad_block.
9624
9625         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9626         For negative rates, count backwards from the duration.
9627
9628 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
9629
9630         * gst/gsterror.c: (_gst_library_errors_init):
9631           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
9632           up with something better).
9633
9634 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
9635
9636         * win32/vs6/libgstreamer.dsp:
9637         * win32/vs7/libgstreamer.vcproj:
9638         * win32/vs8/libgstreamer.vcproj:
9639           Don't reference glib-compat.c which is currently not used and not
9640           disted; add gstquark.c which was recently added. Fixes #361730.
9641
9642 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
9643
9644         * win32/common/libgstbase.def:
9645         * win32/common/libgstcontroller.def:
9646         * win32/common/libgstreamer.def:
9647           Add gst_caps_merge() and a bunch of other recently-added functions.
9648           Fixes #361732.
9649
9650 2006-10-11  Wim Taymans  <wim@fluendo.com>
9651
9652         * docs/plugins/gstreamer-plugins.args:
9653         * docs/plugins/inspect/plugin-coreelements.xml:
9654         * docs/plugins/inspect/plugin-coreindexers.xml:
9655         Update element args.
9656
9657         * gst/gstsystemclock.c:
9658         Small comment update.
9659
9660         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9661         (gst_tee_request_new_pad), (gst_tee_release_pad),
9662         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
9663         (gst_tee_sink_activate_pull):
9664         * plugins/elements/gsttee.h:
9665         Some tee loving:
9666         Add default property defines.
9667         Implement release pad function.
9668         Give properties better blubs etc.
9669         Activate pads before adding them to a running tee.
9670         Do simple buffer_alloc on the first requested pad.
9671         Post error when activation fails.
9672
9673 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
9674
9675         * gst/gst.c: (ensure_current_registry_forking):
9676           Check return value of write() to make compiler happy.
9677
9678 2006-10-11  Wim Taymans  <wim@fluendo.com>
9679
9680         Patch by: Sjoerd Simons <sjoerd at luon dot net>
9681
9682         * plugins/elements/gstqueue.c: (gst_queue_chain):
9683         Recheck queue filledness after signalling the overrun when we're about
9684         to leak downstream because we released the lock when emitting the signal
9685         and the queue could be empty again. Fixes #352345.
9686
9687 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
9688
9689         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
9690           Fix refcounting here too, just like we did for _new_valist() a few
9691           days ago (#357180) (thanks to René Stadler). Also remove all those
9692           'Since: 0.9' from the gtk-doc blobs.
9693
9694         * tests/check/libs/controller.c: (controller_refcount_new_list),
9695         (gst_controller_suite):
9696           Unit test for the above.
9697
9698 2006-10-10  Wim Taymans  <wim@fluendo.com>
9699
9700         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
9701
9702         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
9703         (gst_pad_save_thyself):
9704         Update some docs.
9705         Write pad direction in XML output. Fixes #345496.
9706
9707 2006-10-10  Wim Taymans  <wim@fluendo.com>
9708
9709         Patch by: René Stadler <mail at renestadler dot de>
9710
9711         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9712         (gst_controller_new_list), (_gst_controller_dispose),
9713         (_gst_controller_finalize), (_gst_controller_class_init):
9714         Take ref to controlled object so that it cannot disappear. 
9715         Fixes #357432.
9716
9717 2006-10-10  Wim Taymans  <wim@fluendo.com>
9718
9719         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9720         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9721         (gst_check_teardown_sink_pad):
9722         Activate/deactivate pads in setup/teardown respectively.
9723
9724 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9725
9726         Patch by: Josep Torra Valles <josep@fluendo.com>
9727
9728         * gst/Makefile.am:
9729         Cast values when making gstenumtypes.h.  This pacifies Forte
9730         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
9731         in the enumeration.
9732
9733 2006-10-09  Wim Taymans  <wim@fluendo.com>
9734
9735         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
9736         Rename some more @cur to @start to fix docs. 
9737
9738         * gst/gstsegment.c: (gst_segment_set_seek):
9739         Fix typo.
9740         time and start must always stay in sync as defined in design doc.
9741
9742         * gst/gsttaglist.c: (gst_tag_list_is_empty):
9743         Rename param to fix docs.
9744
9745         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9746         Check that start and time are in sync.
9747
9748         * tests/check/pipelines/parse-launch.c:
9749         (gst_parse_test_element_change_state):
9750         Activate pad before adding to the element.
9751
9752 2006-10-09  Wim Taymans  <wim@fluendo.com>
9753
9754         * docs/design/part-qos.txt:
9755         Fix typo.
9756
9757         * gst/gstevent.c:
9758         * gst/gstevent.h:
9759         Update seek event docs regarding negative rates.
9760         Rename @cur to @start. 
9761
9762         * gst/gstsegment.c: (gst_segment_set_seek):
9763         * gst/gstsegment.h:
9764         Update set_seek docs regarding negative rates.
9765         Correctly update last_stop to @stop when dealing with negative
9766         rates.
9767         Rename @cur to @start. 
9768
9769         * tests/check/gst/gstpad.c: (GST_START_TEST):
9770         Activate pads before trying to use them.
9771
9772         * tests/check/gst/gstsegment.c: (GST_START_TEST),
9773         (gst_segment_suite):
9774         Add simple check for segments and negative rates.
9775
9776 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
9777
9778         * gst/gsttaglist.c: (gst_tag_list_is_empty):
9779         * gst/gsttaglist.h:
9780         * docs/gst/gstreamer-sections.txt:
9781           API: add gst_tag_list_is_empty() (#360467).
9782
9783         * tests/check/gst/gsttag.c: (GST_START_TEST):
9784           And a test case.
9785
9786 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9787
9788         * gst/gstmessage.h:
9789         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
9790         a value that doesn't fit on enumeration.
9791
9792 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9793
9794         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9795         Remove local debugging system and use Gstreamer's instead.
9796
9797 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9798
9799         Patch by: Josep Torra Valles <josep@fluendo.com>
9800
9801         * common/m4/gst-error.m4:
9802         Disable warning of statement not reached on Forte.
9803         * gst/gstmessage.h:
9804         Fix warning on Forte (value doesn't fit on enumeration).
9805         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
9806         Fix warning on Forte (value doesn't fit on enumeration).
9807         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9808         DEBUG macro says it takes minimum of 2 args and so Forte
9809         complains about the use with just 1 arg.
9810         * plugins/elements/gstfdsink.c:
9811         * plugins/elements/gstfdsrc.c:
9812         * plugins/elements/gstfilesink.c:
9813         * plugins/elements/gstfilesrc.c:
9814         Use correct return type for the uri handler implementations.
9815
9816         All these fix warnings in Forte.  Fixes bug #360860.
9817
9818 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
9819
9820         * gst/gstelement.h:
9821           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
9822           format string, so don't use G_GNUC_PRINTF for those versions.
9823
9824 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
9825
9826         * gst/gsttaglist.c: (gst_is_tag_list):
9827         * gst/gsttaglist.h:
9828           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
9829
9830         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9831           Small test for the above.
9832
9833 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
9834
9835         * gst/gsttaglist.h:
9836           Less tabs, more spaces.
9837
9838 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
9839
9840         * gst/gstinfo.h:
9841           Those two function declarations do actually belong there, revert
9842           commit from yesterday that turned them intro macros.
9843
9844 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9845
9846         Patch by: Josep Torra Valles <josep@fluendo.com>
9847
9848         * gst/gst.c: (gst_init_get_option_group):
9849         Fix empty declaration and type mismatch.
9850         * gst/gstbin.c: (gst_bin_change_state_func):
9851         Fix type mismatch.
9852         * gst/gstelement.c: (gst_element_continue_state),
9853         (gst_element_set_state_func), (gst_element_change_state),
9854         (gst_element_change_state_func):
9855         Fix type mismatches.
9856         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
9857         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
9858         Cast as appropriate.
9859         * gst/gstobject.c: (gst_class_signal_connect):
9860         Cast as appropriate.  The function pointer parameter really
9861         has the wrong type but would break API if we change it.
9862         * gst/gstquery.c:
9863         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
9864         order of including string.h.
9865         * gst/gstutils.c: (gst_element_state_get_name):
9866         Remove unreachable line.
9867         * gst/gstxml.c: (gst_xml_parse_doc):
9868         Fix type mismatch.
9869         All these caught by Forte.
9870
9871 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9872
9873         Patch by: Josep Torra Valles <josep@fluendo.com>
9874
9875         * common/m4/gst-error.m4:
9876         Fixed bug #360151.
9877         We need to disable warnings on Forte for empty declarations
9878         due to gst-indent adding ;s to lines that just use macros
9879         where the macro actually doesn't need a ; at end to end
9880         statement.
9881
9882 2006-10-06  Wim Taymans  <wim@fluendo.com>
9883
9884         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
9885         (gst_file_sink_close_file), (gst_file_sink_event),
9886         (gst_file_sink_render):
9887         Add some FIXME for the NEWSEGMENT handling.
9888
9889 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9890
9891         * gst/parse/grammar.y:
9892         Remove static function gst_parse_element_lock as all it does
9893         is return.  Looks like cruft from 0.8.
9894
9895 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9896
9897         Patch by: Josep Torra Valles <josep@fluendo.com>
9898
9899         * common/m4/gst-error.m4:
9900         * configure.ac:
9901         * libs/gst/net/Makefile.am:
9902         Fix a compilation issue with Forte on Solaris.  inet_aton is in
9903         libresolv.
9904
9905 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
9906
9907         * gst/gstpad.c: (pre_activate):
9908         * gst/gstregistry.c: (gst_registry_scan_path_level):
9909         * gst/gstregistryxml.c: (load_plugin):
9910         * libs/gst/controller/gstcontroller.c:
9911         (gst_controlled_property_set_interpolation_mode):
9912         * libs/gst/dataprotocol/dataprotocol.c:
9913         (gst_dp_packet_from_event_1_0):
9914         * libs/gst/net/gstnetclientclock.c:
9915         (gst_net_client_clock_observe_times):
9916         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9917           Printf fixes.
9918
9919 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
9920
9921         * configure.ac:
9922         * docs/gst/gstreamer-sections.txt:
9923         * gst/gstconfig.h.in:
9924         * gst/gstelement.h:
9925         * gst/gstinfo.h:
9926           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
9927           whether we can use G_GNUC_PRINTF in other header files and at
9928           least check the printf format/arguments of debug messages and
9929           GST_ELEMENT_ERROR messages when the printf extension is not
9930           being used.
9931           Replace more tabs with spaces in gstinfo.h and remove two spurious
9932           function declarations in GST_DISABLE_DEBUG part with macros.
9933
9934 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
9935
9936         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
9937           More docs for the sync-message signal (mention that it is not
9938           emitted by default); log message structures of messages posted on
9939           the bus as well.
9940
9941 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
9942
9943         * gst/gst.c: (ensure_current_registry_forking):
9944         Use a pipe pair to receive status results from the forked child, and
9945         ignore the result from waitpid. Fixes #355499
9946
9947 2006-10-02  Wim Taymans  <wim@fluendo.com>
9948
9949         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
9950         (gst_ghost_pad_suite):
9951         Fix leak in check.
9952
9953 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
9954
9955         * gst/gstpad.c:
9956           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
9957
9958 2006-10-02  Edward Hervey  <edward@fluendo.com>
9959
9960         * docs/design/part-block.txt:
9961         Further explain the use of flushing on blocked pads.
9962         * docs/gst/gstreamer-sections.txt:
9963         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9964         (gst_pad_push_event):
9965         * gst/gstpad.h:
9966         Added new GstPadFlag : GST_PAD_BLOCKING.
9967         Adds the notion of pads really blocking, which enables to properly
9968         handle FLUSH_START/FLUSH_STOP events on blocked pads.
9969         Fixes #358999
9970         API: gst_pad_is_blocking()
9971         API: GST_PAD_IS_BLOCKING() macro
9972         API: GST_PAD_BLOCKING GstPadFlag
9973         
9974 2006-10-02  Wim Taymans  <wim@fluendo.com>
9975
9976         Patch by: mrcgran <mrc.gran at gmail dot com>
9977
9978         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
9979         Filter the proxied caps against the padtemplate if we have one.
9980
9981         * gst/gstquery.c: (gst_query_new_segment):
9982         Add include for gstinfo.h so that compilation with
9983         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
9984
9985 2006-10-02  Wim Taymans  <wim@fluendo.com>
9986
9987         Patch by: Alessandro Decina  <alessandro at nnva org>
9988
9989         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
9990         (gst_file_sink_set_location), (gst_file_sink_open_file),
9991         (gst_file_sink_close_file), (gst_file_sink_event),
9992         (gst_file_sink_render):
9993         Set file to NULL when closing filesink so that we can set a new filename
9994         in READY. Fixes #358613.
9995
9996 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
9997
9998         Patch by: Alessandro Decina  <alessandro at nnva org>
9999
10000         * gst/gstevent.c: (_gst_event_copy):
10001           Fix gst_mini_object_make_writable() and gst_event_copy() for events
10002           with event structures by setting the parent refcount address of the
10003           copied structure to the address of the refcount member of the newly
10004           copied event rather than the address of the refcount member of the
10005           original event. Fixes #358737.
10006
10007         * tests/check/gst/gstevent.c: (GST_START_TEST):
10008           Unit test for the above.
10009
10010 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
10011
10012         * docs/design/Makefile.am:
10013           Dist some more files.
10014
10015 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10016
10017         * tests/check/libs/controller.c: (GST_START_TEST),
10018         (gst_controller_suite):
10019           Add test for the previous fix; add some more tests
10020           for correct refcounting behaviour; fix a few leaks
10021           in test cases; call gst_controller_init() at start
10022           of all tests.
10023
10024 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10025
10026         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10027         (gst_controller_set_from_list):
10028           Don't g_return_val_if_fail() on timed values with invalid timestamps
10029           inside a critical section without unlocking the mutex. Spotted by
10030           René Stadler. (#357617)
10031           Also, fix up refcounting properly: when returning an existing
10032           controller, we should increase the reference only once and not
10033           once per property and when trying to control a property again
10034           we should also increase the refcount.
10035
10036 2006-09-29  Wim Taymans  <wim@fluendo.com>
10037
10038         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10039         * libs/gst/net/gstnettimeprovider.c:
10040         (gst_net_time_provider_thread):
10041         Stop reading commands when EOF as well.
10042
10043         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
10044         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
10045         * plugins/elements/gstidentity.c: (gst_identity_class_init):
10046         Unify description of the dump property.
10047
10048 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10049
10050         * tests/examples/manual/.cvsignore:
10051         OK, so it's actually cvsignore that needs changing. Stop laughing.
10052
10053 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10054
10055         * tests/examples/manual/Makefile.am:
10056         Gah, declare vars *before* using them
10057
10058 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10059
10060         * gst/gst.c: (init_pre), (scan_and_update_registry),
10061         (ensure_current_registry_nonforking),
10062         (ensure_current_registry_forking), (ensure_current_registry),
10063         (init_post), (gst_debug_help), (gst_deinit):
10064         * gst/gst_private.h:
10065         * gst/gstregistry.c: (gst_registry_finalize),
10066         (gst_registry_remove_features_for_plugin_unlocked),
10067         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10068         (gst_registry_scan_path),
10069         (_priv_gst_registry_remove_cache_plugins),
10070         (_priv_gst_registry_cleanup):
10071         * gst/gstregistry.h:
10072         Re-commit the registry changes, along with an extra fix:
10073           When a cached plugin is encountered at a different file path,
10074           update the stored path in the registry cache so that the parent
10075           process knows where it actually is now when it re-reads the registry
10076           cache. Fixes the thing that broke distcheck with the previous commit.
10077
10078         * tests/check/Makefile.am:
10079         Clean up files named 'core' too when running make clean.
10080
10081         * tests/examples/manual/Makefile.am:
10082         Set up a registry path for running these tests, and clean it properly
10083         for distcheck.
10084
10085 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10086
10087         * configure.ac:
10088         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
10089         want gmodule-no-export-2.0.pc instead so that we don't drag in
10090         --export-dynamic on every project that links to GStreamer.
10091
10092         Also, make our export regex only match the start of symbols, rather 
10093         than any symbol that contains '_gst' somewhere.
10094
10095         * libs/gst/check/Makefile.am:
10096         The libgstcheck we build does however need export-dynamic, as it
10097         produces some symbols that don't match our _gst... style regex.
10098         Fixes: #318031
10099
10100 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
10101
10102         * gst/gst.c: (init_pre), (scan_and_update_registry),
10103         (ensure_current_registry_nonforking),
10104         (ensure_current_registry_forking), (ensure_current_registry),
10105         (init_post), (gst_debug_help), (gst_deinit):
10106         * gst/gst_private.h:
10107         * gst/gstregistry.c: (gst_registry_finalize),
10108         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10109         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
10110         (_gst_registry_cleanup):
10111         * gst/gstregistry.h:
10112           Revert previous change until I figure out why it breaks distcheck.
10113
10114 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
10115
10116         * gst/gst.c: (init_pre), (scan_and_update_registry),
10117         (ensure_current_registry_nonforking),
10118         (ensure_current_registry_forking), (ensure_current_registry),
10119         (init_post), (gst_debug_help), (gst_deinit):
10120
10121           Make init_pre and init_post take the full complement of GOptionFunc
10122           args so they can return useful GErrors. Make the registry updating
10123           functions do so.
10124
10125           Call _priv_gst_registry_remove_cache_plugins after scanning files to
10126           ensure that the registry we're about to write out doesn't contain
10127           stale information about old-deleted plugin files.
10128
10129           Make _priv_gst_registry_remove_cache_plugins return a boolean so
10130           that deletion of plugin files is considered a registry change.
10131
10132         * gst/gst_private.h:
10133         * gst/gstregistry.c: (gst_registry_finalize),
10134         (gst_registry_remove_features_for_plugin_unlocked),
10135         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10136         (gst_registry_scan_path),
10137         (_priv_gst_registry_remove_cache_plugins),
10138         (_priv_gst_registry_cleanup):
10139         * gst/gstregistry.h:
10140         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
10141         by adding _priv prefix, so that they won't appear in the global
10142         symbol table. They still do atm though because of #318031. Move the
10143         prototypes to gst_private.h
10144
10145         When removing a plugin, remove all features for that plugin too. 
10146         Fixes #340878.
10147
10148 2006-09-27  Wim Taymans  <wim@fluendo.com>
10149
10150         * docs/random/moving-plugins:
10151         Make it clear that the "compiled-in descriptions" really mean
10152         the element details.
10153
10154         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10155         (gst_base_sink_wait_preroll):
10156         Update docs.
10157
10158         * docs/libs/gstreamer-libs-sections.txt:
10159         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10160         (gst_base_src_get_range), (gst_base_src_activate_push):
10161         * libs/gst/base/gstbasesrc.h:
10162         Added function to block while waiting for PLAYING, this function
10163         is used by live sources that block on the clock.
10164         API: gst_base_src_wait_playing()
10165
10166 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10167
10168         Patch by: Peter Kjellerstedt <pkj at axis com>
10169
10170         * Makefile.am:
10171           gst-element-check.m4 is generated and should therefore be
10172           copied from the build dir rather than the source dir (#357593).
10173           'make distcheck' hasn't noticed this because we were disting
10174           the file as well, so stop doing that.
10175
10176 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10177
10178         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10179           Add some tests for gst_caps_intersect().
10180
10181         * tools/gst-launch.c: (event_loop):
10182           Print all buffering percentages we get, even the 100% one.
10183
10184 2006-09-26  Wim Taymans  <wim@fluendo.com>
10185
10186         * tools/gst-inspect.c: (print_element_properties_info),
10187         (print_signal_info):
10188         Fix printing of flags to match the look of enums.
10189
10190 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10191
10192         * gst/gstelementfactory.c:
10193           Fix typo in docs blurb.
10194
10195 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10196
10197         * gst/gsturi.c: (search_by_entry):
10198           Don't assert/crash here if a uri handler doesn't return any
10199           supported protocols. The list of protocols could be generated
10200           dynamically at runtime or at plugin registration, and an error
10201           in the underlying library shouldn't be fatal (#353301).
10202
10203 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10204
10205         * gst/gstinfo.c:
10206           Fix warning if HAVE_PRINTF_EXTENSION is undefined
10207           (spotted by Peter Kjellerstedt).
10208
10209 2006-09-23  Wim Taymans  <wim@fluendo.com>
10210
10211         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
10212
10213         * libs/gst/base/gstbasesrc.c:
10214         (gst_base_src_default_check_get_range), (gst_base_src_start),
10215         (gst_base_src_activate_push), (gst_base_src_activate_pull),
10216         (gst_base_src_change_state):
10217         Match _start/_stop calls in the activate functions. Remove redundant
10218         _stop call from the state change function. Fixes #356910.
10219         Turn failure DEBUG into ERROR. 
10220
10221 2006-09-22  Wim Taymans  <wim@fluendo.com>
10222
10223         * docs/design/part-buffering.txt:
10224         * gst/gstmessage.c: (gst_message_new_buffering),
10225         (gst_message_parse_buffering):
10226         Update docs about buffering.
10227
10228         * docs/design/part-trickmodes.txt:
10229         Fix typo.
10230
10231 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
10232
10233         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10234         (gst_controller_new_list):
10235           Ref instances when returning them again (fixes #357180)
10236
10237 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
10238
10239         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10240           Don't forget to release proxy lock when there's an error.
10241
10242 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
10243
10244         * gst/gstcaps.h:
10245           Add extra initialisers for Caps things, to fix some plugin warnings
10246           when using -Wextra
10247
10248 2006-09-18  Wim Taymans  <wim@fluendo.com>
10249
10250         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10251           Also set template on the internal pad so that a getcaps from the 
10252           target pad returns the template caps.
10253
10254 2006-09-18  Wim Taymans  <wim@fluendo.com>
10255
10256         * gst/gstelement.c: (gst_element_post_message),
10257         (gst_element_dispose):
10258         Use _DEBUG_OBJECT some more.
10259
10260         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10261         Avoid typechecks.
10262
10263         * tools/gst-launch.c: (main):
10264         If the toplevel element is not a GstPipeline, it must be put in a
10265         pipeline so that a bus and clock is selected.
10266
10267 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10268
10269         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10270           JITTER, RATE, and LATENCY query should be handled by the
10271           default case and not by the CONVERT query code.
10272
10273 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10274
10275         * gst/gstformat.c: (gst_format_register):
10276           Fix locking order (must take lock before using n_values).
10277
10278         * gst/gstvalue.c: (gst_value_serialize_enum),
10279         (gst_value_deserialize_enum_iter_cmp),
10280         (gst_value_deserialize_enum):
10281           Fix serialisation/deserialisation of custom registered GstFormats.
10282
10283         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10284           Unit test for custom format serialisation/deserialisation.
10285
10286 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
10287
10288         * docs/pwg/building-boiler.xml:
10289         * plugins/elements/gstcapsfilter.c:
10290         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10291         section.
10292
10293 2006-09-16  Edward Hervey  <edward@fluendo.com>
10294
10295         * libs/gst/base/gstbasetransform.c:
10296         (gst_base_transform_buffer_alloc):
10297         Check if requested caps are the same as the sinks caps IF
10298         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10299         is FALSE.
10300         This fixes the renegotiation issues stated in #352827.
10301
10302 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10303
10304         * configure.ac:
10305         * docs/manual/advanced-autoplugging.xml:
10306         * tests/examples/Makefile.am:
10307         * tests/examples/manual/.cvsignore:
10308         * tests/examples/manual/Makefile.am:
10309         * tests/examples/manual/extract.pl:
10310           Extract the manual examples again like we used to do.
10311           Fix one of them.
10312
10313 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10314
10315         * win32/common/config.h:
10316           update for version
10317
10318 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
10319
10320         * gst/gsterror.c:
10321           Documents how to receive errors.
10322
10323 2006-09-15  Wim Taymans  <wim@fluendo.com>
10324
10325         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10326         (event_loop), (main):
10327         Added some comments here and there.
10328         Post an application message when an interrupt is caught instead of doing
10329         an uncontrolled state change.
10330         Clean up the event loop.
10331         Handle buffering messages, pause/resume the pipeline.
10332         Make shutdown because of an interrupt more reliable.
10333
10334 2006-09-15  Wim Taymans  <wim@fluendo.com>
10335
10336         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10337         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10338         (gst_base_sink_preroll_object):
10339         Make sure that our internal state is correct when we commit our state
10340         asynchronously. This solves a race where a state change to PLAYING
10341         could cause the sink to remain blocked in preroll in some situations.
10342
10343 2006-09-15  Wim Taymans  <wim@fluendo.com>
10344
10345         * tools/gst-inspect.c: (print_element_properties_info),
10346         (print_signal_info):
10347         List flags as hex so it's easier to deal with.
10348
10349 2006-09-15  Wim Taymans  <wim@fluendo.com>
10350
10351         * docs/libs/gstreamer-libs-sections.txt:
10352         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10353         (gst_base_sink_do_sync):
10354         * libs/gst/base/gstbasesink.h:
10355         Expose logic to wait for preroll so that subclasses such as audiosink
10356         can also use this method.
10357         API: gst_base_sink_wait_preroll()
10358
10359 2006-09-15  Wim Taymans  <wim@fluendo.com>
10360
10361         * gst/gstobject.c: (gst_object_set_parent):
10362         * gst/gstpipeline.c: (do_pipeline_seek):
10363         Small cleanups in docs and code.
10364
10365         * gst/gstsegment.c: (gst_segment_clip):
10366         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10367         if stop == start and start is in the segment, no clipping should be
10368         done. Also add a test for this.
10369
10370 2006-09-15  Wim Taymans  <wim@fluendo.com>
10371
10372         * docs/design/part-buffering.txt:
10373         * docs/gst/gstreamer-sections.txt:
10374         * gst/gstmessage.c: (gst_message_new_buffering),
10375         (gst_message_parse_buffering):
10376         * gst/gstmessage.h:
10377         Added methods to create and parse BUFFERING messages.
10378         Added preliminary docs about buffering.
10379         API: gst_message_new_buffering
10380         API: gst_message_parse_buffering
10381
10382 2006-09-06  Wim Taymans  <wim@fluendo.com>
10383
10384         * gst/gstbin.c:
10385         Update documentation.
10386
10387         * gst/gstelement.c: (gst_element_class_init),
10388         (gst_element_release_request_pad), (gst_element_set_clock),
10389         (gst_element_get_index), (gst_element_add_pad),
10390         (gst_element_remove_pad), (gst_element_get_random_pad),
10391         (gst_element_send_event), (gst_element_get_query_types),
10392         (gst_element_query), (gst_element_post_message),
10393         (gst_element_message_full), (gst_element_continue_state),
10394         (gst_element_lost_state), (gst_element_save_thyself),
10395         (gst_element_restore_thyself):
10396         Documentation updates.
10397         Rename last bit of the new-pad -> pad-added signal rename.
10398         Fix the case where an element query would only work if the source
10399         pad was linked.
10400         Avoid some useless type checking in message handling.
10401
10402         * gst/gstevent.c:
10403         * gst/gstevent.h:
10404         * gst/gstutils.c:
10405         Documentation updates.
10406
10407 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10408
10409         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10410           add an INFO line for when we actually update the fd
10411
10412 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10413
10414         * configure.ac:
10415           back to TRUNK
10416
10417 === release 0.10.10 ===
10418
10419 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
10420
10421         * configure.ac:
10422           releasing 0.10.10, "Pais"
10423
10424 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
10425
10426         * docs/manual/advanced-position.xml:
10427           Fix typo in sample code.
10428
10429 2006-09-05  Wim Taymans  <wim@fluendo.com>
10430
10431         * libs/gst/net/gstnetclientclock.c: (inet_aton),
10432         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10433         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10434         * libs/gst/net/gstnetclientclock.h:
10435         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10436         * libs/gst/net/gstnettimepacket.h:
10437         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10438         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10439         (gst_net_time_provider_thread), (gst_net_time_provider_new):
10440         * libs/gst/net/gstnettimeprovider.h:
10441         Make stuff compile on windows. Fixes #345295.
10442
10443 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10444
10445         * gst/gst.c: (ensure_current_registry_forking):
10446           Print better details when child was terminated by signal.
10447
10448 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10449
10450         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10451           Print a warning rather than g_assert() if a plugin feature
10452           is a URI handler but returns no protocols (#353976).
10453
10454 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
10455
10456         * docs/random/moving-plugins:
10457         Fix two typos.         
10458
10459 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
10460
10461         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10462           Fix locking order, handle NULL function values properly.
10463
10464         * gst/gstinfo.h:
10465           Fix docs.
10466
10467         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10468           Initialise variable before using it and fix debug statement to
10469           print the address of the function rather than the address of the
10470           variable on the stack holding the address of the function.
10471
10472 2006-09-01  Wim Taymans  <wim@fluendo.com>
10473
10474         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10475         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10476         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10477         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
10478         (gst_ghost_pad_parent_unset),
10479         (gst_ghost_pad_internal_do_activate_push),
10480         (gst_ghost_pad_internal_do_activate_pull),
10481         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10482         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10483         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10484         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
10485         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
10486         (gst_ghost_pad_new_no_target_from_template),
10487         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10488         More cleanups.
10489         Avoid needless typechecking in macros.
10490         Since the internal pad is always present and never changes, there is
10491         no need to locking or ref when retrieving it.
10492         Improve debugging a bit.
10493         Handle link errors when setting the target. Fixes #341029.
10494
10495 2006-09-01  Wim Taymans  <wim@fluendo.com>
10496
10497         * docs/libs/gstreamer-libs-sections.txt:
10498         * docs/plugins/gstreamer-plugins-sections.txt:
10499         Fix docs some more.
10500
10501         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10502         (gst_collect_pads_event):
10503         * libs/gst/base/gstcollectpads.h:
10504         Documentation updates.
10505         Free queued buffer when removing a pad.
10506
10507 2006-08-31  Michael Smith  <msmith@fluendo.com>
10508
10509         * gst/gstutils.c: (gst_element_link_pads),
10510         (gst_element_link_pads_filtered):
10511           Ensure that we set a capsfilter to NULL if we failed to link it
10512           when doing filtered linking, to avoid criticals.
10513
10514           No need to check for unreffing srcpad, which is explicly NULLed
10515           above (a trivial code cleanup).
10516
10517 2006-08-31  Wim Taymans  <wim@fluendo.com>
10518
10519         * docs/design/part-gstghostpad.txt:
10520         Update ascii art in documentation.
10521
10522         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
10523         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
10524         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10525         (gst_ghost_pad_internal_do_activate_push),
10526         (gst_ghost_pad_internal_do_activate_pull),
10527         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10528         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10529         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
10530         (gst_ghost_pad_set_target):
10531         Small cleanups and leak fixes.
10532         Remove some checks now that the internal pad is never NULL.
10533         Fix the case where linking pads without a target would create nasty
10534         criticals. Fixes #341029.
10535         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
10536         value of _set_target().
10537
10538         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10539         (gst_ghost_pad_suite):
10540         Some more tests for creating and linking untargeted ghostpads.
10541
10542 2006-08-31  Edward Hervey  <edward@fluendo.com>
10543
10544         * docs/gst/gstreamer-sections.txt:
10545         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
10546         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10547         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
10548         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
10549         (gst_ghost_pad_new_from_template),
10550         (gst_ghost_pad_new_no_target_from_template):
10551         * gst/gstghostpad.h:
10552         Refactored *_new() functions.
10553         Templates are now used as a g_object_new() parameter.
10554         Use template in _do_getcaps() if we don't have a target.
10555         Small documentation cleanups.
10556         Added two new constructors:
10557         gst_ghost_pad_new_from_template()
10558         gst_ghost_pad_new_no_target_from_template()
10559         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10560         (gst_ghost_pad_suite):
10561         Added tests for new ghostpad instanciation functions.
10562
10563         API additions: gst_ghost_pad_new_from_template,
10564         gst_ghost_pad_new_no_target_from_template
10565
10566 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
10567
10568         * docs/random/ensonic/profiling.txt:
10569           Ideas about qos profiling.
10570
10571 2006-08-29  Wim Taymans  <wim@fluendo.com>
10572
10573         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
10574         Code cleanups.
10575         Fix memleak.
10576
10577 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
10578
10579         * gst/gstxml.c:
10580           Improve and detypofy docs.
10581
10582         * tests/check/Makefile.am:
10583         * tests/check/gst/.cvsignore:
10584         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
10585           Add a basic test suite for GstXML.
10586
10587 2006-08-29  Wim Taymans  <wim@fluendo.com>
10588
10589         * gst/gstelement.c: (activate_pads), (clear_caps),
10590         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10591         Clear the pad caps when the element shut down all of the pads and
10592         is not streaming data that could modify the caps. 
10593         Fixes #352958.
10594
10595 2006-08-28  Michael Smith  <msmith@fluendo.com>
10596
10597         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10598           Revert previous change; I misunderstood single-segment mode.
10599
10600 2006-08-28  Michael Smith  <msmith@fluendo.com>
10601
10602         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10603           Unset DISCONT on buffers when using single-segment mode.
10604
10605 2006-08-28  Wim Taymans  <wim@fluendo.com>
10606
10607         * gst/gstcaps.c: (gst_caps_merge_structure):
10608         * gst/gstcaps.h:
10609         Fix docs and indentation again.
10610
10611         * tests/check/gst/gstquery.c: (GST_START_TEST):
10612         Fix leak in tests and add some more tests.
10613
10614 2006-08-28  Edward Hervey  <edward@fluendo.com>
10615
10616         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10617         Inform GstSegment of the last stop position in order for the current
10618         segment to have a proper duration if it doesn't have a specific stop
10619         position from which a duration could be calculated.
10620         This bug was noticeable when a non-flushing, non-update new segment was
10621         followed by another segment (all buffers from the new segment were being
10622         dropped).
10623
10624 2006-08-28  Wim Taymans  <wim@fluendo.com>
10625
10626         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10627         Small comment update.
10628
10629         * plugins/elements/gstidentity.c: (gst_identity_class_init),
10630         (gst_identity_transform_ip):
10631         Drop-probability is broken, mention this in the code with a 
10632         FIXME and also in the property description.
10633         Make silent also be silent about the drop messages.
10634
10635 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
10636
10637         * docs/manual/appendix-win32.xml:
10638           Remove mention of popt, we don't depend on that any
10639           longer (#353136). Add some comments pointing out that
10640           this section is slightly outdated.
10641
10642 2006-08-28  Wim Taymans  <wim@fluendo.com>
10643
10644         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10645
10646         * gst/gstquery.c: (gst_query_new_segment):
10647         * tests/check/gst/gstquery.c: (GST_START_TEST):
10648         Initialize variables when creating a new segment query.
10649         Fixes #353121.
10650
10651 2006-08-28  Wim Taymans  <wim@fluendo.com>
10652
10653         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10654
10655         * gst/gstelement.c: (gst_element_get_bus):
10656         * tests/check/gst/gstelement.c: (GST_START_TEST):
10657         Check for NULL before _reffing the bus. Fixes #353122.
10658
10659 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
10660
10661         * docs/manual/basics-bus.xml:
10662           Docs update: fix wrong callback return value explanation; add
10663           some lines about the implicit relationship between main loop
10664           and main context; remove duplicate main loop variable declaration.
10665
10666 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
10667
10668         * tests/check/gst/gstcaps.c: (GST_START_TEST):
10669           Don't leak caps in unit test; add a few more simple
10670           checks. 
10671
10672 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
10673
10674         * docs/gst/gstreamer-sections.txt:
10675         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
10676         (gst_caps_structure_is_subset), (gst_caps_merge),
10677         (gst_caps_merge_structure):
10678         * gst/gstcaps.h:
10679         * libs/gst/base/gstbasetransform.c:
10680         (gst_base_transform_transform_caps):
10681         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10682           implement caps merging (fixes #352580)
10683
10684 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
10685
10686         * tools/Makefile.am:
10687         * tools/gst-plot-timeline.py:
10688           add debug-log plotting developer tool (#340674)
10689
10690 2006-08-23  Wim Taymans  <wim@fluendo.com>
10691
10692         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
10693         (gst_pad_stop_task):
10694         Improve debugging for task functions.
10695
10696         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
10697         (gst_task_start), (gst_task_pause), (gst_task_join):
10698         Make sure that the task function started and finished after a 
10699         join(). 
10700         Don't try to push the task function on the threadpool multiple
10701         times.
10702         Improve the g_warning message with some useful suggestions
10703         about how to fix the problem. 
10704
10705 2006-08-23  Wim Taymans  <wim@fluendo.com>
10706
10707         * gst/gstutils.c: (gst_pad_proxy_getcaps):
10708         Handle RESYNC correctly in _proxy_getcaps.
10709
10710 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
10711
10712         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
10713         (gst_xml_parse_memory), (gst_xml_get_element):
10714           Chain up to parent class in dispose function and also
10715           unref the elements in the toplevel_elements GList.
10716           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
10717           Always return a reference in gst_xml_get_element() rather
10718           than only sometimes.
10719
10720         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10721           Don't leak GstXml object.
10722
10723 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
10724
10725         * docs/gst/gstreamer-sections.txt:
10726         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
10727         (gst_caps_merge):
10728         * gst/gstcaps.h:
10729         * libs/gst/base/gstbasetransform.c:
10730         (gst_base_transform_transform_caps):
10731           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
10732           in a better way
10733
10734 2006-08-21  Edward Hervey  <edward@fluendo.com>
10735
10736         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
10737         Implement GObject::dispose virtual method in GstXML so we can free the
10738         top_elements GList.
10739
10740 2006-08-21  Wim Taymans  <wim@fluendo.com>
10741
10742         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
10743         (gst_buffer_create_sub):
10744         Copy duration/offset_end/caps when creating a subbuffer of the
10745         complete parent.
10746         Make the subbuffer read-only when we make the metadata writable for
10747         now. Fixes #351768.
10748
10749         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10750         Added check for metadata copy when creating subbuffers.
10751
10752 2006-08-21  Edward Hervey  <edward@fluendo.com>
10753
10754         * libs/gst/base/gstbasetransform.c:
10755         (gst_base_transform_buffer_alloc):
10756         Only call downstream buffer_alloc if transform element is passthrough
10757         or always_in_place. Closes #350449.
10758
10759 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10760
10761         * ChangeLog:
10762           ChangeLog surgery to add comments to previous changes
10763
10764 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10765
10766         * gst/gst.c:
10767           Add comments
10768
10769         * gst/gstpad.c: (gst_pad_set_active):
10770           Be more verbose in the log
10771
10772         * libs/gst/base/gstbasetransform.c:
10773         (gst_base_transform_transform_caps):
10774           Simplify caps to get rid of duplicates, fixes #345444
10775
10776 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10777
10778         * gst/gstvalue.c:
10779         * gst/gstvalue.h:
10780           Use these optimizations only internally.
10781
10782 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10783
10784         * gst/gstvalue.c: (gst_value_compare_list),
10785         (gst_value_compare_fraction_range),
10786         (gst_value_intersect_fraction_fraction_range),
10787         (gst_value_intersect_fraction_range_fraction_range),
10788         (gst_value_subtract_fraction_fraction_range),
10789         (gst_value_subtract_fraction_range_fraction_range),
10790         (gst_value_get_compare_func), (gst_value_compare),
10791         (gst_value_compare_with_func):
10792         * gst/gstvalue.h:
10793           Saves the expensive lookup of the compare function in many cases
10794          (#345444)
10795
10796 2006-08-18  Edward Hervey  <edward@fluendo.com>
10797
10798         * tests/check/gst/gstinfo.c: (gst_info_suite):
10799         Disable test that require gstdebug if it wasn't built in core.
10800
10801 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
10802
10803         * docs/random/ensonic/logging.txt:
10804           update ideas
10805           
10806         * gst/gstinfo.c: (gst_debug_log_default):
10807           reorder fields, save some columns, add optional color codes for log
10808           levels
10809
10810 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
10811
10812         * docs/random/ensonic/logging.txt:
10813           add ideas about making the logs a bit more useful
10814
10815 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
10816
10817         * docs/pwg/advanced-events.xml:
10818         * docs/pwg/titlepage.xml:
10819           Update for 0.10 API (#340627). Add myself
10820           to authors list.
10821
10822 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
10823
10824         * docs/libs/gstreamer-libs-docs.sgml:
10825         * docs/libs/gstreamer-libs-sections.txt:
10826         * libs/gst/check/gstbufferstraw.c:
10827           Make gstcheck stuff show up in docs (still needs to
10828           be documented properly though).
10829
10830 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
10831
10832         * docs/gst/gstreamer-sections.txt:
10833         * gst/Makefile.am:
10834         * gst/gst.c: (init_post):
10835         * gst/gst_private.h:
10836         * gst/gstquark.c: (_priv_gst_quarks_initialize):
10837         * gst/gstquark.h:
10838         * gst/gstquery.c: (gst_query_new_position),
10839         (gst_query_set_position), (gst_query_parse_position),
10840         (gst_query_new_duration), (gst_query_set_duration),
10841         (gst_query_parse_duration), (gst_query_new_convert),
10842         (gst_query_set_convert), (gst_query_parse_convert),
10843         (gst_query_new_segment), (gst_query_set_segment),
10844         (gst_query_parse_segment), (gst_query_new_seeking),
10845         (gst_query_set_seeking), (gst_query_parse_seeking):
10846         Add internal helpers for pre-registering quarks from static strings
10847         and using the quark values directly instead of looking them up when
10848         creating and parsing queries. Can be used for event construction too.
10849         Closes #350432.
10850
10851 2006-08-16  Wim Taymans  <wim@fluendo.com>
10852
10853         * gst/gstbin.c:
10854         Fix bogus docs.
10855
10856 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10857
10858         * gst/gstutils.c: (gst_util_set_value_from_string):
10859           Fix memleak (#351502).
10860
10861         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10862           Add unit test for most of gst_util_set_value_from_string()
10863           (not that one would want to encourage use of this function).
10864
10865 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10866
10867         * libs/gst/check/gstcheck.h:
10868           Use const gchar * variables in fail_unless_equals_string
10869           macro to avoid compiler warnings (and don't use tabs for
10870           indenting).
10871
10872 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10873
10874         * tools/gst-launch.c: (print_tag):
10875           More space on the left for the tag names, to cater
10876           for the 'extended comment' tag (not touching the
10877           string for the first line since it's translated).
10878
10879 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10880
10881         * libs/gst/check/gstcheck.h:
10882           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
10883           print something when they fail.
10884
10885 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
10886
10887         * docs/gst/gstreamer-sections.txt:
10888         * gst/gsttaglist.c: (_gst_tag_initialize):
10889         * gst/gsttaglist.h:
10890           API: add GST_TAG_EXTENDED_COMMENT (#350935).
10891           Also change merge function for GST_TAG_COMMENT to
10892           use_first.
10893
10894 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
10895
10896         * gst/gstinfo.c: (gst_debug_print_object):
10897           Make GST_PTR_FORMAT print messages as well.
10898
10899         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
10900         (GST_START_TEST), (gst_info_suite):
10901           More tests.
10902
10903 2006-08-14  Edward Hervey  <edward@fluendo.com>
10904
10905         * gst/gstelementfactory.c: (gst_element_register):
10906         If the GstElementClass doesn't have a GstElementDetails with all fields
10907         filled up correctly (longname, description AND author), then error out
10908         nicely instead of crashing.
10909
10910 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
10911
10912         * gst/gststructure.c:
10913           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
10914
10915         * gst/gstvalue.h:
10916           Expand on the difference between arrays and lists as we use them.
10917           
10918 2006-08-14  Wim Taymans  <wim@fluendo.com>
10919
10920         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10921         If the parent state change function failed, don't assume we can safely
10922         stop the source, this will be done when the pads are deactivated.
10923
10924 2006-08-14  Wim Taymans  <wim@fluendo.com>
10925
10926         * gst/gstbuffer.c:
10927         * gst/gsttask.c: (gst_task_join):
10928         Small doc updates.
10929
10930         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10931         (gst_pad_stop_task):
10932         When pad (de)activation failed for some reason, restore the old
10933         activation mode and set the pad to flushing instead of assuming the
10934         pad is deactivated.
10935         If the _task_join() failed, reinstall the task on the pad so that it can
10936         be stopped later and return an error.
10937
10938 2006-08-11  Andy Wingo  <wingo@pobox.com>
10939
10940         * configure.ac:
10941         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10942         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
10943         is only for users of API that don't want to see deprecated
10944         functions in the headers; people that want to compile out
10945         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
10946         CFLAGS. Fixes the build of multifdsink, or will soon..
10947
10948 2006-08-11  Wim Taymans  <wim@fluendo.com>
10949
10950         * docs/gst/gstreamer-sections.txt:
10951         Add GstClockClass vmethod docs.
10952
10953         * gst/gstcaps.h:
10954         Mark #endif with comment for associated #if
10955
10956         * gst/gstclock.c: (gst_clock_id_wait):
10957         * gst/gstclock.h:
10958         Add vmethod wait_jitter to avoid an unneeded _get_time() for
10959         most clock implementations.
10960         Document vmethods.
10961         Flesh out docs about resolution methods.
10962         API: GstClockClass::wait_jitter
10963
10964         * gst/gstsystemclock.c: (gst_system_clock_class_init),
10965         (gst_system_clock_async_thread),
10966         (gst_system_clock_id_wait_jitter_unlocked),
10967         (gst_system_clock_id_wait_jitter):
10968         Use base class wait_jitter variant for improved performance
10969         due to less clock polling.
10970
10971 2006-08-11  Edward Hervey  <edward@fluendo.com>
10972
10973         * gst/gst.c: (gst_init_check), (init_post):
10974         Set gst as being initialized before scanning/updating the registry,
10975         since there might be my python plugin loader that calls gst_init() and
10976         we don't want to loop back in.
10977         Closes #350879
10978
10979 2006-08-11  Wim Taymans  <wim@fluendo.com>
10980
10981         * docs/design/part-qos.txt:
10982         Bring docs in line with the code. Mostly the sign of the jitter was
10983         wrong in the docs. Fixes #349943.
10984
10985         * gst/gstclock.c:
10986         Fix the docs for the jitter.
10987
10988         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
10989         (gst_event_parse_tag), (gst_event_new_buffer_size),
10990         (gst_event_parse_buffer_size), (gst_event_parse_qos),
10991         (gst_event_new_seek), (gst_event_parse_seek),
10992         (gst_event_new_navigation):
10993         Make sure the GstStructure has no parent when creating custom
10994         events.
10995         Add some more argument checking so that we avoid 0.0 rates.
10996         Flesh out the docs for the QoS event some more.
10997
10998 2006-08-11  Wim Taymans  <wim@fluendo.com>
10999
11000         * docs/gst/gstreamer-sections.txt:
11001         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11002         (ensure_current_registry_forking), (ensure_current_registry),
11003         (parse_one_option), (parse_goption_arg), (gst_deinit),
11004         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
11005         * gst/gst.h:
11006         Doc updates.
11007         Added API and command line option to disable registry forking in
11008         addition to the environment variable.
11009         Constify some static arrays.
11010         Added some more debug.
11011         Don't deinit twice.
11012         API: gst_registry_fork_is_enabled()
11013         API: gst_registry_fork_set_enabled()
11014         API: --gst-disable-registry-fork command line option
11015         Fixes #348918.
11016
11017 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
11018
11019         * gst/gst.c: (gst_init):
11020           Fix typo in error message.
11021
11022 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
11023
11024         * libs/gst/controller/gstcontroller.h:
11025           fix ABI size-correction
11026
11027         * tests/check/libs/gdp.c: (gst_dp_suite):
11028           make tests that use deprecated API conditional
11029
11030 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
11031
11032         * docs/libs/gstreamer-libs-sections.txt:
11033         * libs/gst/controller/gstcontroller.c:
11034         (_gst_controller_get_property), (_gst_controller_set_property),
11035         (_gst_controller_init), (_gst_controller_class_init):
11036         * libs/gst/controller/gstcontroller.h:
11037         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
11038         (gst_object_set_control_rate):
11039           API: add gst_object_{s,g}et_control_rate(), add private data section,
11040           fix docs
11041
11042         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11043         * libs/gst/dataprotocol/dataprotocol.h:
11044           add deprecation guards to make gtk-doc happy and allow disabling cruft
11045
11046 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
11047
11048         * tests/check/Makefile.am:
11049         * tests/check/gst/.cvsignore:
11050           Let's enable the new unit test as well.
11051
11052 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
11053
11054         * configure.ac:
11055         * docs/gst/gstreamer-sections.txt:
11056         * gst/gstconfig.h.in:
11057         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
11058         (_gst_info_printf_extension_ptr),
11059         (_gst_info_printf_extension_segment):
11060           API: add GST_SEGMENT_FORMAT, which is a printf extension we
11061           register that lets us easily dump GstSegments into debug
11062           logs (#350419).
11063
11064         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
11065         (info_segment_format_printf_extension), (gst_info_suite):
11066           Add simple unit test that logs a bunch of different segments (not
11067           valgrinded at the moment because of leaks in
11068           gst_debug_add_log_function).
11069
11070 2006-08-09  Edward Hervey  <edward@fluendo.com>
11071
11072         * libs/gst/base/gstbasetransform.c:
11073         (gst_base_transform_buffer_alloc):
11074         Even if we can't figure out the proper format to request downstream,
11075         call buffer_alloc() downstream with the input parameters without setting
11076         the caps on the srcpad. This will force negotiation in the chain
11077         function.
11078         Closes #350449
11079
11080 2006-08-08  Edward Hervey  <edward@fluendo.com>
11081
11082         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
11083         Unlinking from a pad without a target is now a perfectly valid case
11084         which should NOT raise an assertion.
11085         This case would happen if a linked ghostpad its target set to NULL after
11086         it was previously linked.
11087
11088 2006-08-08  Edward Hervey  <edward@fluendo.com>
11089
11090         * tests/check/libs/gdp.c:
11091         Also comment out the test (see below).
11092
11093 2006-08-08  Edward Hervey  <edward@fluendo.com>
11094
11095         * tests/check/libs/gdp.c: (gst_dp_suite):
11096         Use the architecture information from config.h and not gcc macros
11097         in order to properly disable a test that fails on PPC64.
11098
11099 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
11100
11101         * gst/gstelement.c: (gst_element_remove_pad):
11102           Don't crash printing the warning if the pad has no parent.
11103
11104 2006-08-02  Wim Taymans  <wim@fluendo.com>
11105
11106         * libs/gst/dataprotocol/dataprotocol.c:
11107         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
11108         (gst_dp_crc), (gst_dp_header_payload_length),
11109         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
11110         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
11111         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
11112         (gst_dp_event_from_packet), (gst_dp_validate_header),
11113         (gst_dp_validate_payload):
11114         Make debug category static
11115         Constify the crc table.
11116         Do some more arg checking in public functions.
11117         Fix some docs and do some small cleanups.
11118
11119         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
11120         Add some more checks to see if GDP deals with bogus input.
11121
11122 2006-07-31  Wim Taymans  <wim@fluendo.com>
11123
11124         * gst/gstvalue.c: (gst_value_compare_list):
11125         Fix GstValueList comparison code. Fixes #347293.
11126
11127         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11128         Check to test GstValueList comparison.
11129
11130 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
11131
11132         * gst/gstelementfactory.c: (gst_element_factory_create):
11133         Remove unnecessary ref/unref pair
11134
11135         * gst/parse/grammar.y:
11136         Make sure to free the parse buffer on all code paths.
11137         Move a g_free up to the error handler where it's easier to see.
11138
11139         * tests/check/gst/gstevent.c: (test_event):
11140         Extending timeout for downstream travelling events to 10 seconds to
11141         hopefully avoid intermittent failure on the buildbots.
11142
11143         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
11144         Don't manually set the state of the src element - it will happen as a
11145         natural consequence of the pipeline changing state, and that way it
11146         will do it in the right order too.
11147
11148 2006-07-31  Wim Taymans  <wim@fluendo.com>
11149
11150         * libs/gst/base/gstbasetransform.c:
11151         (gst_base_transform_buffer_alloc):
11152         Use OBJECT_LOCK and refcounting to get the pad caps in the
11153         buffer_alloc function because the caps could change while we are
11154         busy with them. Fixes #349105
11155
11156 2006-07-31  Wim Taymans  <wim@fluendo.com>
11157
11158         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
11159         Protect _PAD_CAPS with OBJECT_LOCK.
11160
11161 2006-07-31  Wim Taymans  <wim@fluendo.com>
11162
11163         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11164         (gst_pad_get_property), (gst_pad_activate_pull),
11165         (gst_pad_activate_push), (gst_pad_set_blocked_async),
11166         (gst_pad_set_activate_function),
11167         (gst_pad_set_activatepull_function),
11168         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
11169         (gst_pad_set_getrange_function),
11170         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
11171         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11172         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
11173         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
11174         (gst_pad_set_acceptcaps_function),
11175         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11176         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
11177         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
11178         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
11179         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
11180         (gst_pad_configure_sink), (gst_pad_configure_src),
11181         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
11182         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
11183         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
11184         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
11185         (gst_pad_send_event):
11186         Use _DEBUG_OBJECT when it makes sense.
11187         Protect GST_PAD_CAPS with the OBJECT_LOCK.
11188         Small cleanups and code reflows.
11189         Avoid caps refcounting in _accept_caps.
11190         Refactor alloc_buffer so that the code performed on the peer is in a
11191         separate function. Also if the pad does not implement a buffer alloc
11192         function, we should still check if the pad is flushing before falling
11193         back to the default allocator.
11194
11195 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
11196
11197         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11198         Make all uses of identity and fakesink have silent=true to avoid
11199         serialising every passing data structure, which is breaking tests
11200         on FC4 for some unknown reason.
11201
11202 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
11203
11204         * gst/parse/Makefile.am:
11205         * gst/parse/grammar.y:
11206         * gst/parse/parse.l:
11207           Reverted previous patch as it required to bump the flex dependency to
11208           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
11209
11210 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
11211
11212         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
11213
11214         * gst/parse/Makefile.am:
11215         * gst/parse/grammar.y:
11216         * gst/parse/parse.l:
11217           push & pop the state of the lexer for reentrant use case
11218           Fixes #349180
11219
11220 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
11221
11222         * libs/gst/base/gstbasesrc.h:
11223           Note in the docs that the ::newsegment vfunc is not actually used by
11224           GstBaseSrc.
11225
11226 2006-07-28  Wim Taymans  <wim@fluendo.com>
11227
11228         * libs/gst/base/gstcollectpads.c:
11229         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11230         (gst_collect_pads_clear), (gst_collect_pads_flush),
11231         (gst_collect_pads_event), (gst_collect_pads_chain):
11232         When flushing a pad, also clear the queued buffer so that we don't
11233         accidentally use it when we shouldn't.
11234         Fix leaks by inreffing incomming buffer.
11235         Flush out queued buffers in case of errors.
11236         Fixes #347452.
11237
11238 2006-07-28  Wim Taymans  <wim@fluendo.com>
11239
11240         * docs/random/phonon-gst:
11241         Random notes about a Phonon backend.
11242
11243 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11244
11245         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11246         Extra debug output
11247         * tests/check/libs/gdp.c: (gst_dp_suite):
11248         Take a whack at fixing the ppc compile using a different define to
11249         disable the broken test.
11250
11251         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11252         Remove excess g_print()
11253
11254 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11255
11256         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11257         Oops, meant to uncomment this line too to dampen the noise a bit.
11258
11259 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11260
11261         * gst/parse/grammar.y:
11262         * gst/parse/parse.l:
11263         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11264         (GST_START_TEST), (parse_suite):
11265         Fix some of the leaks exposed by extending the parse-launch testsuite,
11266         and move the 3 I can't figure out into a separate test that won't run
11267         the pipelines unless the appropriate line is uncommented.
11268
11269 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11270
11271         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11272           Requesting 0 bytes before the end of the file should result in
11273           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11274           unit test.
11275
11276 2006-07-27  Wim Taymans  <wim@fluendo.com>
11277
11278         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11279         Fix useless assert, a uint is always positive.
11280
11281         * gst/gststructure.c: (gst_structure_nth_field_name),
11282         (gst_structure_foreach), (gst_structure_map_in_place):
11283         Check input arguments for public functions to avoid obvious crashes.
11284
11285         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11286         * plugins/elements/gstfakesink.h:
11287         Do less useless typechecking.
11288
11289 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11290
11291         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11292           Do not use mmap() by default since there are a number of error
11293           conditions that we would like to handle in a non-fatal way that
11294           will result in a SIGBUS if we use mmap(). Examples: external
11295           devices (USB harddrive, portable music player) being unplugged
11296           while in use; file on mounted CD/DVD that can't be read because
11297           the medium is partly damaged. Fixes #348455 and #348475.
11298
11299 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11300
11301         * gst/gstquery.h:
11302         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11303         rates are a gdouble
11304
11305 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
11306
11307         * gst/gstregistry.c:
11308           Move big documentation comment into class section header, so that it
11309           appears in the API docs.
11310
11311 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11312
11313         * docs/gst/gstreamer-sections.txt:
11314         Oops. Commit the docs additions too for new API.
11315         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11316
11317 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11318
11319         * gst/gststructure.c: (gst_structure_id_set),
11320         (gst_structure_id_set_valist):
11321         * gst/gststructure.h:
11322         Add API for setting values into structures without performing
11323         a quark lookup, if the appropriate quark is already known.
11324
11325         API: gst_structure_id_set
11326         API: gst_structure_id_set_valist
11327
11328         * gst/parse/grammar.y:
11329         * gst/parse/parse.l:
11330         Remove some dead code shown by the coverage information.
11331         Don't throw a critical g_warning when encountering a syntax error,
11332         just warn and let the normal error path handle it.
11333
11334         * plugins/elements/gstelements.c:
11335         Bump the rank of filesink up to PRIMARY so that it is preferred over
11336         gnomevfssink for file:// sink uri's
11337
11338         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11339         (GST_START_TEST), (run_delayed_test),
11340         (gst_parse_test_element_base_init),
11341         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11342         (gst_parse_test_element_change_state),
11343         (gst_register_parse_element), (parse_suite):
11344         Beef up the tests for parse syntax to check that more error cases
11345         fail as they are supposed to. Increases the test coverage a bit.
11346
11347 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
11348
11349         * docs/manual/basics-elements.xml:
11350           Fix gst_element_link() example.
11351
11352         * gst/gstutils.c:
11353           Mention in API docs that one should usually gst_bin_add()
11354           elements to a bin or pipeline before doing the linking.
11355           
11356 2006-07-26  Wim Taymans  <wim@fluendo.com>
11357
11358         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11359         (gst_subbuffer_get_type), (gst_buffer_create_sub):
11360         Avoid function call for known types by keeping the buffer and
11361         subbuffer GType global.
11362
11363         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11364         Random silly optimisations in read() path.
11365
11366 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11367
11368         * tools/gst-launch.c: (main):
11369           If the top-level of the parse is a normal bin, it doesn't do the
11370           right logic to run as a top-level element, so place it inside a
11371           pipeline.
11372
11373 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
11374
11375         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11376           Remove superfluous g_object_notify() calls, GObject does
11377           that for us automatically.
11378
11379 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
11380
11381         * gst/gstinfo.h:
11382           on Win32, use dllspec to export the debug category symbols
11383
11384 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
11385
11386         * gst/gsttaglist.c: (_gst_tag_initialize):
11387           Allow more than one GST_TAG_IMAGE per taglist.
11388
11389 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11390
11391         * gst/gstminiobject.c:
11392           update docs
11393         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11394         (gst_fd_src_create):
11395           log recurring events at LOG level
11396           add more debug for when the fd gets set
11397
11398 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11399
11400         * gst/gstparse.c: (gst_parse_launch):
11401           Also remove reentrance checks if flex is MT safe (#348179)
11402          Fix my empty ChangeLog entry below
11403
11404 2006-07-21  Andy Wingo  <wingo@pobox.com>
11405
11406         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11407
11408         * libs/gst/check/Makefile.am
11409         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11410         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
11411         * libs/gst/check/gstbufferstraw.h:
11412         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11413         functions, thus proving I am still a GStreamer haxor. OK I wrote
11414         them a long time ago, but anyways.
11415
11416 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11417
11418         * configure.ac:
11419         * gst/gstparse.c: (gst_parse_launch):
11420           Check for flex version and omit mutex if we have a MT save flex
11421           (fixes #348179)
11422
11423 2006-07-21  Wim Taymans  <wim@fluendo.com>
11424
11425         * gst/gstparse.c: (gst_parse_launch):
11426         Protect recursive calls to _parse with a recursive mutex
11427         and busy flag.
11428
11429 2006-07-21  Wim Taymans  <wim@fluendo.com>
11430
11431         * tests/check/gst/gstpad.c: (GST_START_TEST):
11432         Fix leak in test.
11433
11434 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
11435
11436         * gst/gstparse.c: (gst_parse_launch):
11437           Do not hang on recursive usage of gst_parse_launch()
11438
11439 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11440
11441         * gst/gsttaglist.c:
11442           Add some more docs, comments and FIXME 0.11s here and there
11443           and also fix some typos.
11444
11445 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11446
11447         * gst/gstsegment.h:
11448           Convert tabs to spaces for better readability. 
11449
11450 2006-07-20  Edward Hervey  <edward@fluendo.com>
11451
11452         * tests/check/libs/gdp.c: (gst_dp_suite):
11453         the test_buffer test fails at line 140 on ppc64 at the following
11454         check:
11455         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11456                 GST_BUFFER_FLAG_IN_CAPS),
11457                 "GST_BUFFER_IN_CAPS flag should have been copied !");
11458         See bug #348114 for more details.
11459
11460 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
11461
11462         * docs/pwg/advanced-scheduling.xml:
11463         * gst/gstpad.c:
11464           Fix typos (#348000).
11465
11466 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
11467
11468         * docs/pwg/intro-basics.xml:
11469           Fix wrong links (#347927).
11470
11471 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
11472
11473         * gst/gstregistry.h:
11474         * gst/gstregistryxml.c: (load_feature),
11475         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11476         * win32/common/config.h:
11477           make --disable-index work (#342564)
11478
11479 2006-07-18  Wim Taymans  <wim@fluendo.com>
11480
11481         Patch by: Peter Kjellerstedt <pkj at axis dot com>
11482
11483         * gst/Makefile.am:
11484         * gst/gsttrace.h:
11485         The attached patch adds two missing defines to gsttrace.h when tracing
11486         is disabled.  It also corrects one existing define.
11487         Fixes #347756.
11488
11489 2006-07-17  Wim Taymans  <wim@fluendo.com>
11490
11491         * docs/gst/gstreamer-sections.txt:
11492         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
11493         * gst/gst.h:
11494         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
11495         Add two functions to check and change the SIGSEGV behaviour
11496         when loading plugins.
11497         Don't mess with the SIGSEGV handler when we were told not to.
11498         Fixes #347794.
11499         API: gst_segtrap_is_enabled
11500         API: gst_segtrap_set_enabled
11501
11502 2006-07-14  Wim Taymans  <wim@fluendo.com>
11503
11504         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11505         * tests/check/elements/filesrc.c: (GST_START_TEST):
11506         Revert fix for regression in #347408 after release.
11507
11508 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
11509
11510         Patch by: Antoine Tremblay <hexa00 at gmail com>
11511
11512         * gst/gstutils.c: (gst_element_unlink):
11513           Free iterator when done (#347311).
11514
11515         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11516           And add a test case for this.
11517
11518 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
11519
11520         * configure.ac:
11521         Bump nano back to CVS
11522
11523 === release 0.10.9 ===
11524
11525 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
11526
11527         * configure.ac:
11528           releasing 0.10.9, "On the road again"
11529
11530 2006-07-13  Wim Taymans  <wim@fluendo.com>
11531
11532         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11533         * tests/check/elements/filesrc.c: (GST_START_TEST):
11534         Revert pull-0 fix for release. Disable check. Fixes #347408.
11535
11536 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11537
11538         * libs/gst/dataprotocol/dataprotocol.c:
11539         (gst_dp_event_from_packet_1_0):
11540           Fixes #347337: failure to deserialize event packets with
11541           empty payload (only event type)
11542
11543 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11544
11545         * gst/Makefile.am:
11546           do not install a .c file in the header directory
11547
11548 2006-07-13  Edward Hervey  <edward@fluendo.com>
11549
11550         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11551         GhostPad no longer implicitely use the padtemplates of the targets.
11552         Fixes #347384
11553
11554 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
11555
11556         * gst/gstvalue.c: (gst_value_compare_list),
11557         (gst_value_compare_array), (_gst_value_initialize):
11558         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11559         Make GstValueArray comparison be order dependent as designed.
11560         Add checks for value lists and value array comparisons.
11561         Fixes #347221
11562
11563 2006-07-11  Edward Hervey  <edward@fluendo.com>
11564
11565         * gst/gstbin.c: (activate_pads),
11566         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
11567         (gst_bin_change_state_func):
11568         (de)activate src pads before calling state_change on the childs.
11569         This is to avoid the case where a src ghostpad is blocked (holding the
11570         stream lock), which would block the deactivation of the ghostpad's
11571         target pad.
11572         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
11573         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
11574         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
11575         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
11576         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
11577         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
11578         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11579         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
11580         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
11581         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11582         (gst_ghost_pad_class_init),
11583         (gst_ghost_pad_internal_do_activate_push),
11584         (gst_ghost_pad_internal_do_activate_pull),
11585         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11586         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11587         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
11588         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
11589         GhostPads now create their internal GstProxyPad at creation (and not
11590         when they're linked, as it was being done previously).
11591         The internal and target pads are linked straight away.
11592         The data will also travel through the other pad in order to make
11593         pad blocking and probes non-hackish (the probe/block now really happens
11594         on the GhostPad and not on the target).
11595         * gst/gstpad.c: (gst_pad_set_blocked_async),
11596         (gst_pad_link_prepare), (gst_pad_push_event):
11597         Remove previous ghostpad cruft.
11598         * gst/gstutils.c: (gst_pad_add_data_probe),
11599         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11600         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11601         (gst_pad_remove_buffer_probe):
11602         Remove previous ghost pad cruft.
11603         Added more detailed debug statements.
11604         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11605         Fix the testsuite for refcounting changes.
11606         The comments about who has references were correct, but the refcount
11607         being checked wasn't the same (!?!).
11608
11609         Fixes #341029
11610
11611 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
11612
11613         * docs/gst/gstreamer-sections.txt:
11614         * gst/gstconfig.h.in:
11615         More docs for configuration options, add docs to gtk-doc.
11616
11617 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
11618
11619         * gst/Makefile.am:
11620         * gst/gstconfig.h.in:
11621         * win32/common/config.h:
11622         Fix build when disabling tracing (fixes #344016). Also start to document
11623         the defines that disable the sub-systems.
11624
11625 2006-07-10  Edward Hervey  <edward@fluendo.com>
11626
11627         * gst/gst.c: (ensure_current_registry_forking):
11628         let's make valgrind happy...
11629
11630 2006-07-09  Wim Taymans  <wim@fluendo.com>
11631
11632         * gst/gstelement.c: (activate_pads),
11633         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11634         Better pad activation code: Reset the collect value too on resync.
11635         Add some comments.
11636
11637 2006-07-09  Wim Taymans  <wim@fluendo.com>
11638
11639         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
11640         (gst_pad_activate_push):
11641         Use some more macros where it makes sense.
11642         Allow pad mode switching instead of asserting. When a pad
11643         is activated in one mode and we activate it in another, 
11644         deactivate it first before activating it in a different mode.
11645         Fixes #329198.
11646
11647 2006-07-08  Andy Wingo  <wingo@pobox.com>
11648
11649         * tools/gst-launch.c (main): Handle err == NULL.
11650
11651         * gst/gst.c (init_post, ensure_current_registry)
11652         (ensure_current_registry_forking)
11653         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
11654         factoring out the registry scanning into separate functions. Don't
11655         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
11656         Better environment var name/interface suggestions accepted.
11657
11658 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11659
11660         * gst/gstobject.c: (gst_object_set_name_default),
11661         (gst_object_set_name):
11662           Random micro-optimisation: don't use a hash table
11663           with strings as keys and the usual strdup/strcmp
11664           involved, but rather just use the GQuark of the
11665           type name as key, since it needs to be looked up
11666           anyway to get the type name string.
11667
11668         * tests/check/gst/gstobject.c: (GST_START_TEST):
11669           Fix various leaks.
11670
11671 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11672
11673         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
11674         (gst_bin_iterate_all_by_interface):
11675           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
11676           GTypes are gulongs and thus the top 4 bytes might be cut
11677           off on some platforms when doing GPOINTER_TO_INT, leading
11678           to invalid GTypes and bad things happening (see RH bug #179654).
11679           Also add a check to make sure the type passed in is really
11680           an interface type.
11681
11682 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11683
11684         * .cvsignore:
11685           Ignore more.
11686
11687 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11688
11689         * Makefile.am:
11690         * configure.ac:
11691         * gst-element-check.m4:
11692         * gst-element-check.m4.in:
11693           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
11694           instead of the unversioned gst-inspect (#324176, #168659).
11695
11696 2006-07-06  Wim Taymans  <wim@fluendo.com>
11697
11698         * gst/gstmessage.h:
11699         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
11700         warnings.
11701
11702 2006-07-06  Wim Taymans  <wim@fluendo.com>
11703
11704         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11705         (gst_base_src_wait), (gst_base_src_update_length),
11706         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
11707         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
11708         (gst_base_src_loop), (gst_base_src_start),
11709         (gst_base_src_activate_pull):
11710         Update docs.
11711         blocksize == 0 now means the default blocksize when working in push
11712         based mode.
11713         Remove some pointless asserts in _wait function.
11714         Fix offset/length calculations and EOS handling. We can now pull 0
11715         bytes as well, which is allowed.
11716         use _check_get_range() to decide if we can operate in _pull based
11717         mode.
11718         Fix refcounting leak when check_get_range function was not 
11719         implemented.
11720         API GstBaseSrc::blocksize range can be 0 too now (default)
11721
11722         * tests/check/elements/filesrc.c: (GST_START_TEST),
11723         (filesrc_suite):
11724         Added check to test _get_range() behaviour.
11725
11726 2006-07-06  Wim Taymans  <wim@fluendo.com>
11727
11728         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
11729         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
11730         (gst_pad_pull_range):
11731         * gst/gstpad.h:
11732         Lots of comments and docs added to the pad functions.
11733         Flesh out the expected behaviour of the get_range() functions.
11734
11735 2006-07-06  Wim Taymans  <wim@fluendo.com>
11736
11737         * gst/gstbus.h:
11738         * gst/gstclock.h:
11739         * gst/gstevent.h:
11740         * gst/gstiterator.h:
11741         * gst/gstpad.h:
11742         * gst/gstplugin.h:
11743         * gst/gsttask.h:
11744         Remove comma at end of enumerator list. 
11745
11746 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
11747
11748         * win32/common/libgstbase.def:
11749         * win32/common/libgstdataprotocol.def:
11750         * win32/common/libsgtreamer.def:
11751         Add new exported functions.
11752
11753 2006-07-05  Wim Taymans  <wim@fluendo.com>
11754
11755         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
11756         Add some more docs here and there.
11757
11758 2006-07-05  Wim Taymans  <wim@fluendo.com>
11759
11760         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
11761         (gst_base_sink_loop), (gst_base_sink_get_position):
11762         When operating in pull mode update the offset so that we
11763         read sequentially.
11764
11765 2006-07-05  Wim Taymans  <wim@fluendo.com>
11766
11767         * gst/gstregistryxml.c: (read_string):
11768         Avoid strdup. (will happen in libxml, but hey!)
11769
11770         * gst/gsturi.c:
11771         Add some more docs.
11772
11773 2006-07-05  Wim Taymans  <wim@fluendo.com>
11774
11775         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
11776         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
11777         (gst_buffer_suite):
11778         No point in checking if the size of the subbuffer > 0, the
11779         code handles it correclty as demonstrated by unit test.
11780         Also add a unit test for the zero sized _new_and_alloc and
11781         _copy. Fixes #346663.
11782
11783 2006-07-05  Wim Taymans  <wim@fluendo.com>
11784
11785         * libs/gst/base/gstbasetransform.c:
11786         (gst_base_transform_prepare_output_buffer),
11787         (gst_base_transform_buffer_alloc),
11788         (gst_base_transform_handle_buffer):
11789         Make sure the buffer we pass to transform_ip has a refcount of
11790         1 and thus is writable. Fixes #343196
11791
11792 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
11793
11794         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11795         (gst_file_src_init), (gst_file_src_set_property),
11796         (gst_file_src_get_property), (gst_file_src_map_region):
11797         * plugins/elements/gstfilesrc.h:
11798         Add "sequential" property, off by default, to use madvise and hint
11799         to the kernel that sequential access is desired.
11800         Touch all retrieved pages by default to ensure they are pulled
11801         into memory. (Closes #345720)
11802
11803 2006-07-03  Wim Taymans  <wim@fluendo.com>
11804
11805         * docs/design/part-block.txt:
11806         * docs/design/part-dynamic.txt:
11807         Small docs updates.
11808
11809 2006-07-03  Wim Taymans  <wim@fluendo.com>
11810
11811         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
11812         (gst_caps_unref), (gst_static_caps_get),
11813         (gst_caps_append_structure):
11814         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
11815         Use GSlice when the glib we build against is >= 2.10
11816
11817 2006-07-03  Wim Taymans  <wim@fluendo.com>
11818
11819         * gst/gstelement.c: (gst_element_pads_activate):
11820         Small cleanup in pad activation code.
11821
11822 2006-07-03  Wim Taymans  <wim@fluendo.com>
11823
11824         Patch by: Peter Kjellerstedt <pkj at axis dot com>
11825
11826         * gst/gst-i18n-app.h:
11827         * gst/gst-i18n-lib.h:
11828         * tools/gst-inspect.c: (print_signal_info):
11829         The attached patch will make the inclusion of gettext.h unconditional in
11830         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
11831         libintl.h in tools/gst-inspect.c.
11832         This allows use of --disable-nls again and fixes #344642.
11833
11834 2006-07-03  Edward Hervey  <edward@fluendo.com>
11835
11836         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
11837         Implement pad blocking on events according to part-block.txt.
11838         More comments on behaviour.
11839         * tests/check/gst/gstevent.c: (test_event):
11840         Send event to peer pad of blocked pad (else it will block).
11841
11842 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11843
11844         * libs/gst/check/gstcheck.c: (gst_check_message_error),
11845         (gst_check_run_suite):
11846           if we get the wrong message, give us the types as string
11847         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11848           Fix a translatable
11849         * tests/check/elements/filesrc.c: (GST_START_TEST):
11850           add a test for trying to open a non-existing file
11851
11852 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11853
11854         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
11855           add a test for adding self
11856
11857 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11858
11859         * libs/gst/check/gstcheck.h:
11860           add some assert_ as alias for fail_unless_*
11861         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
11862           increase test coverage
11863
11864 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11865
11866         * Makefile.am:
11867           include lcov.mak for lcov coverage generation
11868         * tools/Makefile.am:
11869           add to CLEANFILES
11870
11871 2006-07-02  Edward Hervey  <edward@fluendo.com>
11872
11873         * tests/check/elements/.cvsignore:
11874         moaping
11875
11876 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11877
11878         * configure.ac:
11879           don't set CFLAGS and friends for gcov, done from GST_GCOV now
11880         * tests/check/Makefile.am:
11881           clean up gcov files
11882
11883 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11884
11885         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
11886           remove gst_caps_simplify; it was not declared and not used
11887           and deprecated in 0.8
11888
11889 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11890
11891         * docs/faq/gst-uninstalled:
11892           don't put empty paths on PYTHONPATH
11893         * docs/gst/gstreamer-sections.txt:
11894           remove some symbols that are not there
11895
11896 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11897
11898         * gst/gstcaps.c: (gst_caps_compare_structures):
11899           whitespace fixes
11900         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11901         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11902           add more tests
11903
11904 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11905
11906         * libs/gst/dataprotocol/Makefile.am:
11907           build dataprotocol test by linking to the lib, instead of
11908           compiling the source, so we get coverage
11909         * tests/check/Makefile.am:
11910         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
11911         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
11912           add a test for filesrc
11913
11914 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11915
11916         * tests/check/gst/gststructure.c: (GST_START_TEST),
11917         (gst_structure_suite):
11918           Push coverage from 59.04% to 70.00%
11919
11920 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11921
11922         * tests/check/Makefile.am:
11923           gst-inspect every element; this makes sure that we also get
11924           coverage on element's get/set functions
11925
11926 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11927
11928         * configure.ac:
11929           set CFLAGS and friends to -O0 if gcov is being used
11930           add GCOV LIBS
11931         * gst/Makefile.am:
11932         * libs/gst/base/Makefile.am:
11933         * libs/gst/check/Makefile.am:
11934         * libs/gst/controller/Makefile.am:
11935         * libs/gst/dataprotocol/Makefile.am:
11936         * libs/gst/net/Makefile.am:
11937         * plugins/elements/Makefile.am:
11938         * plugins/indexers/Makefile.am:
11939           add makefile rules to generate gcov data and clean up
11940         * tests/check/Makefile.am:
11941           add a coverage target that generates an html overview
11942           of coverage data
11943
11944 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11945
11946         * tests/check/elements/fakesink.c:
11947         * tests/check/elements/fakesrc.c:
11948         * tests/check/elements/fdsrc.c:
11949         * tests/check/elements/identity.c:
11950         * tests/check/generic/sinks.c: (gst_sinks_suite):
11951         * tests/check/generic/states.c:
11952         * tests/check/gst/gst.c:
11953         * tests/check/gst/gstabi.c:
11954         * tests/check/gst/gstbin.c:
11955         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
11956         * tests/check/gst/gstbus.c: (gst_bus_suite):
11957         * tests/check/gst/gstcaps.c: (GST_START_TEST):
11958         * tests/check/gst/gstelement.c:
11959         * tests/check/gst/gstevent.c: (gst_event_suite):
11960         * tests/check/gst/gstghostpad.c:
11961         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
11962         * tests/check/gst/gstmessage.c: (gst_message_suite):
11963         * tests/check/gst/gstminiobject.c:
11964         * tests/check/gst/gstobject.c:
11965         * tests/check/gst/gstpad.c:
11966         * tests/check/gst/gstpipeline.c:
11967         * tests/check/gst/gstplugin.c:
11968         * tests/check/gst/gstquery.c: (gst_query_suite):
11969         * tests/check/gst/gstsegment.c: (gst_segment_suite):
11970         * tests/check/gst/gststructure.c:
11971         * tests/check/gst/gstsystemclock.c:
11972         * tests/check/gst/gsttag.c:
11973         * tests/check/gst/gsttask.c: (gst_task_suite):
11974         * tests/check/gst/gstutils.c:
11975         * tests/check/gst/gstvalue.c:
11976         * tests/check/libs/adapter.c:
11977         * tests/check/libs/basesrc.c:
11978         * tests/check/libs/collectpads.c:
11979         * tests/check/libs/controller.c:
11980         * tests/check/libs/gdp.c: (gst_dp_suite):
11981         * tests/check/libs/gstnetclientclock.c:
11982         * tests/check/libs/gstnettimeprovider.c:
11983         * tests/check/libs/libsabi.c: (libsabi_suite):
11984         * tests/check/libs/typefindhelper.c:
11985         * tests/check/pipelines/cleanup.c:
11986         * tests/check/pipelines/parse-launch.c:
11987         * tests/check/pipelines/simple-launch-lines.c:
11988         * tests/check/pipelines/stress.c: (stress_suite):
11989           use the new macro
11990
11991 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11992
11993         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
11994         * libs/gst/check/gstcheck.h:
11995           create a macro and function so that the simple unit test
11996           case can be just one macro to create main()
11997
11998 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
11999
12000         * gst/gstbin.c: (gst_bin_restore_thyself):
12001         * gst/gstxml.c: (gst_xml_make_element):
12002           Fix deserialisation from XML. Set parent manually
12003           instead of using gst_bin_add(), since gst_bin_add()
12004           will unlink all pads of the element being added.
12005           Fixes #341667.
12006
12007 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
12008
12009         Patch by: Peter Kjellerstedt <pkj at axis com>
12010
12011         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
12012           Fix missing g_strdup() and double free when using the
12013           --gst-plugin-load command line option (#346097).
12014
12015 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
12016
12017         * gst/gstinfo.c:
12018           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
12019
12020         * libs/gst/net/gstnetclientclock.c:
12021         * libs/gst/net/gstnettimeprovider.c:
12022           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
12023
12024 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
12025
12026         * docs/manual/advanced-dataaccess.xml:
12027           Fix buffer probe example compilation in
12028           ADM (#345708).
12029         
12030 2006-06-22  Edward Hervey  <edward@fluendo.com>
12031
12032         * gst/gstelement.c: (gst_element_pads_activate):
12033         We need to deactivate src pads first and then sink pads.
12034         The reason is the src pads might be blocking while holding the streaming
12035         lock, so we need to deactivate them first so that deactivating the sink
12036         pads doesn't block (since it will require the streaming lock).
12037
12038 2006-06-22  Wim Taymans  <wim@fluendo.com>
12039
12040         * libs/gst/base/gstbasetransform.c:
12041         (gst_base_transform_buffer_alloc):
12042         Forgot to remove two unneeded unrefs.
12043         Simplify a check _is_equal allready checks the obvious case.
12044
12045 2006-06-22  Wim Taymans  <wim@fluendo.com>
12046
12047         * docs/design/part-block.txt:
12048         Some docs about what pad_block should do.
12049
12050 2006-06-22  Wim Taymans  <wim@fluendo.com>
12051
12052         * gst/gstcaps.c: (gst_caps_replace):
12053         Fix crasher when passed NULL. Doc clarification.
12054         Optimize for the trivial case.
12055
12056         * gst/gstpipeline.c: (gst_pipeline_change_state):
12057         Small cleanups.
12058
12059         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12060         Small documentation cleanup.
12061
12062         * libs/gst/base/gstbasetransform.c:
12063         (gst_base_transform_buffer_alloc):
12064         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
12065         is what we need and it avoids a whole lot of redundant 
12066         refcount operations.
12067
12068 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
12069
12070         Patch by: Philip Jägenstedt  <philip at lysator liu se>
12071
12072         * docs/manual/advanced-dataaccess.xml:
12073           Fix 'Embedding static elements' section to use
12074           GST_PLUGIN_DEFINE_STATIC (#345607).
12075
12076 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12077
12078         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
12079           Attempt to 'fix' spuriously failing test case: it seems like the
12080           timeout of half a second is simply too small when the system is under
12081           load otherwise, and the timeout doesn't really seem to serve any
12082           particular purpose here. Give the pipeline a few seconds to preroll
12083           first, and then give it another half a second to go from PAUSED to
12084           PLAYING and marshal the message into the main thread.
12085
12086 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12087
12088         * tools/gst-feedback-m.m:
12089           Don't only use unversioned tools, try versioned tools as well
12090           (#345086).
12091
12092 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12093
12094         * gst/gstbus.c: (gst_bus_class_init):
12095           Fix some typos, make docs more explicit.
12096
12097 2006-06-20  Wim Taymans  <wim@fluendo.com>
12098
12099         * tests/check/gst/gstghostpad.c: (block_callback),
12100         (GST_START_TEST), (gst_ghost_pad_suite):
12101         Added some more ghostpad tests, mainly blocking
12102         and probes.
12103
12104 2006-06-16  Wim Taymans  <wim@fluendo.com>
12105
12106         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12107         (gst_file_sink_close_file), (gst_file_sink_do_seek),
12108         (gst_file_sink_event), (gst_file_sink_render):
12109         * plugins/elements/gstfilesink.h:
12110         Check if we can seek in the file instead of assuming
12111         we always can. Post an error when we are asked to seek in a
12112         non-seekable file (like a fifo). Fixes #343312.
12113         Some cleanups.
12114
12115 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
12116
12117         * tools/gst-launch.1.in:
12118           Un-garble (fourcc) bit in filtered caps section.
12119
12120 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
12121
12122         * docs/manual/advanced-autoplugging.xml:
12123         * docs/manual/basics-helloworld.xml:
12124         * docs/manual/highlevel-components.xml:
12125           Don't leak bus reference in sample code.
12126
12127 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
12128
12129         * autogen.sh:
12130           Add default for new --enable-plugin-docs switch.
12131
12132         * configure.ac:
12133           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
12134           Fixes #344039.
12135
12136         * docs/Makefile.am:
12137           Use new ENABLE_PLUGIN_DOCS conditional.
12138
12139 2006-06-14  Wim Taymans  <wim@fluendo.com>
12140
12141         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
12142         Make it clear with a FIXME and a real define what the #if 0
12143         previously disabled.
12144
12145 2006-06-14  Wim Taymans  <wim@fluendo.com>
12146
12147         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12148         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12149         * libs/gst/base/gstbasetransform.c:
12150         (gst_base_transform_sink_eventfunc):
12151         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12152         Don't randomly and silently reset a segment when the format 
12153         changes as this is a bug somewhere upstream. Fixes #330379.
12154
12155 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
12156
12157         Patch by: Wouter Paesen  <wouter at kangaroot net>
12158
12159         * libs/gst/controller/gstcontroller.c:
12160         (gst_controlled_property_new):
12161           Fix controlling of float properties (#344849).
12162
12163         * tests/check/libs/controller.c:
12164         (gst_test_mono_source_get_property),
12165         (gst_test_mono_source_set_property),
12166         (gst_test_mono_source_class_init), (GST_START_TEST):
12167           While we're at it, add some float stuff to unit test.
12168
12169 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12170
12171         * docs/README:
12172         * docs/images/gdp-header.svg:
12173           add a gdp image
12174         * docs/libs/Makefile.am:
12175         * docs/libs/gdp-header.png:
12176         * libs/gst/dataprotocol/dataprotocol.c:
12177           add it to the API docs
12178         * docs/manual/intro-motivation.xml:
12179           fix typo
12180
12181 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
12182
12183         * gst/gst.c: (scan_and_update_registry), (init_post):
12184           If the fork()'ed child process can't write the updated registry cache
12185           file to disk for some reason, make it exit with a failure exit code,
12186           so that the parent can then re-scan the plugins itself and update the
12187           registry structures in memory and work with that (rather than failing
12188           when creating elements because seemingly no plugins are available).
12189           Refactor registry scanning code into separate function for this and
12190           also separate fork() and non-fork() code paths. Fixes #344748.
12191
12192 2006-06-13  Wim Taymans  <wim@fluendo.com>
12193
12194         * docs/manual/advanced-dataaccess.xml:
12195         Fix wrong PluginDesc. Fixes #344755.
12196
12197 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
12198
12199         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12200           Fix silly bug that prevented us from creating
12201           ~/.gstreamer-0.10 and writing the registry in one
12202           go (the first call to g_mkstemp() would overwrite the
12203           placeholder in the template string, so the second call
12204           to g_mkstemp() after creating the missing directory
12205           would then error out with 'invalid argument').
12206
12207 2006-06-13  Edward Hervey  <edward@fluendo.com>
12208
12209         * gst/gst.c: (init_post):
12210         Free string.
12211
12212 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12213
12214         * gst/glib-compat-private.h:
12215         * gst/glib-compat.c:
12216         * gst/glib-compat.h:
12217         * gst/gstvalue.c: (gst_value_serialize_flags):
12218           remove GLib 2.6 compatibility code
12219
12220 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
12221
12222         * gst/parse/Makefile.am:
12223           Fix build with 'make -j N' even more (#340016).
12224
12225 2006-06-12  Wim Taymans  <wim@fluendo.com>
12226
12227         * docs/gst/gstreamer-sections.txt:
12228         Fix docs.
12229
12230 2006-06-12  Wim Taymans  <wim@fluendo.com>
12231
12232         * gst/gstsegment.c: (gst_segment_set_duration),
12233         (gst_segment_set_last_stop), (gst_segment_set_seek),
12234         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12235         (gst_segment_to_running_time), (gst_segment_clip):
12236         Use G_UNLIKELY to help the compiler a bit.
12237
12238 2006-06-12  Wim Taymans  <wim@fluendo.com>
12239
12240         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12241
12242         * gst/gstevent.c: (gst_event_get_type):
12243         * gst/gstmessage.c:
12244         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12245         (gst_pad_push):
12246         constify quark registration strings. Fixes #344115
12247         Avoid unneeded type checking is _pad_push() by internally
12248         calling gst_pad_chain_unchecked().
12249
12250 2006-06-12  Wim Taymans  <wim@fluendo.com>
12251
12252         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12253         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12254         (gst_subbuffer_finalize), (gst_buffer_create_sub),
12255         (gst_buffer_is_span_fast), (gst_buffer_span):
12256         Init _type for consistency.
12257         Use _FLAGS macro to avoid type check.
12258         Avoid unneeded type checks in subbufer code.
12259
12260 2006-06-12  Wim Taymans  <wim@fluendo.com>
12261
12262         * gst/gst.c: (gst_debug_help):
12263         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12264         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12265         (gst_plugin_feature_list_free):
12266         * gst/gstregistry.c: (gst_registry_add_plugin),
12267         (gst_registry_add_feature), (gst_registry_plugin_filter),
12268         (gst_registry_feature_filter), (gst_registry_find_plugin),
12269         (gst_registry_find_feature), (gst_registry_get_plugin_list),
12270         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12271         * gst/gstregistryxml.c: (load_feature),
12272         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12273         * gst/gstminiobject.c: (gst_mini_object_unref),
12274         (gst_mini_object_replace), (gst_value_mini_object_free),
12275         (gst_value_mini_object_copy):
12276         Use _CAST macros to avoid unneeded type checking.
12277         Added some more G_UNLIKELY.
12278
12279 2006-06-12  Wim Taymans  <wim@fluendo.com>
12280
12281         * gst/gstbuffer.h:
12282         Avoid unneeded type checking.
12283         API: GST_BUFFER_IS_DISCONT
12284
12285         * gst/gstminiobject.h:
12286         Avoid type check in flag accessor.
12287
12288         * gst/gstelementfactory.h:
12289         * gst/gstplugin.h:
12290         * gst/gstpluginfeature.h:
12291         Add _CAST macros.
12292         API: GST_ELEMENT_FACTORY_CAST
12293         API: GST_PLUGIN_CAST
12294         API: GST_PLUGIN_FEATURE_CAST
12295
12296 2006-06-12  Wim Taymans  <wim@fluendo.com>
12297
12298         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12299         (gst_object_unref):
12300         Add G_UNLIKELY in type registration.
12301         Avoid type check in _ref/_unref since that is also
12302         done in glib.
12303
12304 2006-06-12  Wim Taymans  <wim@fluendo.com>
12305
12306         * gst/gsterror.c: (gst_g_error_get_type):
12307         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12308         (gst_static_pad_template_get_type):
12309         * gst/gsttaglist.c: (gst_tag_list_get_type):
12310         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12311         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12312         * gst/gsturi.c: (gst_uri_handler_get_type):
12313         * gst/gstvalue.c: (gst_date_get_type):
12314         * gst/gstxml.c: (gst_xml_get_type):
12315         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12316         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12317         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12318         Add G_UNLIKELY in type registration.
12319
12320 2006-06-12  Wim Taymans  <wim@fluendo.com>
12321
12322         * tools/gst-inspect.c: (print_signal_info):
12323         Properly print enum values.
12324
12325 2006-06-12  Wim Taymans  <wim@fluendo.com>
12326
12327         * gst/gstinfo.c: (gst_debug_set_active),
12328         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12329         * gst/gstinfo.h:
12330         Add some G_[UN]LIKELY.
12331         Maintain __gst_debug_min to avoid formatting the arguments of
12332         debug messages that will be dropped anyway to avoid a lot of 
12333         overhead from the debugging system.
12334
12335 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12336
12337         * po/POTFILES.in:
12338         * po/POTFILES.skip:
12339           add missing files containing translatable strings, tell intltool about
12340           one exception
12341
12342 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12343
12344         * tests/check/libs/.cvsignore:
12345         add test-binary to ignore list
12346
12347 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12348
12349         * docs/libs/gstreamer-libs-docs.sgml:
12350         reorder (put dp into a chapter) and indent
12351
12352 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12353
12354         * configure.ac:
12355           back to HEAD
12356
12357 === release 0.10.8 ===
12358
12359 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
12360
12361         * configure.ac:
12362           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12363
12364 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12365
12366         * gst/gst.c: (init_post):
12367           move pid declaration to declaration block
12368
12369 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12370
12371         * gst/gst.c: (init_post):
12372           use _exit() instead of exit() in our forked child; this ensures
12373           that none of the registered exit handlers from whatever is using
12374           GStreamer get executed.  This fixes gnome-mixer-applet failing
12375           to load, because ORBit would shut down.
12376           Spotted by: Edward Hervey  <edward@fluendo.com>
12377           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
12378           Fixes #344474
12379
12380 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
12381
12382         * configure.ac:
12383           back to TRUNK
12384
12385 === release 0.10.7 ===
12386
12387 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
12388
12389         * configure.ac:
12390           releasing 0.10.7, "Soepeke, ik zie ou"
12391
12392 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12393
12394         * configure.ac:
12395         * po/af.po:
12396         * po/az.po:
12397         * po/bg.po:
12398         * po/ca.po:
12399         * po/cs.po:
12400         * po/de.po:
12401         * po/en_GB.po:
12402         * po/fr.po:
12403         * po/it.po:
12404         * po/nb.po:
12405         * po/nl.po:
12406         * po/ru.po:
12407         * po/sq.po:
12408         * po/sr.po:
12409         * po/sv.po:
12410         * po/tr.po:
12411         * po/uk.po:
12412         * po/vi.po:
12413         * po/zh_CN.po:
12414         * po/zh_TW.po:
12415         * win32/common/config.h:
12416           0.10.6.2 prerelease
12417
12418 2006-06-07  Wim Taymans  <wim@fluendo.com>
12419
12420         * gst/gstindex.c: (gst_index_gtype_resolver):
12421         * tools/gst-xmlinspect.c: (print_plugin_info):
12422         Fix leak spotted by coverity checker. Fixes #343827
12423         Fix another other leak found by paolo borelli.
12424
12425 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12426
12427         * libs/gst/dataprotocol/dataprotocol.c:
12428         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12429         (gst_dp_version_get_type), (gst_dp_init),
12430         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12431         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12432         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12433         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12434         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12435         (gst_dp_packetizer_free):
12436         * libs/gst/dataprotocol/dataprotocol.h:
12437           API: add a GstDPPacketizer object, and create/free functions
12438           API: add GstDPVersion enum
12439           Add 1.0 event function that uses the string serialization
12440           Serialize more useful buffer flags
12441           Fixes #343988
12442
12443 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12444
12445         * tests/check/Makefile.am:
12446         * tests/check/gst/gstabi.c:
12447         * tests/check/gst/struct_ppc64.h:
12448         * tests/check/libs/libsabi.c:
12449         * tests/check/libs/struct_ppc64.h:
12450           add ppc64 structure sizes
12451
12452 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12453
12454         * tests/check/Makefile.am:
12455         * tests/check/gst/gstabi.c:
12456         * tests/check/gst/struct_x86_64.h:
12457         * tests/check/libs/libsabi.c:
12458         * tests/check/libs/struct_x86_64.h:
12459           generate and add structure size lists for x86_64
12460
12461 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12462
12463         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12464         * libs/gst/check/gstcheck.h:
12465           factor out the method from tests that checks size of structures,
12466           and add code to generate the header containing these sizes
12467         * tests/check/gst/gstabi.c: (GST_START_TEST):
12468         * tests/check/gst/struct_i386.h:
12469         * tests/check/libs/libsabi.c: (GST_START_TEST):
12470         * tests/check/libs/struct_i386.h:
12471           use it
12472
12473 2006-06-06  Michael Smith  <msmith@fluendo.com>
12474
12475         * gst/gstsegment.h:
12476           Don't use c++-style comments, fixes #343929
12477
12478 2006-06-05  Edward Hervey  <edward@fluendo.com>
12479
12480         * gst/gst.c:
12481         plugin_paths is not used if we build without registry support.
12482
12483         * gst/gstsegment.c: (gst_segment_copy): 
12484         _copy() was always returning NULL...
12485
12486 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12487
12488         * libs/gst/dataprotocol/dataprotocol.c:
12489         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12490         (gst_dp_packet_from_event):
12491           factor out CRC code
12492
12493 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12494
12495         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
12496           make sure we unset caps
12497
12498 2006-06-02  Michael Smith  <msmith@fluendo.com>
12499
12500         * libs/gst/check/gstcheck.c: (gst_check_init),
12501         (gst_check_chain_func):
12502         * libs/gst/check/gstcheck.h:
12503           Add a cond/mutex to the check support lib, signal this whenever we
12504           add to the buffers list. This will allow tests to not busy-wait on
12505           the buffer-list.
12506
12507 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12508
12509         * libs/gst/dataprotocol/dataprotocol.c:
12510         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12511         (gst_dp_packet_from_event):
12512           factor out some common header init code
12513
12514 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12515
12516         * docs/libs/gstreamer-libs-sections.txt:
12517         * docs/libs/tmpl/gstdataprotocol.sgml:
12518         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
12519         * libs/gst/dataprotocol/dataprotocol.h:
12520           API: make gst_dp_crc() public
12521
12522 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
12523
12524         * plugins/indexers/gstindexers.c: (plugin_init):
12525         conditionally register fileindexer (fixes #343598)
12526
12527 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
12528
12529         * gst/gsttagsetter.h:
12530         Can't cast ifaces to a class
12531
12532         * libs/gst/net/gstnetclientclock.h:
12533         * libs/gst/net/gstnettimeprovider.h:
12534         * plugins/elements/gstfakesink.h:
12535         * plugins/elements/gstfakesrc.h:
12536         * plugins/elements/gstfdsink.h:
12537         * plugins/elements/gstfdsrc.h:
12538         * plugins/elements/gstfilesink.h:
12539         * plugins/elements/gstfilesrc.h:
12540         * plugins/elements/gstidentity.h:
12541         * plugins/elements/gstqueue.h:
12542         * plugins/elements/gsttee.h:
12543         * plugins/indexers/gstfileindex.c:
12544         * plugins/indexers/gstmemindex.c:
12545         * tests/old/examples/plugins/example.h:
12546         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
12547
12548 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12549
12550         * libs/gst/dataprotocol/dataprotocol.c:
12551         (gst_dp_header_from_buffer):
12552           make sure we zero the whole ABI-compatible area
12553
12554 2006-06-01  Wim Taymans  <wim@fluendo.com>
12555
12556         Patch by: Alessandro Decina <alessandro at nnva dot org>
12557
12558         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
12559         Make sure the EOS flag is cleared from pads after a flush
12560         or stop. Fixes #343538.
12561
12562         * tests/check/libs/collectpads.c: (GST_START_TEST),
12563         (gst_collect_pads_suite):
12564         Added test for collectpads reusage after EOS.
12565
12566 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
12567
12568         * gst/gst.c:
12569          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
12570         * win32/common/libgstbase.def:
12571          export gst_collect_pads_set_flushing
12572         * win32/common/libgstreamer.def:
12573          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
12574          gst_value_fraction_multiply
12575         * win32/vs6/gst_inspect.dsp:
12576          add a link to intl.lib
12577
12578 2006-05-30  Wim Taymans  <wim@fluendo.com>
12579
12580         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12581         (gst_collect_pads_chain):
12582         Handle the case where a pad is removed from the collection
12583         that could cause the other pads to become collectable.
12584
12585 2006-05-30  Wim Taymans  <wim@fluendo.com>
12586
12587         * gst/gstelement.c:
12588         Clarify the use of _release_request_pad() and
12589         _get_request_pad() a bit better.
12590
12591         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
12592         (gst_adapter_take_buffer):
12593         Fix some doc and comment typos.
12594
12595 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12596
12597         * docs/gst/gstreamer-sections.txt:
12598         * docs/libs/gstreamer-libs-sections.txt:
12599           add declared symbols
12600
12601 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
12602
12603         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12604         Add debug that can be enabled using a #define at the top of the file,
12605         for dumping stats about how late/early we were when waking up from
12606         waiting on the clock.
12607
12608 2006-05-30  Wim Taymans  <wim@fluendo.com>
12609
12610         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
12611         When rebuilding the pad list, don't leak the previous list.
12612
12613 2006-05-30  Wim Taymans  <wim@fluendo.com>
12614
12615         Patch by: Lutz Mueller <lutz at topfrose dot de>
12616
12617         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12618         (gst_base_src_get_query_types), (gst_base_src_update_length):
12619         Publish supported query types.
12620         Update last_stop field in get_range mode so the position
12621         query works. Fixes #342321.
12622
12623 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
12624
12625         * docs/gst/gstreamer-sections.txt:
12626         * gst/gsttaglist.c: (_gst_tag_initialize):
12627         * gst/gsttaglist.h:
12628           API: add GST_TAG_PREVIEW_IMAGE (#343341).
12629
12630 2006-05-30  Wim Taymans  <wim@fluendo.com>
12631
12632         Patch by: Alessandro Decina <alessandro at nnva dot org>
12633
12634         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
12635         Unlock mutex when removing an unknown pad.
12636         Fixes #343334.
12637
12638         * tests/check/Makefile.am:
12639         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
12640         (push_event), (setup), (teardown), (GST_START_TEST),
12641         (gst_collect_pads_suite), (main):
12642         Added collecpads check, disabled for now as check crashes for
12643         some reason.
12644
12645 2006-05-29  Wim Taymans  <wim@fluendo.com>
12646
12647         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
12648         Don't leak pads lists.
12649
12650 2006-05-29  Wim Taymans  <wim@fluendo.com>
12651
12652         * docs/libs/gstreamer-libs-sections.txt:
12653         * libs/gst/base/gstcollectpads.c:
12654         (gst_collect_pads_set_flushing_unlocked),
12655         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12656         (gst_collect_pads_stop):
12657         * libs/gst/base/gstcollectpads.h:
12658         API: gst_collect_pads_set_flushing()
12659         Added api to set the pads to flushing, useful for seeking
12660         code in elements using collectpads.
12661         Clear segment when receiving a flush.
12662
12663 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
12664
12665         * gst/gst.c: (add_path_func), (init_post):
12666           Don't scan registry paths passed via --gst-plugin-path immediately
12667           (will crash, because absolutely nothing is set up and no types are
12668           registered etc.); do this later in init_post(). Fixes #343057.
12669
12670 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12671
12672         * gst/gst.c: (init_post):
12673           if we have fork, fork while reading/rebuilding the registry
12674           so the parent doesn't take the hit of having all plugins loaded
12675           in memory.  Fixes #342777.
12676         * configure.ac:
12677           Check if we have fork()
12678         * win32/common/config.h.in:
12679           no fork() on win32
12680
12681 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
12682
12683         * plugins/elements/gstelements.c:
12684         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12685         (gst_file_src_init), (gst_file_src_set_property),
12686         (gst_file_src_get_property), (gst_file_src_start):
12687         * plugins/elements/gstfilesrc.h:
12688           API: GstFileSrc::use-mmap
12689
12690         Add a use-mmap property to enable easier testing of all code paths.
12691         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
12692         in the absence of gnomevfssrc. (Closes #340501)
12693
12694 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12695
12696         * tools/gst-inspect.c:
12697         Add missing include, removes warning of ngettext not being defined on
12698         some arches.
12699
12700 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
12701
12702         * gst/gstvalue.c: (gst_value_deserialize_fraction):
12703         Handle NULL input and output pointers silently as a failed conversion,
12704         rather than g_warnings.
12705
12706 2006-05-25  Wim Taymans  <wim@fluendo.com>
12707
12708         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
12709         Initialize variable before using. Fixes #342820.
12710
12711 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
12712
12713         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
12714           Fix off-by-one bug that would only allow peeks of N-1 bytes
12715           from the start even if the buffer to typefind on contains
12716           in fact N bytes of data (makes vorbis typefinding from a
12717           vorbis identification header buffer work).
12718
12719         * tests/check/Makefile.am:
12720         * tests/check/libs/.cvsignore:
12721         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
12722         (gst_typefindhelper_suite), (main), (foobar_typefind),
12723         (plugin_init):
12724           Add very basic unit test for gst_type_find_helper_for_buffer()
12725           that checks for the problem fixed above.
12726
12727 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12728
12729         * tools/gst-inspect.c: (print_interfaces),
12730         (print_element_properties_info), (print_element_list), (main):
12731           add more translatable strings
12732
12733 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
12734
12735         Patch by: Julien Moutte  <julien at moutte net>
12736
12737         * docs/gst/gstreamer-sections.txt:
12738           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
12739           
12740         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
12741         (gst_fake_sink_preroll):
12742         * plugins/elements/gstfakesink.h:
12743           API: Add new GstFakeSink::preroll-handoff signal (#337100).
12744
12745 2006-05-23  Wim Taymans  <wim@fluendo.com>
12746
12747         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
12748         * gst/gstpad.h:
12749         Added _CUSTOM error and success GstFlowReturn that can be
12750         used be elements internally. 
12751         Added macro to check for SUCCESS flowreturns.
12752         API: GST_FLOW_CUSTOM_SUCCESS
12753         API: GST_FLOW_CUSTOM_ERROR
12754         API: GST_FLOW_IS_SUCCESS
12755
12756         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
12757         Added check for GstFlowReturn sanity.
12758
12759 2006-05-23  Wim Taymans  <wim@fluendo.com>
12760
12761         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
12762
12763         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12764         (gst_collect_pads_event):
12765         clear/reset segment info in FLUSH_STOP.
12766         Fixes #336929.
12767
12768 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
12769
12770         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
12771         (gst_collect_pads_check_collected):
12772         Flush queued buffer on _stop(), fixes playing again (#342454)
12773
12774 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12775
12776         * tests/check/gst/gststructure.c: (GST_START_TEST),
12777         (gst_structure_suite):
12778           add a test for a complete structure
12779
12780 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
12781
12782         * docs/faq/developing.xml:
12783         * docs/faq/faq.xml:
12784         * docs/faq/troubleshooting.xml:
12785         * docs/faq/using.xml:
12786           Some minor FAQ updates that won't change the fact that
12787           our FAQ is badly structured, full of information hardly
12788           anyone new to GStreamer needs to know and lacking lots
12789           of information people constantly ask for.
12790           
12791 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
12792
12793         * gst/gstpad.c: (gst_pad_set_caps):
12794           Short-circuit gst_pad_set_caps if setting the existing
12795           caps pointer again, and avoid printing debug and 
12796           reffing/unreffing the caps.
12797
12798         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12799           There's actually no need to set the caps before pushing -
12800           the acceptcaps method will handle it anyway.
12801
12802 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
12803
12804         * docs/gst/gstreamer-sections.txt:
12805         * win32/common/libgstreamer.def:
12806         * gst/gstutils.c: (gst_element_seek_simple):
12807         * gst/gstutils.h:
12808           API: add gst_element_seek_simple() (#342238).
12809
12810 2006-05-18  Edward Hervey  <edward@fluendo.com>
12811
12812         * gst/gsttypefind.c: (gst_type_find_get_type):
12813         * gst/gsttypefind.h:
12814         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
12815         registered for GstTypeFind pointers. This allows wrapping the structure
12816         in bindings (i.e. gst-python).
12817
12818 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
12819
12820         * gst/gsttagsetter.c:
12821           Docs additions and fixes (see #339918).
12822
12823 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
12824
12825         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12826         The caps intersection algorithm can produce multiple copies of the
12827         caps. Until that is fixed, we need to simplify the result to be
12828         sure whether the allowed caps are fixed or not.
12829
12830         * plugins/elements/gstqueue.c: (gst_queue_init),
12831         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
12832         (gst_queue_push_one):
12833         Proxied buffer alloc should not set the caps on the source pad.
12834         When pushing buffers, we always accept the caps change that triggers.
12835         This prevents negotiation errors caused by caps changing mid-stream 
12836         and then being refused on our source pad (because upstream is now
12837         refusing those caps).
12838
12839 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
12840
12841         * tests/examples/helloworld/helloworld.c: (main):
12842           Must plug audioconvert and audioresample between decoder
12843           and audio sink.
12844
12845 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
12846
12847         * gst/gstregistryxml.c: (read_string), (load_pad_template),
12848         (load_feature), (load_plugin):
12849         Allow empty strings for some of the plugin fields so we don't 
12850         drop valid plugin entries that were written out correctly
12851         (Fixes #341479)
12852
12853 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
12854         
12855         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12856           Use g_remove and g_rename instead of remove and rename that don't 
12857           handle utf8 characters. rename was failing for users who had specific
12858           characters in their name then the registry was built at each 
12859           gstreamer init.
12860         * win32/vs6/gst_inspect.dsp:
12861         * win32/vs6/gst_launch.dsp:
12862         * win32/vs6/libgstbase.dsp:
12863         * win32/vs6/libgstcoreelements.dsp:
12864         * win32/vs6/libgstreamer.dsp:
12865           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
12866           build of libgstreamer and clean unused libraries in projects link 
12867           settings.
12868
12869 2006-05-17  Edward Hervey  <edward@fluendo.com>
12870
12871         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12872         The queue is not responsible for pushing an EOS when receiving a fatal
12873         flow error. It's up to the real element driving the pipeline to do that.
12874
12875 2006-05-16  Edward Hervey  <edward@fluendo.com>
12876
12877         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12878         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
12879         buffer returned a fatal error. It should just send an EOS and stop
12880         its task.
12881         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
12882         when pushing buffers on the queue and will be able to handle the event.
12883
12884 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
12885
12886         * docs/manual/basics-bins.xml:
12887         * docs/manual/basics-init.xml:
12888           Fix typos and minor errors in sample code (#341856).
12889
12890 2006-05-16  Wim Taymans  <wim@fluendo.com>
12891
12892         * docs/design/part-qos.txt:
12893         Fix indexes in formulas to make more sense.
12894
12895 2006-05-15  Wim Taymans  <wim@fluendo.com>
12896
12897         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12898         Don't report POSITION based on clock time if sync is
12899         disabled in a sink.
12900
12901 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
12902
12903         * gst/gstobject.h:
12904           Add cast to make compiler happy - refcount variable was a gint
12905           in GstObject but is a guint in GObject and g_atomic_int_get()
12906           wants a gint *.
12907
12908 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
12909
12910         * gst/parse/Makefile.am:
12911           chain commands using &&, which also makes parallel make work
12912
12913 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
12914
12915         * docs/gst/gstreamer-sections.txt:
12916         * gst/gstevent.c:
12917         * gst/gstevent.h:
12918         * gst/gstmessage.h:
12919           Minor docs fixes.
12920
12921 === release 0.10.6 ===
12922
12923 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
12924
12925         * configure.ac:
12926           releasing 0.10.6, "Take the cannoli"
12927
12928 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
12929
12930         * tools/gst-launch.c: (print_tag):
12931           Fix use of uninitialized variable in the hypothetical
12932           case that some broken plugin creates a GST_TAG_IMAGE
12933           tag containing a NULL buffer (#341667).
12934
12935 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
12936
12937         * tools/gst-launch.c: (print_tag):
12938           Print something more intelligible for image tags when
12939           using the -t switch (#341556).
12940
12941 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12942
12943         * Makefile.am:
12944           updates for win32
12945         * configure.ac:
12946           define GST_MAJORMINOR so we have it available in win32/common/config.h
12947           Possibly remove it from our Makefile.am files later
12948         * win32/common/config.h:
12949         * win32/common/config.h.in:
12950           added GST_MAJORMINOR
12951         * win32/common/gstenumtypes.c: (register_gst_resource_error):
12952         * win32/common/gstversion.h:
12953           updated
12954
12955 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
12956
12957         * win32/MANIFEST:
12958           Update win32 files listing.
12959         * win32/common/gstversion.h:
12960           Add GST_MAJORMINOR definition.
12961         * win32/common/libgstreamer.def:
12962           Add new exported functions.
12963           
12964 2006-05-12  Michael Smith  <msmith@fluendo.com>
12965
12966         * gst/gstplugin.c: (gst_plugin_load_file):
12967           If an so file has no plugin entry point, unload the module.
12968
12969 2006-05-11  Wim Taymans  <wim@fluendo.com>
12970
12971         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
12972         (gst_queue_set_property):
12973         Don't forget to signal the _chain or _loop function 
12974         when the queue size or thresholds change since that might
12975         cause them to make progres again.
12976
12977 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
12978
12979         * gst/gstclock.c: (gst_clock_class_init):
12980         * gst/gstindex.c: (gst_index_class_init):
12981         * gst/gstobject.c: (gst_object_class_init):
12982         * gst/gstpad.c: (gst_pad_class_init):
12983         * gst/gstpipeline.c: (gst_pipeline_class_init):
12984         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
12985         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
12986         * libs/gst/base/gstbasetransform.c:
12987         (gst_base_transform_class_init):
12988         * libs/gst/net/gstnetclientclock.c:
12989         (gst_net_client_clock_class_init):
12990         * libs/gst/net/gstnettimeprovider.c:
12991         (gst_net_time_provider_class_init):
12992         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
12993         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12994         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12995         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
12996         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
12997         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
12998         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
12999         * plugins/elements/gstidentity.c: (gst_identity_class_init):
13000         * plugins/elements/gsttee.c: (gst_tee_class_init):
13001         * tests/old/examples/plugins/example.c: (gst_example_class_init):
13002         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13003           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
13004
13005 2006-05-11  Wim Taymans  <wim@fluendo.com>
13006
13007         * gst/gstbuffer.c: (_gst_buffer_initialize):
13008         Register subbufer along with the buffer type so that
13009         it does not accidentally gets registered from N
13010         different streaming threads in a non threadsafe way.
13011
13012 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
13013
13014         * gst/gstbuffer.h:
13015         * gst/gstevent.h:
13016         * gst/gstmessage.h:
13017           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
13018           gst_event_ref() and gst_message_ref() functions again
13019           (ugly hack, please do fix if there's a better way besides
13020           overrides.txt, which doesn't seem to work).
13021
13022 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13023
13024         * libs/gst/check/gstcheck.h:
13025           add an assert for setting state to avoid lots of repetitive code
13026           in the future
13027
13028 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13029
13030         * gst/gstvalue.c: (gst_value_serialize_flags):
13031           fix a leak if no flags are set
13032         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13033           fix leak in tests
13034
13035 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
13036
13037         * docs/manual/basics-pads.xml:
13038           Expand a bit on caps and filtered links and update
13039           examples that were still using the no longer existing
13040           gst_pad_link_filtered() (#338206).
13041
13042 2006-05-10  Wim Taymans  <wim@fluendo.com>
13043
13044         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13045         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13046         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13047         (gst_collect_pads_stop):
13048         * libs/gst/base/gstcollectpads.h:
13049         No need to call _stop in _finalize.
13050         Iterate the main pad list in _finalize.
13051         Added some more debug.
13052         Free lists and data in the right order.
13053         Also free data whem doing _remove_pad when stopped for
13054         backward compatibility protect ::started with PAD_LOCK as
13055         well.
13056
13057 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13058
13059         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
13060         (gst_structure_parse_value):
13061           add some comments
13062           rename a method so that it actually says what it does better
13063
13064 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13065
13066         * gst/gstevent.c: (_gst_event_initialize):
13067         * gst/gstformat.c: (_gst_format_initialize):
13068           make sure some essential types used by events are registered
13069           as part of gst_init()
13070         * gst/gstvalue.c: (gst_value_serialize_flags):
13071           if no flags are set, serialize them to a value that represents NONE
13072           so that deserializing them works
13073         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13074           add tests for serialization and deserialization of flags
13075
13076 2006-05-10  Wim Taymans  <wim@fluendo.com>
13077
13078         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
13079         (gst_collect_pads_collect_range), (gst_collect_pads_available),
13080         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
13081         (gst_collect_pads_event), (gst_collect_pads_chain):
13082         Update docs.
13083         Better debug info.
13084         Catch and return errors from the collect function
13085         Refuse data on eos pads.
13086
13087 2006-05-10  Edward Hervey  <edward@fluendo.com>
13088
13089         * gst/gstinterface.h:
13090         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
13091         GInterface type checking.
13092         They were previously using non-defined macros.
13093
13094 2006-05-09  Wim Taymans  <wim@fluendo.com>
13095
13096         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
13097         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
13098         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
13099         (gst_collect_pads_start), (gst_collect_pads_stop),
13100         (gst_collect_pads_peek), (gst_collect_pads_pop),
13101         (gst_collect_pads_available), (gst_collect_pads_read),
13102         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
13103         (gst_collect_pads_is_collected), (gst_collect_pads_event),
13104         (gst_collect_pads_chain):
13105         * libs/gst/base/gstcollectpads.h:
13106         Clean up the mess that is collectpads, add comments and
13107         FIXMEs where needed.
13108         Maintain a separate pad list so we can add pads while
13109         collecting the other ones. For this we need a new separate 
13110         lock (see comics).
13111         Fix memory leak in finalize.
13112         Refactor some weird code to set/unset pad flushing flags, mark
13113         with comments.
13114         Don't crash in _available, _read, _flush when we're EOS.
13115
13116         * tests/check/libs/.cvsignore:
13117         Ignore adapter check binary.
13118
13119 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13120
13121         * gst/gstindex.c: (gst_index_resolver_get_type):
13122         * plugins/elements/gstfakesink.c:
13123         (gst_fake_sink_state_error_get_type):
13124         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13125         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
13126         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
13127           Const-ify GEnumValue arrays.
13128
13129 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13130
13131         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13132           Add test case for flags + gst_buffer_make_metadata_writable().
13133
13134 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13135
13136         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
13137           gst_buffer_make_metadata_writable() should maintain the
13138           buffer flags (those that make sense at least) (see #340859).
13139
13140 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13141
13142         * tools/gst-inspect.c:
13143         * tools/gst-launch.c:
13144         * tools/gst-typefind.c:
13145         * tools/gst-xmlinspect.c:
13146         * tools/tools.h:
13147           Fix up includes: need to include stdlib.h in tools.h for exit().
13148
13149 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13150
13151         * gst/gsttaglist.c: (_gst_tag_initialize):
13152         * gst/gsttaglist.h:
13153           API: add GST_TAG_IMAGE tag (#340721).
13154
13155 2006-05-08  Wim Taymans  <wim@fluendo.com>
13156
13157         * gst/gstquery.c:
13158         Added some docs for the segment query.
13159
13160 2006-05-08  Wim Taymans  <wim@fluendo.com>
13161
13162         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13163         (gst_base_src_loop), (gst_base_src_change_state):
13164         Always push non-flushing serialized events in the streaming 
13165         thread.
13166
13167 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
13168
13169         * gst/gsterror.c: (_gst_stream_errors_init):
13170           Add a missing error string.
13171
13172 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
13173
13174         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
13175         Add applied_rate to the debug
13176
13177         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13178         Copy applied_rate into the outgoing NEWSEGMENT event
13179
13180 2006-05-08  Wim Taymans  <wim@fluendo.com>
13181
13182         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
13183
13184         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
13185         (gst_base_sink_change_state):
13186         call ::unlock before taking the PREROLL_LOCK so we can safely
13187         handle elements that lock in ::render.
13188         Fixes #340174.
13189
13190 2006-05-08  Edward Hervey  <edward@fluendo.com>
13191
13192         * autogen.sh: (CONFIGURE_DEF_OPT): 
13193         Darwin's libtoolize is in fact called glibtoolize.
13194         Adding glibtoolize to the list of accepted names for libtoolize.
13195
13196 2006-05-08  Wim Taymans  <wim@fluendo.com>
13197
13198         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13199         Unify error handling, don't post an error message
13200         when a push() returns EOS but perform our normal EOS
13201         handling code. Fixes #340772.
13202
13203 2006-05-08  Wim Taymans  <wim@fluendo.com>
13204
13205         * docs/design/part-overview.txt:
13206         Make upsteam/downstream concepts more clear.
13207         Give an example of serialized/non-serialized events.
13208
13209         * docs/design/part-events.txt:
13210         * docs/design/part-streams.txt:
13211         Mention applied_rate.
13212
13213         * docs/design/part-trickmodes.txt:
13214         Mention applied rate, flesh out some more use cases.
13215
13216         * gst/gstevent.c: (gst_event_new_new_segment),
13217         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
13218         (gst_event_parse_new_segment_full), (gst_event_new_tag),
13219         (gst_event_parse_tag), (gst_event_new_buffer_size),
13220         (gst_event_parse_buffer_size), (gst_event_new_qos),
13221         (gst_event_parse_qos), (gst_event_parse_seek),
13222         (gst_event_new_navigation):
13223         * gst/gstevent.h:
13224         Add applied_rate field to NEWSEGMENT event.
13225         API: gst_event_new_new_segment_full()
13226         API: gst_event_parse_new_segment_full()
13227
13228         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13229         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13230         (gst_segment_to_stream_time), (gst_segment_to_running_time):
13231         * gst/gstsegment.h:
13232         Add applied_rate to GstSegment structure.
13233         Make calculation of stream_time and running_time more correct
13234         wrt rate/applied_rate.
13235         Add some more docs.
13236         API: GstSegment::applied_rate field
13237         API: gst_segment_set_newsegment_full();
13238
13239         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13240         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13241         * libs/gst/base/gstbasetransform.c:
13242         (gst_base_transform_sink_eventfunc),
13243         (gst_base_transform_handle_buffer):
13244         Parse and use applied_rate in the GstSegment field.
13245
13246         * tests/check/gst/gstevent.c: (GST_START_TEST):
13247         Add check for applied_rate field.
13248
13249         * tests/check/gst/gstsegment.c: (GST_START_TEST),
13250         (gstsegments_suite):
13251         Add more checks for various GstSegment operations.
13252
13253 2006-05-08  Wim Taymans  <wim@fluendo.com>
13254
13255         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13256         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13257         (gst_base_sink_get_position), (gst_base_sink_change_state):
13258         Store the sync time of the buffer end position separatly in a
13259         new variable eos_rtime so we can properly sync the EOS event.
13260         Fixes #340697.
13261         Fix the docs for gst_base_sink_set_qos_enabled().
13262         Don't set segment start to invalid value when we receive a 
13263         non TIME newsegment.
13264         get closer to handling position reporting for negative rates 
13265         correctly.
13266
13267 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13268
13269         * gst/gstcaps.c:
13270         Docs about how to print caps for debug purposes.
13271
13272         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13273         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13274
13275 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13276
13277         * gst/gstelement.c:
13278           use full enum names and preprend a '%' in docs strings to make recent 
13279           gtk-doc turn that into a link
13280
13281 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13282
13283         * docs/manual/basics-bins.xml:
13284         * docs/manual/basics-bus.xml:
13285         * docs/manual/basics-pads.xml:
13286           Some typo fixes, some additions, some clarifications. 
13287
13288 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13289
13290         * tools/gst-inspect.c: (main):
13291         * tools/gst-launch.c: (main):
13292         * tools/gst-run.c: (main):
13293         * tools/gst-typefind.c: (main):
13294         * tools/gst-xmlinspect.c: (main):
13295           Use the string passed to g_option_context_new() for
13296           what it's intended for - the program name is already
13297           printed elsewhere.
13298
13299 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13300
13301         * tools/Makefile.am:
13302         * tools/gst-inspect.c: (main):
13303         * tools/gst-launch.c: (main):
13304         * tools/gst-xmlinspect.c: (main):
13305         * tools/tools.h:
13306           Add back --version command line option (#340460).
13307
13308         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13309           Add --version option and use GOption for argument parsing; refactor a
13310           bit; accept directories as arguments and recurse into them; lastly,
13311           print a decent error message when things go wrong.
13312
13313 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13314
13315         * docs/manual/basics-bins.xml:
13316         Don't mention GstThread (#340611)
13317         * docs/manual/basics-elements.xml:
13318         Update link to GObject tutorial (#340607)
13319         
13320 2006-05-05  Wim Taymans  <wim@fluendo.com>
13321
13322         * gst/gstbuffer.h:
13323         * gst/gstminiobject.c:
13324         Add note about refcounting and miniobject/buffer writeability
13325         to docs. Fixes #340604
13326
13327         * gst/gstelementfactory.h:
13328         Added some explanation about @klass.
13329
13330 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13331
13332         * docs/manual/intro-motivation.xml:
13333         * docs/manual/manual.xml:
13334         Avoid CORBA & Bonobo references (#340598)
13335
13336 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13337
13338         * docs/manual/basics-bus.xml:
13339         * docs/manual/basics-pads.xml:
13340         Fix up some inaccuracies and omissions (#340609)
13341         
13342 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13343
13344         * gst/gstghostpad.c:
13345           Small typo in docs (#340625)
13346
13347 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13348
13349         * gst/parse/Makefile.am:
13350           Make 'make -j' proof (see #340698).
13351
13352 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13353
13354         * configure.ac:
13355           Require GLib-2.8 here as well.
13356
13357 2006-05-05  Wim Taymans  <wim@fluendo.com>
13358
13359         * gst/glib-compat.c:
13360         * gst/gst.c: (init_pre):
13361         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13362         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13363         (gst_object_dispatch_properties_changed):
13364         * gst/gstobject.h:
13365         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13366         * gst/gststructure.c: (gst_structure_set_valist):
13367         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13368         Remove pre glib2.8 compatibility, fixes #340508
13369
13370 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13371
13372         * gst/gsttaglist.h:
13373           Mention type of tags in doc blurbs.
13374
13375 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
13376
13377         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13378         (gst_pad_configure_src), (gst_pad_push):
13379         Restore acceptcaps checking behaviour now that good plugins have
13380         been released.
13381
13382 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13383
13384         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13385
13386         * gst/gst.c:
13387         * gst/gstbus.c:
13388         * gst/gstclock.c:
13389         * gst/gstevent.c:
13390         * gst/gstformat.c:
13391         * gst/gstmessage.c:
13392         * gst/gstparse.c:
13393         * gst/gstquery.c:
13394         * gst/gstutils.c:
13395         * gst/parse/Makefile.am:
13396         * libs/gst/base/gstadapter.c:
13397         * libs/gst/base/gstbasesrc.c:
13398         * libs/gst/base/gstpushsrc.c:
13399         * libs/gst/base/gsttypefindhelper.c:
13400         * plugins/elements/gstfakesrc.c:
13401         * plugins/elements/gstidentity.c:
13402           Make sure gstprivate.h and/or config.h are
13403           always included first, otherwise some of our
13404           defines (like _FILE_OFFSET_BITS) might be
13405           redefined in the system headers. Fixes build
13406           on opensolaris (#340016).
13407
13408 2006-05-04  Wim Taymans  <wim@fluendo.com>
13409
13410         * docs/libs/gstreamer-libs-sections.txt:
13411         API: addition: gst_adapter_take_buffer()
13412         
13413         * libs/gst/base/gstadapter.c: (gst_adapter_push),
13414         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13415         (gst_adapter_available_fast):
13416         * libs/gst/base/gstadapter.h:
13417         Prepare for optimizing the hell out of this hugely inefficient
13418         piece of code. 
13419         Added gst_adapter_take_buffer() so we can at least start thinking
13420         about subbuffering and merging.
13421         Added some comments.
13422
13423         * tests/check/Makefile.am:
13424         * tests/check/libs/adapter.c: (GST_START_TEST),
13425         (gst_adapter_suite), (main):
13426         Added GstAdapter check.
13427
13428 2006-05-04  Wim Taymans  <wim@fluendo.com>
13429
13430         * docs/design/part-overview.txt:
13431         Fix some typos, add blurb about buffer flags.
13432
13433 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13434
13435         * docs/libs/gstreamer-libs-sections.txt:
13436           make sure GstBaseTransformClass shows up in the docs
13437         * libs/gst/base/gstbasetransform.c:
13438         * libs/gst/base/gstbasetransform.h:
13439           move docs so gtk-doc picks it up now
13440
13441 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13442
13443         * docs/libs/gstreamer-libs-sections.txt:
13444           add missing symbols to docs
13445
13446 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13447
13448         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13449           back out the newsegment handling change, see #340060 for ongoing
13450           discussion
13451
13452 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
13453
13454         * tools/gst-run.c: (get_candidates), (main):
13455           Fix wrong g_file_test() usage (see glib docs for why it doesn't
13456           work); fix typo in error message. Fixes #340079.
13457
13458 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13459
13460         * common/Makefile.am:
13461         * docs/Makefile.am:
13462         * docs/faq/Makefile.am:
13463         * docs/gst/Makefile.am:
13464         * docs/libs/Makefile.am:
13465         * docs/manual/Makefile.am:
13466         * docs/plugins/Makefile.am:
13467         * docs/pwg/Makefile.am:
13468         * docs/slides/Makefile.am:
13469         * docs/upload.mak:
13470         * common/upload.mak:
13471           move upload.mak to common
13472
13473 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13474
13475         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13476           add more asserts on refcounts
13477           do more cleanup at end of tests
13478           fix test leaks showing in FC5
13479
13480 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
13481
13482         * plugins/elements/gsttypefindelement.c:
13483         (gst_type_find_element_handle_event):
13484         reverted wrong change and reflowed code to avoid others falling into
13485         this trap
13486
13487 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13488
13489         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13490           fix changelog entry about last collectpads change,
13491           add notes about proper fix
13492
13493 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13494
13495         * gst/gst.c:
13496         * gst/gstregistry.c: (gst_registry_scan_path_level),
13497         (gst_registry_scan_path):
13498         * gst/gstregistry.h:
13499           only write out registry if it has changed, fixes #338339
13500
13501 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13502
13503         * gst/gstbin.c:
13504         * gst/gstpipeline.c:
13505         * plugins/elements/gstcapsfilter.c:
13506         * plugins/elements/gstfakesink.c:
13507         * plugins/elements/gstfakesrc.c:
13508         * plugins/elements/gstfdsink.c:
13509         * plugins/elements/gstfdsrc.c:
13510         * plugins/elements/gstfilesink.c:
13511         * plugins/elements/gstfilesrc.c:
13512         * plugins/elements/gstidentity.c:
13513         * plugins/elements/gstqueue.c:
13514         * plugins/elements/gsttee.c:
13515         * plugins/elements/gsttypefindelement.c:
13516         (gst_type_find_element_handle_event):
13517           make GstElementDetails const
13518
13519 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13520
13521         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
13522         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13523         (gst_collect_pads_is_collected), (gst_collect_pads_event):
13524           more detailed debug and formatting cleanup,
13525           forward newsegments to src-pad (so that e.g. adder not eats them)
13526
13527 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13528
13529         * gst/gstutils.c: (gst_element_link_pads):
13530           cleanup double code
13531
13532 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13533
13534         * libs/gst/controller/gstcontroller.c:
13535         (gst_controller_sync_values):
13536           some little tuning
13537         * tests/check/libs/controller.c: (GST_START_TEST),
13538         (gst_controller_suite):
13539           a new test for live value handling
13540
13541 2006-04-28  Wim Taymans  <wim@fluendo.com>
13542
13543         * gst/gstutils.c: (push_and_ref):
13544         Added some more docs.
13545         Fix refcount issue whith gst_element_found_tags() helper 
13546         function. Fixes #338335
13547
13548         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13549         Added testsuite for gst_element_found_tags().
13550
13551 2006-04-28  Michael Smith  <msmith@fluendo.com>
13552
13553         * gst/gstvalue.c: (gst_value_serialize_flags):
13554           Avoid NULL dereference when trying to serialize flags containing
13555           invalid values.
13556
13557 2006-04-28  Michael Smith  <msmith@fluendo.com>
13558
13559         * plugins/elements/gsttypefindelement.c:
13560         (gst_type_find_element_handle_event):
13561           If we get EOS before any data is accumulated, don't use
13562           uninitialised local variables.
13563
13564 2006-04-28  Michael Smith  <msmith@fluendo.com>
13565
13566         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13567         (gst_dp_event_from_packet):
13568           Fixes in reading/writing events over GDP (not currently used?) - 
13569           dereferencing NULL events for unknown/invalid event types, memory
13570           leak, and change g_warning to GST_WARNING.
13571
13572 2006-04-28  Wim Taymans  <wim@fluendo.com>
13573
13574         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
13575         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13576         (gst_base_sink_get_position), (gst_base_sink_change_state):
13577         When frame dropping is enabled, we should not ignore frames
13578         without a duration.
13579         Update some documentation.
13580
13581 2006-04-28  Wim Taymans  <wim@fluendo.com>
13582
13583         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13584         (gst_base_src_send_event), (gst_base_src_change_state):
13585         Documentation updates.
13586
13587 2006-04-28  Wim Taymans  <wim@fluendo.com>
13588
13589         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
13590         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
13591         handle EAGAIN, EINTR and short writes correctly. Also clean
13592         up some error cases, avoid a deadlock on bad file descriptors and
13593         use GST_DEBUG_OBJECT.
13594         Fixes #339843
13595
13596 2006-04-28  Wim Taymans  <wim@fluendo.com>
13597
13598         * gst/gstvalue.c: (gst_value_serialize_buffer),
13599         (gst_value_deserialize_buffer):
13600         Don't try to serialize a GValue with a NULL buffer. 
13601         Fixes #339821.
13602
13603         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13604         Added check for serialisation of NULL buffers.
13605
13606 2006-04-28  Wim Taymans  <wim@fluendo.com>
13607
13608         * gst/gstminiobject.c: (gst_value_take_mini_object):
13609         Taking a NULL miniobject is valid, fix the case where
13610         we try to unref the NULL miniobject.
13611
13612 2006-04-28  Wim Taymans  <wim@fluendo.com>
13613
13614         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13615
13616         * gst/gstbin.c: (gst_bin_handle_message_func):
13617         Update docs.
13618         Don't leak bin refcount when a state recalc is
13619         in progress and we delay another one #339808.
13620
13621 2006-04-28  Wim Taymans  <wim@fluendo.com>
13622
13623         * docs/design/part-TODO.txt:
13624         Mention QoS as an ongoing work item.
13625
13626         * docs/design/part-buffering.txt:
13627         New doc about buffering that needs to be fleshed out
13628         at some point.
13629
13630         * docs/design/part-qos.txt:
13631         More QoS policy for decoders/demuxers/transforms
13632
13633         * docs/design/part-trickmodes.txt:
13634         Small update.
13635
13636 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13637
13638         * configure.ac:
13639           back to HEAD
13640
13641 === release 0.10.5 ===
13642
13643 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
13644
13645         * configure.ac:
13646           releasing 0.10.5, "Fogo"
13647
13648 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13649
13650         patch by: Wim Taymans
13651
13652         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13653         (gst_pad_configure_src), (gst_pad_push):
13654         * gst/gstpipeline.c: (gst_pipeline_init):
13655           Fix internal data flow errors.  Fixes #338711.
13656
13657 2006-04-12  Wim Taymans  <wim@fluendo.com>
13658
13659         * tests/check/gst/gstelement.c: (GST_START_TEST):
13660         Don't leak the factory.
13661
13662 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13663
13664         * configure.ac:
13665         * win32/common/config.h:
13666           prerelease
13667
13668 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
13669
13670         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13671         (gst_controller_unset_all):
13672           Free allocated GstTimedValues when freeing list nodes.
13673           Should fix leaks 'make check-valgrind' complains about.
13674
13675         * win32/common/libgstcontroller.def:
13676           Add gst_controller_unset_all.
13677
13678 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
13679
13680         * docs/libs/gstreamer-libs-sections.txt:
13681         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13682         (gst_controller_unset_all):
13683         * libs/gst/controller/gstcontroller.h:
13684         API: Added new method gst_controller_unset_all()
13685         fixed gst_controller_unset()
13686         * tests/check/libs/controller.c: (GST_START_TEST),
13687         (gst_controller_suite):
13688         Added two testcases for new and fixed method
13689
13690 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
13691
13692         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
13693           MSG_DONTWAIT is not defined on Cygwin, so work
13694           around that (fixes #317048).
13695           
13696 2006-04-11  Wim Taymans  <wim@fluendo.com>
13697
13698         * gst/gstelementfactory.c: (gst_element_register),
13699         (gst_element_factory_create), (gst_element_factory_make):
13700         Some cleanups.
13701         Fixed a FIXME.
13702         Updated docs (Fixes #131079)
13703
13704         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13705         Small cleanups.
13706
13707         * tests/check/gst/gstelement.c: (GST_START_TEST),
13708         (gst_element_suite):
13709         Added testcase for elementfactory class field.
13710
13711 2006-04-10  Wim Taymans  <wim@fluendo.com>
13712
13713         * gst/gstsegment.c:
13714         Added some more docs.
13715
13716         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
13717         (gst_base_sink_reset_qos):
13718         Calculate more accurate rate values.
13719
13720 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
13721
13722         * gst/gst_private.h:
13723           add a new #ifdef to use __declspec(dllimport) only for
13724           other modules and not for gstreamer core
13725         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
13726           use gst_guint64_to_gdouble for conversion
13727         * win32/common/libgstreamer.def:
13728           add new exported functions
13729         * win32/vs6/gst_inspect.dsp:
13730         * win32/vs6/gst_launch.dsp:
13731         * win32/vs6/libgstbase.dsp:
13732         * win32/vs6/libgstcontroller.dsp:
13733         * win32/vs6/libgstcoreelements.dsp:
13734         * win32/vs6/libgstdataprotocol.dsp:
13735         * win32/vs6/libgstnet.dsp:
13736           update project files
13737
13738 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
13739
13740         * gst/gstbuffer.c: (gst_subbuffer_class_init):
13741         * gst/gstclock.c: (gst_clock_class_init):
13742         * gst/gstelement.c: (gst_element_class_init):
13743         * gst/gstindex.c: (gst_index_class_init):
13744         * gst/gstindexfactory.c: (gst_index_factory_class_init):
13745         * gst/gstobject.c: (gst_object_class_init),
13746         (gst_signal_object_class_init):
13747         * gst/gstpad.c: (gst_pad_class_init):
13748         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
13749         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
13750         * gst/gstregistry.c: (gst_registry_class_init):
13751         * gst/gstsystemclock.c: (gst_system_clock_class_init):
13752         * gst/gsttask.c: (gst_task_class_init):
13753         * gst/gstxml.c: (gst_xml_class_init):
13754         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13755         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13756         (gst_base_src_loop):
13757         * libs/gst/controller/gstcontroller.c:/
13758         (_gst_controller_class_init):
13759         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13760         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
13761         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
13762         * tests/old/examples/plugins/example.c: (gst_example_class_init):
13763         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13764         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
13765
13766 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
13767
13768         * gst/gstpad.c: (gst_pad_link):
13769           Must set peer pads before calling the link function, otherwise
13770           a task started from a link function might get a flow-not-linked
13771           result when trying to push because the other thread where the
13772           linking happens hasn't had a chance to set the peers yet. This
13773           might happen for example when a queue gets linked to a downstream
13774           element, as queue starts a streaming task when its source pad
13775           gets linked. Happens in real life when playing back flac/musepack
13776           files in playbin (#332390).
13777           
13778 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
13779
13780         * gst/gstindex.h:
13781         * gst/gstxml.h:
13782         * libs/gst/base/gstadapter.h:
13783         * libs/gst/base/gstbasesink.h:
13784         * libs/gst/base/gstbasesrc.h:
13785         * libs/gst/base/gstbasetransform.h:
13786         * libs/gst/base/gstcollectpads.h:
13787         * libs/gst/base/gstpushsrc.h:
13788         Fix broken GObject macros
13789
13790 2006-04-07  Wim Taymans  <wim@fluendo.com>
13791
13792         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13793         Initialize start and stop times, thanks valgrind.
13794
13795 2006-04-07  Wim Taymans  <wim@fluendo.com>
13796
13797         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13798         Be a bit nicer to badly behaving upstream elements that expect
13799         us to deal with non TIME segments and timestamps (such as fakesrc
13800         in the testsuite).
13801
13802 2006-04-07  Wim Taymans  <wim@fluendo.com>
13803
13804         * gst/gstbus.c:
13805         Small documentation clarification about the signal watch.
13806
13807         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13808         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13809         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13810         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13811         (gst_base_sink_get_position_last),
13812         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
13813         Convert and store timestamps in stream time and running time, the
13814         raw timestamps are not useful, also document this better.
13815         Use different window sizes for good and bad QoS observations so
13816         we react to badness a little quicker.
13817         Keep track of the amount of rendered and dropped buffers.
13818         Send QoS timestamps in running time.
13819
13820         * libs/gst/base/gstbasetransform.c:
13821         (gst_base_transform_sink_eventfunc),
13822         (gst_base_transform_handle_buffer):
13823         Compare QoS timestamps against running time.
13824
13825 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
13826
13827         * gst/gstpad.c:
13828           Typo fixes in docs.
13829
13830 2006-04-06  Michael Smith  <msmith@fluendo.com>
13831
13832         * gst/gstpad.c: (gst_pad_set_property):
13833           Use g_value_get_object() instead of g_value_dup_gst_object(),
13834           to avoid double-reffing the pad template (which we then sink,
13835           so this worked previously if (and only if) the pad template
13836           was floating.
13837
13838         * gst/gstpadtemplate.c: (gst_pad_template_init),
13839         (gst_pad_template_pad_created):
13840           Never return floating references to pad templates, create
13841           them as initially-sunken.
13842
13843           Document an extra function (and make this stop sinking our
13844           pad template, since that is now guaranteed to do nothing,
13845           since we created it sunken).
13846
13847         * gst/gstghostpad.c:
13848           Fix docs typo.
13849
13850 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
13851
13852         * gst/gstinfo.c: (__gst_in_valgrind):
13853           Add some newlines.
13854
13855         * plugins/elements/gsttypefindelement.c:
13856         (gst_type_find_element_chain):
13857           Don't leak buffer caps.
13858
13859 2006-04-06  Michael Smith  <msmith@fluendo.com>
13860
13861         * gst/parse/grammar.y:
13862           Fix a leak in parse-launch for any source-or-sink named element 
13863           references used.
13864
13865         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13866           Unref the pipeline if it exists after we've failed parsing.
13867
13868 2006-04-05  Michael Smith  <msmith@fluendo.com>
13869
13870         * gst/gstpipeline.c: (gst_pipeline_init):
13871           When we create a pipeline bus, initially create it in flushing mode.
13872           Fixes leaks in at least one test, and makes a new pipeline work the
13873           same as one that has gone to READY and then back to NULL.
13874
13875         * gst/gstelement.c:
13876           Typo fix in docs.
13877
13878 2006-04-05  Michael Smith  <msmith@fluendo.com>
13879
13880         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13881           Unref a pad we reffed.
13882         * tests/check/gst/gstutils.c: (GST_START_TEST):
13883           Unref bins
13884
13885 2006-04-05  Michael Smith  <msmith@fluendo.com>
13886
13887         * gst/gstquery.c: (gst_query_set_formats),
13888         (gst_query_set_formatsv):
13889           Fix leaking GValues in queries, as shown by valgrind/testsuite.
13890
13891 2006-04-05  Michael Smith  <msmith@fluendo.com>
13892
13893         * tests/check/generic/sinks.c: (GST_START_TEST):
13894           Fix a variety of memleaks in sinks check, which are only sometimes 
13895           shown by running the tests under valgrind (weird?).
13896
13897 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
13898
13899         * docs/version.entities.in:
13900           Fix the substituted entity name after thomas' changes on the
13901           weekend.
13902
13903 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
13904
13905         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
13906         VALGRIND_PRINTF
13907         
13908 2006-04-05  Andy Wingo  <wingo@pobox.com>
13909
13910         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
13911
13912         * libs/gst/base/gstbasetransform.c
13913         (gst_base_transform_sink_eventfunc): When resetting our segment on
13914         FLUSH_STOP, also update the flag saying we haven't seen a
13915         newsegment.
13916
13917 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
13918
13919         Patch by: Paolo Borelli  <pborelli at katamail dot com>
13920
13921         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13922         (gst_plugin_check_license):
13923           minor clean-ups: G_DEFINE_TYPE already takes care of the
13924           parent_class stuff, no need to do it twice. Mark array of
13925           license strings as constant. (#337103)
13926           
13927 2006-04-04  Michael Smith  <msmith@fluendo.com>
13928
13929         * tools/gst-inspect.c: (print_element_list):
13930           Free the right plugin list; fixes a memory leak.
13931
13932 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
13933
13934         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
13935
13936         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
13937           Don't error out on empty buffers (#336945).
13938           
13939 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
13940
13941         * docs/libs/gstreamer-libs-sections.txt:
13942         * gst/gsttaglist.c:
13943         * libs/gst/base/gstbasesink.c:
13944         * libs/gst/base/gstbasesink.h:
13945         * libs/gst/base/gstbasesrc.c:
13946         * libs/gst/base/gstbasesrc.h:
13947           Documentation updates. Make BaseSink and BaseSrc docs contain the
13948           class structure so that people can actually see the prototypes for
13949           virtual functions they're supposed to be overriding.
13950
13951 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
13952
13953         * plugins/elements/gsttypefindelement.c:
13954         (gst_type_find_element_chain):
13955           More debug info; when skipping typefinding, send cached
13956           events in all cases.
13957
13958 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13959
13960         * configure.ac:
13961           use new AS_VERSION and AS_NANO macros
13962         * gst/gst-i18n-lib.h:
13963         * gst/gst.c:
13964         * gst/gsterror.c:
13965         * gst/gstversion.h.in:
13966         * win32/common/config.h:
13967         * win32/common/config.h.in:
13968           update accordingly
13969
13970 2006-03-31  Michael Smith  <msmith@fluendo.com>
13971
13972         * plugins/elements/gsttypefindelement.c:
13973         (gst_type_find_element_chain):
13974           Do not typefind content if the buffers already have caps.
13975           Neccesary for icydemux (#333657), and the right thing to do anyway.
13976
13977 2006-03-30  Wim Taymans  <wim@fluendo.com>
13978
13979         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13980         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
13981         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
13982         (gst_base_sink_record_qos_observation),
13983         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13984         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
13985         (gst_base_sink_change_state):
13986         More QoS measurements as described in the design doc.
13987         Get rid of ringbuffer with observations, running average is
13988         more simple and equally good.
13989         Calculates valid proportion now.
13990         Added beginning of flood measurement.
13991
13992 2006-03-29  Wim Taymans  <wim@fluendo.com>
13993
13994         * docs/design/part-qos.txt:
13995         * gst/gstclock.c:
13996         Small documentation updates and additions.
13997
13998 2006-03-29  Wim Taymans  <wim@fluendo.com>
13999
14000         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14001         (gst_base_src_send_event), (gst_base_src_loop),
14002         (gst_base_src_change_state):
14003         Perform the EOS logic when we reach the segment stop position.
14004         Fix compilation on gcc4.1
14005
14006 2006-03-29  Wim Taymans  <wim@fluendo.com>
14007
14008         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
14009
14010         * plugins/elements/gstqueue.c: (gst_queue_init),
14011         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
14012         (gst_queue_set_property):
14013         * plugins/elements/gstqueue.h:
14014         In queue, when EOS is received, if minimum threshold > max_size -
14015         current_level, there is chance that queue blocks forever in conditional
14016         item del wait. This is because the queue is not emptied completely due
14017         to minimum threshold.  Here is another approach. Instead of setting
14018         cur_levels to max in EOS, just zero all minimum threshold levels. This
14019         should make sure that queue gives out all data. When going to READY
14020         (stop) state, just reset the original minimum threshold levels.
14021         Fixes #336336.
14022
14023 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
14024
14025         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
14026         (gst_type_find_element_handle_event),
14027         (gst_type_find_element_send_cached_events),
14028         (gst_type_find_element_change_state):
14029         * plugins/elements/gsttypefindelement.h:
14030           When typefinding is done in push mode, we should cache
14031           events we receive during typefinding instead of just
14032           dropping them (e.g. newsegment, custom events from
14033           dvdreadsrc etc.) and then send them out once we've
14034           determined the type of the stream (and decodebin
14035           has had a chance to plug in a decoder/demuxer).
14036           
14037 2006-03-27  Wim Taymans  <wim@fluendo.com>
14038
14039         * docs/design/part-qos.txt:
14040         First QoS ideas.
14041
14042 2006-03-27  Wim Taymans  <wim@fluendo.com>
14043
14044         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
14045
14046         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14047         (gst_base_src_send_event), (gst_base_src_change_state):
14048         Handle element seek correctly when we are streaming.
14049         Fixes #326998.
14050
14051 2006-03-24  Michael Smith  <msmith@fluendo.com>
14052
14053         * docs/faq/gst-uninstalled:
14054           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
14055           allow you to correctly run intalled applications built against old 
14056           core, using plugins that require updated core (e.g. running
14057           installed totem against a full uninstalled gstreamer stack)
14058
14059 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14060
14061         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
14062         more debug details
14063
14064 2006-03-24  Wim Taymans  <wim@fluendo.com>
14065
14066         * docs/gst/gstreamer-sections.txt:
14067         Rearrange the order of the methods so that related methods
14068         are grouped together in sections.
14069
14070 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14071
14072         * gst/gstelement.c:
14073           Little clarification in the docs
14074
14075 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14076
14077         * docs/README:
14078         formatting fix
14079         * plugins/elements/gstidentity.c:
14080         * plugins/elements/gstqueue.c:
14081         * plugins/elements/gsttee.c:
14082         * plugins/elements/gsttypefindelement.c:
14083         GST_ELEMENT_DETAILS formatting
14084
14085 2006-03-24  Wim Taymans  <wim@fluendo.com>
14086
14087         * libs/gst/base/gstbasesink.h:
14088         Only add fields, not insert or we break ABI.
14089
14090 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14091
14092         * win32/common/libgstbase.def:
14093         * win32/common/libgstreamer.def:
14094           Update, add recently added functions.
14095
14096 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14097
14098         * docs/gst/gstreamer-sections.txt:
14099         * gst/gstutils.c: (gst_pad_query_peer_position),
14100         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
14101         * gst/gstutils.h:
14102           API: add some new utility functions:
14103            - gst_pad_query_peer_position()
14104            - gst_pad_query_peer_duration()
14105            - gst_pad_query_peer_convert()
14106           
14107 2006-03-23  Wim Taymans  <wim@fluendo.com>
14108
14109         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14110         (gst_base_sink_init), (gst_base_sink_finalize),
14111         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
14112         (gst_base_sink_set_property), (gst_base_sink_get_property),
14113         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
14114         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14115         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
14116         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14117         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14118         (gst_base_sink_preroll_object), (gst_base_sink_event),
14119         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
14120         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
14121         (gst_base_sink_query), (gst_base_sink_change_state):
14122         Decouple max-lateness and the fact that QoS messages are generated
14123         with a new property (qos).
14124         added API: GstBaseSink::async_play()
14125         Add vmethod so subclasses can be notified of ASYNC playing
14126         state changes.
14127         Collect timestamp start and stop to report better current
14128         position in EOS/PLAYING/PAUSED/READY/NULL.
14129         Refactor QoS/frame dropping and other measurements.
14130         API: GstBaseSrc::qos
14131         Fixes #326311
14132
14133         * libs/gst/base/gstbasesink.h:
14134         Added Private struct.
14135         API: gst_base_sink_set_qos_enabled()
14136         API: gst_base_sink_is_qos_enabled()
14137
14138 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14139
14140         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14141           If compiling against GLib-2.8 or newer, try to read the
14142           registry file using GMappedFile first before falling back
14143           to fopen() + fread() (#332151).
14144
14145 2006-03-22  Wim Taymans  <wim@fluendo.com>
14146
14147         * gst/gstinfo.c: (gst_debug_set_active),
14148         (gst_debug_category_set_threshold):
14149         Disable debugging unless explicitly activated.
14150         Fixes #335480.
14151
14152 2006-03-22  Wim Taymans  <wim@fluendo.com>
14153
14154         * gst/gstelement.c: (gst_element_set_locked_state),
14155         (gst_element_dispose):
14156         Cleanup the error case.
14157
14158         * gst/gstobject.c: (gst_object_dispose):
14159         print a critical when some object was disposed with
14160         a parent, also revive the object since it might
14161         crash the parent.
14162
14163 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
14164
14165         * tools/gst-launch.1.in:
14166           Fix another typo.
14167
14168 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14169
14170         * configure.ac:
14171         * tests/check/Makefile.am:
14172           disable some tests when we don't have a registry
14173         * tests/check/gst/gstutils.c: (gst_utils_suite):
14174           don't build the part that needs parsing
14175
14176 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14177
14178         * gst/Makefile.am
14179         * tests/examples/Makefile.am:
14180           fix --disable-parse build
14181
14182 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14183
14184         * tools/gst-feedback.1.in:
14185           Fix typo: s/feeback/feedback/ (#133494).
14186
14187 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14188
14189         * tools/Makefile.am:
14190         * tools/gst-launch.1.in:
14191           Add FILES section and correct entry about GST_REGISTRY_PATH
14192           environment variable (#133495; #133494).
14193
14194 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14195
14196         * tools/Makefile.am:
14197         * tools/gst-md5sum.1.in:
14198         * tools/gst-md5sum.c:
14199           Remove gst-md5sum and man page (the md5sink element
14200           required was removed ages ago)
14201
14202 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14203
14204         * gst/gststructure.c: (gst_structure_id_set_value):
14205           Make sure that string fields in structures/taglists
14206           contain valid UTF-8 - we don't want to pass rubbish to
14207           applications because of a buggy plugin (cp. #334167).
14208
14209 2006-03-21  Edward Hervey  <edward@fluendo.com>
14210
14211         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14212         (gst_bin_handle_message_func):
14213         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
14214         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
14215         (gst_element_set_bus_func):
14216         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
14217         * gst/gstminiobject.c: (gst_value_set_mini_object),
14218         (gst_value_take_mini_object):
14219         * gst/gstpad.c: (gst_pad_set_pad_template):
14220         * gst/gstpipeline.c: (gst_pipeline_dispose),
14221         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14222         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
14223         (gst_collect_pads_chain):
14224         * libs/gst/net/gstnettimeprovider.c:
14225         (gst_net_time_provider_set_property):
14226         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
14227         It's in fact all issues with gst_*object_replace().
14228
14229 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14230
14231         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
14232         
14233         * pkgconfig/gstreamer-check-uninstalled.pc.in:
14234         * pkgconfig/gstreamer-check.pc.in:
14235           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14236
14237 2006-03-21  Edward Hervey  <edward@fluendo.com>
14238
14239         * gst/gstbuffer.h:
14240         * gst/gstevent.h:
14241         * gst/gstmessage.h:
14242         gst_[buffer|event|message]_ref() macros are replaced by a static
14243         inline functions because gcc-4.1 will about if the return value
14244         isn't used.
14245         * tests/check/gst/gstevent.c: (event_probe):
14246         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14247
14248 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
14249
14250         * gst/gstutils.h:
14251         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14252         the type' case. (Closes: #335195 for now). In the future, when we
14253         depend on GLib 2.10, we could also intern the type name using
14254         g_intern_static_string()
14255
14256 2006-03-20  Wim Taymans  <wim@fluendo.com>
14257
14258         * gst/gstbin.c: (gst_bin_handle_message_func),
14259         (bin_query_max_init), (bin_query_position_fold),
14260         (bin_query_position_done), (gst_bin_query):
14261         Position query should also take max of all streams.
14262
14263 2006-03-20  Wim Taymans  <wim@fluendo.com>
14264
14265         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14266         (gst_fake_src_finalize):
14267         Fix leaks in fakesrc.
14268
14269         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14270         Fix leaks in the testcase.
14271
14272 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
14273
14274         * gst/gst_private.h:
14275           add win32 specific import decoration(__declspec(dllimport)) 
14276           for all extern GstDebugCategory * variables
14277         * win32/common/libgstbase.def:
14278         * win32/common/libgstcontroller.def:
14279         * win32/common/libgstreamer.def:
14280           Add some exports, remove empty lines
14281         * win32/common/libgstdataprotocol.def:
14282         * win32/common/libgstdataprotocol.dsp:
14283         * win32/common/libgstnet.def:
14284         * win32/common/libgstnet.dsp:
14285           new project files and exportation files added
14286         
14287 2006-03-19  Wim Taymans  <wim@fluendo.com>
14288
14289         * tests/check/libs/basesrc.c: (eos_event_counter):
14290         Use proper return value for probe.
14291
14292 2006-03-17  Wim Taymans  <wim@fluendo.com>
14293
14294         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14295         (gst_pad_push):
14296         Don't leak buffers, caps and pads on negotiation errors.
14297
14298 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
14299
14300         * docs/faq/cvs.xml:
14301         * docs/faq/dependencies.xml:
14302         * docs/faq/developing.xml:
14303         * docs/faq/faq.xml:
14304         * docs/faq/general.xml:
14305         * docs/faq/getting.xml:
14306         * docs/faq/legal.xml:
14307         * docs/faq/troubleshooting.xml:
14308         * docs/faq/using.xml:
14309         Faq review and update.
14310
14311 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
14312
14313         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14314         (gst_pad_push):
14315         Don't pound the cpu to pieces by checking get_caps when accept_caps
14316         is called with the same caps as the pad already has.
14317         Use GST_DEBUG_OBJECT when outputting caps change information.
14318
14319 2006-03-15  Wim Taymans  <wim@fluendo.com>
14320
14321         * gst/gstclock.c: (gst_clock_class_init):
14322         Fix docs.
14323
14324 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
14325
14326         * gst/gstbuffer.h:
14327         Documentation fix.
14328
14329         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14330         (gst_pad_accept_caps), (gst_pad_configure_sink),
14331         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14332         Make the default acceptcaps behaviour be to check the requested 
14333         caps against the gst_pad_get_caps output. 
14334
14335         Ensure that gst_pad_accept_caps is used to check caps when a pad
14336         doesn't have a setcaps function, so that pads automatically refuse 
14337         caps that they don't allow in their pad template. (Fixes #332986)
14338
14339         When a buffer with attached caps is pushed, ensure that the source 
14340         pad receives those caps even if the element didn't call
14341         gst_pad_set_caps first.
14342
14343 2006-03-15  Wim Taymans  <wim@fluendo.com>
14344
14345         * libs/gst/base/gstadapter.c:
14346         Add some docs.
14347
14348 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
14349
14350         * win32/common/libgstbase.def:
14351         * win32/common/libgstcontroller.def:
14352         * win32/common/libgstreamer.def:
14353           Add a whole bunch of missing functions (#334434).
14354
14355 2006-03-14  Wim Taymans  <wim@fluendo.com>
14356
14357         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14358         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14359         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14360         Better debug info when we receive a segment event.
14361         Reorganize a bit so we can pass the get_times() results around.
14362         Use the segment format when calculating the running time.
14363         Don't do QoS is sync is disabled or we have no clock or the
14364         element does not want us to sync to the clock.
14365         Don't drop buffers if QoS is disabled for now.
14366
14367 2006-03-14  Wim Taymans  <wim@fluendo.com>
14368
14369         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14370         Marked the stats property as unimplemented so people don't get
14371         wild ideas.
14372         Add debug message when regression goes wrong.
14373         Added some more docs.
14374
14375 2006-03-14  Wim Taymans  <wim@fluendo.com>
14376
14377         * gst/gstsegment.c: (gst_segment_to_stream_time):
14378         Return correct return type in case of errors.
14379
14380 2006-03-14  Wim Taymans  <wim@fluendo.com>
14381
14382         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14383           Don't segfault on invalid formats.
14384
14385 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14386
14387         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14388           Can't use gst_segment_to_running_time() when the segment
14389           is not in GST_TIME_FORMAT (like with filesink, for example).
14390           Stops flac encoding pipelines from spewing critical warnings
14391           at EOS (#331248).
14392           
14393 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14394
14395         * gst/gstpipeline.c: (gst_pipeline_class_init):
14396           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14397
14398         * plugins/elements/gsttypefindelement.c:
14399         (gst_type_find_element_handle_event):
14400           Don't try to typefind empty streams.
14401
14402 2006-03-14  Wim Taymans  <wim@fluendo.com>
14403
14404         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14405         (gst_base_sink_do_qos):
14406         Separate QoS calculation.
14407         Only drop buffers when lateness is bigger than the 
14408         duration of the buffer.
14409
14410 2006-03-13  Wim Taymans  <wim@fluendo.com>
14411
14412         * gst/gstpipeline.c: (gst_pipeline_set_property),
14413         (gst_pipeline_get_property), (do_pipeline_seek),
14414         (gst_pipeline_change_state), (gst_pipeline_set_delay),
14415         (gst_pipeline_get_delay):
14416         Don't deadlock when reading properties.
14417
14418 2006-03-13  Wim Taymans  <wim@fluendo.com>
14419
14420         * libs/gst/base/gstbasetransform.c:
14421         (gst_base_transform_class_init), (gst_base_transform_init),
14422         (gst_base_transform_sink_event),
14423         (gst_base_transform_sink_eventfunc),
14424         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14425         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14426         (gst_base_transform_set_property),
14427         (gst_base_transform_get_property),
14428         (gst_base_transform_change_state), (gst_base_transform_update_qos),
14429         (gst_base_transform_set_qos_enabled),
14430         (gst_base_transform_is_qos_enabled):
14431         * libs/gst/base/gstbasetransform.h:
14432         Make basetransform virtual method for src events too.
14433         Handle QOS in basetransform.
14434         API: gst_base_transform_update_qos()
14435         API: gst_base_transform_set_qos_enabled()
14436         API: gst_base_transform_is_qos_enabled()
14437
14438 2006-03-13  Wim Taymans  <wim@fluendo.com>
14439
14440         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14441         (gst_base_sink_do_sync):
14442         Small cleanups.
14443         Use QOS debug category.
14444
14445 2006-03-13  Wim Taymans  <wim@fluendo.com>
14446
14447         * plugins/elements/gstqueue.c:
14448         Very small doc update.
14449
14450 2006-03-13  Wim Taymans  <wim@fluendo.com>
14451
14452         * gst/gst_private.h:
14453         * gst/gstinfo.c: (_gst_debug_init):
14454         Added QOS debug category
14455
14456 2006-03-13  Wim Taymans  <wim@fluendo.com>
14457
14458         * docs/gst/gstreamer-sections.txt:
14459         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14460         * gst/gstbin.h:
14461         * gst/gstbus.c: (gst_bus_class_init):
14462         * gst/gstbus.h:
14463         * gst/gstclock.c:
14464         * gst/gstelement.c: (gst_element_set_locked_state):
14465         * gst/gstsegment.c:
14466         Documentation updates.
14467
14468         * gst/gstpipeline.c: (gst_pipeline_get_type),
14469         (gst_pipeline_class_init), (gst_pipeline_init),
14470         (gst_pipeline_dispose), (gst_pipeline_set_property),
14471         (gst_pipeline_get_property), (do_pipeline_seek),
14472         (gst_pipeline_send_event), (gst_pipeline_change_state),
14473         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14474         (gst_pipeline_get_delay):
14475         * gst/gstpipeline.h:
14476         Added methods for setting the delay.
14477         API: gst_pipeline_set_delay()
14478         API: gst_pipeline_get_delay()
14479         Add pipeline debug category
14480         Various cleanups.
14481         Updated docs.
14482         Don't reset stream time when seek failed.
14483
14484 2006-03-13  Wim Taymans  <wim@fluendo.com>
14485
14486         * docs/design/draft-klass.txt:
14487         * docs/design/part-clocks.txt:
14488         * docs/design/part-events.txt:
14489         * docs/design/part-gstbin.txt:
14490         * docs/design/part-gstpipeline.txt:
14491         * docs/design/part-messages.txt:
14492         * docs/design/part-negotiation.txt:
14493         * docs/design/part-overview.txt:
14494         * docs/design/part-preroll.txt:
14495         * docs/design/part-seeking.txt:
14496         * docs/design/part-states.txt:
14497         * docs/design/part-streams.txt:
14498         Documentation updates.
14499
14500 2006-03-12  Julien MOUTTE  <julien@moutte.net>
14501
14502         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
14503         us to leak strings...
14504
14505 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14506
14507         * libs/gst/net/gstnettimeprovider.c:
14508           fix docs
14509         * win32/common/config.h:
14510           update
14511
14512 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
14513
14514         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
14515
14516         * configure.ac:
14517           Don't check for libgnomeui (leftover from old examples
14518           that aren't built or disted any longer) (#334303).
14519           
14520 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
14521
14522         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
14523         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14524           Emit RESOURCE_NO_SPACE_LEFT error here as well when
14525           there's no space left on the device.
14526
14527 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
14528
14529         * gst/gstclock.h:
14530           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
14531           to cast the input to GstClockTime before comparing with
14532           another GstClockTime value.
14533
14534 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14535
14536         * configure.ac:
14537           back to trunk
14538
14539 === release 0.10.4 ===
14540
14541 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
14542
14543         * configure.ac:
14544           releasing 0.10.4, "Light"
14545
14546 2006-03-10  Michael Smith  <msmith@fluendo.com>
14547
14548         * libs/gst/dataprotocol/dataprotocol.c:
14549           Fix docs for dataprocotol to not get the return types completely
14550           wrong for a few functions.
14551
14552 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14553
14554         * docs/gst/gstreamer-sections.txt:
14555         * gst/gstpipeline.c: (gst_pipeline_class_init),
14556         (gst_pipeline_init), (gst_pipeline_set_property),
14557         (gst_pipeline_get_property), (gst_pipeline_change_state),
14558         (gst_pipeline_set_auto_flush_bus),
14559         (gst_pipeline_get_auto_flush_bus):
14560         * gst/gstpipeline.h:
14561           Add new API: gst_pipeline_set_auto_flush_bus() and
14562           gst_pipeline_get_auto_flush_bus() to disable automatic
14563           flushing of the pipeline's GstBus when going from READY
14564           to NULL state (#332045).
14565
14566 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14567
14568         * docs/gst/gstreamer-sections.txt:
14569         * gst/gsturi.c: (gst_uri_has_protocol):
14570         * gst/gsturi.h:
14571            Add new API: gst_uri_has_protocol() (#333779).
14572
14573 2006-03-09  Wim Taymans  <wim@fluendo.com>
14574
14575         * gst/gstclock.c: (gst_clock_entry_new),
14576         (gst_clock_id_compare_func), (gst_clock_id_wait),
14577         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
14578         (gst_clock_init), (gst_clock_get_internal_time),
14579         (gst_clock_set_master), (do_linear_regression),
14580         (gst_clock_add_observation), (gst_clock_set_property):
14581         * gst/gstclock.h:
14582         Review docs.
14583         Small cleanups.
14584         Fix a possible segfault when the window-size is made smaller.
14585         Calculate jitter before performing the clock wait. Ideally
14586         the clock implementation should calculate jitter but we need
14587         API breakage for that.
14588
14589         * gst/gstsystemclock.c: (gst_system_clock_init):
14590         Docs review.
14591         
14592         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14593         Remove leftover else
14594
14595         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
14596         (gst_systemclock_suite):
14597         Added check to test GST_CLOCK_DIFF.
14598
14599 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14600
14601         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
14602         (gst_type_find_helper_get_range):
14603           If we are provided with the size, we should implement
14604           GstTypeFind::get_length, so that typefind functions who
14605           want to can actually peek at the middle of a file.
14606
14607 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
14608
14609         * docs/manual/advanced-dataaccess.xml:
14610           Add some very very basic error checking.
14611
14612         * docs/pwg/appendix-checklist.xml:
14613           Some updates to the list of things to check when writing an element.
14614
14615 2006-03-08  Wim Taymans  <wim@fluendo.com>
14616
14617         * docs/design/part-element-transform.txt:
14618         Added some docs about the design of tranform elements.
14619
14620         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14621         (gst_base_src_loop), (gst_base_src_change_state):
14622         Mark buffers with the DISCONT flag.
14623
14624 2006-03-08  Michael Smith  <msmith@fluendo.com>
14625
14626         * gst/gstregistry.h:
14627         * gst/gstregistryxml.c: (gst_registry_save),
14628         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
14629         (gst_registry_xml_save_pad_template),
14630         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
14631         (gst_registry_xml_write_cache):
14632           Rewrite registry-saving to avoid race conditions and check for
14633           failed writes.
14634
14635 2006-03-08  Wim Taymans  <wim@fluendo.com>
14636
14637         * libs/gst/base/gstbasetransform.c:
14638         (gst_base_transform_transform_caps),
14639         (gst_base_transform_transform_size),
14640         (gst_base_transform_prepare_output_buffer),
14641         (gst_base_transform_get_unit_size),
14642         (gst_base_transform_buffer_alloc),
14643         (gst_base_transform_handle_buffer),
14644         (gst_base_transform_change_state):
14645         Cleanups, separate normal flow from errors, add sensible
14646         DEBUG lines.
14647         Don't try to renegotiate when allocating an output buffer.
14648         Also copy DISCONT buffer flag when copying a buffer.
14649         Reset the transform after we finish streaming, not during.
14650
14651 2006-03-08  Wim Taymans  <wim@fluendo.com>
14652
14653         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14654         Use last buffer timestamp in qos message.
14655
14656 2006-03-07  Wim Taymans  <wim@fluendo.com>
14657
14658         Patch by: Christophe Fergeau
14659
14660         * docs/pwg/advanced-tagging.xml:
14661         * docs/pwg/building-pads.xml:
14662           fixes #333416
14663
14664 2006-03-07  Wim Taymans  <wim@fluendo.com>
14665
14666         * docs/libs/gstreamer-libs-sections.txt:
14667         Added basesink new methods.
14668
14669         * gst/gstevent.c:
14670         * gst/gstevent.h:
14671         Docs updates. Flesh out the QoS docs.
14672
14673         * libs/gst/base/gstadapter.c:
14674         Small doc clarification about ownership and flushing.
14675
14676         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
14677         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
14678         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
14679         (gst_base_sink_get_property), (gst_base_sink_do_sync):
14680         * libs/gst/base/gstbasesink.h:
14681         API additions: 
14682         Added new methods to allow subclass to control max-lateness 
14683         and sync.
14684         Generate very basic QoS events based on last sync observation.
14685         Updated docs, fix typo, added some QoS blurb.
14686
14687         * libs/gst/base/gstbasesrc.c:
14688         Remove obsolete _get_state() calls from docs.
14689
14690 2006-03-07  Wim Taymans  <wim@fluendo.com>
14691
14692         * docs/libs/gstreamer-libs-sections.txt:
14693         * libs/gst/base/gstbasetransform.h:
14694         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
14695         Fix docs for GstBaseSrc.
14696
14697 2006-03-07  Wim Taymans  <wim@fluendo.com>
14698
14699         * docs/gst/gstreamer-sections.txt:
14700         * gst/gstbuffer.h:
14701         * gst/gstvalue.c:
14702         * libs/gst/base/gstbasetransform.h:
14703         Small documentation fixes.
14704
14705 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
14706
14707         * gst/gstvalue.c:
14708           Document thread-unsafety of gst_value_register_foo_func()
14709           when used at the same time as gst_value_foo() (#322628).
14710
14711 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
14712
14713         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
14714         (gst_push_src_check_get_range):
14715           Push sources don't support pull mode by default.
14716
14717 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
14718
14719         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14720         (gst_base_src_init), (gst_base_src_pad_check_get_range),
14721         (gst_base_src_default_check_get_range):
14722         * libs/gst/base/gstbasesrc.h:
14723           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
14724           provide default implementation, and rename
14725           gst_base_src_check_get_range() to
14726           gst_base_src_pad_check_get_range() for clarity.
14727
14728 2006-03-06  Wim Taymans  <wim@fluendo.com>
14729
14730         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14731         Make property overridable.
14732
14733 2006-03-06  Wim Taymans  <wim@fluendo.com>
14734
14735         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14736         (gst_base_sink_init), (gst_base_sink_set_property),
14737         (gst_base_sink_get_property), (gst_base_sink_do_sync):
14738         * libs/gst/base/gstbasesink.h:
14739         API addition: Make max-lateness a property.
14740
14741 2006-03-06  Wim Taymans  <wim@fluendo.com>
14742
14743         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
14744         (gst_base_sink_do_sync), (gst_base_sink_render_object):
14745         Don't ever draw a frame that is >10ms late.
14746
14747 2006-03-06  Michael Smith  <msmith@fluendo.com>
14748
14749         * gst/gstmessage.c: (_gst_message_copy):
14750           When copying a message, set the parent_refcount of the enclosed
14751           structure to point at the copy, not the original message.
14752
14753 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
14754
14755         Patch by: Christophe Fergeau
14756
14757         * gst/gstutils.h:
14758           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
14759           usable in c++ code (#333417)
14760
14761 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14762
14763         * gst/gstclock.h:
14764           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
14765
14766 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
14767
14768         * libs/gst/base/gstbasetransform.c:
14769         (gst_base_transform_transform_caps):
14770           Make sure caps are writable before passing them to
14771           gst_caps_append().
14772
14773 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
14774
14775         * gst/gsterror.h:
14776           Fix some minor docs errors.
14777
14778 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
14779
14780           Patch by: Ross Burton <ross at burtonini dot com>
14781
14782         * gst/gsterror.c: (_gst_resource_errors_init):
14783         * gst/gsterror.h:
14784           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
14785
14786 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
14787
14788         * gst/gst.c:
14789         Add a check and output a g_warning when GStreamer is built
14790         against GLib 2.6 but running against 2.8 or higher, and vice 
14791         versa. (Closes: #323542)
14792
14793 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
14794
14795         * gst/parse/parse.l:
14796           Commit patch for parse_launch syntax from #331255. Removes 
14797           support for quoted strings and mimetypes when writing filtered 
14798           caps. See the bug report for more details - I'm pretty sure this
14799           obscure feature is not in use by _anyone_ anywhere.
14800
14801           With this simple change, the size of the gstreamer.so here 
14802           drops from 2193KB to 1565KB.
14803
14804 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14805
14806         * plugins/elements/gsttypefindelement.h:
14807         * plugins/elements/gsttypefindelement.c:
14808         (gst_type_find_element_src_event), (start_typefinding),
14809         (stop_typefinding), (gst_type_find_element_handle_event),
14810         (gst_type_find_element_chain),
14811         (gst_type_find_element_chain_do_typefinding):
14812           Use gst_type_find_helper_for_buffer() for chain-based
14813           typefinding.
14814
14815 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14816
14817         * plugins/elements/gsttypefindelement.c:
14818         (gst_type_find_element_class_init),
14819         (gst_type_find_element_set_property),
14820         (gst_type_find_element_get_property):
14821           Deprecate "maximum" property (not only was it only taken into
14822           account for typefinding in push-mode anyway, it also was never
14823           actually possible to set it in the first place because the
14824           property was registered with the numeric property ID for the
14825           "minimum" property). Register "maximum" property correctly,
14826           for the sake of future copy'n'pasters. Remove some cruft
14827           from property get/set functions.
14828
14829 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14830
14831         * plugins/elements/gsttypefindelement.c:
14832         (gst_type_find_element_activate):
14833           Use gst_type_find_helper_get_range() here, so we
14834           can honour the "minimum" property and also emit
14835           the signal with the correct probability of the found caps.
14836
14837 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
14838
14839         * docs/libs/gstreamer-libs-sections.txt:
14840         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
14841         (helper_find_suggest), (gst_type_find_helper_get_range),
14842         (gst_type_find_helper):
14843         * libs/gst/base/gsttypefindhelper.h:
14844           New API: gst_type_find_helper_get_range() (#333042).
14845
14846 2006-03-02  Michael Smith  <msmith@fluendo.com>
14847
14848         * gst/gstregistryxml.c: (load_feature):
14849           Asserting on a failure to read part of the registry is Not Cool.
14850           Just log a warning and return NULL (which is already handled)
14851
14852 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
14853
14854         * win32/common/libgstbase.def:
14855           added export of gst_type_find_helper_for_buffer
14856         * win32/common/libgstbase.def:
14857           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
14858           gst_ghost_pad_get_target
14859
14860 2006-02-28  Wim Taymans  <wim@fluendo.com>
14861
14862         * docs/design/draft-klass.txt:
14863         We use Filter now.
14864         Added Connector to mark elements that are only used to
14865         allow pipeline connections.
14866         Moved Debug to extra feature since most of them are 
14867         functionally something else.
14868
14869 2006-02-28  Wim Taymans  <wim@fluendo.com>
14870
14871         * docs/design/draft-klass.txt:
14872         Some updates and clarifications.
14873
14874 2006-02-28  Wim Taymans  <wim@fluendo.com>
14875
14876         * docs/design/draft-klass.txt:
14877         Proposal for klass field values.
14878
14879         * docs/design/part-streams.txt:
14880         Start of a doc describing stream anatomy.
14881
14882 2006-02-28  Wim Taymans  <wim@fluendo.com>
14883
14884         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
14885         Help the compiler a bit with type registration.
14886         Use existing forward cod path instead of duplicating it when 
14887         handling a message.
14888         
14889         * gst/gstbus.c: (gst_bus_get_type):
14890         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
14891         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
14892         * gst/gstclock.c: (gst_clock_get_type):
14893         * gst/gstelement.c: (gst_element_get_type),
14894         * gst/gstelementfactory.c: (gst_element_factory_get_type):
14895         * gst/gstindexfactory.c: (gst_index_factory_get_type):
14896         * gst/gstminiobject.c: (gst_mini_object_get_type):
14897         * gst/gstpad.c: (gst_pad_get_type):
14898         * gst/gstsegment.c: (gst_segment_get_type):
14899         * gst/gststructure.c: (gst_structure_get_type):
14900         * gst/gstsystemclock.c: (gst_system_clock_get_type):
14901         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
14902         * gst/gstvalue.c:
14903         Help compiler with type registration.
14904
14905         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
14906         Small doc update.
14907
14908 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14909
14910         * plugins/elements/gsttypefindelement.c:
14911         (gst_type_find_element_handle_event):
14912           When we get an EOS event and have not found a type yet
14913           (most likely because we had not yet accumulated
14914           TYPE_FIND_MIN_SIZE of data yet), try to determine the
14915           type given the data we have so far. Fixes typefinding
14916           for very short streams again, most notably quicktime
14917           redirections as used on Apple's trailer site (#331701).
14918
14919 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14920
14921         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
14922         (gst_type_find_helper):
14923           Try typefinding factories with the highest rank first.
14924
14925 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14926
14927         * docs/libs/gstreamer-libs-docs.sgml:
14928         * docs/libs/gstreamer-libs-sections.txt:
14929         * libs/gst/base/gsttypefindhelper.c:
14930           Add section for typefind helper and add documentation
14931           for the old and the new function.
14932
14933 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14934
14935         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
14936         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
14937         (gst_type_find_helper_for_buffer):
14938         * libs/gst/base/gsttypefindhelper.h:
14939           New API: gst_type_find_helper_for_buffer() (#332723).
14940           
14941 2006-02-27  Michael Smith  <msmith@fluendo.com>
14942
14943         Patch by: Loïc Minier
14944
14945         * configure.ac:
14946         * docs/Makefile.am:
14947         * docs/slides/Makefile.am:
14948           prevent CVS directories getting disted.
14949
14950 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14951
14952         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
14953           Use the REFCOUNTING category for caps refcounting.
14954           
14955 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
14956
14957         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
14958           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
14959
14960 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
14961
14962         * plugins/elements/gsttypefindelement.c:
14963         (gst_type_find_element_activate):
14964           Use gst_pad_check_pull_range() before _activate_pull()
14965           to avoid unnecessary open/close (see #331690).
14966
14967 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
14968
14969         * gst/gstutils.c:
14970           Docs enhancement: make it crystal clear what the
14971           gst_pad_add_*_probe() callbacks should look like.
14972
14973 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
14974
14975         * libs/gst/base/gstbasesrc.c:
14976           Document how applications can stop recording from
14977           live sources (see #330996).
14978
14979 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
14980
14981         * tests/check/Makefile.am:
14982         * tests/check/libs/basesrc.c: (eos_event_counter),
14983         (basesrc_eos_events_pull), (basesrc_eos_events_push),
14984         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
14985         (gst_basesrc_suite), (main):
14986           ... and add some tests for the base source EOS stuff.
14987
14988 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
14989
14990         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
14991           Test case originally showed the problem fixed below,
14992           but was then amended. Add checks back at the place
14993           where they used to be.
14994
14995 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
14996
14997         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14998         (gst_base_src_init), (gst_base_src_loop),
14999         (gst_base_src_activate_push), (gst_base_src_activate_pull),
15000         (gst_base_src_change_state):
15001         * libs/gst/base/gstbasesrc.h:
15002           Don't unconditionally send EOS when going from PAUSED to
15003           READY state, esp. make sure we don't send two EOS events
15004           in some cases (e.g. one when reaching EOS and one when
15005           going from PAUSED to READY). Also, we don't want to send
15006           EOS events when operating in pull mode. However, we do
15007           want to send an EOS event when shutting down a live
15008           source explicitly, for example (fixes #330996).
15009           
15010 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15011
15012         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
15013           Update src->read_position after a seek when not using mmap.
15014           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
15015
15016 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
15017
15018         * gst/Makefile.am:
15019         * gst/gstparse.h:
15020         * gst/gstutils.c:
15021         * gst/gstutils.h:
15022         Make things work with --disable-parse as they do with 
15023         --disable-load-save - the symbols involved disappear, but the
15024         header is still installed and GST_DISABLE_PARSE is included via
15025         gstconfig.h
15026
15027 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15028
15029         * libs/gst/base/gstbasetransform.c:
15030         (gst_base_transform_change_state): Fix a stupid bug. I was 
15031         sure I compiled that.
15032
15033 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15034
15035         * gst/gstpad.c: (gst_pad_set_blocked_async):
15036         * gst/gstutils.c: (gst_pad_add_data_probe),
15037         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15038         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15039         (gst_pad_remove_buffer_probe): Make those function act on the
15040         ghostpad target when it's a ghostpad. (Closes #331727)
15041
15042 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15043
15044         * libs/gst/base/gstbasetransform.c:
15045         (gst_base_transform_change_state): Make basetransform reusable.
15046         (Closes #331898)
15047
15048 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
15049
15050         * docs/random/release:
15051         Move the current documentation of how to do a release to the top
15052         of the file.
15053
15054         * gst/gstbin.c: (gst_bin_class_init),
15055         (gst_bin_handle_message_func):
15056         Allow multiple state-recalculation threads. (Closes #328873)
15057
15058 2006-02-19  Julien MOUTTE  <julien@moutte.net>
15059
15060         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
15061         * gst/gstpad.c: (gst_pad_set_event_function),
15062         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15063         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
15064         2 strings. You can't use the STR_NULL macro on that.
15065
15066 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
15067
15068         * gst/gstpad.c: (gst_pad_set_event_function),
15069         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15070         (gst_pad_set_getcaps_function)
15071         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
15072           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
15073           So now, we can use --gst-debug-level=5 on Windows
15074         * win32/common/libgstcontroller.def:
15075           Added export of gst_controller_init
15076         * win32/vs6/libgstcontroller.dsp:
15077           Fixed Release post build configuration
15078
15079 2006-02-17  Wim Taymans  <wim@fluendo.com>
15080
15081         * tests/check/gst/gstquery.c: (GST_START_TEST):
15082         Added another check.
15083
15084 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
15085
15086         * plugins/elements/gsttypefindelement.c: (find_peek):
15087           We can do peeks at non-zero offsets, as long as they
15088           fall within the buffer we have.
15089
15090 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
15091
15092         * tests/check/Makefile.am:
15093         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
15094         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
15095         (parse_suite), (main):
15096           Add testsuite for parse launch syntax
15097
15098 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
15099
15100         * plugins/elements/gsttypefindelement.c:
15101         (gst_type_find_element_chain):
15102           When typefinding is unsuccessful in the chain function, don't
15103           error out immediately. Only error out with NO_CAPS_FOUND if
15104           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
15105           otherwise simply wait for more data so we can try typefinding
15106           again with more data later. Also, don't attempt to typefind
15107           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
15108           this should improve typefinding from network sources where the
15109           size of the first buffer can be somewhat random.
15110
15111 2006-02-14  Wim Taymans  <wim@fluendo.com>
15112
15113         * docs/gst/gstreamer-sections.txt:
15114         * gst/gstpadtemplate.c:
15115         * gst/gstpadtemplate.h:
15116         Fix padtemplate docs, fixes #328805.
15117
15118 2006-02-14  Wim Taymans  <wim@fluendo.com>
15119
15120         * tools/gst-launch.c: (main):
15121         NO_PREROLL is not an ERROR so don't send confusing messages
15122         to the user.
15123
15124 2006-02-14  Wim Taymans  <wim@fluendo.com>
15125
15126         Patch by: Torsten Schoenfeld
15127
15128         * gst/gstregistry.c: (gst_registry_get_default),
15129         (_gst_registry_cleanup):
15130         Protect default registry with lock and ref/sink it.
15131         Fixes #324818
15132
15133 2006-02-14  Wim Taymans  <wim@fluendo.com>
15134
15135         * gst/gstbuffer.c:
15136         * gst/gstquery.c: (gst_query_list_add_format),
15137         (gst_query_set_formatsv), (gst_query_parse_formats_length),
15138         (gst_query_parse_formats_nth):
15139         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15140         Docs fixes.
15141
15142 2006-02-14  Wim Taymans  <wim@fluendo.com>
15143
15144         * docs/gst/gstreamer-sections.txt:
15145         Reworked query docs.
15146
15147         * gst/gstquery.c: (gst_query_new_formats),
15148         (gst_query_list_add_format), (gst_query_set_formats),
15149         (gst_query_set_formatsv), (gst_query_parse_formats_length),
15150         (gst_query_parse_formats_nth):
15151         * gst/gstquery.h:
15152         Flesh out formats query, added some new methods.
15153         Fix part of #324398.
15154
15155         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
15156         Added query creation tests.
15157
15158 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
15159
15160         * gst/gstpad.c: (fixate_value):
15161         Add a default fixation for fraction lists.
15162
15163 2006-02-13  Wim Taymans  <wim@fluendo.com>
15164
15165         * gst/gsttask.c: (gst_task_init), (gst_task_func),
15166         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
15167         (gst_task_join):
15168         * gst/gsttask.h:
15169         Detect and warn for obvious deadlocks. fixes #320340
15170         Fix error case where lock was not released.
15171
15172         * tests/check/Makefile.am:
15173         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
15174         (task_func), (gst_element_suite), (main):
15175         Add task check.
15176
15177 2006-02-13  Wim Taymans  <wim@fluendo.com>
15178
15179         * docs/gst/gstreamer-sections.txt:
15180         * gst/gstbus.c:
15181         Add new functions to docs.
15182
15183 2006-02-13  Wim Taymans  <wim@fluendo.com>
15184
15185         * docs/design/part-TODO.txt:
15186         Updated TODO list, basesrc supports seeking to non-bytes
15187         formats.
15188
15189         * docs/design/part-element-sink.txt:
15190         Update docs.
15191
15192         * gst/gstbin.c: (bin_replace_message),
15193         (gst_bin_handle_message_func):
15194         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
15195         * gst/gstevent.c: (gst_event_finalize):
15196         * gst/gstpad.c: (gst_pad_event_default_dispatch),
15197         (gst_pad_send_event):
15198         Use shiny new _TYPE_NAME macros.
15199
15200         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15201         Move debug statement up.
15202
15203         * gst/gstelement.c: (gst_element_set_locked_state):
15204         Add some debugging.
15205
15206 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
15207
15208         * docs/gst/gstreamer-sections.txt:
15209         * gst/gstmessage.h:
15210         * gst/gstquery.h:
15211           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
15212           macros (#330906). Also, document the already existing
15213           GST_QUERY_TYPE macro.
15214
15215 2006-02-13  Wim Taymans  <wim@fluendo.com>
15216
15217         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
15218         (event_probe), (GST_START_TEST):
15219         Only events up to the pipeline EOS are counted, there are
15220         some more when going to NULL currently which we don't care
15221         about for now.
15222
15223 2006-02-13  Wim Taymans  <wim@fluendo.com>
15224
15225         * gst/gstpad.c: (gst_pad_send_event):
15226         Correctly check flushing and emit probes. fixes #330125
15227
15228 2006-02-10  Andy Wingo  <wingo@pobox.com>
15229
15230         * gst/gstbus.c (gst_bus_class_init): Declare our private data
15231         structure.
15232         (gst_bus_init): Cache the location of the private data in the
15233         instance structure.
15234         (gst_bus_enable_sync_message_emission) 
15235         (gst_bus_disable_sync_message_emission): Implement new public
15236         functions.
15237         (gst_bus_post): Emit the sync-message signal if the user asked for
15238         it. Fixes #330684.
15239
15240         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15241         location of the bus-private structure.
15242         (gst_bus_enable_sync_message_emission)
15243         (gst_bus_disable_sync_message_emission): API addition
15244
15245 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
15246
15247         Patch by: Vincent Torri
15248
15249         * docs/pwg/building-boiler.xml:
15250         PWG patch from #326800
15251
15252 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
15253
15254         * configure.ac:
15255         * docs/Makefile.am:
15256         * docs/design/Makefile.am:
15257           Dist design docs.
15258
15259 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15260
15261         * configure.ac:
15262           back to CVS
15263
15264 === release 0.10.3 ===
15265
15266 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
15267
15268         * configure.ac:
15269           releasing 0.10.3, "Like a virgin"
15270
15271 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15272
15273         * configure.ac:
15274           2nd prerelease of 0.10.3
15275           Bump libtool versioning.
15276
15277 2006-02-07  Andy Wingo  <wingo@pobox.com>
15278
15279         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15280         update last_stop if we're in TIME format and the timestamp is
15281         valid.
15282
15283         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
15284         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
15285         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15286         If we get a new newsegment with a different format, adapt
15287         accordingly.
15288
15289         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15290         of 0. Not a problem, really.
15291
15292         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15293         warn if sync=true.
15294
15295 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
15296
15297         * configure.ac:
15298           Prelease of 0.10.3
15299
15300 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
15301
15302         * win32/vs7:
15303           project files updated to the default vs7 configuration
15304         * win32/common/libgstbase.def:
15305         * win32/common/libgstreamer.def:
15306           added new symbols,
15307           removed empty lines,
15308           sorted all exported symbols alphabetically
15309         * win32/common/dirent.c:
15310         * win32/common/dirent.h:
15311         * win32/common/gchar.h:
15312           use windows line end.
15313           
15314 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15315
15316         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15317           Send EOS event when stopping.
15318
15319 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15320
15321         * docs/README:
15322           Tell folks what to do if the plugin-foobar.xml file
15323           hasn't been generated for a newly-added plugin.
15324
15325 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15326
15327         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15328         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15329         (gst_collect_pads_start), (gst_collect_pads_stop),
15330         (gst_collect_pads_event): Collectpads now holds a reference
15331         to the GstPad that was added. Indeed we don't want to look
15332         at pads that might just go away with no warning...
15333
15334 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15335
15336         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15337         (gst_collect_pads_start), (gst_collect_pads_stop),
15338         (gst_collect_pads_event), (gst_collect_pads_chain):
15339         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15340         Mark Nauwelaerts's patch on bug #328491.
15341
15342 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15343
15344         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15345         (gst_utils_suite):
15346           Add some simple tests for gst_parse_bin_from_description() and
15347           gst_bin_find_unconnected_pad() (#329069).
15348
15349 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15350
15351         * tools/gst-launch.c: (event_loop), (main):
15352           Catch errors during preroll (#320084).
15353
15354 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
15355
15356         * plugins/elements/gsttypefindelement.c:
15357         (gst_type_find_element_activate):
15358           Post TYPE_NOT_FOUND error message when typefinding
15359           is unsuccessful in the activate function as well.
15360
15361 2006-02-02  Wim Taymans  <wim@fluendo.com>
15362
15363         * docs/design/part-element-sink.txt:
15364         Updated doc.
15365
15366 2006-02-02  Wim Taymans  <wim@fluendo.com>
15367
15368         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15369         (gst_base_sink_render_object),
15370         (gst_base_sink_queue_object_unlocked):
15371         Only keep track of prerollable items when we are 
15372         prerolling.
15373         Before rendering after preroll, always check if we
15374         have queued items.
15375         Added some more debugging.
15376
15377 2006-02-02  Wim Taymans  <wim@fluendo.com>
15378
15379         * gst/gstelement.c: (gst_element_continue_state),
15380         (gst_element_set_state_func), (gst_element_change_state):
15381         Fixed #326576, been running this for quite some time with
15382         no regressions at all.
15383
15384 2006-02-02  Wim Taymans  <wim@fluendo.com>
15385
15386         * common/gst.supp:
15387         Added more suppressions
15388
15389 2006-02-02  Wim Taymans  <wim@fluendo.com>
15390
15391         * docs/design/part-element-sink.txt:
15392         Updated document.
15393
15394         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15395         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15396         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15397         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15398         (gst_base_sink_do_sync), (gst_base_sink_render_object),
15399         (gst_base_sink_preroll_object),
15400         (gst_base_sink_queue_object_unlocked),
15401         (gst_base_sink_queue_object), (gst_base_sink_event),
15402         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15403         (gst_base_sink_loop), (gst_base_sink_activate_pull),
15404         (gst_base_sink_get_position), (gst_base_sink_change_state):
15405         * libs/gst/base/gstbasesink.h:
15406         Totally refactored matching the design doc.
15407         Use two segments, one to clip incomming buffers and another to
15408         perform sync.
15409         Handle queueing correctly, bypass the queue when playing.
15410         Make EOS cancelable.
15411         Handle errors correctly when operating in pull based mode.
15412
15413         * tests/check/elements/fakesink.c: (GST_START_TEST),
15414         (fakesink_suite):
15415         Added new check for sinks.
15416
15417 2006-02-02  Wim Taymans  <wim@fluendo.com>
15418
15419         * gst/gstsegment.c: (gst_segment_clip):
15420         No reason to refuse to clip when start == -1
15421
15422 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
15423
15424         * docs/README:
15425         * docs/manual/intro-basics.xml:
15426         * docs/manual/intro-preface.xml:
15427         * docs/manual/manual.xml:
15428         * docs/pwg/advanced-dparams.xml:
15429         * docs/pwg/intro-basics.xml:
15430         * docs/pwg/intro-preface.xml:
15431         * docs/pwg/pwg.xml:
15432           describe dparams (controller) for plugins
15433           unify docs a little more
15434
15435 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
15436
15437         * docs/gst/gstreamer-sections.txt:
15438         * gst/gstutils.c: (element_find_unconnected_pad),
15439         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15440         * gst/gstutils.h:
15441           Add new API: gst_parse_bin_from_description() and
15442           gst_bin_find_unconnected_pad() (#329069).
15443
15444 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
15445
15446         * docs/manual/README:
15447           uncover a nasty detail of the docs build
15448
15449 2006-01-31  Wim Taymans  <wim@fluendo.com>
15450
15451         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15452         Don't cache duration messages if we're not going to use or
15453         free them.
15454
15455 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
15456
15457         * docs/manual/advanced-dparams.xml:
15458         * docs/pwg/advanced-dparams.xml:
15459           more dparam docs
15460         * gst/gstindex.c:
15461           fix docs
15462         * libs/gst/controller/lib.c: (gst_controller_init):
15463           init just once
15464
15465 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
15466
15467         * gst/gstelement.c: (gst_element_message_full):
15468           also show file/line/func if no additional debug was given
15469
15470 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
15471         
15472         * win32/vs7/grammar.vcproj:
15473           activate copy of autogenerated files for Release mode
15474
15475 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
15476         
15477         * win32/common/libgstreamer.def:
15478           export gst_value_compare
15479
15480 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
15481
15482         * plugins/elements/Makefile.am:
15483         * plugins/elements/gstelements.c:
15484         * plugins/elements/gstfdsink.c: (_do_init),
15485         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
15486         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
15487         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
15488         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
15489         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
15490         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
15491         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
15492         * plugins/elements/gstfdsink.h:
15493         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
15494
15495 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
15496
15497         * docs/manual/advanced-dparams.xml:
15498           describe controller
15499         * docs/manual/advanced-position.xml:
15500         * docs/manual/basics-init.xml:
15501         * docs/manual/manual.xml:
15502         * docs/manual/titlepage.xml:
15503         * docs/pwg/pwg.xml:
15504         * docs/pwg/titlepage.xml:
15505           cleanup xml (more to come)
15506         * libs/gst/controller/gstcontroller.c:
15507           fix typo
15508
15509 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
15510         
15511         * win32/vs6/grammar.dsp:
15512           add autogen of gstmarshal.c,h for Release mode
15513                 
15514 2006-01-30  Wim Taymans  <wim@fluendo.com>
15515
15516         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15517         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
15518         (gst_base_sink_handle_object), (gst_base_sink_event),
15519         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
15520         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15521         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
15522         (gst_base_sink_deactivate), (gst_base_sink_activate),
15523         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15524         (gst_base_sink_query), (gst_base_sink_change_state):
15525         Basesink cleanups, remove some old code.
15526         Handle the case where a subclass can preroll in the render
15527         method (mostly audiosinks).
15528         Handle more events.
15529         Remove some locks around variables that are now protected
15530         with the PREROLL_LOCK (clock_id, flushing, ..).
15531         Optimize position query some more, do correct locking.
15532         Remove old code to push queue in state change, this is not
15533         needed anymore since preroll blocks on all prerollable items 
15534         now.
15535         Almost implemented as described in design doc.
15536
15537 2006-01-30  Wim Taymans  <wim@fluendo.com>
15538
15539         * tests/check/gst/gstbin.c: (GST_START_TEST):
15540         Wait for refcount to settle down before checking.
15541
15542 2006-01-30  Wim Taymans  <wim@fluendo.com>
15543
15544         * docs/design/part-element-sink.txt:
15545         Pseudo code overview of desired sink behaviour regarding
15546         preroll.
15547
15548 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15549         * win32/vs6/grammar.dsp:
15550           fix some bugs in Release mode for autogenerated files
15551                 
15552 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15553         * win32/common/libgstbase.def:
15554         * win32/common/libgstreamer.def:
15555           export some new symbols: gst_base_src_set_format,
15556           gst_iterator_next, gst_structure_set_valist
15557
15558 2006-01-29  Julien MOUTTE  <julien@moutte.net>
15559
15560         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
15561         Set pad functions unconditionally. Fixes #329105.
15562
15563 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15564         * win32/vs8:
15565           add vs8 project files created by Sergey Scobich
15566
15567 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
15568
15569         * gst/gstutils.c: (gst_element_unlink_pads):
15570         Don't leak pad references.
15571
15572         * tests/check/elements/fakesink.c: (GST_START_TEST):
15573         * tests/check/generic/sinks.c: (GST_START_TEST):
15574         * tests/check/generic/states.c: (GST_START_TEST):
15575         * tests/check/gst/gstbin.c: (GST_START_TEST):
15576         * tests/check/gst/gstcaps.c: (GST_START_TEST):
15577         * tests/check/gst/gstelement.c: (GST_START_TEST):
15578         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15579         * tests/check/gst/gstiterator.c: (GST_START_TEST):
15580         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15581         Fix a bunch of leaks. Make generic/sinks.c
15582         use a bit less cpu by slowing the buffer rate
15583         between fakesrc and fakesink.
15584         
15585 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
15586         * gst/gstcaps.c:
15587         * gst/gstelement.c: (gst_element_send_event):
15588         * gst/gstevent.c:
15589         * gst/gstinfo.c:
15590         * gst/gstiterator.c:
15591         * gst/gstiterator.h:
15592         * gst/gstpad.c: (gst_pad_send_event):
15593         * gst/gststructure.c:
15594         * gst/gsturi.c:
15595         * gst/gstutils.c:
15596         * gst/gstvalue.c:
15597         * libs/gst/base/gstadapter.c:
15598           doc fixes, to link to function, just write gst_cool_function(), don't
15599           prefix with '#'
15600
15601 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15602
15603         * plugins/elements/gsttee.c: (gst_tee_do_push),
15604         (gst_tee_handle_buffer):
15605         Always prefer an actual return value from a src
15606         pad in place of NOT_LINKED. This means we return
15607         WRONG_STATE when all src pads are WRONG_STATE
15608         instead of NOT_LINKED.
15609
15610         Lock when replacing the last message to prevent
15611         racing with the get_property method.
15612
15613         Add debug output
15614
15615 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15616
15617         * tests/check/Makefile.am:
15618         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
15619         (main):
15620         Add a very simple check that should have caught the memleak I fixed
15621         last night (if not for the slice allocator hiding it)
15622
15623 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15624
15625         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15626         (gst_bin_remove_func), (gst_bin_handle_message_func),
15627         (bin_query_duration_fold), (bin_query_generic_fold):
15628         Clean up references to the clock provider when disposed or when
15629         handling a clock-lost message from it.
15630
15631         Unref sinks when performing a query via gst_iterator_fold, as the
15632         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
15633
15634         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
15635         (gst_clock_set_master):
15636         Drop our reference to the master clock, if any, when we are disposed.
15637
15638         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
15639         Chain up in dispose. 
15640
15641 2006-01-26  Wim Taymans  <wim@fluendo.com>
15642
15643         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15644         Add some debugging.
15645
15646 2006-01-26  Julien MOUTTE  <julien@moutte.net>
15647
15648         * plugins/elements/gsttee.c: (gst_tee_do_push),
15649         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
15650         handles pad being NOT_LINKED or in WRONG_STATE.
15651
15652 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15653
15654         * win32/MANIFEST:
15655           more updating
15656
15657 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15658
15659         * win32/MANIFEST:
15660           remove obsolete entry
15661
15662 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15663
15664         * docs/gst/gstreamer-sections.txt:
15665         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
15666         (gst_bin_iterate_sources), (gst_bin_send_event):
15667         * gst/gstbin.h:
15668         * gst/gstelement.c: (gst_element_send_event):
15669         * gst/gstevent.c:
15670         * gst/gstpad.c: (gst_pad_send_event):
15671           added code for downstream events, reviewed docs in gstevent.c
15672
15673 2006-01-25  Julien MOUTTE  <julien@moutte.net>
15674
15675         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15676         We only query position using the clock in the playing state.
15677         Query peer in the other cases.
15678         * win32/common/config.h: Updates.
15679
15680 2006-01-24  Wim Taymans  <wim@fluendo.com>
15681
15682         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15683         A clock entry that is scheduled for the exact time of the
15684         clock is still in time.
15685
15686         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15687         (gst_base_sink_do_sync):
15688         Add some more debug info.
15689
15690 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
15691
15692         * win32/vs7:
15693           Add new vs7 project files and solution.
15694
15695 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
15696
15697         * win32/vs7:
15698           all files removed as they were out-dated.
15699
15700 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15701
15702         * docs/random/release:
15703           update notes
15704         * gst/gstbin.c: (gst_bin_init):
15705         * gst/gstbus.c: (gst_bus_new):
15706         * gst/gstbus.h:
15707         * gst/gstpipeline.c: (gst_pipeline_init):
15708           use gst_bus_new(), improve logging, fix docs
15709         * win32/common/config.h:
15710           update for cvs build
15711
15712 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15713
15714         * autogen.sh:
15715           up required version of automake to 1.7
15716
15717 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
15718
15719         * win32/common/libgstreamer.def:
15720           export gst_buffer_is_metadata_writable
15721
15722 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
15723
15724         * docs/gst/gstreamer-sections.txt:
15725         * gst/gstevent.h:
15726           Add gst_event_replace() (#327001)
15727
15728 2006-01-20  Wim Taymans  <wim@fluendo.com>
15729
15730         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15731         Make it actually compile too..
15732
15733 2006-01-20  Wim Taymans  <wim@fluendo.com>
15734
15735         * gst/gstcaps.c:
15736         Clarify behaviour of _is_equal() when passing NULL parameters.
15737
15738         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15739         (gst_pad_set_caps):
15740         Cleanups. Don't unref NULL caps.
15741         When setting the same caps, protect caps of the pad with
15742         proper lock.
15743         Use full functionality of _is_equal() when comparing caps.
15744
15745 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
15746
15747         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15748         Don't loop infinitely if there are no buffers to present. Partially
15749         fixes #327197, but collectpads is just broken for reusing elements
15750         to do multiple encodes atm.
15751
15752 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
15753
15754         * tools/gst-inspect.c: (print_element_features):
15755         * tools/gst-xmlinspect.c: (main):
15756         URL_HANDLER is not a plugin feature we can search for in
15757         the registry.
15758
15759 2006-01-19  Edward Hervey  <edward@fluendo.com>
15760
15761         * gst/gstelement.c: (gst_element_pads_activate): 
15762         When activating, do src pads first, then sink pads.
15763         When de-activating, do sink pads first, then src pads.
15764
15765 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15766
15767         * docs/gst/gstreamer-sections.txt:
15768         Add gst_index_add_associationv to the docs
15769
15770 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15771
15772         * gst/gstevent.c:
15773           Fix docs typo
15774
15775         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
15776         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
15777           Do some refactoring. Doesn't actually change functionality,
15778           but makes landing the DRAIN event easier later.
15779
15780 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
15781
15782         * docs/pwg/advanced-scheduling.xml:
15783           Update from 0.9.x to 0.10 API and make example a bit
15784           clearer.
15785
15786 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15787
15788         * docs/gst/gstreamer-sections.txt:
15789         Add gst_buffer_(is|make)_metadata_writable methods.
15790
15791 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15792
15793         * docs/design/part-sparsestreams.txt:
15794         Update sparse streams doc, hopefully for greater clarity
15795
15796 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
15797
15798         * docs/design/part-events.txt:
15799         Remove mention of FILLER events.
15800         Add DRAIN event.
15801
15802         * docs/design/part-sparsestreams.txt:
15803         Write some things about using NEWSEGMENT to keep sparse streams
15804         flowing.
15805
15806 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
15807
15808         * gst/gstbin.c: (gst_bin_dispose):
15809           Guard gst_object_unref call against a NULL object (dispose
15810           can theoretically be called multiple times).
15811           
15812 2006-01-18  Wim Taymans  <wim@fluendo.com>
15813
15814         * gst/gstbin.c: (gst_bin_element_set_state):
15815         * gst/gstclock.c: (gst_clock_id_wait):
15816         Added some more debug info.
15817
15818         * libs/gst/base/gstadapter.c:
15819         Added more docs.
15820
15821         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15822         (gst_base_sink_do_sync), (gst_base_sink_chain):
15823         Added some comments.
15824
15825 2006-01-18  Wim Taymans  <wim@fluendo.com>
15826
15827         * tests/check/Makefile.am:
15828         * tests/check/elements/fakesink.c: (chain_async_buffer),
15829         (chain_async), (chain_async_return), (GST_START_TEST),
15830         (fakesink_suite), (main):
15831         Added fakesink test that checks prerolling and clipping
15832         behaviour.
15833
15834         * tests/check/gst/gstutils.c: (GST_START_TEST):
15835         Make check run faster so that buildbots don't timeout.
15836
15837 2006-01-18  Wim Taymans  <wim@fluendo.com>
15838
15839         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15840         (gst_base_sink_do_sync):
15841         Some cleanups.
15842         When the sink finishes blocking on the preroll buffer, it can
15843         immediatly render it instead of rendering when the next buffer
15844         arrives.
15845
15846 2006-01-18  Wim Taymans  <wim@fluendo.com>
15847
15848         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
15849         (gst_base_sink_get_property), (gst_base_sink_do_sync),
15850         (gst_base_sink_chain):
15851         Small cleanups.
15852         GST_ELEMENT_CLOCK and sync are protected with LOCK.
15853         Don't store _last_stop if the buffer is dropped.
15854
15855 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
15856
15857         * plugins/elements/gsttypefindelement.c:
15858         (gst_type_find_element_class_init):
15859           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
15860           object method handler that sets the caps on the pad and we want
15861           that to happen before we emit the signal (fixes e.g. feeding a
15862           plain text file to decodebin).
15863
15864 2006-01-18  Christian Schaller  <Christian@fluendo.com>
15865
15866         * gst/gstplugin.c: Add MPL and Proprietary as license options
15867
15868 2006-01-18  Andy Wingo  <wingo@pobox.com>
15869
15870         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
15871         symbol was exported before, it appears this was just an oversight.
15872         Fixes #168703.
15873         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
15874
15875         * gst/gstindex.c (gst_index_add_associationv): Changed int in
15876         prototype to gint. OK since this prototype was not in the header.
15877
15878 2006-01-17  Andy Wingo  <wingo@pobox.com>
15879
15880         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
15881         registry while we remove plugins.
15882
15883         * tools/gst-inspect.c (print_element_info): Don't unref the
15884         factory arg, that should be the responsibility of whatever code
15885         received the ref. Fixes a double-free when called from
15886         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
15887         (main): Unref the factory if we have one.
15888         (print_element_list): No change -- relies on the
15889         plugin_feature_list_free to free the list of features.
15890
15891 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
15892
15893         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15894         (gst_buffer_make_metadata_writable):
15895         * gst/gstbuffer.h:
15896         * libs/gst/base/gstbasetransform.c:
15897         (gst_base_transform_prepare_output_buf):
15898         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15899         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15900           Replace gst_buffer_(make|is)_metadata_writable patch now
15901           that the release is out.
15902
15903 2006-01-17  Andy Wingo  <wingo@pobox.com>
15904
15905         * gst/gstregistry.c: Reflow design comment. Update so as to speak
15906         in the present tense without reference to versions.
15907
15908         * gst/gstregistry.c (gst_registry_add_plugin)
15909         (gst_registry_remove_plugin, gst_registry_remove_feature)
15910         (gst_registry_find_feature, gst_registry_get_feature_list)
15911         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
15912         (gst_registry_lookup, gst_registry_scan_path)
15913         (_gst_registry_remove_cache_plugins)
15914         (gst_registry_get_feature_list_by_plugin): Add argument
15915         validation.
15916
15917 === release 0.10.2 ===
15918
15919 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
15920
15921         * configure.ac:
15922           releasing 0.10.2, "If man is five"
15923
15924 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
15925
15926         * gst/gstbuffer.c:
15927         * gst/gstbuffer.h:
15928         * libs/gst/base/gstbasetransform.c:
15929         (gst_base_transform_prepare_output_buf):
15930         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15931         * tests/check/gst/gstbuffer.c: (gst_test_suite):
15932           Back out patch until after the release.
15933
15934 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
15935
15936         * gst/gstminiobject.c:
15937           Spelling fix in docs.
15938         * ChangeLog - remove conflict indicator
15939
15940 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
15941
15942         Reviewed By: Andy Wingo
15943
15944         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15945         (gst_buffer_make_metadata_writable):
15946         * gst/gstbuffer.h:
15947           Add gst_buffer_(is|make)_metadata_writable as analogues of
15948           gst_buffer_(is|make)_writable.
15949
15950         * libs/gst/base/gstbasetransform.c:
15951         (gst_base_transform_prepare_output_buf):
15952         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15953           Use name gst_buffer_(is|make)_metadata_writable functions.
15954
15955         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15956           Test gst_buffer_(is|make)_metadata_writable
15957         
15958           (Closes: #324162)
15959
15960 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
15961
15962         * docs/manual/Makefile.am:
15963           don't do parallel make
15964         * configure.ac:
15965           AC_SUBST HOST_CPU
15966         * win32/common/config.h.in:
15967           add generations for HOST_CPU and GST_MAJORMINOR
15968         * win32/common/config.h:
15969           commit generated result
15970
15971 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
15972
15973         * docs/manual/appendix-integration.xml:
15974           Update GNOME integration section to use gst_init_get_option_group()
15975           instead of the old popt stuff (#322911). Also, GNOME applications
15976           should  now use gconf*sink and gconf*src instead of the old gconf
15977           helper lib we had.
15978
15979 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
15980
15981
15982         * docs/gst/gstreamer-docs.sgml:
15983         * docs/gst/gstreamer-sections.txt:
15984         * docs/libs/gstreamer-libs-sections.txt:
15985           add new API entries to the docs
15986         * libs/gst/controller/Makefile.am:
15987         * libs/gst/controller/gstcontroller.c:
15988         * libs/gst/controller/gstcontroller.h:
15989         * libs/gst/controller/gstcontrollerprivate.h:
15990         * libs/gst/controller/gsthelper.c:
15991         * libs/gst/controller/gstinterpolation.c:
15992           move private structs to private header
15993         * po/README:
15994           gstreamer-0.7 -> gstreamer-0.10
15995         * tests/check/libs/struct_i386.h:
15996           remove private structs
15997
15998 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15999
16000         * plugins/indexers/Makefile.am:
16001           Fixes as part of #317048
16002
16003 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16004
16005         * plugins/indexers/Makefile.am:
16006           fix #316086 - compilation when mmap is missing
16007
16008 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
16009
16010         * libs/gst/base/gstbasesink.c:
16011           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
16012           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
16013         * win32/common/config.h:
16014           added some defines GST_MAJORMINOR and HOST_CPU
16015         * win32/common/libgstbase.def:
16016         * win32/common/libgstreamer.def:
16017           added some exported functions.
16018
16019 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
16020
16021         * libs/gst/controller/gstcontroller.c:
16022         (gst_controlled_property_set_interpolation_mode),
16023         (gst_controlled_property_new):
16024         * libs/gst/controller/gstcontroller.h:
16025         * libs/gst/controller/gstinterpolation.c:
16026         (interpolate_none_get_string_value_array):
16027           make G_TYPE_STRING controlable
16028
16029 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
16030
16031         * tools/README:
16032         * tools/gst-feedback.1.in:
16033         * tools/gst-inspect.1.in:
16034         * tools/gst-launch.1.in:
16035         * tools/gst-md5sum.1.in:
16036         * tools/gst-typefind.1.in:
16037         * tools/gst-xmlinspect.1.in:
16038         * tools/gst-xmllaunch.1.in:
16039           cleanup man-pages, remove reference to gst-register, document env-vars
16040
16041 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
16042
16043         * gst/gstbuffer.c: (gst_buffer_span):
16044           gst_buffer_span should copy the timestamp of the first buffer
16045           if they were both originally overlapping subbuffers of the 
16046           same parent, using the same logic as the 'slow copy' case.
16047
16048 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
16049
16050         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
16051           Need to awaken ALL the pads when we pop a buffer, otherwise
16052           collectpads only works when there is 2 input streams.
16053
16054 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
16055
16056         * docs/random/ensonic/media-device-daemon.txt:
16057           more ideas (dbus)
16058         * gst/gstbuffer.c:
16059           fix doc example, add clarification
16060         * tools/gst-launch.1.in:
16061           add initial info about GST_PLUGIN_PATH, needs more work
16062
16063 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
16064
16065         * docs/manual/basics-bins.xml:
16066         * docs/manual/basics-elements.xml:
16067         * docs/manual/intro-basics.xml:
16068           Some more minor docs additions and updates.
16069
16070 2006-01-11  Wim Taymans  <wim@fluendo.com>
16071
16072         * docs/manual/basics-bins.xml:
16073         * docs/manual/basics-elements.xml:
16074         Some small fixes as pointed out by Ser-ver on IRC.
16075
16076 2006-01-10  Edward Hervey  <edward@fluendo.com>
16077
16078         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
16079         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
16080         the single-segment mode.
16081
16082 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
16083
16084         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16085
16086         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
16087         (gst_base_src_perform_seek), (gst_base_src_send_event),
16088         (gst_base_src_set_property), (gst_base_src_get_property),
16089         (gst_base_src_loop), (gst_base_src_start),
16090         (gst_base_src_activate_push):
16091         * libs/gst/base/gstbasesrc.h:
16092           Name (private) union; makes Sun's Forte compiler happy (#324900).
16093
16094 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
16095
16096         * README:
16097           gst-register is gone.
16098
16099 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16100
16101         * gst/gstvalue.c: (_gst_value_initialize):
16102           make the G_TYPE_DATE instantiation work if debug is disabled
16103
16104 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
16105
16106         * gst/gstmessage.c: (gst_message_parse_tag),
16107         (gst_message_parse_error), (gst_message_parse_warning):
16108           Don't crash when return location for error/warning debug
16109           string is NULL; add fact that return locations can be
16110           NULL to docs where appropriate.
16111
16112 2006-01-05  Wim Taymans  <wim@fluendo.com>
16113
16114         * gst/gstplugin.c: (gst_plugin_load_file):
16115         Replace strdup by g_strdup.
16116
16117 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16118
16119         * docs/pwg/advanced-types.xml:
16120           fix doc borkage
16121
16122 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16123
16124         submitted by: Abel Cheung
16125
16126         * po/LINGUAS:
16127         * po/zh_TW.po:
16128           Added Chinese (traditional) translation
16129
16130 2006-01-04  Wim Taymans  <wim@fluendo.com>
16131
16132         * docs/manual/basics-pads.xml:
16133         * docs/plugins/Makefile.am:
16134         * docs/plugins/gstreamer-plugins-docs.sgml:
16135         * docs/plugins/gstreamer-plugins-sections.txt:
16136         * docs/pwg/advanced-clock.xml:
16137         * docs/pwg/advanced-scheduling.xml:
16138         * docs/pwg/advanced-types.xml:
16139         * plugins/elements/gstfdsink.c:
16140         * plugins/elements/gstfdsrc.c:
16141         * plugins/elements/gstfdsrc.h:
16142         * plugins/elements/gstidentity.c: (gst_identity_class_init):
16143         * plugins/elements/gstidentity.h:
16144         * plugins/elements/gstqueue.h:
16145         * plugins/elements/gsttee.c:
16146         * plugins/elements/gsttee.h:
16147         * plugins/elements/gsttypefindelement.c:
16148         (gst_type_find_element_class_init):
16149         * plugins/elements/gsttypefindelement.h:
16150         Small updates to various docs.
16151         Added core plugins to docs.
16152
16153 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16154
16155         * common/gst.supp:
16156           add a suppression for liboil's uninitialized variable
16157
16158 2006-01-02  James Livingston  <jrl at ids dot org dot au>
16159
16160         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16161
16162         * gst/gstutils.h:
16163           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
16164           macro, so that gcc doesn't complain if the -Wmissing-prototypes
16165           compiler switch is being used (#325429).
16166
16167 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
16168
16169         * gst/gstbin.c: (gst_bin_query):
16170           Disable duration query caching in bins until it gets
16171           fixed (see #324807).
16172
16173 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
16174
16175         * tools/gst-inspect.c: (print_element_properties_info):
16176           Handle properties of POINTER and BOXED type.
16177
16178 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
16179
16180         * gst/gst.c: (init_post):
16181           Init tags stuff and some other things before loading
16182           any static plugins (there may be other static plugins
16183           than just the GStreamer ones, and they may want to
16184           register their own tags or formats or whatever, and
16185           preferably without segfaulting).
16186
16187         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
16188           Print at least a warning in the debug logs if we drop a
16189           query just because we don't know how to adjust the value
16190           in the particular format.
16191
16192 2005-12-24  David Schleef  <ds@schleef.org>
16193
16194         * tools/gstreamer-completion:
16195           Replacement for gst-complete written in sh and sed.  Only
16196           completes names of features, but that's 90% of what I want
16197           it for.  Properties are not available in registry.xml.  (Maybe
16198           they should be...)
16199
16200 === release 0.10.1 ===
16201
16202 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
16203
16204         * configure.ac:
16205           releasing 0.10.1, "Nollaig chridheil"
16206
16207 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
16208
16209         * docs/faq/cvs.xml:
16210           Add missing quote, should be make ERROR_CFLAGS="".
16211
16212 2005-12-20  Wim Taymans  <wim@fluendo.com>
16213
16214         * docs/design/part-trickmodes.txt:
16215         More documentation on trickmodes.
16216
16217 2005-12-20  Edward Hervey  <edward@fluendo.com>
16218
16219         * gst/gstcaps.c: (gst_static_caps_get_type):
16220         * gst/gstcaps.h:
16221           API addition: GST_TYPE_STATIC_CAPS
16222         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
16223         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
16224         * gst/gstpadtemplate.h:
16225           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
16226         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
16227         bindings.
16228
16229 2005-12-18  Wim Taymans  <wim@fluendo.com>
16230
16231         * libs/gst/base/gstadapter.c:
16232         * libs/gst/base/gstadapter.h:
16233         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16234         (gst_base_sink_get_position):
16235         * libs/gst/base/gstbasesink.h:
16236         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16237         (gst_base_src_default_query), (gst_base_src_default_do_seek),
16238         (gst_base_src_do_seek), (gst_base_src_perform_seek),
16239         (gst_base_src_send_event), (gst_base_src_update_length),
16240         (gst_base_src_get_range), (gst_base_src_loop),
16241         (gst_base_src_start):
16242         * libs/gst/base/gstbasesrc.h:
16243         * libs/gst/base/gstbasetransform.h:
16244         * libs/gst/base/gstcollectpads.h:
16245         * libs/gst/base/gstpushsrc.c:
16246         * libs/gst/base/gstpushsrc.h:
16247         * libs/gst/dataprotocol/dataprotocol.c:
16248         * libs/gst/dataprotocol/dataprotocol.h:
16249         * libs/gst/net/gstnetclientclock.h:
16250         * libs/gst/net/gstnettimeprovider.h:
16251         Documentation updates.
16252
16253 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
16254
16255         * docs/manual/basics-helloworld.xml:
16256           Remove superfluous closing bracket in helloworld example.
16257
16258 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
16259
16260         * tools/gst-launch.1.in:
16261           Update gst-launch man page; add a section with useful
16262           environment variables. Fixes #323882.
16263
16264 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
16265
16266         * gst/gst.c:
16267         * gst/gst_private.h:
16268           change some char* into char[]
16269
16270 2005-12-16  Wim Taymans  <wim@fluendo.com>
16271
16272         * gst/gstregistryxml.c: (load_feature):
16273         Cleanups.
16274         Don't use g_object_unref on GstObjects so that we avoid
16275         leaks on unsafe glibs.
16276
16277 2005-12-16  Wim Taymans  <wim@fluendo.com>
16278
16279         * gst/gstbin.c: (gst_bin_recalc_state):
16280         Small doc updates.
16281
16282 2005-12-16  Wim Taymans  <wim@fluendo.com>
16283
16284         * common/check.mak:
16285         Added make forever target for check.
16286
16287 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16288
16289         * gst/gst.c: (init_post):
16290           make the registry cache file HOST_CPU-dependent
16291
16292 2005-12-16  Andy Wingo  <wingo@pobox.com>
16293
16294         * plugins/elements/gstbufferstore.c
16295         (gst_buffer_store_cleared_func): Pay attention to g_list_append
16296         return value.
16297
16298         * tests/check/gst/gstobject.c
16299         (test_fake_object_name_threaded_unique): Pay attention to
16300         g_list_sort return value.
16301
16302 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
16303
16304         * tools/gst-feedback-m.m:
16305           Update for 0.9/0.10 (fixes #323870).
16306
16307 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
16308
16309         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16310           Fix lcopy for mini objects, the mini object needs to be ref'ed.
16311           
16312         * tests/check/gst/gstminiobject.c: (my_foo_init),
16313         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16314         (test_value_collection), (gst_mini_object_suite):
16315           Add test to ensure refcounts end up as expected when passing
16316           GstMiniObjects through g_object_get() and g_object_set().
16317
16318 2005-12-14  Julien MOUTTE  <julien@moutte.net>
16319
16320         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16321         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16322         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16323         of collectpads. This version removes a lot of races without
16324         touching API/ABI. Yay !
16325
16326 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
16327
16328         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16329           Don't allow activation of a srcpad in pull_range if it has no
16330           getrange function.
16331           Change some debug statements to be a little clearer
16332
16333         * plugins/elements/gsttypefindelement.c:
16334         (gst_type_find_handle_src_query):
16335           Check that we have a peer before executing queries thereupon.
16336
16337         * tests/examples/metadata/read-metadata.c: (message_loop):
16338           Use gst_bus_pop instead of gst_bus_poll when we just want it to
16339           immediately return us any available message with 0 timeout.
16340
16341 2005-12-12  Michael Smith  <msmith@fluendo.com>
16342
16343         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16344           Don't unref factories after calling them.
16345         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16346         * plugins/elements/gsttypefindelement.c:
16347         (gst_type_find_element_chain):
16348           Free lists of factories after using them. Fixing typefinding memory
16349           leaks.
16350
16351 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16352
16353         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16354         (gst_plugin_feature_load):
16355           more meaningful debug output
16356         * configure.ac:
16357         * tests/Makefile.am:
16358         * tests/old/examples/Makefile.am:
16359           make make distcheck happy again
16360
16361 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16362
16363         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16364           Catch the special case where we are operating chain-based,
16365           but the downstream peer pad has no chain function. Emit a
16366           custom error message in this case instead of letting the
16367           core generate one implying that this is some sort of core
16368           bug. It's not, it just means that whatever got plugged
16369           into the pipeline downstream when we announced the type
16370           can only operate pull-based, while our source can only
16371           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16372           Error string has not been marked for translation yet, as
16373           it probably needs some more work first.
16374
16375         (gst_type_find_element_get_best_possibility):
16376           Add helper function to find the best of all available
16377           found possibilities that qualify given the min. threshold.
16378
16379         (gst_type_find_element_handle_event):
16380           Fix the case where we get an EOS while still in TYPEFIND
16381           mode (we want to chose the best of all possible types,
16382           not just the first type that happens to be in our unsorted
16383           list of possible types).
16384
16385         (gst_type_find_element_chain):
16386           Make sure we return GST_FLOW_ERROR when we errored out
16387           in stop_typefinding(); also, don't just find the best of
16388           all found type entries and then use the last examined
16389           type entry, but actually use the best entry.
16390
16391 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16392
16393         * tests/examples/typefind/typefind.c: (type_found):
16394         * tests/examples/xml/runxml.c: (xml_loaded):
16395           More gcc4 fixes and a mem leak fix.
16396
16397 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16398
16399         * tests/examples/xml/createxml.c: (object_saved):
16400           gcc 4 fixes
16401
16402 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16403
16404         * tests/Makefile.am:
16405           enable the examples even more
16406
16407 2005-12-12  Andy Wingo  <wingo@pobox.com>
16408
16409         * libs/gst/net/gstnettimeprovider.c
16410         (gst_net_time_provider_class_init, gst_net_time_provider_init)
16411         (gst_net_time_provider_set_property)
16412         (gst_net_time_provider_get_property):
16413         API addition: Export "active" as a GObject property.
16414         (gst_net_time_provider_thread): Only respond to time queries if
16415         the time provider is active.
16416
16417         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16418         NetTimeProvider, preserving binary compat.
16419
16420 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16421
16422         * tests/examples/controller/audio-example.c: (main):
16423         * tests/examples/launch/Makefile.am:
16424           convert comments again
16425
16426 2005-12-12  Wim Taymans  <wim@fluendo.com>
16427
16428         * libs/gst/base/gstpushsrc.c:
16429         Fix typo.
16430
16431 2005-12-12  Wim Taymans  <wim@fluendo.com>
16432
16433         * docs/libs/gstreamer-libs-sections.txt:
16434         Added new symbol to docs.
16435
16436         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16437         (gst_base_src_init), (gst_base_src_set_format),
16438         (gst_base_src_default_query), (gst_base_src_query),
16439         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16440         (gst_base_src_perform_seek), (gst_base_src_send_event),
16441         (gst_base_src_default_event), (gst_base_src_event_handler),
16442         (gst_base_src_set_property), (gst_base_src_get_property),
16443         (gst_base_src_wait), (gst_base_src_do_sync),
16444         (gst_base_src_update_length), (gst_base_src_get_range),
16445         (gst_base_src_check_get_range), (gst_base_src_loop),
16446         (gst_base_src_default_negotiate), (gst_base_src_start),
16447         (gst_base_src_activate_push), (gst_base_src_activate_pull),
16448         (gst_base_src_change_state):
16449         * libs/gst/base/gstbasesrc.h:
16450         Implement seeking to other formats than _BYTES.
16451         Implement more seeking methods correctly.
16452         Doc updates.
16453         Added query vmethod.
16454         Added do_seek vmethod to make life easier for subclasses
16455         when seeking.
16456         API addition: gst_base_src_set_format()
16457
16458 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16459
16460         * tests/examples/Makefile.am:
16461           added that too
16462
16463 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16464
16465         * configure.ac:
16466         * docs/random/ensonic/media-device-daemon.txt:
16467         * tests/examples/controller/.cvsignore:
16468         * tests/examples/controller/Makefile.am:
16469         * tests/examples/controller/audio-example.c: (main):
16470         * tests/examples/helloworld/.cvsignore:
16471         * tests/examples/helloworld/Makefile.am:
16472         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16473         * tests/examples/launch/.cvsignore:
16474         * tests/examples/launch/Makefile.am:
16475         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16476         * tests/examples/metadata/.cvsignore:
16477         * tests/examples/metadata/Makefile.am:
16478         * tests/examples/metadata/read-metadata.c: (message_loop),
16479         (make_pipeline), (print_tag), (main):
16480         * tests/examples/queue/.cvsignore:
16481         * tests/examples/queue/Makefile.am:
16482         * tests/examples/queue/queue.c: (event_loop), (main):
16483         * tests/examples/typefind/.cvsignore:
16484         * tests/examples/typefind/Makefile.am:
16485         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
16486         (main):
16487         * tests/examples/xml/.cvsignore:
16488         * tests/examples/xml/Makefile.am:
16489         * tests/examples/xml/createxml.c: (object_saved), (main):
16490         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
16491         * tests/old/examples/Makefile.am:
16492         * tests/old/examples/TODO:
16493         * tests/old/examples/controller/.cvsignore:
16494         * tests/old/examples/controller/Makefile.am:
16495         * tests/old/examples/controller/audio-example.c:
16496         * tests/old/examples/helloworld/.cvsignore:
16497         * tests/old/examples/helloworld/Makefile.am:
16498         * tests/old/examples/helloworld/helloworld.c:
16499         * tests/old/examples/launch/.cvsignore:
16500         * tests/old/examples/launch/Makefile.am:
16501         * tests/old/examples/launch/mp3parselaunch.c:
16502         * tests/old/examples/launch/mp3play:
16503         * tests/old/examples/manual/Makefile.am:
16504         * tests/old/examples/metadata/Makefile.am:
16505         * tests/old/examples/metadata/read-metadata.c:
16506         * tests/old/examples/queue/.cvsignore:
16507         * tests/old/examples/queue/Makefile.am:
16508         * tests/old/examples/queue/queue.c:
16509         * tests/old/examples/typefind/.cvsignore:
16510         * tests/old/examples/typefind/Makefile.am:
16511         * tests/old/examples/typefind/typefind.c:
16512         * tests/old/examples/xml/.cvsignore:
16513         * tests/old/examples/xml/Makefile.am:
16514         * tests/old/examples/xml/createxml.c:
16515         * tests/old/examples/xml/runxml.c:
16516           applied some simple fixing to some examples
16517           re-enabled the working examples
16518
16519 2005-12-12  Wim Taymans  <wim@fluendo.com>
16520
16521         * gst/gstsegment.c: (gst_segment_init),
16522         (gst_segment_set_last_stop), (gst_segment_set_seek),
16523         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16524         (gst_segment_to_running_time):
16525         Added more documentation.
16526         Make sure the last_pos value is updated properly.
16527         Make sure to_stream_time and to_running_time don't
16528         operate on wrong values.
16529
16530         * tests/check/gst/gstsegment.c: (GST_START_TEST):
16531         Update check.
16532
16533 2005-12-12  Michael Smith  <msmith@fluendo.com>
16534
16535         * plugins/elements/gsttypefindelement.c: (free_entry),
16536         (gst_type_find_element_chain):
16537           Now that we're not leaking factories, make sure we keep references
16538           to them while we need them.
16539
16540 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16541
16542         * tests/check/gst/struct_i386.h:
16543           ifdef out the XML structs
16544
16545 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16546
16547         * gst/gstvalue.c: (gst_value_transform_double_fraction):
16548           floor is not needed, F is always positive; this obviates the
16549           need for adding -lm when building without libxml
16550
16551 2005-12-12  Wim Taymans  <wim@fluendo.com>
16552
16553         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16554         Take current playback rate into account when reporting
16555         the position.
16556
16557 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16558
16559         * docs/manual/mime-world.fig:
16560           Let's try this again, this time with a file that is
16561           actually in XFig format.
16562
16563 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16564
16565         * docs/manual/mime-world.fig:
16566           Add audioconvert element to diagram so that it
16567           matches the text and the code (fixes #319526).
16568
16569 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16570
16571         * docs/pwg/building-chainfn.xml:
16572         * docs/pwg/building-pads.xml:
16573         * docs/pwg/building-state.xml:
16574         * docs/pwg/other-source.xml:
16575           Update state change stuff for 0.10 (fixes #322969).
16576
16577 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16578
16579         * docs/manual/advanced-dataaccess.xml:
16580         * docs/manual/appendix-checklist.xml:
16581         * docs/manual/appendix-programs.xml:
16582         * docs/manual/basics-pads.xml:
16583         * docs/manual/highlevel-components.xml:
16584         * docs/manual/manual.xml:
16585           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
16586           add converters in front of pipelines; remove curly
16587           brackets for threads stuff, they no longer exist; use
16588           GST_TYPE_FRACTION for framerates; update some pieces of
16589           code to 0.10, but there's plenty more to do.
16590
16591         * docs/manual/appendix-porting.xml:
16592           Expand on asynchroneous state changes; s/0.9/0.10/;
16593           mention disappearance of gst_init_get_popt_table()
16594           (fixes #322916).
16595
16596 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16597
16598         * docs/faq/using.xml:
16599           Spider no longer exists, and neither does gst-launch-ext.
16600           Update examples to use decodebin and playbin and put
16601           converters in front of sinks (fixes #323726).
16602
16603 2005-12-09  Michael Smith  <msmith@fluendo.com>
16604
16605         * plugins/elements/gsttypefindelement.c: (find_peek),
16606         (gst_type_find_element_chain):
16607           Fix leaking element factories in typefinding.
16608           Fix problem where we forgot about a probable type on non-seekable
16609           files, and thus later mis-typefound it.
16610
16611 2005-12-09  Michael Smith  <msmith@fluendo.com>
16612
16613         * common/m4/gst-makecontext.m4:
16614         * common/m4/gst-mcsc.m4:
16615         * configure.ac:
16616         * win32/common/config.h:
16617         * win32/common/config.h.in:
16618           Remove makecontext stuff; not used in 0.10 and causes problems on
16619           HPUX according to bug #322441
16620
16621 2005-12-07  Wim Taymans  <wim@fluendo.com>
16622
16623         * tests/check/Makefile.am:
16624         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
16625         (main):
16626         * tests/check/libs/struct_i386.h:
16627         Added ABI check for libs
16628
16629 2005-12-07  Wim Taymans  <wim@fluendo.com>
16630
16631         * tests/check/Makefile.am:
16632         And add the struct_i386.h to dist.
16633
16634 2005-12-07  Wim Taymans  <wim@fluendo.com>
16635
16636         * tests/check/Makefile.am:
16637         * tests/check/gst/.cvsignore:
16638         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
16639         (main):
16640         * tests/check/gst/struct_i386.h:
16641         Added check for ABI compatibility.
16642
16643 2005-12-07  Wim Taymans  <wim@fluendo.com>
16644
16645         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16646         (gst_fake_src_get_times), (gst_fake_src_create):
16647         Fix broken sync option, fixes #323259
16648
16649 2005-12-07  Wim Taymans  <wim@fluendo.com>
16650
16651         * gst/gstbuffer.c:
16652         Small docs update.
16653
16654         * gst/gstcaps.c: (gst_caps_is_equal):
16655         Don't assert on NULL <--> X. Fixes #323260
16656
16657         * gst/gstminiobject.c: (gst_mini_object_replace):
16658         If we're doing atomic operations, we might just as well use
16659         the proper way to get an atomic pointer.
16660
16661         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16662         Clean up debugging.
16663
16664 2005-12-07  Michael Smith  <msmith@fluendo.com>
16665
16666         * gst/parse/grammar.y:
16667           Remove handling of { } for threads.
16668
16669 2005-12-06  David Schleef  <ds@schleef.org>
16670
16671         * libs/gst/base/gstbasetransform.c: speling fix.
16672
16673 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16674
16675         * docs/libs/tmpl/gstdataprotocol.sgml:
16676         * docs/random/omega/testing/gstobject.c:
16677         * gst/gst.c:
16678         * gst/gstclock.c:
16679         * gst/gstelement.c:
16680         * gst/gstelementfactory.c:
16681         * gst/gsterror.c:
16682         * gst/gstevent.c:
16683         * gst/gstghostpad.c:
16684         * gst/gstinfo.c:
16685         * gst/gstpadtemplate.c:
16686         * gst/gstregistryxml.c:
16687         * gst/gsttaglist.c:
16688         * gst/gsttagsetter.c:
16689         * gst/gsttypefind.c:
16690         * gst/gstvalue.c:
16691         * libs/gst/base/gstbasesrc.c:
16692         * libs/gst/net/gstnetclientclock.c:
16693         * libs/gst/net/gstnettimeprovider.c:
16694         * plugins/elements/gstfakesrc.c:
16695         * plugins/elements/gstfdsrc.c:
16696         * plugins/elements/gstfilesrc.c:
16697         * plugins/elements/gstidentity.c:
16698         * plugins/elements/gstqueue.c:
16699         * plugins/elements/gsttypefindelement.c:
16700         * plugins/indexers/gstfileindex.c:
16701         * plugins/indexers/gstmemindex.c:
16702         * tests/check/gst/gsttag.c:
16703         * tests/old/examples/cutter/cutter.c:
16704         * tests/old/examples/mixer/mixer.c:
16705         * tests/old/examples/xml/runxml.c: (main):
16706         * tests/old/testsuite/caps/normalisation.c:
16707         * tests/old/testsuite/debug/global.c:
16708         * tests/old/testsuite/parse/parse1.c:
16709         * tools/gst-xmlinspect.c:
16710         * win32/common/dirent.c:
16711           expand tabs
16712
16713 === release 0.10.0 ===
16714
16715 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16716
16717         * configure.ac:
16718           releasing 0.10.0, "Maroilles"
16719
16720 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16721
16722         submitted by: Funda Wang <fundawang@linux.net.cn>
16723
16724         * po/LINGUAS:
16725         * po/zh_CN.po:
16726           added Chinese (Traditional) translation
16727
16728 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16729
16730         * docs/gst/gstreamer-sections.txt:
16731         * docs/libs/tmpl/gstdataprotocol.sgml:
16732         * docs/random/thomasvs/TODO:
16733         * gst/gstutils.c:
16734         * gst/gstutils.h:
16735           fix docs
16736
16737 2005-12-05  Andy Wingo  <wingo@pobox.com>
16738
16739         patch by: Wim Taymans <wim@fluendo.com>
16740
16741         * libs/gst/base/gstbasetransform.c
16742         (gst_base_transform_prepare_output_buf)
16743         (gst_base_transform_buffer_alloc):
16744         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
16745         alloc_buffer_and_set_caps.
16746
16747         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
16748         set_caps on the source pad.
16749         (gst_pad_alloc_buffer_and_set_caps): New function, does what
16750         alloc_buffer used to do. Fixes #322874.
16751
16752         * docs/gst/gstreamer-sections.txt: 
16753         * docs/design/part-negotiation.txt: 
16754         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
16755         changes.
16756
16757 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16758
16759         patch by: Sebastien Moutte
16760
16761         * win32/MANIFEST:
16762         * win32/common/config.h.in:
16763         * win32/vs6/libgstcontroller.dsp:
16764           win32 build fixes
16765
16766 2005-12-05  Wim Taymans  <wim@fluendo.com>
16767
16768         * gst/gstcaps.c: (gst_caps_is_equal):
16769         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16770         (gst_fake_src_create):
16771         Back out previous code changes, leave doc updates, file bugs 
16772         instead. 
16773
16774 2005-12-05  Wim Taymans  <wim@fluendo.com>
16775
16776         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16777         (gst_fake_src_get_times), (gst_fake_src_create):
16778         * plugins/elements/gstfakesrc.h:
16779         Fix broken sync code.
16780
16781 2005-12-05  Wim Taymans  <wim@fluendo.com>
16782
16783         * gst/gstcaps.c: (gst_caps_is_equal):
16784         Comparing NULL against !NULL yields different caps, not a
16785         failure.
16786
16787 2005-12-05  Wim Taymans  <wim@fluendo.com>
16788
16789         * gst/gstpipeline.c:
16790         Fix small typo in docs.
16791
16792 2005-12-05  Andy Wingo  <wingo@pobox.com>
16793
16794         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
16795
16796         * gst/gst.c (init_post): remove hard-coded 0.9 location for
16797         registries/plugins with a MAJORMINOR one.
16798         (plugin_desc): Rename library from gstcoreleements to
16799         staticelements. Fixes #323222.
16800
16801 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
16802
16803         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
16804           Change debug category to 'collectpads' from 'collect_pads'
16805           (fixes #323250).
16806
16807 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
16808
16809         patch by: Sebastien Moutte
16810
16811         * libs/gst/controller/gstinterpolation.c:
16812           use convert function for uint64/double
16813         * win32/vs6/libgstcontroller.dsp:
16814           link to GLib
16815
16816 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
16817
16818         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
16819         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
16820         * gst/gstutils.h:
16821         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16822           add tests that seem to show that the guint64/gdouble conversions
16823           are correct.
16824
16825 2005-12-02  Wim Taymans  <wim@fluendo.com>
16826
16827         * gst/gstregistry.c: (gst_registry_add_path):
16828         * gst/gstregistry.h:
16829         * gst/gstregistryxml.c:
16830         Fix docs again.
16831
16832 2005-12-02  Wim Taymans  <wim@fluendo.com>
16833
16834         * gst/gstutils.c: (gst_util_uint64_scale_int64),
16835         (gst_util_uint64_scale_int):
16836         Small cleanup.
16837
16838         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16839         Add debug log line.
16840
16841         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
16842         Add FIXME.
16843
16844 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16845
16846         * win32/MANIFEST:
16847         * win32/common/config.h:
16848         * win32/vs6/gstreamer.dsw:
16849         * win32/vs6/libgstcoreelements.dsp:
16850         * win32/vs6/libgstelements.dsp:
16851           renamed core elements plugin
16852
16853 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16854
16855         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
16856         (get_candidates):
16857           do piece-wise major/minor comparison so 0.9 < 0.10
16858           also allow .exe extensions for tools
16859
16860 2005-12-02  Michael Smith  <msmith@fluendo.com>
16861
16862         * gst/gst.c:
16863           Escape a % to make gtkdoc happier; bug 322958.
16864
16865 === release 0.9.7 ===
16866
16867 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16868
16869         * configure.ac:
16870           releasing 0.9.7, "My Dog Has No Nose"
16871
16872 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16873
16874         * common/gst-xmlinspect.py:
16875         * configure.ac:
16876         * docs/libs/tmpl/gstdataprotocol.sgml:
16877         * docs/random/release:
16878         * po/af.po:
16879         * po/az.po:
16880         * po/bg.po:
16881         * po/ca.po:
16882         * po/cs.po:
16883         * po/de.po:
16884         * po/en_GB.po:
16885         * po/fr.po:
16886         * po/it.po:
16887         * po/nb.po:
16888         * po/nl.po:
16889         * po/ru.po:
16890         * po/sq.po:
16891         * po/sr.po:
16892         * po/sv.po:
16893         * po/tr.po:
16894         * po/uk.po:
16895         * po/vi.po:
16896         * win32/common/config.h:
16897         * win32/common/config.h.in:
16898         * win32/vs6/gst_inspect.dsp:
16899         * win32/vs6/gst_launch.dsp:
16900         * win32/vs6/libgstbase.dsp:
16901         * win32/vs6/libgstelements.dsp:
16902         * win32/vs6/libgstreamer.dsp:
16903         * win32/vs7/GStreamer.vcproj:
16904         * win32/vs7/gst-inspect.vcproj:
16905         * win32/vs7/gst-launch.vcproj:
16906         * win32/vs7/libgstbase.vcproj:
16907           bump GST_MAJORMINOR to 0.10
16908           reset libtool version
16909
16910 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16911
16912         * po/LINGUAS:
16913         * po/bg.po:
16914           Added Bulgarian translation by (Alexander Shopov)
16915
16916 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16917
16918         * tests/check/gst/gstplugin.c:
16919           fix test
16920
16921 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16922
16923         * common/gst-xmlinspect.py:
16924         * common/gtk-doc-plugins.mak:
16925         * configure.ac:
16926         * docs/Makefile.am:
16927         * docs/gst/Makefile.am:
16928         * docs/gst/gstreamer-docs.sgml:
16929         * docs/gst/gstreamer-sections.txt:
16930         * docs/gst/gstreamer.types:
16931         * docs/gst/gstreamer.types.in:
16932         * docs/plugins/Makefile.am:
16933         * docs/plugins/gstreamer-plugins-docs.sgml:
16934         * docs/plugins/gstreamer-plugins-sections.txt:
16935         * docs/plugins/gstreamer-plugins.types:
16936         * docs/plugins/inspect.stamp:
16937         * docs/plugins/inspect/plugin-coreelements.xml:
16938         * docs/plugins/inspect/plugin-coreindexers.xml:
16939         * docs/plugins/scanobj-build.stamp:
16940         * gstreamer.spec.in:
16941         * plugins/elements/Makefile.am:
16942         * plugins/elements/gstelements.c:
16943         * plugins/elements/gstfakesink.c:
16944         * plugins/elements/gstfakesrc.c:
16945         * plugins/elements/gstfilesink.c:
16946         * plugins/elements/gstfilesrc.c:
16947         * plugins/elements/gstqueue.c:
16948         * plugins/indexers/Makefile.am:
16949         * plugins/indexers/gstindexers.c:
16950           document core plugins in a separate document just like all the
16951           others
16952           rename these plugins to something starting with core
16953
16954 2005-12-01  Andy Wingo  <wingo@pobox.com>
16955
16956         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
16957         padding here before, but it missed the commit.
16958
16959 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16960
16961         * libs/gst/controller/gstinterpolation.c:
16962           whitespace prices have crashed, we should feel free to use some now
16963           use gst_guint64_to_gdouble
16964
16965 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16966
16967         * libs/gst/controller/gstcontroller.c:
16968         * libs/gst/controller/gsthelper.c:
16969         * libs/gst/controller/gstinterpolation.c:
16970         * libs/gst/controller/lib.c:
16971           wrap config.h include
16972
16973 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16974
16975         * docs/gst/gstreamer-sections.txt:
16976           update docs
16977
16978 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16979
16980         * plugins/elements/gstelements.c:
16981         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
16982         (gst_fd_sink__class_init), (gst_fd_sink__init),
16983         (gst_fd_sink__chain), (gst_fd_sink__set_property),
16984         (gst_fd_sink__get_property):
16985         * plugins/elements/gstfdsink.h:
16986         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
16987         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
16988         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
16989         (gst_fd_src_unlock), (gst_fd_src_set_property),
16990         (gst_fd_src_get_property), (gst_fd_src_create),
16991         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
16992         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
16993         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
16994         (gst_fd_src_uri_handler_init):
16995         * plugins/elements/gstfdsrc.h:
16996         * plugins/elements/gstqueue.c: (gst_queue_get_type):
16997           more anal cleanup
16998
16999 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17000
17001         * docs/gst/Makefile.am:
17002         * docs/gst/gstreamer.types.in:
17003         * gst/Makefile.am:
17004           fix the docs build
17005
17006 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17007
17008         * configure.ac:
17009         * gst/Makefile.am:
17010         * gst/gst.c:
17011         * gst/gstplugin.h:
17012         * gst/gstregistry.h:
17013         * tests/benchmarks/complexity.c:
17014         * tests/benchmarks/mass-elements.c:
17015         * tests/check/Makefile.am:
17016         * tools/Makefile.am:
17017         * tools/gst-inspect.c:
17018         * tools/gst-xmlinspect.c:
17019           various fixes to make
17020           --disable-nls --disable-registry --disable-loadsave
17021           --disable-parse --disable-gst-debug
17022           work and get the core .so down to 360444 bytes after stripping
17023
17024 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17025
17026         * Makefile.am:
17027         * configure.ac:
17028           descend into tests
17029         * docs/random/thomasvs/TODO:
17030         * tests/Makefile.am:
17031         * tests/README:
17032           add a README
17033
17034 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17035
17036         * win32/GStreamer.vcproj:
17037         * win32/MANIFEST:
17038         * win32/Makefile:
17039         * win32/Makefile.inspect:
17040         * win32/Makefile.launch:
17041         * win32/Makefile.register:
17042         * win32/README.txt:
17043         * win32/gst-inspect.vcproj:
17044         * win32/gst-launch.vcproj:
17045         * win32/gst-register.vcproj:
17046         * win32/gstelements.vcproj:
17047         * win32/gstgetbits.def:
17048         * win32/gstgetbits.vcproj:
17049         * win32/gstreamer-dbg.def:
17050         * win32/gstreamer.def:
17051         * win32/libgstbase.def:
17052         * win32/libgstbase.vcproj:
17053         * win32/link_oldruntime.c:
17054         * win32/mman.c:
17055         * win32/mman.h:
17056         * win32/mman.inl:
17057         * win32/msvc71.sln:
17058           move even more stuff, win32/ is nice and clean now
17059
17060 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17061
17062         * libs/gst/control/.cvsignore:
17063         * win32/MANIFEST:
17064         * win32/config.h:
17065         * win32/dirent.c:
17066         * win32/dirent.h:
17067         * win32/gstbytestream.def:
17068         * win32/gstbytestream.vcproj:
17069         * win32/gstconfig.h:
17070         * win32/gstenumtypes.c:
17071         * win32/gstenumtypes.h:
17072         * win32/gstoptimalscheduler.vcproj:
17073         * win32/gstversion.h:
17074         * win32/gtchar.h:
17075         * win32/testsuite/bins.vcproj:
17076         * win32/testsuite/bytestream.vcproj:
17077         * win32/testsuite/caps.vcproj:
17078         * win32/testsuite/cleanup.vcproj:
17079         * win32/testsuite/clock.vcproj:
17080         * win32/testsuite/debug.vcproj:
17081         * win32/testsuite/dlopen.vcproj:
17082         * win32/testsuite/dynparams.vcproj:
17083         * win32/testsuite/elements.vcproj:
17084         * win32/testsuite/ghostpads.vcproj:
17085         * win32/testsuite/indexers.vcproj:
17086         * win32/testsuite/negotiation.vcproj:
17087         * win32/testsuite/parse.vcproj:
17088         * win32/testsuite/plugin.vcproj:
17089         * win32/testsuite/refcounting.vcproj:
17090         * win32/testsuite/schedulers.vcproj:
17091         * win32/testsuite/states.vcproj:
17092         * win32/testsuite/tags.vcproj:
17093         * win32/testsuite/threads.vcproj:
17094           remove old win32 stuff that isn't maintained and should be
17095           reorganized
17096
17097 2005-11-30  Andy Wingo  <wingo@pobox.com>
17098
17099         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
17100         loading the gst.interfaces python module bork.
17101
17102         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
17103         available since GLib 2.2. Fixes #318031.
17104
17105 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17106
17107         * Makefile.am:
17108         * check/.cvsignore:
17109         * check/Makefile.am:
17110         * check/elements/.cvsignore:
17111         * check/elements/fakesrc.c:
17112         * check/elements/fdsrc.c:
17113         * check/elements/identity.c:
17114         * check/generic/.cvsignore:
17115         * check/generic/states.c:
17116         * check/gst-libs/.cvsignore:
17117         * check/gst-libs/controller.c:
17118         * check/gst-libs/gdp.c:
17119         * check/gst/.cvsignore:
17120         * check/gst/capslist.h:
17121         * check/gst/gst.c:
17122         * check/gst/gstbin.c:
17123         * check/gst/gstbuffer.c:
17124         * check/gst/gstbus.c:
17125         * check/gst/gstcaps.c:
17126         * check/gst/gstelement.c:
17127         * check/gst/gstevent.c:
17128         * check/gst/gstghostpad.c:
17129         * check/gst/gstiterator.c:
17130         * check/gst/gstmessage.c:
17131         * check/gst/gstminiobject.c:
17132         * check/gst/gstobject.c:
17133         * check/gst/gstpad.c:
17134         * check/gst/gstpipeline.c:
17135         * check/gst/gstplugin.c:
17136         * check/gst/gstsegment.c:
17137         * check/gst/gststructure.c:
17138         * check/gst/gstsystemclock.c:
17139         * check/gst/gsttag.c:
17140         * check/gst/gstutils.c:
17141         * check/gst/gstvalue.c:
17142         * check/net/.cvsignore:
17143         * check/net/gstnetclientclock.c:
17144         * check/net/gstnettimeprovider.c:
17145         * check/pipelines/.cvsignore:
17146         * check/pipelines/cleanup.c:
17147         * check/pipelines/simple_launch_lines.c:
17148         * check/pipelines/stress.c:
17149         * check/states/.cvsignore:
17150         * check/states/sinks.c:
17151         * configure.ac:
17152         * examples/Makefile.am:
17153         * examples/appreader/.cvsignore:
17154         * examples/appreader/Makefile.am:
17155         * examples/appreader/appreader.c:
17156         * examples/controller/.cvsignore:
17157         * examples/controller/Makefile.am:
17158         * examples/controller/audio-example.c:
17159         * examples/cutter/.cvsignore:
17160         * examples/cutter/Makefile.am:
17161         * examples/cutter/cutter.c:
17162         * examples/cutter/cutter.h:
17163         * examples/events/Makefile.am:
17164         * examples/events/seek.c:
17165         * examples/helloworld/.cvsignore:
17166         * examples/helloworld/Makefile.am:
17167         * examples/helloworld/helloworld.c:
17168         * examples/helloworld2/.cvsignore:
17169         * examples/helloworld2/Makefile.am:
17170         * examples/helloworld2/helloworld2.c:
17171         * examples/launch/.cvsignore:
17172         * examples/launch/Makefile.am:
17173         * examples/launch/mp3parselaunch.c:
17174         * examples/launch/mp3play:
17175         * examples/manual/.cvsignore:
17176         * examples/manual/Makefile.am:
17177         * examples/manual/extract.pl:
17178         * examples/metadata/Makefile.am:
17179         * examples/metadata/read-metadata.c:
17180         * examples/mixer/.cvsignore:
17181         * examples/mixer/Makefile.am:
17182         * examples/mixer/mixer.c:
17183         * examples/mixer/mixer.h:
17184         * examples/pingpong/.cvsignore:
17185         * examples/pingpong/Makefile.am:
17186         * examples/pingpong/pingpong.c:
17187         * examples/plugins/.cvsignore:
17188         * examples/plugins/Makefile.am:
17189         * examples/plugins/example.c:
17190         * examples/plugins/example.h:
17191         * examples/pwg/.cvsignore:
17192         * examples/pwg/Makefile.am:
17193         * examples/pwg/extract.pl:
17194         * examples/queue/.cvsignore:
17195         * examples/queue/Makefile.am:
17196         * examples/queue/queue.c:
17197         * examples/queue2/.cvsignore:
17198         * examples/queue2/Makefile.am:
17199         * examples/queue2/queue2.c:
17200         * examples/queue3/.cvsignore:
17201         * examples/queue3/Makefile.am:
17202         * examples/queue3/queue3.c:
17203         * examples/queue4/.cvsignore:
17204         * examples/queue4/Makefile.am:
17205         * examples/queue4/queue4.c:
17206         * examples/retag/.cvsignore:
17207         * examples/retag/Makefile.am:
17208         * examples/retag/retag.c:
17209         * examples/retag/transcode.c:
17210         * examples/thread/.cvsignore:
17211         * examples/thread/Makefile.am:
17212         * examples/thread/thread.c:
17213         * examples/typefind/.cvsignore:
17214         * examples/typefind/Makefile.am:
17215         * examples/typefind/typefind.c:
17216         * examples/xml/.cvsignore:
17217         * examples/xml/Makefile.am:
17218         * examples/xml/createxml.c:
17219         * examples/xml/runxml.c:
17220         * tests/Makefile.am:
17221         * tests/check/Makefile.am:
17222         * testsuite/.cvsignore:
17223         * testsuite/Makefile.am:
17224         * testsuite/Rules:
17225         * testsuite/caps/.cvsignore:
17226         * testsuite/caps/Makefile.am:
17227         * testsuite/caps/app_fixate.c:
17228         * testsuite/caps/audioscale.c:
17229         * testsuite/caps/caps.c:
17230         * testsuite/caps/caps.h:
17231         * testsuite/caps/caps_strings:
17232         * testsuite/caps/compatibility.c:
17233         * testsuite/caps/deserialize.c:
17234         * testsuite/caps/enumcaps.c:
17235         * testsuite/caps/eratosthenes.c:
17236         * testsuite/caps/filtercaps.c:
17237         * testsuite/caps/fixed.c:
17238         * testsuite/caps/fraction-convert.c:
17239         * testsuite/caps/fraction-multiply-and-zero.c:
17240         * testsuite/caps/intersect2.c:
17241         * testsuite/caps/intersection.c:
17242         * testsuite/caps/normalisation.c:
17243         * testsuite/caps/random.c:
17244         * testsuite/caps/renegotiate.c:
17245         * testsuite/caps/sets.c:
17246         * testsuite/caps/simplify.c:
17247         * testsuite/caps/string-conversions.c:
17248         * testsuite/caps/structure.c:
17249         * testsuite/caps/subtract.c:
17250         * testsuite/caps/union.c:
17251         * testsuite/debug/.cvsignore:
17252         * testsuite/debug/Makefile.am:
17253         * testsuite/debug/category.c:
17254         * testsuite/debug/commandline.c:
17255         * testsuite/debug/global.c:
17256         * testsuite/debug/output.c:
17257         * testsuite/debug/printf_extension.c:
17258         * testsuite/dlopen/.cvsignore:
17259         * testsuite/dlopen/Makefile.am:
17260         * testsuite/dlopen/dlopen_gst.c:
17261         * testsuite/dlopen/loadgst.c:
17262         * testsuite/elements/.cvsignore:
17263         * testsuite/elements/Makefile.am:
17264         * testsuite/elements/gst-inspect-check.in:
17265         * testsuite/elements/struct_i386.h:
17266         * testsuite/elements/struct_size.c:
17267         * testsuite/indexers/.cvsignore:
17268         * testsuite/indexers/Makefile.am:
17269         * testsuite/indexers/cache1.c:
17270         * testsuite/indexers/indexdump.c:
17271         * testsuite/parse/.cvsignore:
17272         * testsuite/parse/Makefile.am:
17273         * testsuite/parse/parse1.c:
17274         * testsuite/parse/parse2.c:
17275         * testsuite/plugin/.cvsignore:
17276         * testsuite/plugin/Makefile.am:
17277         * testsuite/plugin/README:
17278         * testsuite/plugin/dynamic.c:
17279         * testsuite/plugin/linked.c:
17280         * testsuite/plugin/loading.c:
17281         * testsuite/plugin/registry.c:
17282         * testsuite/plugin/static.c:
17283         * testsuite/plugin/static2.c:
17284         * testsuite/plugin/testplugin.c:
17285         * testsuite/plugin/testplugin2.c:
17286         * testsuite/plugin/testplugin2_s.c:
17287         * testsuite/plugin/testplugin_s.c:
17288         * testsuite/refcounting/.cvsignore:
17289         * testsuite/refcounting/Makefile.am:
17290         * testsuite/refcounting/bin.c:
17291         * testsuite/refcounting/element.c:
17292         * testsuite/refcounting/element_pad.c:
17293         * testsuite/refcounting/mainloop.c:
17294         * testsuite/refcounting/mem.c:
17295         * testsuite/refcounting/mem.h:
17296         * testsuite/refcounting/object.c:
17297         * testsuite/refcounting/pad.c:
17298         * testsuite/refcounting/sched.c:
17299         * testsuite/refcounting/thread.c:
17300         * testsuite/states/.cvsignore:
17301         * testsuite/states/Makefile.am:
17302         * testsuite/states/bin.c:
17303         * testsuite/states/locked.c:
17304         * testsuite/states/parent.c:
17305         * testsuite/threads/.cvsignore:
17306         * testsuite/threads/159566.c:
17307         * testsuite/threads/159852.c:
17308         * testsuite/threads/Makefile.am:
17309         * testsuite/threads/queue.c:
17310         * testsuite/threads/signals.c:
17311         * testsuite/threads/staticrec.c:
17312         * testsuite/threads/thread.c:
17313         * testsuite/threads/threadb.c:
17314         * testsuite/threads/threadc.c:
17315         * testsuite/threads/threadd.c:
17316         * testsuite/threads/threade.c:
17317         * testsuite/threads/threadf.c:
17318         * testsuite/threads/threadg.c:
17319         * testsuite/threads/threadh.c:
17320         * testsuite/threads/threadi.c:
17321           move all of these under tests
17322
17323 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17324
17325         * configure.ac:
17326         * tests/Makefile.am:
17327           fix distcheck
17328
17329 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17330
17331         * docs/gst/gstreamer-sections.txt:
17332         * tests/sched/.cvsignore:
17333         * tests/sched/Makefile.am:
17334         * tests/sched/cases/(fs-fs).xml:
17335         * tests/sched/cases/(fs-i-fs).xml:
17336         * tests/sched/cases/(fs-i-i-fs).xml:
17337         * tests/sched/cases/(fs-i-q[i-fs]).xml:
17338         * tests/sched/dynamic-pipeline.c:
17339         * tests/sched/interrupt1.c:
17340         * tests/sched/interrupt2.c:
17341         * tests/sched/interrupt3.c:
17342         * tests/sched/runtestcases:
17343         * tests/sched/runxml.c:
17344         * tests/sched/sched-stress.c:
17345         * tests/sched/sort.c:
17346         * tests/sched/testcases:
17347         * tests/sched/testcases1.tc:
17348         * tests/seeking/.cvsignore:
17349         * tests/seeking/Makefile.am:
17350         * tests/seeking/seeking1.c:
17351         * tests/threadstate/.cvsignore:
17352         * tests/threadstate/Makefile.am:
17353         * tests/threadstate/test1.c:
17354         * tests/threadstate/test2.c:
17355         * tests/threadstate/threadstate1.c:
17356         * tests/threadstate/threadstate2.c:
17357         * tests/threadstate/threadstate3.c:
17358         * tests/threadstate/threadstate4.c:
17359         * tests/threadstate/threadstate5.c:
17360           remove obsolete tests
17361         * configure.ac:
17362         * tests/bench-complexity.scm:
17363         * tests/bench-mass_elements.scm:
17364         * tests/complexity.c:
17365         * tests/complexity.gnuplot:
17366         * tests/instantiate/.cvsignore:
17367         * tests/instantiate/Makefile.am:
17368         * tests/instantiate/caps.c:
17369         * tests/mass_elements.c:
17370         * tests/network-clock-utils.scm:
17371         * tests/network-clock.scm:
17372         * tests/plot-data:
17373         First pass at cleaning up tests/ dir before moving the rest
17374         Combined with CVS surgery
17375
17376 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17377
17378         * po/POTFILES.in:
17379           queue has moved, update
17380
17381 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17382
17383         * docs/gst/gstreamer-sections.txt:
17384           remove double entries from the docs
17385         * gst/gst_private.h:
17386         * gst/gstinfo.c: (_gst_debug_init):
17387           remove the THREAD debug category
17388         * gst/Makefile.am:
17389         * gst/gstqueue.c:
17390         * gst/gstqueue.h:
17391         * docs/gst/gstreamer.types:
17392         * plugins/elements/gstqueue.c: (gst_queue_get_type),
17393         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17394           completely move queue and fix up debugging categories
17395
17396 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17397
17398         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17399           make initialization portable, using LL is not
17400
17401 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17402
17403         * win32/common/gstconfig.h:
17404           add large padding
17405
17406 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17407
17408         * win32/common/libgstreamer.def:
17409           rename symbols; sort base section
17410
17411 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17412
17413         * gst/gstclock.c: (do_linear_regression):
17414           remove crack non-portable handrolled DEBUG macro
17415
17416 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17417
17418         * docs/random/release:
17419           update notes
17420         * win32/common/gstenumtypes.c: (register_gst_object_flags),
17421         (gst_object_flags_get_type), (register_gst_bin_flags),
17422         (gst_bin_flags_get_type), (register_gst_buffer_flag),
17423         (gst_buffer_flag_get_type), (register_gst_bus_flags),
17424         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17425         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17426         (gst_caps_flags_get_type), (register_gst_clock_return),
17427         (gst_clock_return_get_type), (register_gst_clock_entry_type),
17428         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17429         (gst_clock_flags_get_type), (register_gst_state),
17430         (gst_state_get_type), (register_gst_state_change_return),
17431         (gst_state_change_return_get_type), (register_gst_state_change),
17432         (gst_state_change_get_type), (register_gst_element_flags),
17433         (gst_element_flags_get_type), (register_gst_core_error),
17434         (gst_core_error_get_type), (register_gst_library_error),
17435         (gst_library_error_get_type), (register_gst_resource_error),
17436         (gst_resource_error_get_type), (register_gst_stream_error),
17437         (gst_stream_error_get_type), (register_gst_event_type_flags),
17438         (gst_event_type_flags_get_type), (register_gst_event_type),
17439         (gst_event_type_get_type), (register_gst_seek_type),
17440         (gst_seek_type_get_type), (register_gst_seek_flags),
17441         (gst_seek_flags_get_type), (register_gst_format),
17442         (gst_format_get_type), (register_gst_index_certainty),
17443         (gst_index_certainty_get_type), (register_gst_index_entry_type),
17444         (gst_index_entry_type_get_type),
17445         (register_gst_index_lookup_method),
17446         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17447         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17448         (gst_index_resolver_method_get_type), (register_gst_index_flags),
17449         (gst_index_flags_get_type), (register_gst_debug_level),
17450         (gst_debug_level_get_type), (register_gst_debug_color_flags),
17451         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17452         (gst_iterator_result_get_type), (register_gst_iterator_item),
17453         (gst_iterator_item_get_type), (register_gst_message_type),
17454         (gst_message_type_get_type), (register_gst_mini_object_flags),
17455         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17456         (gst_pad_link_return_get_type), (register_gst_flow_return),
17457         (gst_flow_return_get_type), (register_gst_activate_mode),
17458         (gst_activate_mode_get_type), (register_gst_pad_direction),
17459         (gst_pad_direction_get_type), (register_gst_pad_flags),
17460         (gst_pad_flags_get_type), (register_gst_pad_presence),
17461         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17462         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17463         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17464         (gst_plugin_error_get_type), (register_gst_plugin_flags),
17465         (gst_plugin_flags_get_type), (register_gst_rank),
17466         (gst_rank_get_type), (register_gst_query_type),
17467         (gst_query_type_get_type), (register_gst_tag_merge_mode),
17468         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17469         (gst_tag_flag_get_type), (register_gst_task_state),
17470         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17471         (gst_alloc_trace_flags_get_type),
17472         (register_gst_type_find_probability),
17473         (gst_type_find_probability_get_type), (register_gst_uri_type),
17474         (gst_uri_type_get_type), (register_gst_parse_error),
17475         (gst_parse_error_get_type):
17476         * win32/common/gstenumtypes.h:
17477         * win32/common/gstversion.h:
17478           update visual studio generated files
17479
17480 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17481
17482         * win32/vs6/libgstbase.dsp:
17483         * win32/vs6/libgstelements.dsp:
17484           update project files for new locations
17485
17486 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17487
17488         * Makefile.am:
17489           remove some files
17490         * README:
17491           reinstate and update
17492         * DEVEL:
17493         * REQUIREMENTS:
17494           removed
17495         * LICENSE:
17496         * docs/random/LICENSE:
17497           moved to random
17498
17499 2005-11-30  Edward Hervey  <edward@fluendo.com>
17500
17501         * gst/gsttypefind.c: (gst_type_find_register):
17502         * gst/gsttypefind.h:
17503         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
17504         (gst_type_find_factory_dispose):
17505         * gst/gsttypefindfactory.h:
17506         Fix memory leak in GstTypeFindFactory.
17507
17508 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17509
17510         * gst/gst.c:
17511         * plugins/elements/Makefile.am:
17512         * plugins/elements/gstelements.c:
17513         * plugins/elements/gstqueue.c:
17514           move queue from core to the elements plugin
17515
17516 2005-11-29  Andy Wingo  <wingo@pobox.com>
17517
17518         * libs/gst/base/gstbasetransform.h: 
17519         * libs/gst/base/gstbasesrc.h: 
17520         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
17521
17522         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
17523         of pointers by which to pad very extensible base classes (like the
17524         ones in libs/gst/base).
17525
17526 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17527
17528         * docs/gst/gstreamer-docs.sgml:
17529         * docs/gst/gstreamer-sections.txt:
17530         * docs/libs/gstreamer-libs-docs.sgml:
17531         * docs/libs/gstreamer-libs-sections.txt:
17532           moving documentation from core to lib
17533
17534 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17535
17536         * check/Makefile.am:
17537         * configure.ac:
17538         * docs/gst/Makefile.am:
17539         * gst/Makefile.am:
17540         * gst/base/.cvsignore:
17541         * gst/base/Makefile.am:
17542         * gst/base/README:
17543         * gst/base/gstadapter.c:
17544         * gst/base/gstadapter.h:
17545         * gst/base/gstbasesink.c:
17546         * gst/base/gstbasesink.h:
17547         * gst/base/gstbasesrc.c:
17548         * gst/base/gstbasesrc.h:
17549         * gst/base/gstbasetransform.c:
17550         * gst/base/gstbasetransform.h:
17551         * gst/base/gstcollectpads.c:
17552         * gst/base/gstcollectpads.h:
17553         * gst/base/gstpushsrc.c:
17554         * gst/base/gstpushsrc.h:
17555         * gst/base/gsttypefindhelper.c:
17556         * gst/base/gsttypefindhelper.h:
17557         * gst/check/Makefile.am:
17558         * gst/check/gstcheck.c:
17559         * gst/check/gstcheck.h:
17560         * gst/net/Makefile.am:
17561         * gst/net/gstnet.h:
17562         * gst/net/gstnetclientclock.c:
17563         * gst/net/gstnetclientclock.h:
17564         * gst/net/gstnettimepacket.c:
17565         * gst/net/gstnettimepacket.h:
17566         * gst/net/gstnettimeprovider.c:
17567         * gst/net/gstnettimeprovider.h:
17568         * libs/gst/Makefile.am:
17569         * libs/gst/base/Makefile.am:
17570         * libs/gst/base/gstbasetransform.c:
17571         * libs/gst/check/Makefile.am:
17572         * plugins/elements/Makefile.am:
17573         * po/POTFILES.in:
17574           CVS surgery + support to move base, check, and net out of gst
17575           and into libs/gst
17576
17577 2005-11-29  Andy Wingo  <wingo@pobox.com>
17578
17579         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
17580
17581         * gst/gststructure.h (struct _GstStructure): Only one pointer of
17582         padding.
17583
17584         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
17585
17586         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
17587
17588         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
17589
17590         * gst/gstobject.h: (struct _GstObject): Only one pointer of
17591         padding; reduces object size by about 30%. We don't expect
17592         anything else to go into gstobject.
17593
17594         * gst/gstminiobject.h (struct _GstMiniObject)
17595         (struct _GstMiniObjectClass): Only one pointer of padding; the
17596         payload is only a pointer and two ints anyway. For the class there
17597         are only two methods as well.
17598         
17599         * gst/gstelement.h (struct _GstElementClass): Removed
17600         the state_changed signal callback, it is not used.
17601
17602 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17603
17604         * docs/gst/gstreamer.types:
17605           fix includes, though they are a little dinky
17606
17607 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17608
17609         * check/Makefile.am:
17610           look in the right place for elements, a lot more chance of
17611           success
17612         * gst/Makefile.am:
17613           remove indexers and elements subdirs
17614         * plugins/Makefile.am:
17615           make indexers conditional
17616
17617 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17618
17619         * Makefile.am:
17620         * configure.ac:
17621         * plugins/elements/Makefile.am:
17622         * plugins/elements/gstcapsfilter.c:
17623         * plugins/elements/gstfilesink.c:
17624         * plugins/elements/gstfilesrc.c:
17625         * plugins/elements/gstidentity.c:
17626         * plugins/indexers/Makefile.am:
17627           do CVS surgery and related build fixery to move elements
17628           and indexers in a new gstreamer/plugins directory, out of the
17629           gst/ directory
17630
17631 2005-11-29  Andy Wingo  <wingo@pobox.com>
17632
17633         * check/Makefile.am:
17634         * pkgconfig/gstreamer-net-uninstalled.pc.in:
17635         * pkgconfig/gstreamer-net.pc.in:
17636         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
17637         #322257.
17638
17639 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17640
17641         * tools/Makefile.am:
17642         * tools/gst-complete.1.in:
17643         * tools/gst-complete.c:
17644         * tools/gst-compprep.1.in:
17645         * tools/gst-compprep.c:
17646           removing -compprep and -complete
17647
17648 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17649
17650         * gst/gstevent.c: (gst_event_new_new_segment),
17651         (gst_event_parse_new_segment):
17652         * gst/gstevent.h:
17653           fix #320529 - clean up new_segment API and structure.
17654           Let's hope everyone was using the methods, and not the structure.
17655
17656 2005-11-29  Edward Hervey  <edward@fluendo.com>
17657
17658         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17659         (gst_base_sink_event), (gst_base_sink_do_sync),
17660         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
17661         Properly handle non GST_FORMAT_TIME segment
17662         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17663         Properly handle non GST_FORMAT_TIME segment
17664         * gst/gstsegment.c:
17665         This function is valid if the accumulator is 0 and the format
17666         is different from the requested format.
17667         
17668 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
17669
17670         * docs/gst/gstreamer-sections.txt:
17671         Add gst_query_new_seeking and gst_query_parse_seeking to the
17672         docs.
17673
17674 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
17675
17676         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17677           Treat a pad alloc with new caps the same as if we were not
17678           negotiated, in order to allow a changing upstream output
17679           to produce a new format of data.
17680
17681 2005-11-29  Edward Hervey  <edward@fluendo.com>
17682
17683         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17684         (gst_base_transform_event), (gst_base_transform_eventfunc):
17685         The event virtual method is now properly implemented, with a default
17686         handler
17687         Sub classes should call the parent_class event method. They should
17688         return FALSE if they had a problem handling the given event, or don't
17689         want GstBaseTransform to send that even downstream
17690         * gst/elements/gstidentity.c: (gst_identity_class_init),
17691         (gst_identity_init), (gst_identity_event),
17692         (gst_identity_transform_ip), (gst_identity_set_property),
17693         (gst_identity_get_property):
17694         * gst/elements/gstidentity.h:
17695         Added the single-segment boolean property.
17696         If set to TRUE, it will output a single segment of data, starting from
17697         0, will eat up all incoming newsegment, and modify the timestamp of the
17698         buffers accordingly
17699
17700 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
17701
17702         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
17703           Don't ref NULL target pad (#322751). Improve docs.
17704
17705 2005-11-29  Michael Smith  <msmith@fluendo.com>
17706
17707         * gst/gstregistryxml.c: (load_plugin):
17708           Don't crash if we failed to load a feature from a plugin. 
17709
17710 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17711
17712         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17713         (GST_START_TEST):
17714           use more check API and less GLib API
17715
17716 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17717
17718         * Makefile.am:
17719           don't run checks if we don't have check
17720         * common/check.mak:
17721           remove the registry when running make torture
17722         * docs/gst/gstreamer-sections.txt:
17723           remove second multiply
17724         * gst/gstqueue.c: (gst_queue_loop):
17725           fix a compile warning when disabling debug
17726
17727 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17728
17729         * gst/gstinfo.h:
17730         Hey! Let's print the pad name if the pointer != NULL instead
17731         of when it == NULL :-)
17732
17733 2005-11-28  Wim Taymans  <wim@fluendo.com>
17734
17735         * check/gst/gstutils.c: (GST_START_TEST):
17736         Updated check, add some scaling accuracy checking code.
17737
17738         * gst/gstutils.c: (gst_util_div128_64),
17739         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
17740         (gst_util_uint64_scale_int):
17741         Fix 6 times faster division code. Optimize for common 
17742         1/1 and less common X/1 cases.
17743
17744 2005-11-28  Wim Taymans  <wim@fluendo.com>
17745
17746         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17747         More checks.
17748
17749         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
17750         (do_linear_regression), (gst_clock_add_observation):
17751         Cleanups.
17752         Release lock when the clock cannot be slaved.
17753         Catch the case where the regression returned an invalid denominator.
17754
17755         * gst/gstutils.c: (gst_util_div128_64_iterate),
17756         (gst_util_div128_64), (gst_util_uint64_scale_int64),
17757         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17758         Add protentially more performant non-iterative 128/64 divide function
17759         that unfortunatly does not work yet.
17760         Shortcut the trivial 0/X = 0 case.
17761         Remove the warnings on overflow.
17762
17763 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17764
17765         * gst/gstplugin.c: (gst_plugin_register_func):
17766           everything causing a plugin not to load should be at least a WARNING
17767
17768 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
17769
17770         * docs/random/ensonic/dparams.txt:
17771           some TODOs for the next dev cycle
17772         * libs/gst/controller/gstcontroller.c:
17773         (gst_controlled_property_set_interpolation_mode),
17774         (gst_controlled_property_new):
17775         * libs/gst/controller/gstcontroller.h:
17776           use base type to assign acccessor functions
17777
17778 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17779
17780         * check/Makefile.am:
17781         Oops, that should have been top_srcdir
17782
17783 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17784
17785         * check/Makefile.am:
17786         * check/elements/fdsrc.c: (GST_START_TEST):
17787         Use a cmdline define to specify the location of a file to use for
17788         testing, to avoid breaking distcheck.
17789
17790 2005-11-28  Andy Wingo  <wingo@pobox.com>
17791
17792         * gst/gstpad.c (fixate_value): Use array functions for arrays.
17793
17794 2005-11-28  Edward Hervey  <edward@fluendo.com>
17795
17796         * tools/gst-launch.c: (main):
17797         Clarify the output strings, makes it easier to translate.
17798         Fixes #322626
17799
17800 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17801
17802         * gst/Makefile.am:
17803           don't try and build net if we don't even have <sys/socket.h>
17804
17805 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
17806
17807         * check/Makefile.am:
17808         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
17809         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
17810           Add tests for fdsrc seekability
17811
17812         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17813         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
17814         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
17815         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
17816         * gst/elements/gstfdsrc.h:
17817           fdsrc should not be a 'live' source.
17818           Implement seeking on seekable fd's.
17819
17820         * gst/gstquery.c: (gst_query_new_seeking),
17821         (gst_query_parse_seeking):
17822         * gst/gstquery.h:
17823           Implement SEEKING query functions: 
17824             *_new_seeking and *_parse_seeking
17825
17826 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
17827
17828         * gst/gstelement.c: (gst_element_dispose):
17829           don't loop forever
17830
17831         * gst/gstiterator.c:
17832         * gst/gststructure.c:
17833           doc fixes
17834
17835         * libs/gst/controller/gstcontroller.c:
17836         (gst_controlled_property_set_interpolation_mode):
17837         * libs/gst/controller/gstcontroller.h:
17838         * libs/gst/controller/gstinterpolation.c:
17839         (interpolate_none_get_enum_value_array):
17840           support controlling enums
17841
17842 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
17843
17844         * gst/gstvalue.c:
17845           Improve documentation for gst_value_union().
17846
17847         * gst/gstvalue.h:
17848           Change return value for union, intersect and subtract functions
17849           from gint to gboolean.
17850
17851 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
17852
17853         * gst/gstvalue.c: (gst_value_serialize_any_list),
17854         (gst_value_transform_any_list_string),
17855         (gst_value_deserialize_list), (gst_value_deserialize_array),
17856         (gst_value_set_int_range), (gst_value_deserialize_int_range),
17857         (gst_value_set_double_range), (gst_value_deserialize_double_range),
17858         (gst_value_set_fraction_range_full),
17859         (gst_value_deserialize_fraction_range),
17860         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
17861         (gst_value_deserialize_boolean),
17862         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
17863         (gst_value_serialize_float), (gst_value_deserialize_float),
17864         (gst_string_wrap), (gst_value_deserialize_string),
17865         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
17866         (gst_value_union_int_range_int_range),
17867         (gst_value_intersect_int_range_int_range),
17868         (gst_value_intersect_double_range_double_range),
17869         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
17870         (gst_value_subtract_int_range_int_range),
17871         (gst_value_subtract_double_double_range),
17872         (gst_value_subtract_double_range_double_range),
17873         (gst_value_deserialize_fraction):
17874         * gst/gstvalue.h:
17875           Use gint, gdouble and gchar in our API instead of int, double and
17876           char (and make usage in gstvalue.c more consistent).
17877
17878 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17879
17880         * check/Makefile.am:
17881         * libs/gst/controller/Makefile.am:
17882         * libs/gst/dataprotocol/Makefile.am:
17883           fix up Makefile.am and remove GST_ENABLE_NEW
17884
17885 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17886
17887         * configure.ac:
17888         * gst/Makefile.am:
17889         * gst/base/Makefile.am:
17890         * gst/check/Makefile.am:
17891         * gst/elements/Makefile.am:
17892         * gst/net/Makefile.am:
17893           update LDFLAGS use some more
17894
17895 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17896
17897         * common/m4/gst-doc.m4:
17898           Fixes #312589
17899
17900 2005-11-26  Edward Hervey  <edward@fluendo.com>
17901
17902         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17903         This shouldn't issue a g_warning since it returns NULL if it
17904         couldn't find the plugin, and all functions using this behave
17905         properly on a NULL return. Switching to a GST_WARNING.
17906
17907 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
17908
17909         * gst/gstbin.c: (gst_bin_handle_message_func):
17910         Don't leak clock messages.
17911
17912 2005-11-25  Wim Taymans  <wim@fluendo.com>
17913
17914         * gst/gstutils.c: (gst_util_uint64_scale_int64),
17915         (gst_util_uint64_scale_int):
17916         Optimisations, remove unneeded vars.
17917
17918 2005-11-25  Wim Taymans  <wim@fluendo.com>
17919
17920         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17921         Added more checks for the high precision uint64 cases.
17922
17923         * gst/gstutils.c: (gst_util_uint64_scale_int64),
17924         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17925         Implement high precision (guint64 * guint64) / guint64.
17926
17927 2005-11-24  Wim Taymans  <wim@fluendo.com>
17928
17929         * gst/base/gstbasesrc.c: (gst_base_src_query):
17930         Fix wrong percentage query.
17931
17932         * gst/gstutils.c: (gst_util_uint64_scale),
17933         (gst_util_uint64_scale_int):
17934         Add some more common cases that can be handled 
17935         efficiently to _scale.
17936
17937 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17938
17939         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
17940         (gst_mini_object_suite):
17941           don't use check calls from threads; check probably isn't
17942           threadsafe and using a lock to make it threadsafe would
17943           defeat the purpose of this check
17944         * gst/check/gstcheck.c:
17945         * gst/check/gstcheck.h:
17946           use GST_DEBUG some more
17947
17948 2005-11-24  Wim Taymans  <wim@fluendo.com>
17949
17950         * gst/gstutils.c: (gst_util_uint64_scale),
17951         (gst_util_uint64_scale_int):
17952         Chain trivial case to _scale_int.
17953
17954 2005-11-24  Wim Taymans  <wim@fluendo.com>
17955
17956         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17957         Added test for scaling.
17958
17959         * gst/gstclock.h:
17960         Small doc fix.
17961
17962         * gst/gstutils.c: (gst_util_uint64_scale_int):
17963         Implemented high precision scaling code.
17964
17965 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
17966
17967         * gst/gstinfo.h:
17968           do not crash on pad==NULL
17969
17970 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17971
17972         Patch by: Stefan Kost
17973
17974         * common/gtk-doc.mak:
17975         * docs/gst/Makefile.am:
17976         * docs/libs/Makefile.am:
17977           Fix distcheck issues for the libraries docs build
17978           Closes #319599.
17979
17980 2005-11-24  Michael Smith <msmith@fluendo.com>
17981
17982         * docs/manual/basics-helloworld.xml:
17983           Fix bug #315027: memory leak in example code in docs.
17984
17985 2005-11-24  Michael Smith <msmith@fluendo.com>
17986
17987         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17988           Unlock the PREROLL_LOCK in a failure case.
17989
17990 2005-11-24  Wim Taymans  <wim@fluendo.com>
17991
17992         * docs/gst/gstreamer-sections.txt:
17993         * gst/base/gstadapter.h:
17994         * gst/base/gstbasesink.h:
17995         * gst/base/gstbasesrc.h:
17996         * gst/base/gstbasetransform.h:
17997         * gst/base/gstpushsrc.h:
17998         * gst/elements/gstfakesink.h:
17999         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
18000         * gst/elements/gstfakesrc.h:
18001         * gst/elements/gstfilesink.h:
18002         * gst/elements/gstfilesrc.h:
18003         * gst/gst.c:
18004         * gst/gstbin.c:
18005         * gst/gstbuffer.c: (_gst_buffer_copy):
18006         * gst/gstbus.h:
18007         * gst/gstcaps.c:
18008         * gst/gstchildproxy.c:
18009         * gst/gstclock.c:
18010         * gst/gstelement.c:
18011         * gst/gstelementfactory.c:
18012         * gst/gstelementfactory.h:
18013         * gst/gstevent.c:
18014         * gst/gstghostpad.h:
18015         * gst/gstindex.h:
18016         * gst/gstinterface.h:
18017         * gst/gstminiobject.c:
18018         * gst/gstminiobject.h:
18019         * gst/gstpad.c:
18020         * gst/gstpad.h:
18021         * gst/gstpadtemplate.h:
18022         * gst/gstpipeline.h:
18023         * gst/gstpluginfeature.h:
18024         * gst/gstquery.h:
18025         * gst/gstqueue.h:
18026         * gst/gsttaglist.c:
18027         * gst/gsttaglist.h:
18028         * gst/gsttagsetter.c:
18029         * gst/gsttagsetter.h:
18030         * gst/gsttrace.c:
18031         * gst/gsttrace.h:
18032         * gst/gsttypefind.h:
18033         * gst/gsturi.h:
18034         * gst/gstvalue.c:
18035         * gst/net/gstnetclientclock.c:
18036         * gst/net/gstnetclientclock.h:
18037         * gst/net/gstnettimepacket.c:
18038         * gst/net/gstnettimeprovider.c:
18039         * gst/net/gstnettimeprovider.h:
18040         Doc fixes.
18041
18042 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18043
18044         * configure.ac: back to HEAD
18045
18046 === release 0.9.6 ===
18047
18048 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
18049
18050         * configure.ac:
18051           releasing 0.9.6, "Always On Time"
18052
18053 2005-11-23  Wim Taymans  <wim@fluendo.com>
18054
18055         * docs/gst/gstreamer-sections.txt:
18056         * gst/glib-compat.c:
18057         * gst/gsttagsetter.c:
18058         * gst/gstvalue.c:
18059         * gst/net/gstnetclientclock.c:
18060         * gst/net/gstnettimepacket.h:
18061         Doc updates.
18062
18063 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18064
18065         * docs/faq/using.xml:
18066         * docs/libs/tmpl/gstcontrol.sgml:
18067         * docs/manual/advanced-dparams.xml:
18068         * docs/manual/appendix-checklist.xml:
18069         * docs/manual/basics-elements.xml:
18070         * docs/pwg/other-source.xml:
18071         * docs/random/moving-plugins:
18072         * gst/gstpad.c:
18073         * tools/gst-launch.1.in:
18074           remove mentions of sinesrc
18075
18076 2005-11-23  Michael Smith <msmith@fluendo.com>
18077
18078         * docs/gst/gstreamer-sections.txt:
18079           Update for new API and API changes.
18080         * gst/gstobject.h:
18081           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
18082         * gst/gstvalue.c:
18083           Documentation typo fix.
18084         * gst/net/gstnettimepacket.c:
18085           Documentation fixes for arguments.
18086
18087 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
18088
18089         * gst/gststructure.c: (gst_structure_get_fraction),
18090         (gst_structure_parse_value),
18091         (gst_structure_fixate_field_nearest_fraction):
18092         * gst/gststructure.h:
18093         * gst/gstutils.c: (gst_util_uint64_scale_int):
18094         * gst/gstutils.h:
18095         * scripts/update-funcnames:
18096         API Changes. 
18097         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
18098         Make gst_structure_fixate_field_nearest_fraction take a numerator
18099         and denominator argument instead of a GValue
18100         add gst_structure_get_fraction helper function.
18101
18102 2005-11-23  Wim Taymans  <wim@fluendo.com>
18103
18104         * docs/design/part-TODO.txt:
18105         Update TODO.
18106
18107         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
18108         * gst/net/gstnetclientclock.h:
18109         Use parent fields for timeout and window_size.
18110
18111 2005-11-23  Andy Wingo  <wingo@pobox.com>
18112
18113         * check/net/gstnetclientclock.c (test_functioning): Adjust to
18114         rate_num/rate_denom change.
18115
18116         * gst/net/gstnetclientclock.c
18117         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
18118         OBJECT_LOCK. Don't call add_observation with the lock.
18119
18120         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
18121         fraction.
18122         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
18123         rate fraction.
18124         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
18125         deal with rate as a fraction whose numerator and denominator are
18126         GstClockTime values.
18127         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
18128         master; the other fields are protected by the SLAVE_LOCK.
18129         (do_linear_regression): Note that this must be called with the
18130         SLAVE_LOCK.
18131         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
18132         OBJECT_LOCK. Call set_calibration instead of touching the
18133         variables directly.
18134         (gst_clock_set_property, gst_clock_get_property): Protect
18135         master/slave parameters with the SLAVE_LOCK.
18136
18137         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
18138         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
18139         note that all of the instance variables that add_observation and
18140         the set_master functions use are protected by that lock and not
18141         the OBJECT_LOCK.
18142         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
18143
18144         * gst/gstclock.c (gst_clock_add_observation): No longer requires
18145         the caller to take the object lock.
18146
18147 2005-11-23  Wim Taymans  <wim@fluendo.com>
18148
18149         * gst/gsterror.c: (_gst_core_errors_init):
18150         * gst/gsterror.h:
18151         Add error for clock stuff.
18152
18153         * gst/gstpipeline.c: (gst_pipeline_change_state),
18154         (gst_pipeline_set_clock):
18155         Post clock error when clock cannot be used in a pipeline.
18156
18157 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
18158
18159         * docs/gst/gstreamer-sections.txt:
18160           make two symbols from gstinfo private for the docs
18161         * gst/base/gstcollectpads.h:
18162         * gst/gstutils.c:
18163           fix doc typos, update docs
18164
18165 2005-11-22  Wim Taymans  <wim@fluendo.com>
18166
18167         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18168         (gst_base_sink_wait), (gst_base_sink_do_sync),
18169         (gst_base_sink_handle_event):
18170         * gst/base/gstbasesink.h:
18171         No need to store the clock, the parent element class already
18172         has it.
18173
18174         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
18175         Updates for clock_set returning a gboolean
18176
18177         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
18178         (gst_clock_id_wait_async), (gst_clock_class_init),
18179         (gst_clock_init), (gst_clock_finalize),
18180         (gst_clock_get_internal_time), (gst_clock_get_time),
18181         (gst_clock_slave_callback), (gst_clock_set_master),
18182         (gst_clock_get_master), (do_linear_regression),
18183         (gst_clock_add_observation), (gst_clock_set_property),
18184         (gst_clock_get_property):
18185         * gst/gstclock.h:
18186         Implement master/slave. When setting a clock as a slave, a
18187         periodic timeout is scheduled to sample master and slave times.
18188         Then the slave clock is recalibrated to match offset and rate
18189         of the master clock.
18190         Update logging a bit.
18191         Add flag so that a clock can state that is cannot be slaved to
18192         another clock.
18193
18194         * gst/gstelement.c: (gst_element_set_clock):
18195         * gst/gstelement.h:
18196         The set clock returns a gboolean for when an element cannot
18197         deal with the selected clock in the pipeline. 
18198
18199         * gst/gstpipeline.c: (gst_pipeline_change_state),
18200         (gst_pipeline_set_clock):
18201         * gst/gstpipeline.h:
18202         Handle the case where the selected clock cannot be set on
18203         the pipeline.
18204
18205         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
18206         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
18207         (gst_net_client_clock_set_property),
18208         (gst_net_client_clock_get_property),
18209         (gst_net_client_clock_observe_times):
18210         * gst/net/gstnetclientclock.h:
18211         Use regression code in GstClock parent, remove duplicated
18212         functionality.
18213
18214 2005-11-22  Michael Smith <msmith@fluendo.com>
18215
18216         * gst/gstutils.c: (gst_util_clock_time_scale):
18217         * gst/gstutils.h:
18218         * docs/gst/gstreamer-sections.txt:
18219           Rename method to have extra underscore.
18220
18221 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
18222
18223         * gst/elements/Makefile.am:
18224         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
18225         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18226         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18227         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18228         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18229         * gst/elements/gstfakesrc.h:
18230         * gst/gstqueue.c: (queue_leaky_get_type):
18231           correctly fix GEnumValues so that nick is the short lowercase
18232           dashed tag
18233         * tools/gst-inspect.c: (print_element_properties_info):
18234           also show the nick, since it's useful to use from parse_launch
18235           syntax
18236           Fixes #322139
18237
18238 2005-11-22  Michael Smith <msmith@fluendo.com>
18239
18240         * gst/gstutils.c: (gst_util_clocktime_scale):
18241         * gst/gstutils.h:
18242         * docs/gst/gstreamer-sections.txt:
18243           Add util method for scaling a clocktime by a fraction. Useful 
18244           implementation is left as an exercise for the reader.
18245
18246 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18247
18248         * gst/gstvalue.c: (gst_value_collect_fraction_range):
18249         If needed, allocate storage in the destination value during
18250         collection.
18251
18252 2005-11-22  Edward Hervey  <edward@fluendo.com>
18253
18254         * docs/gst/gstreamer-sections.txt:
18255         * gst/Makefile.am:
18256         * gst/gst.h:
18257         * gst/gsturitype.c:
18258         * gst/gsturitype.h:
18259         * gst/gstutils.c: (gst_util_set_object_arg):
18260         * tools/gst-compprep.c: (main):
18261         * tools/gst-inspect.c: (print_element_properties_info):
18262         Removed GstURI, closes bug #321061
18263
18264 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18265
18266         * check/gst/gststructure.c: (GST_START_TEST):
18267         * gst/gststructure.c: (gst_structure_parse_value):
18268           Oops, broke automatic string type parsing.
18269           Add a test to catch it in future.
18270
18271 2005-11-22  Andy Wingo  <wingo@pobox.com>
18272
18273         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
18274         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18275         Actually rename the function implementations. Grr.
18276
18277 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18278
18279         * check/gst/capslist.h:
18280           Comment test cases
18281         * check/gst/gststructure.c: (GST_START_TEST),
18282         (gst_structure_suite):
18283           Test automatic value type detection in gst_structure_from_string.
18284         * gst/gststructure.c: (gst_structure_parse_value):
18285           Add fraction as a type we try and guess automatically in
18286           caps/structure strings.
18287
18288 2005-11-22  Andy Wingo  <wingo@pobox.com>
18289
18290         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18291
18292         * gst/gsttagsetter.h:
18293         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18294         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18295         (gst_tag_setter_add_tag_valist)
18296         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18297         _add_values, _add_valist, and _add_valist_values. Since this is an
18298         interface the function suffixes should be more explicit so
18299         language binding don't end up with element.add_valist ->
18300         gst_tag_setter_add_valist, for example. Fixes #322069.
18301
18302 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18303
18304         * check/gst/gstcaps.c: (GST_START_TEST):
18305           Extend caps string tests to check that a caps to string
18306           conversion is reversible and produces the same caps.
18307
18308         * gst/gststructure.c: (gst_structure_value_get_generic_type):
18309           Output "fraction" as the generic type fraction range, so caps
18310           serialisation and deserialisation works.
18311         * check/gst/capslist.h:
18312         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18313           Support 'MIN' and 'MAX' for deserialising fractions.
18314
18315 2005-11-22  Andy Wingo  <wingo@pobox.com>
18316
18317         * gst/gstevent.h (gst_event_new_new_segment)
18318         (gst_event_parse_new_segment, gst_event_new_buffer_size)
18319         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18320         Renamed from *_newsegment, *_buffersize, *_notarget.
18321
18322         * scripts/update-funcnames: New script, performs the changes
18323         listed above.
18324
18325 2005-11-22  Wim Taymans  <wim@fluendo.com>
18326
18327         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18328         Make sure the GstFlowReturn is returned.
18329
18330         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18331         (gst_bus_add_signal_watch):
18332         * gst/gstbus.h:
18333         add gst_bus_add_signal_watch_full.
18334
18335         * gst/gstplugin.c: (gst_plugin_load_file):
18336         Small style cleanup.
18337
18338 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18339
18340         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18341           Block the fakesrc srcpad when we send an event, to avoid
18342           contention on the stream_lock causing random test failures.
18343
18344 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18345
18346         * check/gst/gstvalue.c: (GST_START_TEST):
18347         * gst/gstvalue.c: (gst_value_fraction_subtract):
18348           Fix subtraction.
18349
18350 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
18351
18352         * gst/gst.h:
18353           include "gstchildproxy.h"
18354         * gst/gstchildproxy.h:
18355         * libs/gst/controller/gstcontroller.h:
18356           use G_GNUC_NULL_TERMINATED
18357
18358 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18359
18360         * check/gst/capslist.h:
18361         * check/gst/gstcaps.c: (GST_START_TEST):
18362         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18363         * gst/gststructure.c: (gst_structure_parse_range),
18364         (gst_structure_fixate_field_nearest_fraction):
18365         * gst/gststructure.h:
18366         * gst/gstvalue.c: (gst_value_init_fraction_range),
18367         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18368         (gst_value_collect_fraction_range),
18369         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18370         (gst_value_set_fraction_range_full),
18371         (gst_value_get_fraction_range_min),
18372         (gst_value_get_fraction_range_max),
18373         (gst_value_serialize_fraction_range),
18374         (gst_value_transform_fraction_range_string),
18375         (gst_value_compare_fraction_range),
18376         (gst_value_deserialize_fraction_range),
18377         (gst_value_intersect_fraction_fraction_range),
18378         (gst_value_intersect_fraction_range_fraction_range),
18379         (gst_value_subtract_fraction_fraction_range),
18380         (gst_value_subtract_fraction_range_fraction),
18381         (gst_value_subtract_fraction_range_fraction_range),
18382         (gst_value_collect_fraction), (gst_value_fraction_multiply),
18383         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18384         (gst_value_transform_string_fraction), (_gst_value_initialize):
18385         * gst/gstvalue.h:
18386           Implement fraction ranges and extend GstFraction to support
18387           arithmetic subtraction, as well as deserialization from integer
18388           strings such as "100"
18389           Add a testsuite as for int and double range set operations
18390
18391 2005-11-21  Andy Wingo  <wingo@pobox.com>
18392
18393         * gst/gsttaglist.h: 
18394         * gst/gstcaps.h: 
18395         * gst/gststructure.h: Add glib-compat.h.
18396
18397 2005-11-21  Wim Taymans  <wim@fluendo.com>
18398
18399         * gst/gstbin.c: (gst_bin_change_state_func):
18400         Fix for #321595
18401
18402 2005-11-21  Wim Taymans  <wim@fluendo.com>
18403
18404         * gst/gstsegment.h:
18405         And add a nice define too.
18406
18407 2005-11-21  Wim Taymans  <wim@fluendo.com>
18408
18409         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18410         (gst_segment_new), (gst_segment_free), (gst_segment_init),
18411         (gst_segment_set_duration), (gst_segment_set_last_stop),
18412         (gst_segment_set_seek), (gst_segment_set_newsegment),
18413         (gst_segment_to_stream_time), (gst_segment_to_running_time),
18414         (gst_segment_clip):
18415         * gst/gstsegment.h:
18416         Make binding friendly.
18417
18418 2005-11-21  Andy Wingo  <wingo@pobox.com>
18419
18420         * gst/gsttagsetter.h: 
18421         * gst/gsttaglist.h: 
18422         * gst/gststructure.h: 
18423         * gst/gstcaps.h: 
18424         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18425         #319940.
18426
18427         * gst/gsterror.c (_gst_core_errors_init):
18428         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18429         category.
18430
18431         * gst/Makefile.am (gst_headers): Add glib-compat.h.
18432         (noinst_HEADERS): noinst the -private.
18433
18434 2005-11-21  Michael Smith <msmith@fluendo.com>
18435
18436         * gst/gstplugin.h:
18437         * gst/gstregistry.h:
18438           Remove unimplemented declarations for which we can see no sensible
18439           use.
18440
18441 2005-11-21  Andy Wingo  <wingo@pobox.com>
18442
18443         * gst/gst.h: Include glib-compat.h.
18444
18445         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18446
18447         * gst/glib-compat.c: Include the public and the private header.
18448
18449         * gst/glib-compat-private.h: Copied here from glib-compat.h.
18450
18451         * gst/gstvalue.c: 
18452         * gst/gstpad.c: 
18453         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18454
18455         * check/gst/gstevent.c (create_custom_events): Check that
18456         FLUSH_STOP is serialized.
18457
18458         * check/elements/identity.c (event_func): 
18459         * check/elements/fakesrc.c (event_func): No stream lock, the core
18460         takes it.
18461
18462         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18463         stream lock taking, yay.
18464
18465         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18466         ensure that core takes the stream lock.
18467
18468         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18469         lock name change.
18470
18471         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18472         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18473         it already. For the flush start we do take it though so we get the
18474         right preroll state change messages.
18475
18476         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18477         the stream lock here, the core does it for us.
18478
18479         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
18480         GST_STREAM_GET_LOCK.
18481         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
18482         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
18483         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
18484         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
18485         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
18486         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
18487
18488         * gst/gstpad.c: Update for stream lock name change.
18489
18490         * gst/base/gstbasesink.c: Update for preroll lock name change.
18491
18492 2005-11-21  Wim Taymans  <wim@fluendo.com>
18493
18494         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
18495         (gst_clock_get_master):
18496         * gst/gstclock.h:
18497         * gst/gstsystemclock.c: (gst_system_clock_init):
18498         Convert Clock flags to object flags.
18499         Added methods to manage master/slave clocks.
18500
18501 2005-11-21  Wim Taymans  <wim@fluendo.com>
18502
18503         * check/gst/gstsegment.c: (GST_START_TEST):
18504         * docs/design/part-TODO.txt:
18505         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18506         (gst_base_sink_event), (gst_base_sink_do_sync),
18507         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
18508         (gst_base_sink_query), (gst_base_sink_change_state):
18509         * gst/base/gstbasesink.h:
18510         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18511         (gst_base_src_default_newsegment),
18512         (gst_base_src_configure_segment), (gst_base_src_do_seek),
18513         (gst_base_src_get_range), (gst_base_src_loop),
18514         (gst_base_src_change_state):
18515         * gst/base/gstbasesrc.h:
18516         * gst/base/gstbasetransform.c:
18517         (gst_base_transform_prepare_output_buf),
18518         (gst_base_transform_event), (gst_base_transform_change_state):
18519         * gst/base/gstbasetransform.h:
18520         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
18521         (gst_collect_pads_event):
18522         * gst/base/gstcollectpads.h:
18523         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
18524         (gst_fake_src_create):
18525         * gst/elements/gstfakesrc.h:
18526         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18527         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18528         (gst_segment_set_last_stop), (gst_segment_set_seek),
18529         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18530         (gst_segment_to_running_time), (gst_segment_clip):
18531         * gst/gstsegment.h:
18532         More segment updates, replace code in plugins with segment
18533         helper functions.
18534
18535 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18536
18537         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
18538         Don't ignore sscanf results
18539
18540 2005-11-21  Andy Wingo  <wingo@pobox.com>
18541
18542         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
18543
18544         * *.h:
18545         * *.c: Ran scripts/update-macros. Oh yes.
18546
18547         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
18548         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
18549         GST_GET_LOCK, etc.
18550
18551         * scripts/update-macros: New script. Run it on your files to
18552         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
18553         well.
18554
18555 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
18556
18557         * docs/gst/Makefile.am:
18558         * docs/gst/gstreamer-docs.sgml:
18559         * docs/gst/gstreamer-sections.txt:
18560         * docs/gst/gstreamer.types:
18561         * gst/gstinfo.h:
18562           more docs fixes, add new api to the docs
18563
18564 2005-11-21  Andy Wingo  <wingo@pobox.com>
18565
18566         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
18567         state_broadcast call.
18568
18569         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
18570
18571 2005-11-21  Julien MOUTTE  <julien@moutte.net>
18572
18573         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
18574         function calls for arrays.
18575
18576 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
18577
18578         * docs/random/ensonic/media-device-daemon.txt:
18579           wild idea, can this be done?
18580         * docs/gst/gstreamer-sections.txt:
18581         * gst/gsterror.h:
18582         * gst/gstfilter.c:
18583         * gst/gstfilter.h:
18584         * gst/gstplugin.h:
18585         * gst/gstpluginfeature.c:
18586         * gst/gsttrace.c:
18587         * gst/gstvalue.c:
18588         * gst/gstvalue.h:
18589           doc fixes and additions
18590
18591 2005-11-21  Andy Wingo  <wingo@pobox.com>
18592
18593         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
18594         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
18595         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
18596         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
18597         private to the basesrc implementation.
18598
18599         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
18600         behalf of event function if necessary. It should no longer be
18601         necessary to take the stream lock in pad's event functions. Fixes
18602         #320299.
18603
18604 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18605         * docs/gst/gstreamer-sections.txt:
18606         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
18607         (gst_structure_fixate_field_nearest_double),
18608         (gst_structure_fixate_field_boolean):
18609         * gst/gststructure.h:
18610         * win32/common/libgstreamer.def:
18611         * win32/gstreamer.def:
18612
18613         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
18614         (#322027)
18615
18616 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18617
18618         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
18619         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
18620         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
18621         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
18622         (gst_fdsrc_uri_handler_init):
18623         * gst/elements/gstfdsrc.h:
18624           Port fd:// URI handler from 0.8 to fdsrc
18625
18626 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18627
18628         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
18629         (gst_value_serialize_fourcc):
18630         * gst/gstvalue.h:
18631           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
18632           consistent with our other format defines (#320324).
18633
18634 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18635
18636         * gst/gstvalue.c: (gst_value_is_fixed):
18637           Revert previous commit. Value lists are by definition
18638           not fixed, as they are a list of possible values.
18639
18640 2005-11-21  Andy Wingo  <wingo@pobox.com>
18641
18642         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
18643         during the stable series if we need it. Fixes #319178.
18644
18645         * gst/gstevent.c (gst_event_new_filler): Removed.
18646
18647         * check/gst/gstevent.c: Update comment about filler events.
18648
18649 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18650
18651         * gst/gstvalue.c: (gst_value_is_fixed):
18652           Should handle both value arrays and value lists.
18653
18654 2005-11-21  Andy Wingo  <wingo@pobox.com>
18655
18656         patch by: Alessandro Dessina <alessandro nnva org>
18657
18658         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
18659         functions to access arrays. Fixes #321962.
18660
18661 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18662
18663         * docs/gst/gstreamer.types:
18664           gst_collectpads_get_type => gst_collect_pads_get_type.
18665           
18666         * gst/base/gstbasetransform.c:
18667           Remove unused SIGNAL_HANDOFF enum.
18668
18669 2005-11-21  Andy Wingo  <wingo@pobox.com>
18670
18671         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
18672         the event type (upstream, downstream, serialized). Renamed
18673         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
18674         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
18675         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
18676
18677         * gst/gstevent.c: Update for new CUSTOM event names.
18678
18679         * check/gst/gstevent.c: Update check for new CUSTOM event names.
18680
18681         * gst/gstevent.h:
18682         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
18683         bug #319392.
18684
18685 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18686
18687         * docs/gst/gstreamer-sections.txt:
18688         * win32/common/libgstbase.def:
18689         * win32/libgstbase.def:
18690         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18691         (gst_collect_pads_class_init), (gst_collect_pads_init),
18692         (gst_collect_pads_finalize), (gst_collect_pads_new),
18693         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
18694         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
18695         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
18696         (gst_collect_pads_start), (gst_collect_pads_stop),
18697         (gst_collect_pads_peek), (gst_collect_pads_pop),
18698         (gst_collect_pads_available), (gst_collect_pads_read),
18699         (gst_collect_pads_flush), (gst_collect_pads_event),
18700         (gst_collect_pads_chain):
18701         * gst/base/gstcollectpads.h:
18702           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
18703           unimplemented functions as unimplemented. Add padding to
18704           GstCollectData. (#320766, #320423)
18705
18706 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18707
18708         * gst/gstmessage.c:
18709           Improve docs for DURATION message (usage of duration parameter)
18710           (#320113)
18711
18712 2005-11-20  Wim Taymans  <wim@fluendo.com>
18713
18714         * check/Makefile.am:
18715         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
18716         (main):
18717         * gst/Makefile.am:
18718         * gst/gst.h:
18719         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18720         (gst_segment_set_seek), (gst_segment_set_newsegment),
18721         (gst_segment_to_stream_time), (gst_segment_to_running_time),
18722         (gst_segment_clip):
18723         * gst/gstsegment.h:
18724         Added segment helper structure and methods. Not fully implemented
18725         yet.
18726         Added segment check.
18727
18728 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
18729
18730         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18731           Add a deserialisation test for fractions
18732         * examples/metadata/read-metadata.c: (message_loop),
18733         (make_pipeline), (main):
18734           Fix up metadata reading sample.
18735         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18736           Debug format fix
18737         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18738           Don't try and fixate empty caps
18739         * gst/gst_private.h:
18740           Wrap in G_BEGIN_DECLS/G_END_DECLS
18741         * gst/gstvalue.c: (gst_value_collect_fraction),
18742         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
18743         (gst_value_transform_string_fraction),
18744         (gst_value_compare_fraction):
18745           Add some extra guards to ensure that we don't end up 
18746           with an invalid denominator of 0 in a gstfraction and
18747           that fractions always get reduced.
18748
18749 2005-11-20  Wim Taymans  <wim@fluendo.com>
18750
18751         * docs/gst/gstreamer-sections.txt:
18752         * gst/gstbuffer.h:
18753         * gst/gstelement.c:
18754         * gst/gstformat.c:
18755         * gst/gstformat.h:
18756         * gst/gstindex.h:
18757         * gst/gstquery.c:
18758         * gst/gstquery.h:
18759         * gst/gstvalue.c:
18760         Doc fixes.
18761
18762 2005-11-20  Wim Taymans  <wim@fluendo.com>
18763
18764         * docs/design/part-TODO.txt:
18765         * gst/gstcaps.h:
18766         Make a proper enum of the flag.
18767
18768 2005-11-19  Wim Taymans  <wim@fluendo.com>
18769
18770         * docs/design/part-TODO.txt:
18771         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
18772         (gst_format_to_quark), (gst_format_register):
18773         * gst/gstformat.h:
18774         * gst/gstquery.c: (_gst_query_initialize),
18775         (gst_query_type_get_name), (gst_query_type_to_quark),
18776         (gst_query_type_register):
18777         * gst/gstquery.h:
18778         Add type to quark and type to string conversions.
18779
18780 2005-11-19  Andy Wingo  <wingo@pobox.com>
18781
18782         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
18783         #320097.
18784
18785 2005-11-19  Wim Taymans  <wim@fluendo.com>
18786
18787         * docs/design/part-TODO.txt:
18788         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18789         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
18790         (gst_bin_handle_message_func):
18791         * gst/gstbin.h:
18792         Make message handling overridable.
18793
18794 2005-11-19  Andy Wingo  <wingo@pobox.com>
18795
18796         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
18797
18798         * gst/gstclock.h:
18799         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
18800         be a GstClockTime.
18801         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
18802         is a GstClockTime. Fixes #321710.
18803
18804         * gst/gstclock.h (GstClock): Remove offset property. Add
18805         internal_calibration and external_calibration. Fix padding. Pad
18806         also by GstClockTime so we don't run into problems.
18807
18808         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
18809         (gst_clock_get_rate_offset): Remove.
18810         (gst_clock_set_time_adjust): Remove. Fixes #321712.
18811
18812         * gst/gstutils.h:
18813         * gst/gstutils.c (g_static_rec_cond_wait)
18814         (g_static_rec_cond_timed_wait): Removed, no longer needed.
18815
18816         * gst/gstbin.c: Remove terrible continue_state prototype.
18817
18818         * gst/gstelement.h (gst_element_continue_state): Make public.
18819
18820         * gst/gstelement.h:
18821         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
18822         by continue_state. Fixes #319389.
18823
18824         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
18825         Really fixes #168438. However I don't see anywhere where the
18826         filter function is called... stupid GStreamer...
18827         
18828         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
18829         don't have a dispose function, so it won't get called when the
18830         object is unreffed, but oh well!
18831
18832         * gst/gstindex.c (gst_index_set_filter_full): New API function,
18833         allows a destroy function to be set so user_data can be freed.
18834         Fixes #168438.
18835         (gst_index_set_filter): Call gst_index_set_filter_full.
18836
18837         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
18838
18839         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
18840         string should produce an error, given the lack of a way to
18841         represent NULL strings. Fixes #165650.
18842         
18843         * gst/gstvalue.h: 
18844         * gst/gstvalue.c (gst_value_array_append_value) 
18845         (gst_value_array_prepend_value, gst_value_array_get_size) 
18846         (gst_value_array_get_value): New API, copied from
18847         gst_value_list_*, only operates on arrays.
18848         (gst_value_list_append_value, gst_value_list_prepend_value) 
18849         (gst_value_list_concat, gst_value_list_get_size) 
18850         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
18851
18852         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
18853         init_list, because it works on both.
18854         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
18855         (gst_value_copy_list_or_array): Renamed from copy_list.
18856         (gst_value_free_list_or_array): Renamed from free_list.
18857         (gst_value_collect_list_or_array): Renamed from collect_list.
18858         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
18859         (gst_value_list_or_array_peek_pointer): Renamed from
18860         list_peek_pointer.
18861         (_gst_value_array_value_table, _gst_value_list_value_table):
18862         Update value table functions.
18863         (gst_value_compare_list_or_array): Renamed from compare_list.
18864
18865         * gsttaglist.h: Whoops, foreach function returns void. Also fix
18866         some constness.
18867
18868         * gst/gsttaglist.c:
18869         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
18870         GstTagList*. Fixes #143472.
18871
18872         * gst/gststructure.h: Clarify what the foreach/map functions can
18873         or can't do to their arguments.
18874
18875 2005-11-18  Wim Taymans  <wim@fluendo.com>
18876
18877         * gst/gstclock.c: (gst_clock_set_calibration),
18878         (gst_clock_get_calibration):
18879         Doc and API fixes.
18880         Calibration can be set with internal time equal to current
18881         internal time too.
18882
18883 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
18884
18885         * gst/gsterror.c:
18886         * gst/gsterror.h:
18887           document
18888
18889 2005-11-18  Andy Wingo  <wingo@pobox.com>
18890
18891         * configure.ac: 
18892         * pkgconfig/gstreamer-net.pc.in:
18893         * pkgconfig/gstreamer-net-uninstalled.pc.in:
18894         * pkgconfig/Makefile.am: Add net pkgconfig files.
18895
18896 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
18897
18898         * gst/gstcaps.c:
18899         * gst/gstghostpad.c:
18900         * gst/gsttrace.c:
18901         * gst/gstvalue.c:
18902         * gst/gstvalue.h:
18903           docs fixes
18904
18905 2005-11-18  Andy Wingo  <wingo@pobox.com>
18906
18907         * gst/net/gstnetclientclock.c: Turn off debugging.
18908
18909         * check/net/gstnetclientclock.c (test_functioning): Assert that the
18910         times connverge somewhat. Can't make a real test.
18911
18912         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
18913         integer arithmetic. Return the minimum of the domain, which can be
18914         set as "internal" for gst_clock_set_calibration.
18915         (gst_net_client_clock_observe_times): Call _set_calibration.
18916         (gst_net_client_clock_new): Call _set_calibration instead of
18917         rate_offset.
18918
18919         * check/net/gstnetclientclock.c (test_functioning): Use the right
18920         adjustment api.
18921
18922         * gst/gstclock.h:
18923         * gst/gstclock.c (gst_clock_get_calibration) 
18924         (gst_clock_set_calibration): New functions, obsolete the ones I
18925         added yesterday. Doh. Precision issues mean we have to extrapolate
18926         from a point in the more recent past than 1970.
18927         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
18928         obsolete.
18929         (gst_clock_adjust_unlocked): Use the right calibration data.
18930
18931 2005-11-18  Edward Hervey  <edward@fluendo.com>
18932
18933         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
18934         Also reset the ->current_* values in READY->PAUSED
18935
18936 2005-11-18  Andy Wingo  <wingo@pobox.com>
18937
18938         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
18939         Whoops, check the right fd. Also add some debugging.
18940         (gst_net_client_clock_observe_times): Adjust for int64 offset.
18941         (do_linear_regression): Add a crapload of debugging. Subtract off
18942         the minimum values from the input series to discard unneeded bits.
18943         Use only int arithmetic. There is still double arithmetic when
18944         calculating the intercept that needs fixing. Return boolean to
18945         indicate success; FALSE would mean the domain or range is too
18946         great. Still needs fixes.
18947
18948 2005-11-18  Wim Taymans  <wim@fluendo.com>
18949
18950         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
18951         For the current position in stream time, we need to subtract
18952         accumulated time.
18953         
18954         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18955         Release lock before calling the callback function of async
18956         entries.
18957
18958 2005-11-18  Andy Wingo  <wingo@pobox.com>
18959
18960         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
18961         Port goes all the way to MAXUINT16.
18962
18963         * gst/net/gstnettimeprovider.c: Make the port range the same as
18964         for the kernel: 0 assigns, otherwise ports are less than
18965         MAXUINT16.
18966
18967         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
18968         port change.
18969
18970         * check/net/gstnetclientclock.c (test_functioning): Add the start
18971         of another test. 
18972
18973 2005-11-18  Wim Taymans  <wim@fluendo.com>
18974
18975         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
18976         (gst_bin_remove_func), (bin_bus_handler):
18977         * gst/gstbin.h:
18978         Removing a clock provider from a bin, triggers a clock lost message
18979         so that a new clock will be selected.
18980         Adding a clock to a bin triggers a clock provider message.
18981         Make sure we reselect a clock when we received a clock lost message.
18982         Keep a reference to the element that provided the clock.
18983
18984 2005-11-18  Andy Wingo  <wingo@pobox.com>
18985
18986         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
18987         the clock initially so it produces values around the base time.
18988         (gst_net_client_clock_class_init): Typo fix.
18989         (gst_net_client_clock_thread): Add note on when the socket gets
18990         closed.
18991
18992 2005-11-17  Wim Taymans  <wim@fluendo.com>
18993
18994         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
18995         Free remote and local time arrays.
18996
18997 2005-11-17  Wim Taymans  <wim@fluendo.com>
18998
18999         * gst/net/gstnetclientclock.c: (do_linear_regression),
19000         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
19001         Fix compilation, uninitialized vars and a forgotten continue.
19002
19003 2005-11-17  Andy Wingo  <wingo@pobox.com>
19004
19005         * check/Makefile.am (check_PROGRAMS): 
19006         * check/net/gstnetclientclock.c: Add a most minimal test for the
19007         net client clock. More to come later.
19008
19009         * gst/net/gstnet.h: 
19010         * gst/net/Makefile.am: Add netclientclock.
19011
19012         * gst/net/gstnetclientclock.h:
19013         * gst/net/gstnetclientclock.c: New files, implement an untested
19014         GstClock that takes its time from a network time provider.
19015         Implements the algorithm in network-clock.scm.
19016
19017         * tests/network-clock.scm (*window-size*): Rename from
19018         *queue-length*.
19019         * tests/network-clock.scm (network-time): 
19020         * tests/network-clock-utils.scm (q-push): Update callers.
19021
19022 2005-11-17  Wim Taymans  <wim@fluendo.com>
19023
19024         * gst/gstbin.c: (gst_bin_provide_clock_func),
19025         (gst_bin_sort_iterator_new):
19026         And unref the child too..
19027
19028 2005-11-17  Wim Taymans  <wim@fluendo.com>
19029
19030         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
19031         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
19032         Refactor the sort iterator so it can be used while holding the
19033         LOCK too.
19034         Make clock selection select a clock closest to the source.
19035
19036 2005-11-17  Michael Smith <msmith@fluendo.com>
19037
19038         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
19039         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
19040         * gst/gstclock.h:
19041           Anonymous structs are a gcc (and some other compilers) extension, so
19042           don't use them. Since this is only for ABI-compatibility, and our
19043           API/ABI freeze is over in a few days, this whole thing will only
19044           last a few days, so don't bother trying to think up a meaningful
19045           name for the struct.
19046
19047 2005-11-17  Andy Wingo  <wingo@pobox.com>
19048
19049         * gst/gstclock.h (GstClock): Add rate and offset properties,
19050         preserving ABI stability. Add rate/offset accessors. Will file bug
19051         for the freeze break.
19052
19053         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
19054         and offset, trying to keep precision and avoiding
19055         underflow/overflow.
19056         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
19057         functions. Make gst_clock_set_time_adjust obsolete.
19058         (gst_clock_set_time_adjust): Note that this function is obsolete.
19059         Will file bug soon.
19060
19061         * gst/base/gstbasetransform.h: Make the ABI-stability hack
19062         greppable by using GST_PADDING-1+1.
19063
19064 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
19065
19066         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19067
19068         * gst/gstmessage.c: (gst_message_parse_clock_lost):
19069           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
19070
19071         * gst/gstpadtemplate.h:
19072         * gst/gstpluginfeature.h:
19073           Don't use c++ style comments in headers (#321638).
19074
19075 2005-11-16  Andy Wingo  <wingo@pobox.com>
19076
19077         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
19078         buffer.
19079
19080         * check/net/gstnettimeprovider.c: Check to see that the time
19081         provider actually provides times. Works, yo!
19082
19083 2005-11-16  Wim Taymans  <wim@fluendo.com>
19084
19085         * check/Makefile.am:
19086         Enable more tests.
19087
19088         * check/elements/fakesrc.c: (GST_START_TEST):
19089         Set element to NULL before disposing it.
19090
19091 2005-11-16  Andy Wingo  <wingo@pobox.com>
19092
19093         * gst/net/Makefile.am:
19094         * gst/net/gstnet.h:
19095         * gst/net/gstnettimeprovider.c: 
19096         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
19097         provider, include it from gstnet.h, and add it to the build.
19098
19099         * gst/net/gstnettimepacket.h: 
19100         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
19101         sending and receiving.
19102
19103 2005-11-16  Wim Taymans  <wim@fluendo.com>
19104
19105         * check/Makefile.am:
19106         Enable valgrind check.
19107
19108         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
19109         (gst_fake_src_alloc_buffer):
19110         Fix memleak.
19111
19112 2005-11-16  Wim Taymans  <wim@fluendo.com>
19113
19114         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
19115         Call parent finalize too.
19116
19117 2005-11-16  Wim Taymans  <wim@fluendo.com>
19118
19119         * check/Makefile.am:
19120         Enable valgrind check that should work fine now.
19121
19122         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19123         * gst/gstqueue.c: (gst_queue_init):
19124         Fix memleaks in pad allocation.
19125
19126 2005-11-16  Andy Wingo  <wingo@pobox.com>
19127
19128         * gst/net/Makefile.am:
19129         * gst/net/gstnet.h: New part of core to hold network elements and
19130         objects. Put in core because it exposes API that applications want
19131         to use. The library is named libgstnet-tempname right now because
19132         of the existing libgstnet in gst-plugins-base. Solution is
19133         probably to rename the one in plugins-base; will file a bug for
19134         the freeze break.
19135
19136         * gst/net/gstnettimeprovider.c: 
19137         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
19138         get_time call over the network.
19139
19140         * configure.ac: 
19141         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
19142
19143         * check/Makefile.am:
19144         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
19145         get additions shortly.
19146
19147 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19148
19149         * gst/gstpad.c: (gst_pad_new_from_static_template):
19150         * gst/gstpad.h:
19151           add gst_pad_new_from_static_template functions
19152         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
19153         (gst_check_setup_sink_pad):
19154         * gst/elements/gsttee.c: (gst_tee_init):
19155           and use them
19156
19157 2005-11-16  Wim Taymans  <wim@fluendo.com>
19158
19159         * gst/gstpad.c: (gst_pad_pause_task):
19160         Removed warning, it's not really an error either.
19161
19162 2005-11-16  Wim Taymans  <wim@fluendo.com>
19163
19164         * gst/base/gstbasetransform.c:
19165         (gst_base_transform_prepare_output_buf),
19166         (gst_base_transform_event):
19167         Check if the caps are NULL, this can happen if the element
19168         is shutting down and the pad caps are set to NULL.
19169
19170 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19171
19172         * gst/elements/gsttee.c: (gst_tee_init):
19173           fix pad template leak in tee
19174
19175 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19176
19177         * gst/glib-compat.c: (g_value_dup_gst_object):
19178         * gst/glib-compat.h:
19179         * gst/gstpad.c: (gst_pad_set_property):
19180           use gst_object_ref when setting the pad template; this will
19181           trigger the pad template leaks on GLib 2.6 and the slaves
19182
19183 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19184
19185         * gst/glib-compat.c: (gst_flags_get_first_value):
19186         * gst/glib-compat.h:
19187         * gst/gstregistryxml.c:
19188           remove functions copied from GLib 2.6
19189
19190 2005-11-16  Michael Smith <msmith@fluendo.com>
19191
19192         * gst/Makefile.am:
19193           Don't link against VALGRIND_LIBS. That was always the wrong thing to
19194           do, but only breaks with newer valgrind versions. We're not a
19195           valgrind tool, we have no link-time dependencies on libcoregrind.
19196
19197 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19198
19199         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19200           some debug changes
19201         * gst/gstmessage.h:
19202           typo fixes
19203
19204 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19205
19206         * gst/base/gstbasesrc.c: (gst_base_src_init):
19207         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19208         * gst/gstqueue.c: (gst_queue_init):
19209         * gst/gstregistryxml.c: (load_feature):
19210           Revert all these unrefs, they don't even pass make check !
19211
19212 2005-11-15  Johan Dahlin  <johan@gnome.org>
19213
19214         * gst/base/gstbasesrc.c: (gst_base_src_init):
19215         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19216         * gst/gstqueue.c: (gst_queue_init): 
19217         Free pad templates, fixes a couple of leaks.
19218
19219 2005-11-15  Daniel Fischer  <dan at f3c dot com>
19220
19221         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19222
19223         * gst/gstpad.c: (gst_pad_get_property):
19224           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
19225           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
19226           (#321452)
19227
19228 2005-11-15  Wim Taymans  <wim@fluendo.com>
19229
19230         * gst/gstevent.c:
19231         Small doc update.
19232
19233 2005-11-15  Andy Wingo  <wingo@pobox.com>
19234
19235         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19236
19237         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19238         using GST_CLOCK_TIME_NONE to disable base time management.
19239         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19240         time if it was NONE before.
19241         (gst_pipeline_change_state): Only munge the base time if
19242         stream_time != GST_CLOCK_TIME_NONE.
19243
19244         * check/gst/gstpipeline.c (test_base_time): Punt around the
19245         problem of the probe not being called, because that's not the
19246         issue I'm looking at. Add a check that setting stream_time to NONE
19247         disables base time management.
19248         
19249 2005-11-15  Wim Taymans  <wim@fluendo.com>
19250
19251         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19252         segment_stop == -1 at startup.
19253
19254         * gst/base/gstbasetransform.c: (gst_base_transform_event),
19255         (gst_base_transform_change_state):
19256         Init segment values at start.
19257
19258 2005-11-15  Wim Taymans  <wim@fluendo.com>
19259
19260         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19261         0 segment values are 0 in any format.
19262
19263         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19264         * gst/base/gstbasetransform.h:
19265         Parse newsegment correctly in basetransform
19266
19267         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19268         Sync to clock using updated segment values.
19269
19270 2005-11-15  Andy Wingo  <wingo@pobox.com>
19271
19272         * check/gst/gstpipeline.c (test_base_time): Add check that the
19273         base time and stream time are reset correctly.
19274
19275 2005-11-15  Wim Taymans  <wim@fluendo.com>
19276
19277         * docs/design/part-TODO.txt:
19278         Some more TODO items.
19279
19280 2005-11-15  Andy Wingo  <wingo@pobox.com>
19281
19282         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19283         error if the user selected "no clock" as the clocking method.
19284
19285         * check/gst/gstpipeline.c (test_base_time): New test for buffer
19286         timestamps with live capture.
19287
19288         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19289         is 0 but we are a live source, timestamp the buffers using the
19290         element's clock.
19291
19292 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
19293
19294         * docs/gst/gstreamer-sections.txt:
19295         * gst/gsterror.c:
19296         * gst/gstghostpad.c:
19297         * gst/gstobject.h:
19298         * gst/gstxml.c:
19299           more section docs
19300
19301 2005-11-14  Wim Taymans  <wim@fluendo.com>
19302
19303         * common/gst.supp:
19304           add suppressions from Wim's Debian machine
19305
19306 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
19307
19308         * common/gst.supp:
19309           add suppressions from Andy's AMD64 Ubuntu machine
19310
19311 2005-11-14  Andy Wingo  <wingo@pobox.com>
19312
19313         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19314         STATE_LOCK not necessary. Fixes #311489.
19315
19316         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19317         #305291.
19318
19319         * gst/gstindex.c (gst_index_add_object): Note in the docs that
19320         this function is not implemented.
19321
19322 2005-11-14  Julien MOUTTE  <julien@moutte.net>
19323
19324         * gst/base/gstbasetransform.c:
19325         (gst_base_transform_prepare_output_buf):
19326         Ref the source pad caps while we need them.
19327         Fixes (#321386)
19328
19329 2005-11-11  Wim Taymans  <wim@fluendo.com>
19330
19331         * docs/gst/gstreamer-sections.txt:
19332         Added some docs for GstCollectData.
19333
19334         * gst/base/gstadapter.c:
19335         Some small code example fix.
19336
19337         * gst/base/gstcollectpads.c:
19338         * gst/base/gstcollectpads.h:
19339         Document some more.
19340
19341 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19342
19343         * configure.ac: back to HEAD
19344
19345 === release 0.9.5 ===
19346
19347 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
19348
19349         * configure.ac:
19350           releasing 0.9.5, "Bike Lunch Day"
19351
19352 2005-11-11  Wim Taymans  <wim@fluendo.com>
19353
19354         * gst/gstbuffer.c: (_gst_buffer_copy):
19355         Copy more flags.
19356
19357         * gst/gstcaps.c: (gst_caps_is_equal):
19358         Fix some docs.
19359         Make _is_equal fast in the trivial cases.
19360
19361         * gst/gstminiobject.c:
19362         * gst/gstminiobject.h:
19363         More docs. Spifify .h file.
19364
19365         * gst/gstutils.c:
19366         Small doc update.
19367
19368 2005-11-11  Wim Taymans  <wim@fluendo.com>
19369
19370         * gst/base/gstbasetransform.c:
19371         (gst_base_transform_prepare_output_buf),
19372         (gst_base_transform_handle_buffer):
19373         Small cleanups.
19374         If we're processing a buffer and need to allocate an output
19375         buffer, we cannot accept a format change. If we did get a 
19376         format change, we have to alloc a buffer ourselves of the 
19377         right size.
19378
19379 2005-11-11  Wim Taymans  <wim@fluendo.com>
19380
19381         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19382         While checking the flag for reentrancy in the gstcaps function
19383         is nice to detect recursive invocations, it also makes it 
19384         impossible to call getcaps from multiple threads, which must be
19385         possible. So, checking for recursive calls has to go.
19386
19387 2005-11-11  Michael Smith <msmith@fluendo.com>
19388
19389         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19390           Don't sync on buffers that fall partially outside our current
19391           segment. Prevents an assertion failure/abort playing some files.
19392
19393 2005-11-10  Andy Wingo  <wingo@pobox.com>
19394
19395         * check/gst/gstbin.c (test_message_state_changed_children): Style
19396         fix..
19397
19398         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19399         gst_bus_poll with the signal watch. Ensures that poll and a signal
19400         watch see the same messages.
19401
19402         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19403         a poll and a watch at the same time get the same messages.
19404
19405 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19406
19407         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19408         * gst/gstcaps.c: (gst_caps_intersect):
19409           Don't call gst_caps_do_simplify - it doesn't respect order of caps
19410           and it's not needed.
19411
19412 2005-11-10  Wim Taymans  <wim@fluendo.com>
19413
19414         * docs/design/part-TODO.txt:
19415         Updated todo.
19416
19417 2005-11-10  Wim Taymans  <wim@fluendo.com>
19418
19419         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19420         * gst/base/gstbasesrc.c: (gst_base_src_wait),
19421         (gst_base_src_do_sync), (gst_base_src_get_range):
19422         Implement clock sync in base class.
19423
19424 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19425
19426         patch by: Tim-Philipp Müller <tim at centricular dot net>
19427
19428         * gst/gststructure.c: (gst_structure_parse_field),
19429         (gst_structure_from_string):
19430           Forward-port a 0.8 patch to handle escaped spaces in structure string,
19431           so that gst_parse_launch() can deal with spaces in filtered link
19432           caps (fixes #164479)
19433         * check/gst/capslist.h:
19434         * check/gst/gststructure.c: (GST_START_TEST):
19435           add unit tests for this change
19436
19437 2005-11-10  Wim Taymans  <wim@fluendo.com>
19438
19439         * docs/gst/gstreamer-sections.txt:
19440         * gst/gstelement.c:
19441         * gst/gstelement.h:
19442         Fix docs, move some STATE macros to private.
19443
19444 2005-11-10  Wim Taymans  <wim@fluendo.com>
19445
19446         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19447         Added check for bug #317341
19448
19449         * gst/gstbuffer.c:
19450         * gst/gstbuffer.h:
19451         Some more spiffifying.
19452
19453         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19454         Call peer linkfunction if we are a source pad. Totally fixes
19455         #317341
19456
19457         * gst/gstpad.c:
19458         Update docs, source pads should call the peer linkfunction
19459         so they can atomically perform the pad link.
19460
19461 2005-11-09  Wim Taymans  <wim@fluendo.com>
19462
19463         * gst/gstbuffer.c:
19464         * gst/gstbuffer.h:
19465         Uber-spiffy-spiffify some more.
19466
19467 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
19468
19469         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19470         * gst/elements/gstfilesink.c: (gst_file_sink_init):
19471         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19472         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19473         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19474         * gst/gstpad.c: (gst_pad_init):
19475           Use GST_DEBUG_FUNCPTR() more extensively.
19476
19477 2005-11-09  Wim Taymans  <wim@fluendo.com>
19478
19479         * gst/gstobject.c: (gst_object_class_init):
19480         * gst/gstobject.h:
19481         Documentation fixes.
19482
19483 2005-11-09  Edward Hervey  <edward@fluendo.com>
19484
19485         * gst/gsttypefindfactory.c:
19486         Fix docs.
19487         
19488 2005-11-09  Edward Hervey  <edward@fluendo.com>
19489
19490         * gst/base/gsttypefindhelper.c:
19491         * gst/gsttypefind.c:
19492         * gst/gsttypefind.h:
19493         Fix docs.
19494
19495 2005-11-09  Wim Taymans  <wim@fluendo.com>
19496
19497         * gst/gstiterator.c:
19498         Fix revision data.
19499
19500         * gst/gsttask.c:
19501         * gst/gsttask.h:
19502         Fix docs.
19503
19504 2005-11-09  Wim Taymans  <wim@fluendo.com>
19505
19506         * gst/gstevent.h:
19507         * gst/gsturi.h:
19508         Fix docs.
19509
19510 2005-11-09  Wim Taymans  <wim@fluendo.com>
19511
19512         * docs/gst/gstreamer-sections.txt:
19513         Moved the message async delivery private lock and cond
19514         to the private section.
19515
19516         * gst/gstmessage.c:
19517         * gst/gstmessage.h:
19518         Fixed docs.
19519
19520 2005-11-09  Edward Hervey  <edward@fluendo.com>
19521
19522         * docs/gst/gstreamer-sections.txt:
19523         * gst/gsturi.c:
19524         * gst/gsturi.h:
19525         Document GstURIHandler
19526
19527 2005-11-09  Wim Taymans  <wim@fluendo.com>
19528
19529         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
19530         (gst_iterator_find_custom):
19531         * gst/gstiterator.h:
19532         Fix iterator docs.
19533
19534 2005-11-09  Wim Taymans  <wim@fluendo.com>
19535
19536         * gst/gstbin.h:
19537         Document another field.
19538
19539         * gst/gststructure.c:
19540         * gst/gststructure.h:
19541         Document.
19542
19543 2005-11-09  Wim Taymans  <wim@fluendo.com>
19544
19545         * gst/gstbin.h:
19546         Documented structs.
19547
19548 2005-11-09  Wim Taymans  <wim@fluendo.com>
19549
19550         * docs/gst/gstreamer-sections.txt:
19551         Added some new macros.
19552
19553         * gst/gstclock.c:
19554         * gst/gstclock.h:
19555         * gst/gstobject.h:
19556         Docs updates.
19557
19558 2005-11-09  Wim Taymans  <wim@fluendo.com>
19559
19560         * docs/design/part-TODO.txt:
19561         Some more items for the TODO
19562
19563         * gst/gstcaps.c:
19564         * gst/gstcaps.h:
19565         Document GstCaps.
19566
19567 2005-11-09  Andy Wingo  <wingo@pobox.com>
19568
19569         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
19570         to work on something else now tho...
19571
19572         * gst/base/gstadapter.c: More adapter docs.
19573
19574         * gst/elements/gstfilesink.c (gst_file_sink_start) 
19575         (gst_file_sink_stop): New functions, replace the state change
19576         handler.
19577         (gst_file_sink_class_init): Hook up the start and stop functions.
19578         (gst_file_sink_base_init): Don't set the state change handler any
19579         more. It was a bit ugly too, being set from here...
19580         (gst_file_sink_get_property, gst_file_sink_set_property):
19581         Cleanups...
19582         (gst_file_sink_set_location): More robust check that doesn't call
19583         GST_STATE. Ugggggg.
19584
19585 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
19586
19587         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19588           Hold STREAM_LOCK while pushing newsegment or tag events as well.
19589
19590 2005-11-08  Wim Taymans  <wim@fluendo.com>
19591
19592         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19593         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19594         (gst_base_sink_chain), (gst_base_sink_change_state):
19595         * gst/base/gstbasesink.h:
19596         * gst/base/gstbasesrc.h:
19597         * gst/gstelement.h:
19598         * gst/gstevent.h:
19599         Avoid excessive typechecking in macros.
19600
19601         * gst/gstminiobject.c: (gst_mini_object_get_type),
19602         (gst_mini_object_init), (gst_mini_object_new),
19603         (gst_mini_object_free):
19604         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19605         (gst_object_finalize):
19606         Remove cruft code, optimize alloc_trace.
19607
19608 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19609
19610         * docs/faq/gst-uninstalled:
19611           fix up PS1 for systems that try to reset it
19612
19613 2005-11-07  Wim Taymans  <wim@fluendo.com>
19614
19615         * gst/base/gstbasesrc.c: (gst_base_src_init),
19616         (gst_base_src_get_range):
19617         Set the segment_end to -1 initially. Fixed typefind.
19618
19619 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
19620
19621         * gst/base/gstadapter.c:
19622           Debug category should be 'adapter', not 'GstAdapter'.
19623           
19624         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
19625         (gst_collectpads_class_init), (gst_collectpads_init),
19626         (gst_collectpads_peek), (gst_collectpads_pop),
19627         (gst_collectpads_event), (gst_collectpads_chain):
19628           Add debug category and some debugging output. Use boilerplate
19629           macros. Remove some extraneous words from docs.
19630
19631 2005-11-05  Andy Wingo  <wingo@pobox.com>
19632
19633         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
19634         macro.
19635
19636 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
19637
19638         * docs/gst/gstreamer-sections.txt:
19639         * gst/gstcaps.h:
19640         * gst/gstinfo.c:
19641         * gst/gstminiobject.h:
19642         * gst/gstobject.h:
19643         * gst/gstutils.h:
19644           more docs added
19645
19646 2005-11-04  Wim Taymans  <wim@fluendo.com>
19647
19648         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19649         Small update to stop at the configured segment_end
19650         position.
19651
19652 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
19653
19654         * gst/gstregistry.c:
19655         * gst/gstregistry.h:
19656           added missing docs
19657
19658 2005-11-04  Edward Hervey  <edward@fluendo.com>
19659
19660         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19661         Check if we are doing a segment seek and have arrived at the
19662         end of that segment.
19663
19664 2005-11-04  Wim Taymans  <wim@fluendo.com>
19665
19666         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
19667         Don't leak a mutex unlock in case of an error.
19668
19669         * gst/gstbus.h:
19670         Doc fixes.
19671
19672 2005-11-04  Wim Taymans  <wim@fluendo.com>
19673
19674         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
19675         (gst_bus_post):
19676         Get the context to wake up only once.
19677
19678 2005-11-03  Wim Taymans  <wim@fluendo.com>
19679
19680         * check/states/sinks.c: (GST_START_TEST):
19681         Uncomment fixed check.
19682
19683         * docs/design/part-TODO.txt:
19684         Updated TODO.
19685
19686         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19687         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19688         (gst_base_sink_get_position):
19689         If we are going to PLAYING, post the right pending state
19690         when we post the intermediate paused message.
19691
19692         * gst/gstelement.c: (gst_element_continue_state),
19693         (gst_element_set_state_func), (gst_element_change_state):
19694         Don't post state changes that were between the same state
19695         and were not ASYNC.
19696
19697 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
19698
19699         * docs/gst/gstreamer-sections.txt:
19700         * gst/gstcaps.h:
19701         * gst/gstinfo.c:
19702         * gst/gstminiobject.h:
19703         * gst/gstobject.h:
19704         * gst/gstutils.h:
19705           more docs and doc style fixes
19706
19707 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
19708
19709         * docs/gst/gstreamer-sections.txt:
19710         * gst/gstelement.c:
19711         * gst/gstminiobject.c:
19712         doc fixes
19713
19714 2005-11-03  Andy Wingo  <wingo@pobox.com>
19715
19716         * check/states/sinks.c (test_livesrc_sink): Add checks that the
19717         state-changed messages actually have the right order and the right
19718         values.
19719
19720 2005-11-03  Wim Taymans  <wim@fluendo.com>
19721
19722         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19723         Added some more checks. Specifically the case where NO_PREROLL
19724         elements are in the pipeline.
19725
19726         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19727         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19728         (gst_base_sink_get_position):
19729         Post READY->PAUSED state change messages too.
19730         Fix bug where VOID was posted as pending state...
19731
19732         * gst/gstbin.c: (gst_bin_recalc_state):
19733         use _element_continue_state() to continue the state change.
19734
19735         * gst/gstelement.c: (gst_element_continue_state),
19736         (gst_element_commit_state), (gst_element_set_state_func),
19737         (gst_element_change_state), (gst_element_change_state_func):
19738         Lots of state change cleanups, assign the STATE_RETURN in
19739         a new continue_state() function that also propagates the
19740         last return value from a state change to the app.
19741         Update some debug statements with proper category.
19742
19743 2005-11-03  Wim Taymans  <wim@fluendo.com>
19744
19745         * docs/design/part-events.txt:
19746         * docs/design/part-gstpipeline.txt:
19747         * docs/design/part-messages.txt:
19748         * docs/design/part-overview.txt:
19749         * docs/design/part-seeking.txt:
19750         * docs/design/part-states.txt:
19751         * docs/design/part-trickmodes.txt:
19752         * docs/manual/advanced-position.xml:
19753         Small docs updates.
19754
19755         * gst/gstobject.h:
19756         People think !! is ugly, this looks better.
19757
19758         * gst/gstpad.c: (gst_pad_set_blocked_async):
19759         Remove !! since it's fixed elsewhere now.
19760
19761 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19762
19763         * gst/gstminiobject.h:
19764         * gst/gstobject.h:
19765           Add !! to _FLAG_IS_SET macros to make the result boolean.
19766
19767 2005-11-03  Edward Hervey  <edward@fluendo.com>
19768
19769         * gst/gstpad.c: (gst_pad_set_blocked_async):
19770         comparing a flag and a gboolean rarely returns coherent results...
19771         Added two characters (!!) to make that work correctly.
19772         
19773 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19774
19775         * gst/gstbus.c: (gst_bus_class_init):
19776           Fix some typos.
19777           
19778         * gst/gstqueue.c: (gst_queue_loop):
19779           Don't assume a miniobject that isn't a buffer is an
19780           event (it could be that there is a refcounting
19781           problem somewhere and the pointer is stale and
19782           refers to an already destroyed miniobject).
19783
19784 2005-11-03  Julien MOUTTE  <julien@moutte.net>
19785
19786         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
19787
19788 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19789
19790         * docs/manual/advanced-position.xml:
19791           Update seek example and explanations to current 0.9 API.
19792
19793         * gst/elements/gsttypefindelement.c:
19794         (gst_type_find_element_activate):
19795           Remove FIXME comment now that the found caps
19796           are unreffed.
19797
19798 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19799
19800         * gst/gstregistryxml.c: (load_feature):
19801           Add another GST_STR_NULL instance
19802
19803 2005-11-02  Edward Hervey  <edward@fluendo.com>
19804
19805         * gst/gstpad.c: (handle_pad_block):
19806         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
19807         
19808 2005-11-02  Wim Taymans  <wim@fluendo.com>
19809
19810         * gst/gstbin.c:
19811         Fix typo in docs.
19812
19813         * gst/gstelement.c: (gst_element_commit_state):
19814         Remove unused value.
19815
19816         * gst/gstiterator.c:
19817         Mention that the returned element is reffed in the docs.
19818
19819 2005-11-02  Wim Taymans  <wim@fluendo.com>
19820
19821         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
19822         (gst_pad_push), (gst_pad_push_event):
19823         Unlock blocked pads when they are flushed.
19824
19825 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19826
19827         * docs/README:
19828         * docs/gst/gstreamer-sections.txt:
19829         * gst/gstbin.c:
19830           doc updates
19831         * gst/gstregistry.c: (gst_registry_scan_path_level):
19832           fix for a nasty little missed situation where an installed plug-in
19833           which was in the cache did not get overridden by an uninstalled one
19834           which was earlier in the plugin path because the newly created plugin
19835           for the uninstalled one (not in the registry) didn't get its
19836           ->registered set to TRUE
19837
19838 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
19839
19840         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
19841         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
19842         (gst_collectpads_is_active), (gst_collectpads_collect),
19843         (gst_collectpads_collect_range), (gst_collectpads_start),
19844         (gst_collectpads_stop), (gst_collectpads_peek),
19845         (gst_collectpads_pop), (gst_collectpads_available),
19846         (gst_collectpads_read), (gst_collectpads_flush):
19847           Guard public API with assertions.
19848         
19849         * gst/gstpad.c:
19850           Fix docs for gst_pad_set_link_function().
19851
19852 2005-11-02  Johan Dahlin  <johan@gnome.org>
19853
19854         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
19855         Unref found_caps after we used it.
19856
19857 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
19858
19859         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
19860           Don't try to ref NULL.
19861
19862 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19863
19864         * win32/common/config.h.in:
19865           provide a GST_FUNCTION that just gives a string for now
19866
19867 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19868
19869         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19870         (gst_object_flags_get_type), (register_gst_bin_flags),
19871         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19872         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19873         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19874         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
19875         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19876         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19877         (gst_clock_flags_get_type), (register_gst_state),
19878         (gst_state_get_type), (register_gst_state_change_return),
19879         (gst_state_change_return_get_type), (register_gst_state_change),
19880         (gst_state_change_get_type), (register_gst_element_flags),
19881         (gst_element_flags_get_type), (register_gst_core_error),
19882         (gst_core_error_get_type), (register_gst_library_error),
19883         (gst_library_error_get_type), (register_gst_resource_error),
19884         (gst_resource_error_get_type), (register_gst_stream_error),
19885         (gst_stream_error_get_type), (register_gst_event_type),
19886         (gst_event_type_get_type), (register_gst_seek_type),
19887         (gst_seek_type_get_type), (register_gst_seek_flags),
19888         (gst_seek_flags_get_type), (register_gst_format),
19889         (gst_format_get_type), (register_gst_index_certainty),
19890         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19891         (gst_index_entry_type_get_type),
19892         (register_gst_index_lookup_method),
19893         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19894         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19895         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19896         (gst_index_flags_get_type), (register_gst_debug_level),
19897         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19898         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19899         (gst_iterator_result_get_type), (register_gst_iterator_item),
19900         (gst_iterator_item_get_type), (register_gst_message_type),
19901         (gst_message_type_get_type), (register_gst_mini_object_flags),
19902         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19903         (gst_pad_link_return_get_type), (register_gst_flow_return),
19904         (gst_flow_return_get_type), (register_gst_activate_mode),
19905         (gst_activate_mode_get_type), (register_gst_pad_direction),
19906         (gst_pad_direction_get_type), (register_gst_pad_flags),
19907         (gst_pad_flags_get_type), (register_gst_pad_presence),
19908         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19909         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19910         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19911         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19912         (gst_plugin_flags_get_type), (register_gst_rank),
19913         (gst_rank_get_type), (register_gst_query_type),
19914         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19915         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19916         (gst_tag_flag_get_type), (register_gst_task_state),
19917         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19918         (gst_alloc_trace_flags_get_type),
19919         (register_gst_type_find_probability),
19920         (gst_type_find_probability_get_type), (register_gst_uri_type),
19921         (gst_uri_type_get_type), (register_gst_parse_error),
19922         (gst_parse_error_get_type):
19923         * win32/common/gstversion.h:
19924           update win32 copies
19925
19926 2005-11-01  Luca Ognibene  <luogni@tin.it>
19927
19928         * gst/gst.c:
19929           fix docs. popt is dead, long live GOption.
19930
19931 2005-10-31  Wim Taymans  <wim@fluendo.com>
19932
19933         * gst/gstbuffer.h:
19934         Small doc fix.
19935
19936 2005-10-31  Andy Wingo  <wingo@pobox.com>
19937
19938         * Boo!
19939
19940         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
19941
19942         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
19943         need to serialize property notifications on GLib 2.8. GLib 2.6 has
19944         the possibility of deadlocks here if code calling notify() or
19945         set() has a lock that can be taken in another notify handler (ABBA
19946         with class lock and e.g. python GIL state lock).
19947
19948 2005-10-28  Julien MOUTTE  <julien@moutte.net>
19949
19950         * gst/gstbus.c: Doc updates.
19951
19952 2005-10-28  Wim Taymans  <wim@fluendo.com>
19953
19954         * docs/design/part-TODO.txt:
19955         * gst/gstiterator.c:
19956         * gst/gstsystemclock.c:
19957         * gst/gstsystemclock.h:
19958         Doc updates.
19959
19960 2005-10-28  Edward Hervey  <edward@fluendo.com>
19961
19962         * docs/gst/gstreamer-docs.sgml:
19963         * docs/gst/gstreamer-sections.txt:
19964         the GstURIType documentation page is private, it only defines GstURIType
19965         which should be defined in the GstURIHandler page
19966         
19967 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19968
19969         * gst/gstbin.c: (gst_bin_class_init):
19970         * gst/gstbin.h:
19971         * gst/gstutils.c:
19972         Documentation updates.
19973
19974 2005-10-28  Wim Taymans  <wim@fluendo.com>
19975
19976         * docs/gst/gstreamer-sections.txt:
19977         * gst/gstclock.c:
19978         * gst/gstclock.h:
19979         Documented the clocks.
19980
19981 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
19982
19983         * docs/gst/gstreamer-sections.txt:
19984           move some macros to private sections
19985         * gst/gstminiobject.c:
19986         * gst/gstminiobject.h:
19987           add descriptions provided by ds and some more
19988         * gst/gstpad.h:
19989           mark macro as to be removed
19990
19991 2005-10-28  Wim Taymans  <wim@fluendo.com>
19992
19993         * docs/design/part-TODO.txt:
19994         Add an item to TODO.
19995
19996         * gst/gstiterator.c: (gst_iterator_fold),
19997         (gst_iterator_find_custom):
19998         * gst/gstiterator.h:
19999         Add iterator docs.
20000
20001 2005-10-28  Wim Taymans  <wim@fluendo.com>
20002
20003         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20004         (gst_base_transform_init):
20005         Don't leak class.
20006
20007         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
20008         An EOS event marks the queue as completely filled.
20009
20010 2005-10-27  Wim Taymans  <wim@fluendo.com>
20011
20012         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20013         (gst_base_sink_do_sync), (gst_base_sink_get_position):
20014         Some more debugging.
20015
20016         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
20017         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
20018         (gst_base_transform_event), (gst_base_transform_getrange),
20019         (gst_base_transform_chain):
20020         * gst/base/gstbasetransform.h:
20021         Fix debugging,
20022         Protect transform and concurrent buffer alloc with a new lock.
20023         Try not to break ABI/API.
20024
20025 2005-10-27  Wim Taymans  <wim@fluendo.com>
20026
20027         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20028         (gst_base_src_init), (gst_base_src_query),
20029         (gst_base_src_default_newsegment),
20030         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20031         (gst_base_src_send_event), (gst_base_src_event_handler),
20032         (gst_base_src_pad_get_range), (gst_base_src_loop),
20033         (gst_base_src_unlock), (gst_base_src_default_negotiate),
20034         (gst_base_src_start), (gst_base_src_deactivate),
20035         (gst_base_src_activate_push), (gst_base_src_change_state):
20036         Move some stuff around and cleanup things.
20037
20038 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
20039
20040         * gst/base/gstbasesrc.c: (gst_base_src_query):
20041           Add missing break statements.
20042
20043 2005-10-27  Wim Taymans  <wim@fluendo.com>
20044
20045         * check/gst/gstbin.c: (GST_START_TEST):
20046         An extra refcount is taken in basesrc.
20047
20048         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20049         (gst_base_src_get_range), (gst_base_src_pad_get_range),
20050         (gst_base_src_loop):
20051         Small cleanups, check for flushing after being unlocked from the 
20052         LIVE_LOCK. take refcounts correctly (not yet everywhere).
20053         Don't send out EOS when going to READY.
20054
20055 2005-10-27  Wim Taymans  <wim@fluendo.com>
20056
20057         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20058         (gst_base_sink_get_position):
20059         Some more debug.
20060
20061         * gst/gstbin.c: (message_check), (bin_replace_message),
20062         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20063         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20064         (bin_query_duration_init), (bin_query_duration_fold),
20065         (bin_query_duration_done), (bin_query_generic_fold),
20066         (gst_bin_query):
20067         * tools/gst-launch.c: (main):
20068         Remove old option.
20069
20070 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
20071
20072         * examples/controller/audio-example.c: (main):
20073         * examples/queue/queue.c: (event_loop):
20074         * gst/base/gstbasetransform.h:
20075         * gst/gstelement.c: (gst_element_send_event):
20076         * gst/gstevent.h:
20077         * gst/gstpad.c: (gst_pad_send_event):
20078           fixing examples
20079           fixing docs typos
20080           changing log priority in error situations
20081
20082 2005-10-25  Wim Taymans  <wim@fluendo.com>
20083
20084         * gst/gstbin.c: (message_check), (bin_replace_message),
20085         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20086         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20087         (bin_query_duration_init), (bin_query_duration_fold),
20088         (bin_query_duration_done), (bin_query_generic_fold),
20089         (gst_bin_query):
20090         Some doc and debug updates.
20091         Cache previously requested query DURATION for speed. invalidate
20092         cached duration if element posts a DURATION message.
20093
20094 2005-10-25  Wim Taymans  <wim@fluendo.com>
20095
20096         * docs/design/part-TODO.txt:
20097         Update TODO.
20098
20099         * gst/gstbin.c: (message_check), (bin_replace_message),
20100         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20101         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20102         (bin_query_duration_init), (bin_query_duration_fold),
20103         (bin_query_duration_done), (bin_query_generic_fold),
20104         (gst_bin_query):
20105         Handle SEGMENT_START/DONE messages correctly.
20106         More evolved query algorithm that handles duration queries
20107         correctly.
20108
20109         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
20110         (gst_element_get_state_func), (gst_element_abort_state),
20111         (gst_element_commit_state), (gst_element_lost_state):
20112         Some more debugging.
20113
20114         * gst/gstmessage.h:
20115         Added doc.
20116
20117 2005-10-25  Wim Taymans  <wim@fluendo.com>
20118
20119         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20120         Don't use invalid stream_time.
20121
20122         * gst/gstevent.c: (gst_event_new_newsegment):
20123         stream_time in newsegment cannot be undefined.
20124
20125 2005-10-24  Wim Taymans  <wim@fluendo.com>
20126
20127         * gst/gstbus.c:
20128         Doc fix.
20129
20130         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20131         (gst_queue_loop):
20132         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
20133
20134 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
20135
20136         * docs/libs/tmpl/gstdparam.sgml:
20137         * docs/libs/tmpl/gstdplinint.sgml:
20138         * docs/libs/tmpl/gstdpman.sgml:
20139         * docs/libs/tmpl/gstdpsmooth.sgml:
20140         * docs/libs/tmpl/gstunitconvert.sgml:
20141           these are obsolete
20142
20143 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20144
20145         * configure.ac:
20146           back to HEAD
20147
20148 === release 0.9.4 ===
20149
20150 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20151
20152         * configure.ac:
20153           releasing 0.9.4, "Tyrannosaurus Rex"
20154
20155 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
20156
20157         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20158         (gst_file_sink_get_current_offset):
20159           Use fseeko() and ftello() if available. When falling back on
20160           lseek() to get the current offset, fflush() first to make sure
20161           everything is up-to-date and we get the right offset.
20162
20163 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20164
20165         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20166         * gst/base/gstbasesrc.c: (gst_base_src_loop):
20167         * gst/gsterror.c: (_gst_stream_errors_init):
20168         * gst/gsterror.h:
20169         * gst/gstqueue.c: (gst_queue_loop):
20170         * po/POTFILES.in:
20171           remove prematurely added error category and clean up the instances
20172
20173 2005-10-21  Wim Taymans  <wim@fluendo.com>
20174
20175         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20176         (gst_base_sink_get_position), (gst_base_sink_query),
20177         (gst_base_sink_change_state):
20178         Simply set the right flag when going to playing, that's all
20179         we need to do instead of calling a function inside the object
20180         lock (that could take the lock as well and deadlock)
20181
20182 2005-10-21  Wim Taymans  <wim@fluendo.com>
20183
20184         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
20185         (gst_base_src_loop):
20186         Don't warn, the peer element knows what to do best when
20187         the seek failed, it might try something else.
20188
20189 2005-10-21  Wim Taymans  <wim@fluendo.com>
20190
20191         * gst/base/gstbasesrc.c: (gst_base_src_init),
20192         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20193         Fix seeking.
20194
20195 2005-10-21  Wim Taymans  <wim@fluendo.com>
20196
20197         * docs/design/part-segments.txt:
20198         More docs.
20199
20200         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
20201         Correctly set caps, even on the subbufer.
20202
20203 2005-10-21  Wim Taymans  <wim@fluendo.com>
20204
20205         * docs/gst/gstreamer-docs.sgml:
20206         * docs/gst/gstreamer-sections.txt:
20207         * gst/gstelement.h:
20208         * gst/gstevent.c:
20209         * gst/gstevent.h:
20210         * gst/gstmessage.h:
20211         * gst/gstpad.h:
20212         * gst/gstparse.h:
20213         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
20214         * gst/gsttask.h:
20215         * gst/gstutils.c:
20216         * gst/gstutils.h:
20217         And 2% more doc coverage.
20218
20219 2005-10-21  Andy Wingo  <wingo@pobox.com>
20220
20221         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
20222         position reporting.
20223
20224 2005-10-20  Wim Taymans  <wim@fluendo.com>
20225
20226         * gst/gsterror.c: (gst_error_get_message):
20227         * gst/gstparse.h:
20228         * gst/gstquery.h:
20229         * gst/gststructure.c:
20230         * gst/gsttrace.c:
20231         * gst/gstutils.c:
20232         More docs.
20233
20234 2005-10-20  Wim Taymans  <wim@fluendo.com>
20235
20236         * gst/gstbuffer.h:
20237         * gst/gstpad.c:
20238         * gst/gstparse.c:
20239         Another 1% more coverage.
20240
20241 2005-10-20  Wim Taymans  <wim@fluendo.com>
20242
20243         * docs/gst/gstreamer-sections.txt:
20244         * gst/gstelement.c: (gst_element_get_state_func),
20245         (gst_element_abort_state), (gst_element_commit_state),
20246         (gst_element_lost_state):
20247         * gst/gstevent.h:
20248         * gst/gstquery.c: (gst_query_set_position),
20249         (gst_query_parse_position), (gst_query_set_duration),
20250         (gst_query_parse_duration), (gst_query_new_convert):
20251         * gst/gstutils.c:
20252         Yay! 1% more docs coverage.
20253
20254 2005-10-20  Wim Taymans  <wim@fluendo.com>
20255
20256         * gst/gstpad.h:
20257         * gst/gstquery.c: (gst_query_set_position),
20258         (gst_query_parse_position), (gst_query_set_duration),
20259         (gst_query_parse_duration), (gst_query_new_convert):
20260         * gst/gstquery.h:
20261         * gst/gstutils.c: (gst_element_query_convert):
20262         * gst/gstutils.h:
20263         Docs and consistency fixes.
20264
20265 2005-10-20  Wim Taymans  <wim@fluendo.com>
20266
20267         * gst/gsttask.c:
20268         * gst/gsttask.h:
20269         More docs.
20270
20271 2005-10-20  Wim Taymans  <wim@fluendo.com>
20272
20273         * gst/gstbin.c: (message_check), (bin_replace_message),
20274         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20275         (update_degree), (gst_bin_sort_iterator_next),
20276         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20277         Reworked the message handling a bit, cache the messages instead of
20278         only the senders. alows us to do more in the future.
20279
20280 2005-10-20  Wim Taymans  <wim@fluendo.com>
20281
20282         * docs/design/part-TODO.txt:
20283         Update TODO
20284
20285         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20286         (gst_base_sink_query):
20287         Don't use clock time to report position when in EOS.
20288
20289 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
20290
20291         * tools/gst-inspect.c: (print_interfaces),
20292         (print_element_properties_info), (print_element_info):
20293           Fix interface output with gst-inspect -a; don't print
20294           newlines after double/float properties.
20295
20296 2005-10-20  Wim Taymans  <wim@fluendo.com>
20297
20298         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20299         (gst_base_sink_query):
20300         Speed up current position calculation.
20301
20302         * gst/base/gstbasesrc.c: (gst_base_src_query),
20303         (gst_base_src_default_newsegment):
20304         Correctly set stream position in newsegment.
20305
20306         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20307         (update_degree), (gst_bin_sort_iterator_next),
20308         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20309         * gst/gstmessage.c: (gst_message_new_custom):
20310         Clean up debugging info
20311
20312         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20313         (gst_queue_loop), (gst_queue_handle_src_query):
20314         Pause task faster.
20315
20316 2005-10-19  Wim Taymans  <wim@fluendo.com>
20317
20318         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20319         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20320         Fix query handling again.
20321
20322 2005-10-19  Wim Taymans  <wim@fluendo.com>
20323
20324         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20325         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20326         * gst/base/gstbasesrc.c: (gst_base_src_query):
20327         * gst/elements/gstfilesink.c: (gst_file_sink_query):
20328         * gst/elements/gsttypefindelement.c:
20329         (gst_type_find_handle_src_query), (find_element_get_length),
20330         (gst_type_find_element_activate):
20331         API change fix.
20332
20333         * gst/gstquery.c: (gst_query_new_position),
20334         (gst_query_set_position), (gst_query_parse_position),
20335         (gst_query_new_duration), (gst_query_set_duration),
20336         (gst_query_parse_duration), (gst_query_set_segment),
20337         (gst_query_parse_segment):
20338         * gst/gstquery.h:
20339         Bundling query position/duration is not a good idea since duration
20340         does not change much and we don't want to recalculate it for every
20341         position query, so they are separated again..
20342         Base value in segment query is not needed.
20343
20344         * gst/gstqueue.c: (gst_queue_handle_src_query):
20345         * gst/gstutils.c: (gst_element_query_position),
20346         (gst_element_query_duration), (gst_pad_query_position),
20347         (gst_pad_query_duration):
20348         * gst/gstutils.h:
20349         Updates for query API change.
20350         Added some docs here and there.
20351
20352 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20353
20354         * check/gst/gstbin.c: (GST_START_TEST):
20355         * check/gst/gstghostpad.c: (GST_START_TEST):
20356         * check/pipelines/cleanup.c: (GST_START_TEST):
20357           wait on thread to die so we can check refcount correctly
20358
20359 2005-10-18  Wim Taymans  <wim@fluendo.com>
20360
20361         * check/pipelines/stress.c: (GST_START_TEST):
20362         Make check a little more time consuming.
20363
20364 2005-10-18  Wim Taymans  <wim@fluendo.com>
20365
20366         * check/Makefile.am:
20367         * check/pipelines/stress.c: (GST_START_TEST),
20368         (simple_launch_lines_suite), (main):
20369         Small state change torture test.
20370
20371         * docs/design/part-states.txt:
20372         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20373         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20374         (gst_base_sink_change_state):
20375         Never take state lock from streaming thread, clean up ugly
20376         hacks. Unfortunatly core does not yet support nice ways to
20377         async commit state.
20378         
20379         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20380         (bin_bus_handler):
20381         Start state recalc if a STATE_DIRTY message is posted, but only
20382         on the toplevel bin.
20383
20384         * gst/gstelement.c: (gst_element_sync_state_with_parent),
20385         (gst_element_get_state_func), (gst_element_abort_state),
20386         (gst_element_commit_state), (gst_element_lost_state),
20387         (gst_element_set_state_func), (gst_element_change_state):
20388         * gst/gstelement.h:
20389         State variables are now protected with the LOCK, the state
20390         lock is only used to serialize _set_state().
20391
20392 2005-10-18  Wim Taymans  <wim@fluendo.com>
20393
20394         * check/gst/gstbin.c: (GST_START_TEST):
20395         * check/gst/gstmessage.c: (GST_START_TEST):
20396         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20397         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20398         (bin_bus_handler):
20399         * gst/gstelement.c: (gst_element_abort_state),
20400         (gst_element_commit_state), (gst_element_lost_state):
20401         * gst/gstmessage.c: (gst_message_new_state_changed),
20402         (gst_message_new_state_dirty), (gst_message_new_segment_start),
20403         (gst_message_new_segment_done), (gst_message_new_duration),
20404         (gst_message_parse_state_changed),
20405         (gst_message_parse_segment_start),
20406         (gst_message_parse_segment_done), (gst_message_parse_duration):
20407         * gst/gstmessage.h:
20408         * tools/gst-launch.c: (event_loop):
20409         Seriously, this is better than a previous commit as we only need
20410         to notify the fact that an element changed state in a streaming
20411         thread, marking the state of the parents dirty, hence the 
20412         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20413         message.
20414
20415 2005-10-18  Wim Taymans  <wim@fluendo.com>
20416
20417         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20418         (gst_bin_recalc_func):
20419         * gst/gstelement.c: (gst_element_set_clock),
20420         (gst_element_abort_state), (gst_element_lost_state):
20421         Cleanups, prepare for state change fixes.
20422
20423 2005-10-18  Wim Taymans  <wim@fluendo.com>
20424
20425         * gst/gstbin.h:
20426         * gst/gstelement.c: (gst_element_class_init),
20427         (gst_element_set_state), (gst_element_set_state_func):
20428         * gst/gstelement.h:
20429         Pending ABI changes.
20430         GThreadPool in GstBinClass to monitor async state changes.
20431         state_cookie in GstElement to detect concurrent gst/set state.
20432         set_state is now virtual too in case a very complicated element
20433         has to be constructed.
20434
20435 2005-10-18  Wim Taymans  <wim@fluendo.com>
20436
20437         * check/gst/gstbin.c: (GST_START_TEST):
20438         * check/gst/gstmessage.c: (GST_START_TEST):
20439         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20440         * gst/gstbin.c: (bin_bus_handler):
20441         * gst/gstelement.c: (gst_element_commit_state),
20442         (gst_element_lost_state):
20443         * gst/gstmessage.c: (gst_message_new_state_changed),
20444         (gst_message_new_segment_start), (gst_message_new_segment_done),
20445         (gst_message_new_duration), (gst_message_parse_state_changed),
20446         (gst_message_parse_segment_start),
20447         (gst_message_parse_segment_done), (gst_message_parse_duration):
20448         * gst/gstmessage.h:
20449         * tools/gst-launch.c: (event_loop):
20450         Make messages future proof.
20451         state-change gets a flag if it was a message comming from the
20452         streaming thread.
20453         segment-start/stop can also be specified in other formats.
20454         A message to notify an app that a pipeline changed playback 
20455         duration.
20456         Also fix a GstMessage leak in -launch
20457
20458 2005-10-18  Andy Wingo  <wingo@pobox.com>
20459
20460         * gst/gstelement.c (gst_element_dispose): More helpful message.
20461
20462 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20463
20464         reviewed by: <delete if not using a buddy>
20465
20466         * common/gtk-doc.mak:
20467
20468 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20469
20470         * gst/gstregistry.c: (gst_registry_scan_path_level):
20471           unref a plug-in we get that was already initialized
20472
20473 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
20474
20475         * docs/gst/gstreamer-sections.txt:
20476         * docs/libs/gstreamer-libs-sections.txt:
20477         * gst/gstelement.h:
20478           add new api entries
20479           hide internal macro
20480
20481 2005-10-17  Andy Wingo  <wingo@pobox.com>
20482
20483         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
20484         cleanup.
20485
20486         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
20487
20488         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
20489
20490         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
20491         (gst_element_get_state_func): Better debug message.
20492         (gst_element_commit_state): s/INFO/DEBUG/.
20493         (gst_element_lost_state, gst_element_change_state): 
20494
20495         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
20496         (gst_message_new_custom): s/INFO/LOG/.
20497
20498 2005-10-17  Michael Smith <msmith@fluendo.com>
20499
20500         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20501           Check if end time is valid using end time, not start time.
20502
20503 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
20504
20505         * check/gst-libs/controller.c: (GST_START_TEST),
20506         (gst_controller_suite):
20507         * libs/gst/controller/gstcontroller.c:
20508         (gst_controlled_property_set_interpolation_mode):
20509         * libs/gst/controller/gstcontroller.h:
20510         * libs/gst/controller/gstinterpolation.c:
20511         * testsuite/controller/.cvsignore:
20512         * testsuite/controller/Makefile.am:
20513         * testsuite/controller/interpolator.c:
20514           merge controller testsuites
20515           fix broken tests
20516           remove mem-chunk from docs
20517
20518 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20519
20520         * gst/gstmemchunk.c:
20521         * gst/gstmemchunk.h:
20522         * gst/gsttrashstack.c:
20523         * gst/gsttrashstack.h:
20524           out.  get out.  you're fired.  to the Attic !
20525
20526 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20527
20528         * gst/gstcaps.c: (gst_caps_intersect):
20529           fix signedness issues in a (hopefully) correct way
20530         * gst/gstelement.c: (gst_element_pads_activate):
20531           some debugging
20532         * gst/gstobject.c: (gst_object_set_parent):
20533           some debugging
20534
20535 2005-10-17  Julien MOUTTE  <julien@moutte.net>
20536
20537         * gst/gstvalue.h: Fix prototypes.
20538
20539 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20540
20541         * docs/gst/gstreamer-sections.txt:
20542         * gst/gst.c: (gst_version_string):
20543         * gst/gst.h:
20544         * gst/gstversion.h.in:
20545         * win32/common/libgstreamer.def:
20546           add gst_version_string ()
20547
20548 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20549
20550         * configure.ac:
20551           clean up further
20552         * gst/gst.c: (init_post):
20553         * win32/common/config.h.in:
20554           it's PLUGINDIR now
20555         * gst/gstcaps.c: (gst_caps_intersect):
20556           use gint64, the range could be bigger than a guint
20557
20558 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20559
20560         * gst/gstclock.h:
20561           document potential problem in 2038
20562
20563 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20564
20565         * gst/gstcaps.c: (gst_caps_intersect):
20566           Fix guint j diving under 0
20567
20568 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20569
20570         * configure.ac:
20571         * win32/common/config.h:
20572         * win32/common/config.h.in:
20573           check for process.h, declares getpid() on Windows
20574         * gst/gstinfo.c:
20575           include process.h if we have it
20576         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
20577         * gst/gstmemchunk.h:
20578           fix signedness issues
20579         * win32/common/libgstreamer.def:
20580           fix get_type's
20581
20582 2005-10-16  Julien MOUTTE  <julien@moutte.net>
20583
20584         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
20585         fix. Because of unsigned ints, caps intersection was going nuts and
20586         trying to access structures with G_MAXUINT index. That fixes
20587         videotestsrc ! ffmpegcolorspace ! fakesink
20588         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
20589         consistency.
20590
20591 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20592
20593         * configure.ac:
20594           use the gettext macro
20595         * gst/elements/gstelements.c:
20596         * gst/gst.c:
20597         * gst/indexers/gstindexers.c:
20598           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
20599         * win32/common/config.h:
20600           updated config.h
20601         * win32/common/config.h.in:
20602           add the template to generate config.h
20603         * win32/common/gstenumtypes.c:
20604         * win32/common/gstversion.h:
20605           updated copies
20606
20607 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20608
20609         * gst/gst.c: (gst_version):
20610         * gst/gstversion.h.in:
20611           add the nano
20612
20613 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
20614
20615         * gst/gstevent.h:
20616           Oops, add missing closing bracket.
20617
20618 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20619
20620         * configure.ac:
20621           use common m4's for argument checking
20622
20623 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
20624
20625         * docs/gst/gstreamer-sections.txt:
20626         * gst/gstevent.h:
20627           Add GST_EVENT_TYPE_NAME() macro.
20628
20629 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20630
20631         * gst/gstinfo.c:
20632         * gst/gstpluginfeature.c:
20633         * gst/gsttask.c:
20634           privatize more symbols
20635
20636 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20637
20638         * configure.ac:
20639           add srcdir, builddir includes to GST_ALL_CFLAGS, since
20640           everything that uses GStreamer API should have the includes
20641
20642 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20643
20644         * docs/gst/gstreamer-sections.txt:
20645         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
20646         * gst/gstvalue.h:
20647           give each value a _get_type, removes the DATA exports
20648
20649 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20650
20651         * gst/gst.c:
20652         * gst/gst.h:
20653           remove _gst_registry_auto_load, not used anymore
20654         * gst/gstbin.c: (gst_bin_get_type):
20655         * gst/gstbin.h:
20656         * gst/gstelement.c: (gst_element_get_type):
20657         * gst/gstelement.h:
20658         * gst/gstobject.c: (gst_object_get_type):
20659         * gst/gstobject.h:
20660         * gst/gstpad.c: (gst_pad_get_type):
20661         * gst/gstpad.h:
20662           make _get_type functions similar, fixes data export from library
20663
20664 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20665
20666         * configure.ac:
20667           correctly make conditionals
20668         * gst/elements/Makefile.am:
20669         * gst/elements/gstelements.c:
20670           fix typo causing fdsrc not to build
20671
20672 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20673
20674         * testsuite/Makefile.am:
20675         * testsuite/bytestream/.cvsignore:
20676         * testsuite/bytestream/Makefile.am:
20677         * testsuite/bytestream/filepadsink.c:
20678         * testsuite/bytestream/gstbstest.c:
20679         * testsuite/bytestream/test1.c:
20680         * testsuite/bytestream/testfile1:
20681         * testsuite/caps/normalisation.c:
20682         * testsuite/caps/random.c: (main):
20683         * testsuite/cleanup/.cvsignore:
20684         * testsuite/cleanup/Makefile.am:
20685         * testsuite/cleanup/cleanup1.c:
20686         * testsuite/cleanup/cleanup2.c:
20687         * testsuite/cleanup/cleanup3.c:
20688         * testsuite/cleanup/cleanup4.c:
20689         * testsuite/cleanup/cleanup5.c:
20690         * testsuite/controller/interpolator.c:
20691         * testsuite/debug/printf_extension.c: (main):
20692         * testsuite/elements/tee.c:
20693         * testsuite/negotiation/.cvsignore:
20694         * testsuite/negotiation/Makefile.am:
20695         * testsuite/negotiation/pad_link.c:
20696         * testsuite/pad/Makefile.am:
20697         * testsuite/pad/chainnopull.c:
20698         * testsuite/pad/getnopush.c:
20699         * testsuite/pad/link.c:
20700         * testsuite/refcounting/sched.c: (create_pipeline):
20701         * testsuite/registry/Makefile.am:
20702         * testsuite/registry/gst-print-formats.c:
20703         * testsuite/schedulers/.cvsignore:
20704         * testsuite/schedulers/142183-2.c:
20705         * testsuite/schedulers/142183.c:
20706         * testsuite/schedulers/143777-2.c:
20707         * testsuite/schedulers/143777.c:
20708         * testsuite/schedulers/147713.c:
20709         * testsuite/schedulers/147819.c:
20710         * testsuite/schedulers/147894-2.c:
20711         * testsuite/schedulers/147894.c:
20712         * testsuite/schedulers/Makefile.am:
20713         * testsuite/schedulers/group_link.c:
20714         * testsuite/schedulers/queue_link.c:
20715         * testsuite/schedulers/relink.c:
20716         * testsuite/schedulers/unlink.c:
20717         * testsuite/schedulers/unref.c:
20718         * testsuite/schedulers/useless_iteration.c:
20719         * testsuite/states/bin.c:
20720           clean out/remove some stuff from the testsuite directories
20721
20722 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20723
20724         * configure.ac:
20725           check for some headers
20726         * gst/elements/Makefile.am:
20727         * gst/elements/gstelements.c:
20728           don't compile fdsrc without sys/socket.h
20729         * gst/indexers/Makefile.am:
20730         * gst/indexers/gstindexers.c: (plugin_init):
20731           don't compile fileindex without mmap
20732
20733 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20734
20735         * configure.ac:
20736           reorganize
20737           clean up
20738           document more
20739           remove cruft
20740         * check/Makefile.am:
20741         * docs/gst/Makefile.am:
20742         * examples/helloworld/Makefile.am:
20743         * gst/Makefile.am:
20744         * gst/base/Makefile.am:
20745         * gst/check/Makefile.am:
20746         * gst/elements/Makefile.am:
20747         * gst/indexers/Makefile.am:
20748         * gst/parse/Makefile.am:
20749         * libs/gst/controller/Makefile.am:
20750         * libs/gst/dataprotocol/Makefile.am:
20751         * examples/helloworld/helloworld.c: (event_loop):
20752           compile fixes, though it's not being compiled currently
20753
20754 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20755
20756         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
20757           Add some simple tests for the new taglist date API.
20758
20759 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20760
20761         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
20762         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
20763           Beautify 'last-message' output: print 'none' for buffer timestamps
20764           and durations if none is set; improve alignment with next messages.
20765
20766 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20767
20768         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
20769         * gst/gstpluginfeature.h:
20770         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
20771         * gst/gstregistry.h:
20772         * docs/gst/gstreamer-sections.txt:
20773           Add new API to check plugin feature version requirements.
20774
20775         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
20776           Some basic tests for the above.         
20777
20778 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20779
20780         * gst/gststructure.c: (gst_structure_to_string):
20781           guard against NULL printf - happens when for example
20782           a message structure with GstClock gets serialized
20783
20784 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
20785
20786         * gst/base/gstcollectpads.c: (gst_collectpads_event):
20787           Fix presumable copy'n'pasto.
20788
20789 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20790
20791         * gst/elements/gstfakesrc.h:
20792         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
20793         * gst/elements/gsttypefindelement.c:
20794           fix some signedness
20795         * gst/elements/gstfilesink.c: (gst_file_sink_render):
20796           I wonder if this could actually write +2GB files before
20797
20798 2005-10-13  Andy Wingo  <wingo@pobox.com>
20799
20800         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
20801         Fix Timmeke Waymans bug.
20802         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
20803         string of the proper length to gst_caps_from_string. There's a
20804         potential for, before this fix, that this could cause someone
20805         connecting over the network to cause a segfault if the payload is
20806         not NUL-terminated.
20807
20808 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
20809
20810         * docs/design/draft-push-pull.txt:
20811         * docs/design/part-overview.txt:
20812         * docs/random/TODO-pre-0.9:
20813         * docs/random/old/ChangeLog.gstreamer:
20814         * gst/base/gstpushsrc.c:
20815         * gst/gstclock.c:
20816           fixed typos
20817
20818 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20819
20820         * gst/glib-compat.c: (gst_flags_get_first_value):
20821         * gst/glib-compat.h:
20822         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
20823         (gst_value_compare_double), (gst_value_serialize_flags):
20824           GLib 2.6 g_flags_get_first_value has a bug that triggers an
20825           infinite loop
20826
20827 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20828
20829         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20830         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20831           fix up debugging
20832         * tools/gst-launch.c: (event_loop):
20833           print out clock nicely
20834
20835 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
20836
20837         * docs/gst/gstreamer-sections.txt:
20838         * gst/gsttaglist.h:
20839         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
20840         (gst_tag_list_get_date_index):
20841           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
20842           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
20843
20844 2005-10-13  Julien MOUTTE  <julien@moutte.net>
20845
20846         * gst/base/gstcollectpads.c: (gst_collectpads_event),
20847         (gst_collectpads_chain):
20848         * gst/base/gstcollectpads.h: Handle newsegment and store informations
20849         in CollectData.
20850
20851 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
20852
20853         * docs/gst/gstreamer-sections.txt:
20854         * gst/gst.c:
20855         * gst/gsterror.h:
20856         * tools/gst-inspect.c: (main):
20857         * tools/gst-launch.c: (main):
20858         * tools/gst-run.c: (main):
20859         * tools/gst-xmlinspect.c: (main):
20860           fix GOption context leaks
20861           doc fixes
20862
20863 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20864
20865         * gst/gstbus.c:
20866           use HAVE_UNISTD_H
20867         * win32/common/config.h:
20868           update config
20869         * win32/vs6/grammar.dsp:
20870         * win32/vs6/libgstelements.dsp:
20871         * win32/vs6/libgstreamer.dsp:
20872           update vs6 files
20873
20874 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20875
20876         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20877         * gst/base/gstbasesrc.c: (gst_base_src_query):
20878           fix more guint64<->gdouble conversions
20879
20880 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20881
20882         * Makefile.am:
20883           add win32-update target
20884         * win32/common/gstconfig.h:
20885         * win32/common/gstenumtypes.c:
20886         * win32/common/gstenumtypes.h:
20887         * win32/common/gstversion.h:
20888           add files that visual studio can't generate
20889
20890 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20891
20892         * Makefile.am:
20893           add a win32-update target
20894         * configure.ac:
20895
20896 2005-10-12  Wim Taymans  <wim@fluendo.com>
20897
20898         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20899         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
20900         * gst/gstelement.c: (gst_element_commit_state),
20901         (gst_element_set_state):
20902         Protect flags with proper lock.
20903         unref provided cached clock in dispose.
20904
20905 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
20906
20907         * gst/gst.c:
20908         * gst/gstminiobject.h:
20909         * gst/gstpad.h:
20910         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
20911           removed unused flags from miniobject
20912           doc fixes
20913
20914 2005-10-12  Wim Taymans  <wim@fluendo.com>
20915
20916         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20917         (gst_file_sink_event), (gst_file_sink_render):
20918         Flush before seeking.
20919
20920 2005-10-12  Andy Wingo  <wingo@pobox.com>
20921
20922         * gst/gst.c (gst_init_check): Ignore unknown options, as has
20923         always been the case.
20924
20925 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
20926
20927         * check/gst/gstbin.c: (GST_START_TEST):
20928         * docs/gst/gstreamer-sections.txt:
20929         * gst/base/gstbasesink.c: (gst_base_sink_init):
20930         * gst/base/gstbasesrc.c: (gst_base_src_init),
20931         (gst_base_src_get_range), (gst_base_src_check_get_range),
20932         (gst_base_src_start), (gst_base_src_stop):
20933         * gst/base/gstbasesrc.h:
20934         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
20935         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20936         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
20937         (bin_bus_handler):
20938         * gst/gstbin.h:
20939         * gst/gstbuffer.h:
20940         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
20941         * gst/gstbus.h:
20942         * gst/gstelement.c: (gst_element_is_locked_state),
20943         (gst_element_set_locked_state), (gst_element_commit_state),
20944         (gst_element_set_state):
20945         * gst/gstelement.h:
20946         * gst/gstindex.c: (gst_index_init):
20947         * gst/gstindex.h:
20948         * gst/gstminiobject.h:
20949         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
20950         (gst_object_set_parent):
20951         * gst/gstobject.h:
20952         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
20953         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
20954         * gst/gstpad.h:
20955         * gst/gstpadtemplate.h:
20956         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
20957         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
20958         * gst/gstpipeline.h:
20959         * gst/indexers/gstfileindex.c: (gst_file_index_load),
20960         (gst_file_index_commit):
20961         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
20962         * testsuite/pad/link.c: (gst_test_src_init),
20963         (gst_test_filter_init), (gst_test_sink_init):
20964         * testsuite/states/locked.c: (main):
20965           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
20966           moved bitshift from macro to enum definition
20967
20968 2005-10-12  Wim Taymans  <wim@fluendo.com>
20969
20970         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
20971         * gst/elements/gstfilesink.c: (gst_file_sink_event),
20972         (gst_file_sink_render):
20973         Some more debugging info.
20974
20975 2005-10-12  Wim Taymans  <wim@fluendo.com>
20976
20977         * docs/design/part-states.txt:
20978         * tools/gst-launch.c: (main):
20979         Some doc updates.
20980         Revert non-intentional change.
20981
20982 2005-10-12  Wim Taymans  <wim@fluendo.com>
20983
20984         * check/gst/gstbin.c: (GST_START_TEST):
20985         * check/gst/gstelement.c: (GST_START_TEST):
20986         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
20987         * check/gst/gstghostpad.c: (GST_START_TEST):
20988         * check/gst/gstpipeline.c: (GST_START_TEST):
20989         * check/pipelines/simple_launch_lines.c: (run_pipeline):
20990         * check/states/sinks.c: (GST_START_TEST):
20991         * gst/elements/gsttypefindelement.c: (stop_typefinding):
20992         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20993         (gst_bin_remove_func), (gst_bin_get_state_func),
20994         (gst_bin_recalc_state), (gst_bin_change_state_func),
20995         (bin_bus_handler):
20996         * gst/gstelement.c: (gst_element_get_state_func),
20997         (gst_element_get_state), (gst_element_abort_state),
20998         (gst_element_commit_state), (gst_element_set_state),
20999         (gst_element_change_state), (gst_element_change_state_func):
21000         * gst/gstelement.h:
21001         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
21002         (gst_pipeline_provide_clock_func):
21003         * gst/gstutils.c: (gst_element_link_pads_filtered):
21004         * tools/gst-launch.c: (main):
21005         * tools/gst-typefind.c: (main):
21006         Use GstClockTime in _get_state() instead of GTimeVal.
21007         Remove old code in gstutils.c
21008
21009 2005-10-12  Andy Wingo  <wingo@pobox.com>
21010
21011         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
21012         removed.
21013
21014         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
21015         there is no task. Shouldn't affect any code, as nothing in our
21016         plugins checks this return value.
21017         (gst_pad_stop_task): Also take the stream lock if the pad has no
21018         task. Docs updated.
21019
21020 2005-10-12  Wim Taymans  <wim@fluendo.com>
21021
21022         * gst/gstpad.c: (pre_activate), (post_activate),
21023         (gst_pad_activate_pull), (gst_pad_activate_push):
21024         Cleanup activation code. Reset old state if
21025         activation failed.
21026
21027 2005-10-12  Wim Taymans  <wim@fluendo.com>
21028
21029         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21030         (gst_base_sink_change_state):
21031         No need to prerol after receiving EOS.
21032
21033         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21034         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
21035         * gst/elements/gstidentity.c: (gst_identity_event):
21036         Print events more verbosely.
21037
21038 2005-10-12  Wim Taymans  <wim@fluendo.com>
21039
21040         * check/Makefile.am:
21041         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21042         * check/states/sinks2.c:
21043         Moved sinks2 testcode in sinks check.
21044
21045         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21046         (gst_bin_remove_func), (gst_bin_recalc_state),
21047         (gst_bin_change_state_func), (bin_bus_handler):
21048         Fix potential race condition when _get_state() iterated over an
21049         ASYNC element right before it posted a state completion.
21050
21051         * gst/gstclock.h:
21052         Do proper cast here.
21053
21054         * gst/gstevent.c: (gst_event_new_newsegment),
21055         (gst_event_parse_newsegment):
21056         A playback rate of 0.0 is not allowed.
21057
21058 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21059
21060         * win32/common/config.h:
21061         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
21062         (_trewinddir), (_ttelldir), (_tseekdir):
21063         * win32/common/dirent.h:
21064         * win32/common/gtchar.h:
21065         * win32/common/libgstbase.def:
21066         * win32/common/libgstreamer.def:
21067         * win32/vs6/grammar.dsp:
21068         * win32/vs6/gst_inspect.dsp:
21069         * win32/vs6/gst_launch.dsp:
21070         * win32/vs6/gstreamer.dsw:
21071         * win32/vs6/libgstbase.dsp:
21072         * win32/vs6/libgstelements.dsp:
21073         * win32/vs6/libgstreamer.dsp:
21074           Visual Studio 6 project files, and a new common directory.
21075           Phear.
21076
21077 2005-10-11  Wim Taymans  <wim@fluendo.com>
21078
21079         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21080         (gst_base_sink_do_sync), (gst_base_sink_query),
21081         (gst_base_sink_change_state):
21082         * gst/base/gstbasesink.h:
21083         Correctly parse newsegment info.
21084
21085 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21086
21087         * gst/gst.c: (init_post):
21088           split plugin paths correctly
21089
21090 2005-10-11  Wim Taymans  <wim@fluendo.com>
21091
21092         * check/gst/gstevent.c: (GST_START_TEST):
21093         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21094         (gst_base_sink_change_state):
21095         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
21096         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21097         * gst/elements/gstfilesink.c: (gst_file_sink_event):
21098         * gst/gstevent.c: (gst_event_new_newsegment),
21099         (gst_event_parse_newsegment):
21100         * gst/gstevent.h:
21101         Added extra flag to newsegment for future API freeze.
21102         Updated check and base elements.
21103
21104 2005-10-11  Julien MOUTTE  <julien@moutte.net>
21105
21106         * gst/base/gstcollectpads.c: (gst_collectpads_init),
21107         (gst_collectpads_add_pad), (gst_collectpads_pop),
21108         (gst_collectpads_event), (gst_collectpads_chain):
21109         * gst/base/gstcollectpads.h: Handle EOS correctly.
21110
21111 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21112
21113         * tools/gst-launch.c: (main):
21114           more null protecting
21115
21116 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21117
21118         * gst/gst-i18n-lib.h:
21119           check for ENABLE_NLS, not GETTEXT_PACKAGE
21120         * gst/gstregistry.c: (gst_registry_add_plugin),
21121         (gst_registry_scan_path_level),
21122         (_gst_registry_remove_cache_plugins):
21123           protect possibly NULL strings
21124         * gst/parse/types.h:
21125           config.h already included before
21126         * tools/gst-inspect.c: (main):
21127           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
21128           check for ENABLE_NLS, not GETTEXT_PACKAGE
21129         * tools/gst-launch.c: (main):
21130           check for ENABLE_NLS, not GETTEXT_PACKAGE
21131
21132 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21133
21134         * configure.ac:
21135           if we don't have glib, fail before testing 2.8
21136         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
21137           fix a leak, should fix plugins-base testsuite
21138
21139 2005-10-11  Andy Wingo  <wingo@pobox.com>
21140
21141         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
21142         take the mode we're going to as an arg. Go head and set the mode
21143         and flushing flags now, so that if the activate function starts a
21144         thread all the flags will be in the right state.
21145         (post_activate): Renamed also. Just handle making sure streaming
21146         finishes for the deactivation case, and setting the deactivated
21147         mode.
21148         (gst_pad_set_active): Complain loudly if deactivation fails.
21149         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
21150         (gst_pad_activate_push): Adapt to pre/post_activate changes,
21151         remove the terrible hack.
21152
21153 2005-10-11  Wim Taymans  <wim@fluendo.com>
21154
21155         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21156         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
21157         (gst_bin_recalc_state), (gst_bin_change_state_func),
21158         (gst_bin_dispose), (bin_bus_handler):
21159         * gst/gstbin.h:
21160         Prepare to make current EOS message queue more generic.
21161         Fix some typos.
21162
21163         * gst/gstevent.c: (gst_event_new_newsegment),
21164         (gst_event_parse_newsegment):
21165         * gst/gstevent.h:
21166         Rename base to stream_time.
21167
21168         * gst/gstmessage.h:
21169         Fix typo in docs.
21170
21171 2005-10-11  Wim Taymans  <wim@fluendo.com>
21172
21173         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21174         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
21175         (gst_bin_change_state_func), (bin_bus_handler):
21176         * gst/gstbin.h:
21177         Work on proper clock selection.
21178
21179 2005-10-11  Edward Hervey  <edward@fluendo.com>
21180
21181         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
21182         * libs/gst/controller/gstcontroller.h:
21183         Added GList* version of _remove_properties() in order to be able to wrap
21184         it in bindings.
21185
21186 2005-10-11  Wim Taymans  <wim@fluendo.com>
21187
21188         * docs/design/part-states.txt:
21189         Some more docs.
21190
21191         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
21192         (gst_bin_change_state_func), (bin_bus_handler):
21193         Doc updates. Don't distribute the same clock over and over again.
21194
21195         * gst/gstclock.c:
21196         * gst/gstclock.h:
21197         Doc updates.
21198
21199         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
21200         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
21201         (gst_pad_send_event):
21202         * gst/gstpad.h:
21203         Make probe emission threadsafe again.
21204         Register quarks and move _get_name() from utils.
21205         Doc updates.
21206
21207         * gst/gstpipeline.c: (gst_pipeline_class_init),
21208         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21209         Only redistribute the clock of it changed.
21210
21211         * gst/gstsystemclock.h:
21212         Doc updates. 
21213
21214         * gst/gstutils.c:
21215         * gst/gstutils.h:
21216         Moved the _flow_get_name() to GstPad.
21217
21218 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21219
21220         * check/gst-libs/gdp.c: (GST_START_TEST):
21221         * check/gst/gstcaps.c: (GST_START_TEST):
21222         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
21223         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
21224         (gst_dp_packet_from_caps):
21225           fix more valgrind warnings before turning up the heat
21226
21227 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21228
21229         * gst/parse/grammar.y:
21230           some cleanup before the hacking
21231
21232 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21233
21234         * gst/base/gstbasesrc.c: (gst_base_src_query):
21235           use conversions
21236         * gst/gstutils.c: (gst_guint64_to_gdouble),
21237         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21238         * gst/gstutils.h:
21239           externalize, basesrc uses it
21240           obviously the implementation needs testing
21241
21242 2005-10-10  Wim Taymans  <wim@fluendo.com>
21243
21244         * tests/sched/Makefile.am:
21245         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21246         (make_pipeline3), (make_pipeline4), (print_elem), (main):
21247
21248 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21249
21250         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21251           apparently converting from guint64 to double is not implemented
21252           on MSVC
21253
21254 2005-10-10  Wim Taymans  <wim@fluendo.com>
21255
21256         * check/Makefile.am:
21257         * check/generic/states.c: (GST_START_TEST):
21258         * check/gst/gstbin.c: (GST_START_TEST):
21259         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21260         * check/states/sinks.c: (GST_START_TEST):
21261         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21262         (main):
21263         Check fixes, use API as stated in design docs, remove hacks.
21264
21265         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21266         (gst_base_sink_change_state):
21267         Catch stopping our task while we're shutting down.
21268
21269         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21270         (gst_bin_remove_func), (gst_bin_get_state_func),
21271         (gst_bin_recalc_state), (gst_bin_change_state_func),
21272         (bin_bus_handler):
21273         * gst/gstbin.h:
21274         * gst/gstelement.c: (gst_element_init),
21275         (gst_element_get_state_func), (gst_element_abort_state),
21276         (gst_element_commit_state), (gst_element_lost_state),
21277         (gst_element_set_state), (gst_element_change_state),
21278         (gst_element_change_state_func):
21279         * gst/gstelement.h:
21280         New state change algorithm (see #318116)
21281
21282         * gst/gstpipeline.c: (gst_pipeline_class_init),
21283         (gst_pipeline_init), (gst_pipeline_set_property),
21284         (gst_pipeline_get_property), (do_pipeline_seek),
21285         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21286         * gst/gstpipeline.h:
21287         Remove crude state change hacks.
21288
21289         * gst/gstutils.h:
21290         Remove crude hacks.
21291
21292         * tools/gst-launch.c: (main):
21293         Fixes for state change. Needs some more work to fully use the
21294         new stuff.
21295
21296 2005-10-10  Andy Wingo  <wingo@pobox.com>
21297
21298         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21299
21300         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21301         this flag, but it's not even in GLib 2.6. Odd. Hack around the
21302         issue.
21303
21304 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21305
21306         * gst/gstiterator.c: (gst_iterator_new):
21307           Fix my previous commit: GTypes passed to gst_iterator_new()
21308           can be fundamental types.
21309
21310 2005-10-10  Wim Taymans  <wim@fluendo.com>
21311
21312         * gst/gstelement.c: (gst_element_iterate_pad_list),
21313         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21314         (gst_element_iterate_sink_pads):
21315         Use src/sink pads lists for the respective iterators instead
21316         of filtering.
21317
21318 2005-10-10  Andy Wingo  <wingo@pobox.com>
21319
21320         Merged in popt removal + GOption addition patch from Ronald, bug
21321         #169772.
21322
21323         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21324         GstElement macros around, remove popt-related symbols, add goption
21325         stuff.
21326
21327         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21328         
21329         * docs/gst/Makefile.am:
21330         * docs/libs/Makefile.am: No POPT_CFLAGS.
21331         
21332         * examples/manual/Makefile.am:
21333         * docs/manual/basics-init.xml: Doc updates with an example.
21334         
21335         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21336         (gst_init), (parse_one_option), (parse_goption_arg):
21337         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21338         bit of hand merging and debugging to get the GOption stuff working
21339         tho.
21340         
21341         * tests/Makefile.am:
21342         * tools/Makefile.am:
21343         * tools/gst-inspect.c: (main):
21344         * tools/gst-launch.c: (main):
21345         * tools/gst-run.c: (main):
21346         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21347
21348 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21349
21350         * gst/gstiterator.c: (gst_iterator_new):
21351           Add assertions to make sure passed GType is likely to really
21352           be a GType (as the compiler won't catch it if the size and
21353           GType arguments get mixed up, see #318447).
21354
21355 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
21356
21357         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21358
21359         * gst/gstbin.c: (gst_bin_iterate_sorted):
21360           Pass GType and size arguments to gst_iterator_new() in the right
21361           order (maybe we should make _new() take the GType as first argument
21362           just like _new_list()?) (#318447).
21363           
21364
21365 2005-10-10  Wim Taymans  <wim@fluendo.com>
21366
21367         * gst/gstelement.c: (gst_element_finalize):
21368         And free the GStaticRecMutex too
21369
21370 2005-10-10  Andy Wingo  <wingo@pobox.com>
21371
21372         * gst/gstelement.c (gst_element_init, gst_element_finalize):
21373         Allocate and free the mutex properly.
21374
21375         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21376         New macros.
21377         (GstElement): The state_lock is now recursive. Rebuild your
21378         plugins, suckers. Old macros adapted.
21379
21380         * docs/gst/gstreamer-sections.txt: Doc updates.
21381
21382         * gst/gstutils.h:
21383         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
21384         (g_static_rec_cond_wait): Ported from state changes patch, while
21385         we wait on bug #317802 to be solved in a well-distributed GLib.
21386
21387         * gst/gstelement.c (gst_element_change_state_func): Renamed from
21388         gst_element_change_state, variable name changes.
21389         (gst_element_change_state): Split out of gst_element_set_state in
21390         preparation for the state change merge. Doesn't pay attention to
21391         the 'transition' argument.
21392         (gst_element_set_state): Updates, hopefully purely cosmetic.
21393         (gst_element_sync_state_with_parent): MT-safety. Ported from the
21394         state change patch.
21395         (gst_element_get_state_func): Renamed from get_state, cosmetic
21396         changes.
21397
21398 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21399
21400         * gst/elements/gstelements.c:
21401         * win32/GStreamer.vcproj:
21402         * win32/config.h:
21403         * win32/dirent.c: (_tseekdir):
21404         * win32/gst-inspect.vcproj:
21405         * win32/gst-launch.vcproj:
21406         * win32/gstconfig.h:
21407         * win32/gstelements.vcproj:
21408         * win32/gstenumtypes.c: (gst_object_flags_get_type):
21409         * win32/gstreamer.def:
21410         * win32/msvc71.sln:
21411           updates for the win32 build (patch from Sebastien Moutte)
21412
21413 2005-10-10  Andy Wingo  <wingo@pobox.com>
21414
21415         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21416         gst_bin_get_state, cleaned up (but no logic changes).
21417         (bin_element_is_sink): Comment updates.
21418         (sink_iterator_filter): Remove needless cast.
21419         (gst_bin_iterate_sinks): Doc update.
21420         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21421         cleaned up (but no logic changes).
21422
21423         * check/states/sinks.c (test_src_sink): Cleanups from the state
21424         change patch.
21425         (test_livesrc_sink): Sync on the state.
21426
21427         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21428         the state change patch.
21429
21430         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21431         change patch.
21432
21433         * check/gst/gstbin.c: Merge in some style fixes and additional
21434         checks from Wim's state change patch.
21435
21436 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21437
21438         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21439         (gst_type_find_helper):
21440           Check whether we have the requested data already in our list of
21441           cached buffers before pulling a new buffer; also make the buffer
21442           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21443
21444 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21445
21446         * gst/gstcaps.c:
21447         * gst/gstevent.c:
21448           doc updates
21449         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21450           don't use long long, it's not portable.  Replacing with
21451           gint64 seems to work; let's hope no skeletons fall out of the closet.
21452
21453 2005-10-10  Andy Wingo  <wingo@pobox.com>
21454
21455         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21456
21457 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
21458
21459         * docs/gst/gstreamer-sections.txt:
21460         * gst/gstevent.c:
21461         * gst/gstevent.h:
21462         * gst/gstinfo.c:
21463         * gst/gstinfo.h:
21464         * gst/gstmessage.c: (gst_message_parse_state_changed):
21465         * gst/gstpad.c:
21466         * gst/gstpad.h:
21467           more docs, fix compilation
21468
21469 2005-10-09  Philippe Khalaf <burger@speedy.org>
21470         * gst/gstmessage.c:
21471           Fixed a few forgotten variables on previous commit
21472
21473 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
21474
21475         * gst/base/gsttypefindhelper.c: (helper_find_peek):
21476           Fix evil typefind crasher: getrange() might return a short
21477           buffer at the end of a file, but gst_type_find_peek() must
21478           either return the full data as requested or NULL, but
21479           never a short buffer.
21480
21481 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21482
21483         * gst/gstmessage.c: (gst_message_new_state_changed),
21484         (gst_message_parse_state_changed):
21485         * gst/gstmessage.h:
21486           don't use "new", it's a C++ keyword
21487
21488 2005-10-08  Wim Taymans  <wim@fluendo.com>
21489
21490         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
21491         * gst/gstelement.c: (gst_element_post_message):
21492         * gst/gstpipeline.c: (gst_pipeline_change_state):
21493         Small docs and debug updates.
21494
21495 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
21496
21497         * docs/gst/gstreamer-sections.txt:
21498         * gst/gstelementfactory.c:
21499         * gst/gstevent.c:
21500         * gst/gsttaglist.c:
21501           more docs
21502
21503 2005-10-08  Wim Taymans  <wim@fluendo.com>
21504
21505         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
21506         (gst_bin_dispose), (bin_bus_handler):
21507         Fix typos, add comments.
21508         Clear EOS list when going to PAUSED from any direction and do it
21509         in a threadsafe way.
21510         Get base time in a threadsafe way too.
21511         Fix confusing debug in the change_state function.
21512         Various other small cleanups.
21513         
21514         * gst/gstelement.c: (gst_element_post_message):
21515         Fix very verbose bus posting code.
21516
21517         * gst/gstpipeline.c: (gst_pipeline_class_init),
21518         (gst_pipeline_set_property), (gst_pipeline_get_property),
21519         (gst_pipeline_change_state):
21520         Small ARG_ -> PROP_ cleanup
21521
21522 2005-10-08  Wim Taymans  <wim@fluendo.com>
21523
21524         * gst/gstbin.c: (is_eos), (bin_bus_handler):
21525         Do a less CPU demanding EOS check because we can.
21526
21527 2005-10-08  Wim Taymans  <wim@fluendo.com>
21528
21529         * libs/gst/dataprotocol/dataprotocol.c:
21530         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
21531         (gst_dp_packet_from_event):
21532         * libs/gst/dataprotocol/dataprotocol.h:
21533         * libs/gst/dataprotocol/dp-private.h:
21534         It's about time we bump the version number.
21535         Since event types don't fit in the guint8 anymore describing
21536         the payload type, make payload type 16 bits wide.
21537
21538 2005-10-08  Wim Taymans  <wim@fluendo.com>
21539
21540         * docs/design/part-TODO.txt:
21541         * docs/design/part-clocks.txt:
21542         * docs/design/part-events.txt:
21543         * docs/design/part-gstbin.txt:
21544         * docs/design/part-gstelement.txt:
21545         * docs/design/part-gstpipeline.txt:
21546         * docs/design/part-live-source.txt:
21547         * docs/design/part-messages.txt:
21548         * docs/design/part-overview.txt:
21549         * docs/design/part-states.txt:
21550         Many doc updates.
21551
21552 2005-10-08  Wim Taymans  <wim@fluendo.com>
21553
21554         * gst/gstevent.c:
21555         * gst/gstevent.h:
21556         Fix event quark registration.
21557         Add some space between events so we can insert them in the
21558         right groups.
21559
21560 2005-10-08  Wim Taymans  <wim@fluendo.com>
21561
21562         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21563         (gst_base_sink_handle_buffer):
21564         Better log message.
21565
21566         * gst/gstbus.h:
21567         * gst/gstelement.h:
21568         More docs.
21569
21570         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21571         (gst_queue_set_property), (gst_queue_get_property):
21572         * gst/gstqueue.h:
21573         Remove old unused properties.
21574
21575 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
21576         * docs/gst/gstreamer-sections.txt:
21577         * gst/gstmessage.c:
21578         * gst/gstmessage.h:
21579         * gst/gstminiobject.c:
21580         * gst/gstminiobject.h:
21581         * gst/gstobject.h:
21582         * gst/gstpad.h:
21583         * gst/gstutils.h:
21584           lots of new docs and doc fixes
21585
21586 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21587
21588         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
21589         * gst/gstplugin.h:
21590         * gst/gstregistry.c: (gst_registry_lookup_locked),
21591         (gst_registry_scan_path_level):
21592         * gst/gstregistryxml.c: (load_plugin):
21593           Only ever load one plugin for a given plugin basename.
21594           This ensures correct overriding of GST_PLUGIN_PATH over
21595           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
21596           system installed plugins.
21597
21598 2005-10-08  Wim Taymans  <wim@fluendo.com>
21599
21600         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21601         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
21602         Prepare for doing QOS.
21603
21604 2005-10-08  Wim Taymans  <wim@fluendo.com>
21605
21606         * check/gst/gstbin.c: (GST_START_TEST):
21607         * check/pipelines/cleanup.c: (GST_START_TEST):
21608         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21609         Allow new clock message too.
21610
21611 2005-10-08  Wim Taymans  <wim@fluendo.com>
21612
21613         * gst/gstmessage.c: (gst_message_new_error),
21614         (gst_message_new_warning), (gst_message_new_tag),
21615         (gst_message_new_state_changed), (gst_message_new_clock_provide),
21616         (gst_message_new_clock_lost), (gst_message_new_new_clock),
21617         (gst_message_new_segment_start), (gst_message_new_segment_done),
21618         (gst_message_parse_state_changed),
21619         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
21620         (gst_message_parse_new_clock):
21621         * gst/gstmessage.h:
21622         Also carry the clock in question.
21623
21624 2005-10-08  Wim Taymans  <wim@fluendo.com>
21625
21626         * gst/gstmessage.c: (gst_message_new_custom),
21627         (gst_message_new_eos), (gst_message_new_error),
21628         (gst_message_new_warning), (gst_message_new_tag),
21629         (gst_message_new_state_changed), (gst_message_new_clock_provide),
21630         (gst_message_new_new_clock), (gst_message_new_segment_start),
21631         (gst_message_new_segment_done), (gst_message_parse_state_changed),
21632         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
21633         * gst/gstmessage.h:
21634         Clean up.
21635         Added clock related messages.
21636
21637         * gst/gstpipeline.c: (gst_pipeline_change_state):
21638         Post message when the clock changed.
21639
21640         * tools/gst-launch.c: (event_loop):
21641         Print new clock.
21642
21643 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
21644
21645         * tools/gst-inspect.c: (print_element_properties_info):
21646           Can't pass NULL strings to g_print() on windows.
21647
21648 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21649
21650         * docs/Makefile.am:
21651         * docs/gst/Makefile.am:
21652         * docs/gst/gstreamer-docs.sgml:
21653         * docs/gst/running.xml:
21654         * docs/version.entities.in:
21655           add a chapter on running GStreamer.
21656           document GST_DEBUG and GST_PLUGIN* env vars
21657
21658 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21659
21660         * Makefile.am:
21661           remove include dir
21662         * configure.ac:
21663           remove PLUGINS_BUILDDIR stuff
21664         * gst/gst.c: (init_post):
21665           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
21666         * idiottest.mak:
21667           remove, it was condescending and not needed
21668
21669 2005-10-08  Wim Taymans  <wim@fluendo.com>
21670
21671         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
21672         (gst_base_sink_handle_object), (gst_base_sink_event),
21673         (gst_base_sink_wait), (gst_base_sink_handle_event),
21674         (gst_base_sink_change_state):
21675         * gst/base/gstbasesink.h:
21676         Repost EOS message while going to PLAYING if still EOS.
21677         Make sure that when receiving a FLUSH_START we don't attempt
21678         to sync on the clock anymore.
21679
21680 2005-10-08  Wim Taymans  <wim@fluendo.com>
21681
21682         * tools/gst-launch.c: (event_loop):
21683         Better message printout.
21684
21685 2005-10-08  Wim Taymans  <wim@fluendo.com>
21686
21687         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
21688         (gst_bin_child_proxy_get_children_count):
21689         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21690         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
21691         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
21692         (gst_child_proxy_set_valist):
21693         * gst/parse/grammar.y:
21694         Make ChildProxy threadsafe and fix mem leaks.
21695
21696 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21697
21698         * gst/gst.c: (init_post):
21699           debug the GST_PLUGIN_ env vars
21700
21701 2005-10-08  Wim Taymans  <wim@fluendo.com>
21702
21703         * check/gst/gstbin.c: (GST_START_TEST):
21704         * check/gst/gstmessage.c: (GST_START_TEST):
21705         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21706         * gst/gstelement.c: (gst_element_commit_state),
21707         (gst_element_lost_state):
21708         * gst/gstmessage.c: (gst_message_new_state_changed),
21709         (gst_message_parse_state_changed):
21710         * gst/gstmessage.h:
21711         * tools/gst-launch.c: (event_loop):
21712         Added extra field to STATE_CHANGE message with the pending
21713         state, which will be different from the new state soon.
21714
21715 2005-10-08  Wim Taymans  <wim@fluendo.com>
21716
21717         * gst/gstbus.c: (gst_bus_pop):
21718         * gst/gstclock.c:
21719         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21720         Small cleanups and doc updates.
21721
21722 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21723
21724         * gst/gst.c: (init_pre):
21725         * gst/gstbin.c: (gst_bin_add_func):
21726           log distributing clocks and base time
21727         * gst/gstregistry.c: (gst_registry_add_plugin),
21728         (gst_registry_scan_path_level), (gst_registry_scan_path):
21729           clean up the debugging output a little
21730         * gst/gstutils.c: (gst_element_state_get_name):
21731           warn about a memleak (I've actually seen this be used, though
21732           it was probably a bug)
21733
21734 2005-10-07  Wim Taymans  <wim@fluendo.com>
21735
21736         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21737         (gst_base_src_init), (gst_base_src_default_newsegment),
21738         (gst_base_src_newsegment), (gst_base_src_do_seek),
21739         (gst_base_src_loop), (gst_base_src_start):
21740         * gst/base/gstbasesrc.h:
21741         Make the newsegment event customizable by subclasses.
21742
21743 2005-10-07  Wim Taymans  <wim@fluendo.com>
21744
21745         * gst/gstevent.c: (gst_event_new_buffersize),
21746         (gst_event_parse_buffersize):
21747         * gst/gstevent.h:
21748         New event for future idea.
21749
21750 2005-10-07  Andy Wingo  <wingo@pobox.com>
21751
21752         * gst/gstelement.c (gst_element_post_message): Doc update.
21753
21754         * docs/gst/gstreamer-sections.txt: Update.
21755
21756         * gst/gstmessage.c (gst_message_new_application): Made into a
21757         function like honest API calls.
21758         (gst_message_new_element): New message type.
21759
21760         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
21761
21762         * check/elements/fakesrc.c (test_no_preroll): New check, checks
21763         that setting a live fakesrc to PAUSED returns NO_PREROLL both
21764         times.
21765
21766         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
21767         NO_PREROLL from gst_element_change_state to fall through.
21768
21769 2005-10-07  Wim Taymans  <wim@fluendo.com>
21770
21771         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
21772         (gst_ghost_pad_do_activate_push):
21773         Activating a ghostpad with no internal pad in push mode
21774         is ok.
21775
21776 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21777
21778         * gst/gstobject.h:
21779           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
21780           Fixes compilation on Windows.
21781
21782 2005-10-07  Michael Smith <msmith@fluendo.com>
21783
21784         * tools/gst-inspect.c:
21785           Print out feature and plugin count at the end when printing out
21786           all features.
21787
21788 2005-10-04  Michael Smith <msmith@fluendo.com>
21789
21790         * gst/gsterror.c: (_gst_stream_errors_init):
21791           Add another error string used in a few existing plugins.
21792
21793         * gst/gstplugin.c:
21794         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
21795         * tools/gst-inspect.c: (print_element_info):
21796           When a feature disappears from a plugin (and the feature exists in
21797           the cached registry file), things went horribly wrong. This isn't a
21798           complete fix, we should actually be removing the 'missing' features
21799           from the features list when we load the actual plugin. That's not
21800           yet implemented. 
21801
21802 2005-10-04  Johan Dahlin  <johan@gnome.org>
21803
21804         * check/gst/gstiterator.c: (GST_START_TEST):
21805         * gst/gstbin.c: (gst_bin_iterate_elements),
21806         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
21807         * gst/gstelement.c: (gst_element_iterate_pads):
21808         * gst/gstformat.c: (gst_format_iterate_definitions):
21809         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
21810         (gst_iterator_new_list), (gst_iterator_filter):
21811         * gst/gstiterator.h:
21812         * gst/gstquery.c: (gst_query_type_iterate_definitions):
21813         Add a GType to GstIterator, update callsites and tests.
21814
21815 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21816
21817         * gst/gstpad.c: (gst_pad_event_default_dispatch):
21818           give events a chance to be handled by event probes when the pad
21819           is not linked
21820
21821 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21822
21823         * gst/gstevent.c: (gst_event_type_get_name),
21824         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
21825         * gst/gstevent.h:
21826           add string representations for event types
21827
21828 2005-10-06  Wim Taymans  <wim@fluendo.com>
21829
21830         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
21831         Don't use NULL pointers.
21832
21833 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21834
21835         * gst/gst_private.h:
21836         * gst/gstbus.c:
21837         * gst/gstelement.c:
21838         * gst/gstinfo.c:
21839         * gst/gstpluginfeature.c:
21840           widen the debug category in output to fit the biggest one we have
21841           add a bus category and use it
21842           play with the colors
21843           fix up some categories
21844
21845 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21846
21847         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
21848           add push activation of sink ghost pads.
21849           Andye, please verify
21850
21851 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21852
21853         * gst/gstutils.c: (gst_element_link_pads):
21854           fix a bug in the case where neither element has a pad
21855         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21856           add a test for that case
21857
21858 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21859
21860         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
21861           emit have-data before checking for peers.  This allows
21862           for probe handlers to connect elements.  This helps autopluggers.
21863         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
21864         (gst_pad_suite):
21865           add six checks, linked/unlinked with no/true/false probe
21866
21867 2005-10-04  Wim Taymans  <wim@fluendo.com>
21868
21869         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
21870         (gst_fake_sink_event), (gst_fake_sink_preroll),
21871         (gst_fake_sink_render), (gst_fake_sink_change_state):
21872         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
21873         (gst_fake_src_get_property), (gst_fake_src_create),
21874         (gst_fake_src_stop):
21875         * gst/elements/gstidentity.c: (gst_identity_stop):
21876         Protect last_message with lock.
21877
21878 2005-10-04  Edward Hervey  <edward@fluendo.com>
21879
21880         * gst/gstformat.h: 
21881         Added precision in the comments for GST_FORMAT_DEFAULT
21882
21883 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
21884
21885         * tools/gst-launch.c: (main):
21886           Don't try to run erroneous pipelines.
21887
21888 2005-10-04  Julien MOUTTE  <julien@moutte.net>
21889
21890         * gst/gstbus.c: We don't need this header.
21891
21892 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21893
21894         * configure.ac:
21895           back to development
21896
21897 === release 0.9.3 ===
21898
21899 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21900
21901         * README:
21902         * configure.ac:
21903           Releasing 0.9.3, "Unregistered"
21904
21905 2005-10-03  Andy Wingo  <wingo@pobox.com>
21906
21907         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
21908         whereby calling a pad's activatepush() function can start a thread
21909         that starts to push or pull before the pad gets the FLUSHING flag
21910         unset. Hack around it by holding the stream lock until the flag is
21911         set. Need to replace this with a proper solution. Together with
21912         the ghost pad fixes, this fixes mp3 playing/tagreading.
21913
21914         * docs/design/part-gstghostpad.txt: Add a note about activation of
21915         proxy pads outside of ghost pads.
21916
21917         * gst/gstghostpad.c: Implement the ghost pad activation design.
21918
21919 2005-10-02  Andy Wingo  <wingo@pobox.com>
21920
21921         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
21922         It is volatile, after all.
21923
21924         * docs/design/part-gstghostpad.txt: Flesh out activation with
21925         ghost pads.
21926
21927         * gst/base/gstbasesrc.c (gst_base_src_init): Use
21928         GST_DEBUG_FUNCPTR.
21929
21930 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
21931
21932         * configure.ac:
21933           Fix (unused) AM_CONDITIONAL tests.
21934
21935 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
21936
21937         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21938
21939         * gst/gstutils.c: (gst_pad_query_convert):
21940           Add assertion that makes sure src_val is >=0, just like
21941           gst_query_new_convert() has. (#315895)
21942
21943 2005-09-30  Edward Hervey  <edward@fluendo.com>
21944
21945         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
21946         Let's not iterate pads we're not interested in, it avoids getting 
21947         sky-high refcounts on sinkpad.
21948
21949 2005-09-30  Wim Taymans  <wim@fluendo.com>
21950
21951         * gst/gstelement.c: (gst_element_set_state),
21952         (gst_element_change_state):
21953         Small tweak, element in ASYNC remains ASYNC.
21954
21955 2005-09-30  Wim Taymans  <wim@fluendo.com>
21956
21957         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21958         Only error is an error.
21959
21960         * gst/gstbin.c: (gst_bin_change_state):
21961         Better debugging.
21962
21963         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
21964         Also call pad_block in pad alloc.
21965
21966         * gst/gstutils.c: (gst_flow_get_name):
21967         Better debugging.
21968
21969 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
21970
21971         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21972         (gst_base_src_get_range):
21973           Fix documentation typos. Add some more debug info.
21974
21975 2005-09-29  David Schleef  <ds@schleef.org>
21976
21977         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
21978           more end-user friendly.
21979         * tools/gst-inspect.c: (main): Check if command-line argument is
21980           a file and attempt to load that file as a plugin.
21981
21982 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
21983
21984         * check/gst/gstbin.c:
21985         * check/states/sinks.c:
21986           fix tests for the new warning
21987         * check/gst/gstpipeline.c:
21988           add a test for pipeline and bus interaction
21989         * gst/gstelement.c:
21990           elements should be NULL if they get disposed; add a warning if not
21991
21992 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
21993
21994         * gst/gstobject.c:
21995           for 2.6 refcounting, make debug log more correct by printing
21996           the actual refcounts at the time of swap (Wim)
21997
21998 2005-09-29  Andy Wingo  <wingo@pobox.com>
21999
22000         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
22001         removes signal watches previously added via
22002         gst_bus_add_signal_watch.
22003         (gst_bus_add_signal_watch): Don't return the source id, just store
22004         it on the bus if there wasn't an id already.
22005
22006         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
22007         add_signal_watch and remove_signal_watch.
22008
22009 2005-09-29  Edward Hervey  <edward@fluendo.com>
22010
22011         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
22012         Better if we actually iterate the list :)
22013
22014 2005-09-29  Wim Taymans  <wim@fluendo.com>
22015
22016         * check/gst/gstbin.c: (GST_START_TEST):
22017         Change for new bus API.
22018
22019         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22020         (send_messages), (GST_START_TEST), (gstbus_suite):
22021         Change for new bus signal API.
22022
22023         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
22024         (gst_bus_source_prepare), (gst_bus_source_check),
22025         (gst_bus_create_watch), (gst_bus_add_watch_full),
22026         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
22027         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
22028         * gst/gstbus.h:
22029         Remove support for multiple GSources operating on different
22030         message types as it is too complex and unneeded when using
22031         signals.
22032         Added support for receiving signals from the bus.
22033
22034 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22035
22036         * docs/libs/tmpl/gstdataprotocol.sgml:
22037         * docs/manual/advanced-dataaccess.xml:
22038         * gst/elements/gstcapsfilter.c:
22039         * gst/gstutils.c:
22040           rename filter-caps to caps property
22041
22042 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22043
22044         * gst/gstvalue.c: (gst_value_deserialize_fraction):
22045           More robust fraction string parsing.
22046
22047         * docs/pwg/appendix-porting.xml:
22048           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
22049
22050 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22051
22052         * gst/gstcaps.c: (gst_caps_do_simplify):
22053           Thou shalt not free a structure and then continue using it
22054           in the next loop iteration.
22055
22056         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
22057         (gst_caps_suite):
22058           Add test case for caps simplification.
22059
22060 2005-09-29  Wim Taymans  <wim@fluendo.com>
22061
22062         * check/gst/gstbin.c: (GST_START_TEST):
22063         Oops.
22064
22065 2005-09-29  Wim Taymans  <wim@fluendo.com>
22066
22067         * check/gst/gstbin.c: (GST_START_TEST):
22068         Add bus to bin.
22069
22070         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
22071         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22072         (find_element), (gst_bin_sort_iterator_next),
22073         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22074         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22075         (gst_bin_change_state), (gst_bin_dispose):
22076         A bin does not have a bus, it gets the bus from the parent.
22077
22078         * gst/gstelement.c: (gst_element_requires_clock),
22079         (gst_element_provides_clock), (gst_element_is_indexable),
22080         (gst_element_is_locked_state), (gst_element_change_state),
22081         (gst_element_set_bus_func):
22082         Small cleanups.
22083
22084         * gst/gstpipeline.c: (gst_pipeline_class_init),
22085         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
22086         The pipeline provides a bus.
22087
22088 2005-09-28  Johan Dahlin  <johan@gnome.org>
22089
22090         * gst/gstmessage.c (gst_message_parse_state_changed): Use
22091         gst_structure_get_enum instead of gst_structure_get_int
22092
22093         * gst/gststructure.c (gst_structure_get_enum): Impl.
22094
22095         * gst/gststructure.h (gst_structure_get_enum): Add
22096
22097         * docs/gst/gstreamer-sections.txt: Ditto
22098
22099         * gst/gstmessage.c (gst_message_new_state_changed): Use
22100         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
22101         which does introspection.
22102         Reviewed by Christian Schaller
22103
22104 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
22105
22106         * gst/gstinfo.c: (gst_debug_log_default):
22107           don't do dummy g_strdup()s
22108         * libs/gst/controller/gstcontroller.c:
22109         (on_object_controlled_property_changed),
22110         (gst_controlled_property_new), (gst_controller_new_valist),
22111         (gst_controller_new_list),
22112         (gst_controller_remove_properties_valist), (gst_controller_set),
22113         (gst_controller_get), (gst_controller_sync_values),
22114         (gst_controller_get_value_array), (_gst_controller_class_init),
22115         (gst_controller_get_type):
22116         * libs/gst/controller/gstcontroller.h:
22117         * libs/gst/controller/gstinterpolation.c:
22118         (gst_controlled_property_find_timed_value_node):
22119           convert // to /**/ comments
22120
22121 2005-09-28  Wim Taymans  <wim@fluendo.com>
22122
22123         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
22124         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
22125         (gst_bus_sync_signal_handler):
22126         * gst/gstbus.h:
22127         Added async-message and sync-message signals to the bus.
22128         Added helper BusFunc to emit signals for all posted messages.
22129
22130         * gst/gstmessage.c: (gst_message_type_get_name),
22131         (gst_message_type_to_quark), (gst_message_get_type):
22132         * gst/gstmessage.h:
22133         Register quarks for message names.
22134
22135 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
22136
22137         * docs/libs/gstreamer-libs-sections.txt:
22138         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
22139         (gst_controller_new_list):
22140         * libs/gst/controller/gstcontroller.h:
22141           added another constructor for language bindings
22142
22143 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22144
22145         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22146           add another check
22147         * gst/gstbus.c:
22148           add some doc
22149         * gst/gstinfo.c: (_gst_debug_init):
22150           slightly more readable color for refcount debugging
22151
22152 2005-09-28  Wim Taymans  <wim@fluendo.com>
22153
22154         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
22155         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22156         (find_element), (gst_bin_sort_iterator_next),
22157         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22158         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22159         (gst_bin_change_state), (gst_bin_dispose):
22160         Small doc fixes. get_clock -> provide_clock.
22161
22162         * gst/gstelement.c: (gst_element_class_init),
22163         (gst_element_provides_clock), (gst_element_provide_clock),
22164         (gst_element_get_clock), (gst_element_commit_state),
22165         (gst_element_lost_state):
22166         * gst/gstelement.h:
22167         Make get/set_clock() symetric. Add provide_clock vmethod since
22168         that is actually what this function does.
22169
22170         * gst/gstpipeline.c: (gst_pipeline_class_init),
22171         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
22172         (gst_pipeline_get_clock):
22173         get_clock -> provide_clock.
22174
22175 2005-09-28  Andy Wingo  <wingo@pobox.com>
22176
22177         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
22178         lieu of real docs...
22179
22180         * gst/elements/gstfdsrc.c: Cleaned up a bit.
22181
22182 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
22183
22184         * gst/elements/gstcapsfilter.c:
22185         * gst/elements/gstfakesink.c:
22186         * gst/elements/gstfakesrc.c:
22187         * gst/elements/gstfdsink.c:
22188         * gst/elements/gstfdsrc.c:
22189         * gst/elements/gstfilesink.c:
22190         * gst/elements/gstfilesrc.c:
22191         * gst/elements/gstidentity.c:
22192         * gst/elements/gsttee.c:
22193         * gst/elements/gsttypefindelement.c:
22194           Make element details static.
22195
22196 2005-09-28  Wim Taymans  <wim@fluendo.com>
22197
22198         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22199         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22200         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22201         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22202         (gst_bin_change_state), (gst_bin_dispose):
22203         Some documentation updates.
22204         Clean up dispose handlers.
22205
22206         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
22207         * gst/gstpad.c: (gst_pad_dispose):
22208         Clean up dispose handler.
22209
22210         * gst/gstpipeline.c: (gst_pipeline_change_state):
22211         Removed spurious UNLOCK.
22212
22213 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
22214
22215         * docs/gst/gstreamer-sections.txt:
22216         * gst/base/gstbasesrc.h:
22217         * gst/gstelement.h:
22218         * gst/gstevent.h:
22219         * gst/gstobject.h:
22220         * gst/gstpad.h:
22221         * gst/gstpipeline.c:
22222         * gst/gstpipeline.h:
22223         * gst/gstutils.h:
22224         * gst/gstxml.h:
22225           added two new functions to the docs
22226                 documents all undocumented GstXXXFlags
22227                 completed some incomplete docs 
22228
22229 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
22230
22231         * gst/gstbin.c: (gst_bin_dispose):
22232         * gst/gstelement.c: (gst_element_dispose):
22233           remove now useless and leaky resurrection code in dispose
22234         * gst/base/gstbasesrc.c: (gst_base_src_init):
22235         * gst/gstelementfactory.c: (gst_element_factory_create):
22236         * gst/gstobject.c: (gst_object_set_parent):
22237           add some debugging
22238
22239 2005-09-27  Wim Taymans  <wim@fluendo.com>
22240
22241         * docs/design/part-TODO.txt:
22242         Update TODO.
22243
22244         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22245         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22246         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22247         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22248         (gst_bin_change_state):
22249         * gst/gstelement.h:
22250         Remove element variable, we keep element info in the iterator now.
22251
22252 2005-09-27  Andy Wingo  <wingo@pobox.com>
22253
22254         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22255         values.
22256
22257 2005-09-27  Wim Taymans  <wim@fluendo.com>
22258
22259         * check/gst/gstbin.c: (GST_START_TEST):
22260         Enable check that works now.
22261
22262         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22263         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22264         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22265         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22266         (gst_bin_change_state):
22267         * gst/gstbin.h:
22268         Redid the state change algorithm using a topological sort algo.
22269         Handles all cases correctly.
22270         Exposed iterator for state change order.
22271
22272         * gst/gstelement.h:
22273         Temp storage for state changes. Need to get rid of this soon.
22274
22275 2005-09-27  Wim Taymans  <wim@fluendo.com>
22276
22277         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22278         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22279         (link_fold_func), (gst_pad_proxy_setcaps):
22280         Leak fixes, the fold functions need to unref the passed object and
22281         _get_parent_*() returns ref to parent.
22282
22283 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22284
22285         * check/gst/gstbuffer.c: (test_make_writable):
22286           Plug leak in test case and fix 'make check-valgrind'
22287
22288 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22289
22290         * gst/gstbuffer.c: (gst_subbuffer_init):
22291           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22292           works correctly in all circumstances (we could have just copied
22293           the parent buffer's readonly flag, but conceptually it seems
22294           cleaner to mark all subbuffers as read-only). (based on patch
22295           by Alessandro Decina, #314710).
22296         
22297         * check/gst/gstbuffer.c: (create_read_only_buffer),
22298         (test_make_writable), (test_subbuffer_make_writable),
22299         (gst_test_suite):
22300           Add some tests for gst_buffer_make_writable().
22301
22302 2005-09-27  Wim Taymans  <wim@fluendo.com>
22303
22304         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22305         use gst_object_has_ancestor().
22306
22307         * gst/gstobject.c: (gst_object_has_ancestor):
22308         * gst/gstobject.h:
22309         gst_object_has_ancestor() copied from gstbin.c as it is a
22310         useful function.
22311
22312         * tests/instantiate/create.c: (create_all_elements):
22313         * tests/lat.c: (handoff_src), (handoff_sink):
22314         * tests/sched/runxml.c: (main):
22315         * tests/seeking/seeking1.c: (main):
22316         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22317         (main):
22318         Fix compilation of some tests.
22319
22320 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22321
22322         * gst/gsterror.h:
22323           Remove comment. GST_TYPE_G_ERROR is here to stay,
22324           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22325           (#316961, #300610).
22326
22327 2005-09-26  Wim Taymans  <wim@fluendo.com>
22328
22329         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22330         Added check that shows error in state change order.
22331
22332 2005-09-26  Wim Taymans  <wim@fluendo.com>
22333
22334         * gst/gstbin.c: (gst_bin_change_state):
22335         Make state change function use 3 queues again, we were
22336         adding elements in the wrong order.
22337
22338         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22339         Some debug info,
22340
22341         * gst/gstpad.c: (gst_pad_dispose):
22342         Added some debug info first.
22343
22344 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
22345
22346         * docs/design/draft-push-pull.txt:
22347         * docs/design/part-events.txt:
22348         * docs/design/part-overview.txt:
22349         * docs/design/part-scheduling.txt:
22350           Replace all _pull_region() with _pull_range()
22351           
22352 2005-09-26  Andy Wingo  <wingo@pobox.com>
22353
22354         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22355
22356         * check/gst-libs/controller.c: Update for controller api change.
22357
22358         * configure.ac: 
22359         * tests/Makefile.am:
22360         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22361         over by GLib bug 118439.
22362         
22363         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22364         routines to a function.
22365
22366         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22367
22368         * libs/gst/controller/gsthelper.c:
22369         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22370         (gst_object_sync_values): Renamed from sink_values. Ugh.
22371
22372         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22373
22374         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22375         Renamed from controller_key, as it is exported.
22376
22377         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22378
22379 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
22380
22381         * gst/Makefile.am:
22382         * gst/gst.h:
22383         * gst/gstpad.h:
22384         * gst/gstpadtemplate.h:
22385         * gst/gstquery.c:
22386         * gst/gstquery.h:
22387         * gst/gstqueryutils.c:
22388         * gst/gstqueryutils.h:
22389           remove queryutils headers after moving the two used functions
22390           to gstquery.  also fixes build problem for gstsiddec
22391
22392 2005-09-26  Michael Smith <msmith@fluendo.com>
22393
22394         * tools/gst-launch.1.in:
22395         Correct documentation in manpage of debug syntax
22396
22397 2005-09-26  Wim Taymans  <wim@fluendo.com>
22398
22399         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22400         (gst_base_src_is_seekable), (gst_base_src_change_state):
22401         Some more debugging info.
22402
22403 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22404
22405         * docs/gst/gstreamer-sections.txt:
22406         * gst/base/gstbasetransform.h:
22407         * gst/gstindex.h:
22408           added more docs
22409
22410 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22411
22412         * docs/gst/.cvsignore:
22413         * docs/gst/tmpl/.cvsignore:
22414         * docs/gst/tmpl/gstpipeline.sgml:
22415         * docs/gst/tmpl/gstplugin.sgml:
22416         * gst/gstpipeline.c:
22417         * gst/gstplugin.c:
22418         * gst/gstplugin.h:
22419           inlined the last two docs files
22420           removed the tmpl directory from cvs (no more conflicts here!)
22421
22422 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22423
22424         * docs/gst/gstreamer-sections.txt:
22425         * docs/gst/tmpl/.cvsignore:
22426         * docs/gst/tmpl/gstpad.sgml:
22427         * docs/gst/tmpl/gstpadtemplate.sgml:
22428         * gst/Makefile.am:
22429         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22430         (gst_pad_finalize), (gst_pad_set_pad_template):
22431         * gst/gstpad.h:
22432         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22433         (gst_pad_template_class_init), (gst_pad_template_init),
22434         (gst_pad_template_dispose), (name_is_valid),
22435         (gst_static_pad_template_get), (gst_pad_template_new),
22436         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22437         (gst_pad_template_pad_created):
22438         * gst/gstpadtemplate.h:
22439           inlined two more docs
22440           factored gstpadtemplate out of gstpad
22441
22442 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
22443
22444         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22445         (test_children_state_change_order_semi_sink):
22446           Fix test case: we can't rely on a fixed state change order when
22447           going from READY => PAUSED because the sink might commit its 
22448           new state first when the first buffer created by the source 
22449           reaches the sink before the source has finished its change state.
22450           (Test case still fails at times, see #316856, comment 5 onwards)
22451
22452 2005-09-24  Wim Taymans  <wim@fluendo.com>
22453
22454         * docs/design/part-events.txt:
22455         * docs/design/part-gstbus.txt:
22456         * docs/design/part-gstpipeline.txt:
22457         * docs/design/part-messages.txt:
22458         * docs/design/part-overview.txt:
22459         * docs/design/part-segments.txt:
22460         * gst/gstbin.c:
22461         * gst/gstbuffer.c:
22462         * gst/gstclock.c:
22463         * gst/gstelement.c:
22464         * gst/gstevent.c:
22465         * gst/gstfilter.c:
22466         * gst/gstiterator.c:
22467         Various documentation updates.
22468
22469 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22470
22471         * gst/gstclock.h:
22472           Well, that's embarassing.  Luckily we weren't using
22473           GST_CLOCK_DIFF anywhere.
22474
22475 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22476
22477         * common/gtk-doc.mak:
22478           don't fail on building XML, FC4 slave shows a bunch of doc
22479           missing bits that I don't get
22480         * gst/gstpad.c:
22481         * gst/gstpipeline.c:
22482         * gst/gststructure.c:
22483           some doc updates
22484
22485 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
22486
22487         * docs/design/part-gstbin.txt:
22488         * docs/design/part-gstbus.txt:
22489         * gst/gstbus.c:
22490           Add blurb about how the bus goes into flushing mode and
22491           drops all messages when its bin goes from READY into NULL 
22492           state.
22493
22494 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22495
22496         * docs/gst/gstreamer-sections.txt:
22497         * gst/gststructure.c: (gst_structure_get_clock_time):
22498         * gst/gststructure.h:
22499           add a method to get a GstClockTime out of a structure
22500
22501 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
22502
22503         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22504         (test_children_state_change_order_semi_sink), (gst_bin_suite):
22505           Added test to check state change order in bins (can still be made
22506           to fail here under heavy disk load; bails out with 'Push on pad
22507           fakesink:sink0, but it was not activated in push mode').
22508
22509         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
22510           Fix state change order when there is only a semi sink (#316856)
22511
22512         * gst/gstbus.c: (gst_bus_class_init):
22513           Use _class_peek_parent(), not _class_ref(); fix docs to say
22514           'default main context' instead of 'mainloop' where that is
22515           what's meant.
22516
22517         * gst/gstelement.c: (gst_element_commit_state),
22518         (gst_element_set_state):
22519           Fix typos in debug messages
22520
22521 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22522
22523         * docs/README:
22524         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
22525         * gst/gstpluginfeature.c:
22526         * gst/gstutils.c:
22527           various doc updates
22528         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22529           change an assert into an error until it gets fixed properly
22530
22531 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
22532
22533         * docs/gst/gstreamer-sections.txt:
22534         * docs/gst/tmpl/.cvsignore:
22535         * docs/gst/tmpl/gstelement.sgml:
22536         * docs/gst/tmpl/gstinfo.sgml:
22537         * docs/gst/tmpl/gstobject.sgml:
22538         * gst/gstelement.c:
22539         * gst/gstelement.h:
22540         * gst/gstinfo.c:
22541         * gst/gstinfo.h:
22542         * gst/gstobject.c: (gst_object_class_init):
22543         * gst/gstobject.h:
22544           inlined 3 more biiiig doc files and added some missing docs on the fly
22545
22546 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22547
22548         * check/gst/.cvsignore:
22549         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
22550         * gst/gstregistryxml.c: (load_plugin),
22551         (gst_registry_xml_save_plugin):
22552           put back source in registry.  add checks for find_plugin.
22553         * testsuite/states/bin.c: (assert_state), (empty_bin),
22554         (test_adding_one_element), (main):
22555         * testsuite/states/locked.c: (main):
22556           some compile/run fixes
22557
22558 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22559
22560         * check/gst/gstvalue.c: (GST_START_TEST):
22561           fix leaks in the test itself
22562
22563 2005-09-22  Wim Taymans  <wim@fluendo.com>
22564
22565         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22566         (gst_base_sink_send_event), (gst_base_sink_peer_query),
22567         (gst_base_sink_query):
22568         Prepare for more accurate position reporting and query
22569         handling.
22570
22571         * gst/gstelement.c: (gst_element_send_event),
22572         (gst_element_set_state):
22573         Add some comment.
22574
22575 2005-09-22  Wim Taymans  <wim@fluendo.com>
22576
22577         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
22578         (gst_query_parse_segment):
22579         * gst/gstquery.h:
22580         More documentation.
22581         Add segment query for future use.
22582
22583 2005-09-22  Wim Taymans  <wim@fluendo.com>
22584
22585         * gst/gstbin.c: (gst_bin_add_func):
22586         Some more debug info.
22587
22588         * gst/gstelement.c: (gst_element_send_event):
22589         Simplify send_event
22590
22591         * gst/gstelement.h:
22592         Don't know how flags got broken.
22593
22594         * gst/gstquery.h:
22595         Added new query.
22596
22597 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
22598
22599         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
22600           Add simplistic test suite for GST_TYPE_DATE serialisation and
22601           deserialisation.
22602
22603 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
22604
22605         * docs/gst/gstreamer-sections.txt:
22606         * gst/gststructure.c: (gst_structure_set_valist),
22607         (gst_structure_get_date):
22608         * gst/gststructure.h:
22609         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
22610         (gst_date_copy), (gst_value_compare_date),
22611         (gst_value_serialize_date), (gst_value_deserialize_date),
22612         (gst_value_transform_date_string),
22613         (gst_value_transform_string_date), (_gst_value_initialize):
22614         * gst/gstvalue.h:
22615           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
22616           bunch of utility functions along with a hack that checks that
22617           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
22618           is required. Part of the grand scheme in #170777.
22619
22620 2005-09-22  Andy Wingo  <wingo@pobox.com>
22621
22622         * gst/gstconfig.h.in: Psych out gtk-doc.
22623
22624         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
22625
22626         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
22627
22628         * tools/gst-inspect.c (print_element_list): Plug some
22629         inconsequential leaks.
22630
22631         * gst/gstregistry.c (gst_registry_get_default): Doc.
22632
22633         * check/gst/gstplugin.c: 
22634         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
22635         * gst/gstelementfactory.c (gst_element_factory_create): 
22636         * gst/gstindexfactory.c (gst_index_factory_create): Update for
22637         refcount changes.
22638
22639         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
22640         (gst_plugin_feature_load): Doc, don't eat refs.
22641
22642         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
22643         (gst_plugin_list_free): Doc.
22644         (gst_plugin_load_file): Doc updates.
22645
22646         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
22647         accessors returning refcounted objects, return a ref.
22648
22649         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
22650         accessor for caps. IDEMPOTENCE. Oh yes.
22651
22652 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
22653
22654         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
22655
22656         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22657         (_gst_debug_register_funcptr):
22658           Add mutex to serialise access to the hash table with
22659           the function pointer => function name string mapping;
22660           make that hash table static scope (#316809).
22661
22662         * gst/registries/.cvsignore:
22663           Remove left-over file.
22664
22665 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
22666
22667         * docs/pwg/appendix-porting.xml:
22668           And something about newsegment events and caps-on-buffers to
22669           the porting guide (feel free to improve).
22670
22671 2005-09-21  Andy Wingo  <wingo@pobox.com>
22672
22673         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
22674         data and event probes on the same pad.
22675         (test_buffer_probe_once): Test that removing probes from within
22676         the probe functions works.
22677
22678 2005-09-21  Andy Wingo  <wingo@pobox.com>
22679
22680         * check/gst/gstutils.c: New file.
22681         (test_buffer_probe_n_times): A simple buffer probe test. More to
22682         come, foolios.
22683
22684         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
22685         have-data::buffer, not have-data.
22686         (gst_pad_add_event_probe): Likewise for have-data::event.
22687         (gst_pad_add_data_probe): More docs. The part about 'resolving the
22688         peer' isn't quite right yet though.
22689         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
22690         (gst_pad_remove_data_probe): Change to take the guint handler_id
22691         as their arg, not the function+data, which is more glib-like.
22692
22693         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
22694         the signal emission to indicate if the data is a buffer or an
22695         event.
22696         (gst_pad_get_type): Initialize buffer and event quarks.
22697         (gst_pad_class_init): have-data is now a detailed signal, yes it
22698         is.
22699
22700 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
22701
22702         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22703         * gst/gstutils.c: (gst_util_set_value_from_string),
22704         (gst_util_set_object_arg):
22705           Don't put functional code in g_return_if_fail() or
22706           g_return_val_if_fail() statements, otherwise things will 
22707           break when G_DISABLE_CHECKS is defined during compilation.
22708
22709 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22710
22711         * docs/gst/tmpl/.cvsignore:
22712         * docs/gst/tmpl/gstvalue.sgml:
22713         * gst/gstvalue.c:
22714         * gst/gstvalue.h:
22715           inlied another one and added  some obvious docs
22716
22717 2005-09-21  Wim Taymans  <wim@fluendo.com>
22718
22719         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
22720         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
22721         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
22722         (gst_fdsrc_get_property), (gst_fdsrc_create):
22723         * gst/elements/gstfdsrc.h:
22724         Properly implement fdsrc. Removed signal and timeout,
22725         better implemented somewhere else.
22726
22727 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22728
22729         * docs/gst/tmpl/.cvsignore:
22730         * docs/gst/tmpl/gstimplementsinterface.sgml:
22731         * gst/gstinterface.c:
22732           inlined more docs
22733
22734 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22735
22736         * docs/gst/gstreamer-sections.txt:
22737         * docs/gst/tmpl/.cvsignore:
22738         * docs/gst/tmpl/gstenumtypes.sgml:
22739           remove obsolete doc file
22740
22741 2005-09-21  David Schleef  <ds@schleef.org>
22742
22743         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
22744         little beer, fix a little leak.
22745
22746 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22747
22748         * docs/gst/gstreamer-docs.sgml:
22749         * docs/gst/gstreamer-sections.txt:
22750         * docs/gst/tmpl/.cvsignore:
22751         * gst/Makefile.am:
22752         * gst/gst.h:
22753         * gst/gstbin.c:
22754         * gst/gstelement.h:
22755         * gst/gstindex.c: (gst_index_class_init):
22756         * gst/gstindex.h:
22757         * gst/gstindexfactory.c: (gst_index_factory_get_type),
22758         (gst_index_factory_class_init), (gst_index_factory_init),
22759         (gst_index_factory_finalize), (gst_index_factory_new),
22760         (gst_index_factory_destroy), (gst_index_factory_find),
22761         (gst_index_factory_create), (gst_index_factory_make):
22762         * gst/gstindexfactory.h:
22763         * gst/gstpluginfeature.c:
22764         * gst/gstpluginfeature.h:
22765         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22766           more docs inlined, splitted gstindex.{c,h}
22767
22768 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22769
22770         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22771           fix a leak
22772
22773 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
22774
22775         * gst/elements/gstfilesink.c: (gst_file_sink_init):
22776           Set sync to FALSE by default.
22777
22778 2005-09-20  Wim Taymans  <wim@fluendo.com>
22779
22780         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22781         (gst_base_sink_init):
22782         Make sync property settable from subclass.
22783
22784         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
22785         (gst_fake_sink_change_state):
22786         Set sync to FALSE by default.
22787
22788 2005-09-20  Wim Taymans  <wim@fluendo.com>
22789
22790         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
22791         * tools/gst-launch.c: (main):
22792         The timeout handler should have lower priority than the source
22793         so we don't timeout before popping a message with 0 timeout.
22794         Dump error messages after failed state change.
22795
22796 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
22797
22798         * tools/gst-inspect.c: (print_element_properties_info):
22799           Fix two typos.
22800
22801 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22802
22803         * check/gst/gstevent.c:
22804         * gst/elements/gstfakesink.c:
22805         * gst/elements/gstfakesink.h:
22806           remove the sync property from fakesink.
22807           has the side effect of setting sync TRUE
22808           for fakesink, which is a change.  Anyone who knows how
22809           to fix this nicely in a GObject-y way, feel free.
22810
22811 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22812
22813         * docs/gst/gstreamer-docs.sgml:
22814           remove probe refsection
22815
22816 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22817
22818         * check/Makefile.am:
22819           disable valgrinding the controller test again
22820         * docs/gst/gstreamer-sections.txt:
22821           update for api-changes
22822
22823 2005-09-20  Wim Taymans  <wim@fluendo.com>
22824
22825         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22826         (gst_base_sink_set_property), (gst_base_sink_get_property),
22827         (gst_base_sink_do_sync):
22828         * gst/base/gstbasesink.h:
22829         Added sync property to basesink to disable clock sync.
22830
22831 2005-09-20  Andy Wingo  <wingo@pobox.com>
22832
22833         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
22834         eating the caller's refcount.
22835
22836         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
22837         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
22838         refcount.
22839
22840         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
22841         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
22842         of GLib 2.8 public, so we can know which refcount to check in
22843         tests.
22844
22845         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
22846         (gst_object_init): Only set the gst refcount if we're going ahead
22847         with the refcount hack.
22848
22849 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22850
22851         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22852         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22853           more leaks plumbed, added more debug-logging
22854         * gst/gstmacros.h:
22855           whitespace fix
22856
22857 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22858
22859         * gst/gstmessage.c:
22860           remove include of gstmemchunk.h
22861
22862 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22863
22864         * gst/gstclock.c: (_gst_clock_id_free):
22865           Commit from the Political Party For More Atomic CVS Commits,
22866           so that people don't waste too much of their day fishing
22867           out obvious leaks out of massive commits.
22868           Oh, and fix a pretty damn obvious leak in the memchunk
22869           removal code.
22870
22871 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22872
22873         * check/Makefile.am:
22874         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22875           plug mem-leak, re-add to valgrindable tests
22876
22877 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22878
22879         * gst/gstplugin.h:
22880           unbreak the build for those who have chronic arthritis
22881           and typing "make check" is just too taxing on the hands
22882
22883 2005-09-20  Andy Wingo  <wingo@pobox.com>
22884
22885         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
22886         really want it out, you should fix plugins at the same time.
22887
22888 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
22889
22890         * configure.ac:
22891         * docs/gst/gstreamer-sections.txt:
22892         * gst/gstobject.c:
22893           added missing symbols to api docs
22894           disable ref-count hack if we have glib >= 2.8
22895
22896 2005-09-19  David Schleef  <ds@schleef.org>
22897
22898         * docs/gst/Makefile.am: Ignore a few more internal headers
22899         * docs/gst/gstreamer-docs.sgml: Remove old sections
22900         * docs/gst/gstreamer-sections.txt: Remove old sections
22901         * docs/gst/tmpl/gstobject.sgml: update
22902         * docs/gst/tmpl/gstplugin.sgml: update
22903         * docs/gst/tmpl/gstpluginfeature.sgml: update
22904         * docs/random/ds/0.9-suggested-changes: update.
22905         * gst/Makefile.am: remove memchunk and trashstack, since they're
22906           not used.
22907         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
22908         * gst/gst.h: don't include some headers
22909         * gst/gstchildproxy.c: add gstmarshal.h
22910         * gst/gstclock.c: Don't use memchunks
22911         * gst/gstminiobject.c: Add some docs
22912         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
22913         * gst/gstobject.h: same
22914         * gst/gstplugin.c: include gstmacros.h
22915         * gst/gstplugin.h: don't include gstmacros.h, since it's private
22916         * gst/gstquery.c: don't use memchunks
22917         * gst/gstregistry.c: rename gst_registry_deinit()
22918         * gst/gstregistry.h: same
22919
22920 2005-09-19  David Schleef  <ds@schleef.org>
22921
22922         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
22923         * docs/libs/gstreamer-libs-sections.txt:
22924         * docs/libs/tmpl/gstgetbits.sgml:
22925         * docs/libs/tmpl/gstputbits.sgml:
22926
22927 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
22928
22929         * win32/gstenumtypes.c:
22930         * win32/gstenumtypes.h:
22931           Update.
22932
22933 2005-09-19  Wim Taymans  <wim@fluendo.com>
22934
22935         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
22936         Automatically PAUSE and RESUME a pipeline when a flushing seek
22937         is performed.
22938
22939 2005-09-19  Andy Wingo  <wingo@pobox.com>
22940
22941         * gst/gstregistry.h: Spacing fixen.
22942
22943 2005-09-19  Wim Taymans  <wim@fluendo.com>
22944
22945         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
22946         Handle state change failure more correctly.
22947
22948 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22949
22950         * check/Makefile.am:
22951         * check/pipelines/cleanup.c: (run_pipeline):
22952         * check/pipelines/simple_launch_lines.c: (run_pipeline),
22953         (GST_START_TEST):
22954           enable cleanup again after fixing the leak
22955         * docs/README:
22956           some more info on docs
22957
22958 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22959
22960         * check/Makefile.am:
22961           re-enable tests now that leaks are plugged
22962         * check/gst/gst.c:
22963         * check/gst/gstbin.c:
22964         * check/gst/gstpipeline.c:
22965           add some more tests while fixing leaks
22966         * common/check.mak:
22967           make sure binaries are uptodate when valgrinding/gdbing
22968         * gst/gst.c:
22969         * gst/gstelementfactory.c:
22970           remove a ref too many, and add a FIXME for when we get
22971           round to disposing of classes
22972         * gst/gstplugin.c:
22973           fix the refcounting when loading a plugin from a file and
22974           the code pretends that the pointer is the same even though
22975           of course it can change
22976         * gst/gstpluginfeature.c:
22977           unref plugins marked cached (a bit confusing as a name)
22978           as the docs state should be done
22979           various doc additions to explain refcounting
22980         * gst/gstregistry.c:
22981         * gst/gstregistryxml.c:
22982           debugging
22983
22984 2005-09-19  Wim Taymans  <wim@fluendo.com>
22985
22986         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22987         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22988         (send_messages), (GST_START_TEST), (gstbus_suite):
22989         * check/gst/gstpipeline.c: (GST_START_TEST):
22990         * check/pipelines/cleanup.c: (run_pipeline):
22991         * check/pipelines/simple_launch_lines.c: (run_pipeline),
22992         (GST_START_TEST):
22993         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
22994         (gst_bus_source_check), (gst_bus_source_dispatch),
22995         (gst_bus_create_watch), (gst_bus_add_watch_full),
22996         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
22997         * gst/gstbus.h:
22998         * tools/gst-launch.c: (event_loop):
22999         * tools/gst-md5sum.c: (event_loop):
23000         GstBusHandler -> GstBusFunc, return value has the same meaning as
23001         any other GSource (FALSE == remove source).
23002         _add_watch() and _add_watch_full() now take a MessageType mask to
23003         only handle specific types of messages.
23004         _poll() returns the GstMessage instead of the message type to avoid
23005         race conditions.
23006         _have_pending() takes a MessageType mask now too.
23007         Added testsuite for multiple bus watches.
23008         Fix testsuites and applications for new bus API.
23009
23010 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23011
23012         * check/Makefile.am:
23013           mark a bunch of the tests as to fix until we fix them
23014
23015 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23016
23017         * common/check.mak:
23018           use GST_PLUGIN settings for valgrind tests as well, so we're
23019           valgrinding the correct thing
23020         * gst/gst.c: (init_post):
23021           plug another leak
23022
23023 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23024
23025         * gst/gst.c: (init_post), (gst_deinit):
23026         * gst/gstelementfactory.c: (gst_element_factory_class_init),
23027         (gst_element_factory_finalize), (gst_element_factory_cleanup):
23028         * gst/gstindex.c: (gst_index_factory_class_init),
23029         (gst_index_factory_finalize):
23030         * gst/gstobject.c: (gst_object_dispose):
23031         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
23032         (gst_plugin_load_file), (gst_plugin_desc_free):
23033         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
23034         (gst_plugin_feature_finalize):
23035         * gst/gstregistry.c: (gst_registry_class_init),
23036         (gst_registry_init), (gst_registry_finalize),
23037         (gst_registry_get_default), (gst_registry_deinit):
23038         * gst/gstregistry.h:
23039         * gst/gstregistryxml.c: (load_feature), (load_plugin):
23040           various cleanups and memleak plugging.  make valgrind is happy now.
23041
23042 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23043
23044         * common/check.mak:
23045           add a check-valgrind target
23046
23047 2005-09-18  David Schleef  <ds@schleef.org>
23048
23049         * tools/gst-inspect.c: Revert the GOption code.
23050
23051 2005-09-17  David Schleef  <ds@schleef.org>
23052
23053         * check/Makefile.am: Fix environment variables.
23054         * check/gst/gstplugin.c: Fix for API changes.
23055         * tools/gst-inspect.c: Fix for API changes.
23056         * tools/gst-xmlinspect.c: Fix for API changes.
23057         * gst/gstelementfactory.c:
23058         * gst/gstplugin.c:
23059         * gst/gstplugin.h:
23060         * gst/gstpluginfeature.c:
23061         * gst/gstpluginfeature.h:
23062         * gst/gstregistry.c:
23063         * gst/gstregistry.h:
23064         * gst/gstregistryxml.c:
23065         * gst/gsttypefind.c:
23066         * gst/gsttypefindfactory.c:
23067         * gst/indexers/gstfileindex.c:
23068         * gst/indexers/gstmemindex.c:
23069         * gst/schedulers/Makefile.am:
23070           Change registry to keep track of both plugins and features,
23071           removing the feature tracking from plugins themselves.
23072
23073 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
23074
23075         * check/Makefile.am:
23076         * tools/gst-register.1.in:
23077           remove gst-register
23078
23079 2005-09-15  David Schleef  <ds@schleef.org>
23080
23081         * check/gst/gstplugin.c:
23082         * gst/gstelementfactory.c:
23083         * gst/gstplugin.c:
23084         * gst/gstpluginfeature.c:
23085         * gst/gstregistry.c:
23086           Getting tired of debugging.  Disabled all the unreffing of
23087           plugins and features, which fixes the segfaults, but of
23088           course leaks like crazy.  At least playbin works.
23089
23090 2005-09-15  David Schleef  <ds@schleef.org>
23091
23092         * check/gst/gstplugin.c: (register_check_elements),
23093         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
23094         More testing
23095         * gst/elements/gsttypefindelement.c: Fix refcounting.
23096         * gst/gsttypefind.c:
23097         * gst/gsttypefindfactory.c:
23098         * gst/gsttypefindfactory.h:
23099
23100 2005-09-15  David Schleef  <ds@schleef.org>
23101
23102         * gst/gstindex.c: get refcounting correct.
23103         * gst/gstregistry.c: Handle the case where a feature/plugin is
23104           not found.
23105
23106 2005-09-15  David Schleef  <ds@schleef.org>
23107
23108         * check/Makefile.am:
23109         * check/gst/gstplugin.c: Add test
23110         * gst/gstplugin.c: Fix problems noticed by testsuite
23111         * gst/gstplugin.h:
23112         * gst/gstregistry.c: 
23113         * gst/gstregistry.h:
23114
23115 2005-09-15  David Schleef  <ds@schleef.org>
23116
23117         * gst/gstplugin.c: Implement semi-decent recounting and locking
23118           in plugins and plugin features.
23119         * gst/gstplugin.h:
23120         * gst/gstpluginfeature.c:
23121         * gst/gstpluginfeature.h:
23122         * gst/gstregistry.c:
23123
23124 2005-09-15  Michael Smith <msmith@fluendo.com>
23125
23126         * gst/gstregistry.c: (gst_registry_get_feature_list):
23127           Implement this. Makes oggdemux work; decodebin still broken.
23128
23129 2005-09-14  David Schleef  <ds@schleef.org>
23130
23131         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
23132           #316076)
23133         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
23134         * gst/check/Makefile.am:
23135         * libs/gst/controller/Makefile.am:
23136         * libs/gst/dataprotocol/Makefile.am:
23137
23138 2005-09-14  David Schleef  <ds@schleef.org>
23139
23140         * configure.ac: Remove getbits library.  Nothing uses it, and
23141           it should be in something like liboil if someone did want
23142           to use it.
23143         * libs/gst/Makefile.am:
23144         * libs/gst/getbits/Makefile.am:
23145         * libs/gst/getbits/gbtest.c:
23146         * libs/gst/getbits/getbits.c:
23147         * libs/gst/getbits/getbits.h:
23148         * libs/gst/getbits/gstgetbits_generic.c:
23149         * libs/gst/getbits/gstgetbits_i386.s:
23150         * libs/gst/getbits/gstgetbits_inl.h:
23151
23152 2005-09-14  David Schleef  <ds@schleef.org>
23153
23154         * gst/Makefile.am: Dist glib-compat.h
23155
23156 2005-09-14  David Schleef  <ds@schleef.org>
23157
23158         * configure.ac: Remove gst/registries, since it's no longer used.
23159         * gst/registries/Makefile.am:
23160         * gst/registries/gstlibxmlregistry.c:
23161         * gst/registries/gstlibxmlregistry.h:
23162         * gst/registries/gstxmlregistry.c:
23163         * gst/registries/gstxmlregistry.h:
23164         * gst/registries/registrytest.c:
23165
23166 2005-09-14  David Schleef  <ds@schleef.org>
23167
23168         * gst/glib-compat.h:
23169         * gst/gstregistryxml.c:
23170           Convergence is near.  Seriously.
23171
23172 2005-09-14  David Schleef  <ds@schleef.org>
23173
23174         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23175         * gst/glib-compat.h:
23176           Attempt #4 to appease the buildbots.
23177
23178 2005-09-14  David Schleef  <ds@schleef.org>
23179
23180         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23181           Attempt #3.
23182
23183 2005-09-14  David Schleef  <ds@schleef.org>
23184
23185         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23186         Attempt #2.
23187
23188 2005-09-14  David Schleef  <ds@schleef.org>
23189
23190         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
23191           the new functions.
23192
23193 2005-09-14  David Schleef  <ds@schleef.org>
23194
23195         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23196         * gst/glib-compat.h: Add some functions that are in newer versions
23197           of glib than we care to require.
23198         * gst/gstregistryxml.c: Use them.
23199
23200 2005-09-14  David Schleef  <ds@schleef.org>
23201
23202         * po/POTFILES.in: remove gst-register.c
23203
23204 2005-09-14  David Schleef  <ds@schleef.org>
23205
23206         * docs/gst/gstreamer-docs.sgml:
23207         * docs/gst/gstreamer-sections.txt:
23208         * docs/gst/gstreamer.types:
23209         * docs/gst/tmpl/gstelement.sgml:
23210         * docs/gst/tmpl/gstplugin.sgml:
23211         * docs/gst/tmpl/gstpluginfeature.sgml:
23212           Documentation updates for registry changes.
23213
23214 2005-09-14  David Schleef  <ds@schleef.org>
23215
23216         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
23217           because we don't require glib-2.8.
23218
23219 2005-09-14  David Schleef  <ds@schleef.org>
23220
23221         * gst/gstregistryxml.c: Added.  Essentially moved out of the
23222           registries directory.
23223
23224 2005-09-14  David Schleef  <ds@schleef.org>
23225
23226         * check/Makefile.am:
23227         * check/generic/states.c:
23228         * gst/Makefile.am:
23229         * gst/gst.c:
23230         * gst/gst.h:
23231         * gst/gst_private.h:
23232         * gst/gstelementfactory.c:
23233         * gst/gstindex.c:
23234         * gst/gstinfo.c:
23235         * gst/gstplugin.c:
23236         * gst/gstplugin.h:
23237         * gst/gstpluginfeature.c:
23238         * gst/gstpluginfeature.h:
23239         * gst/gstregistry.c:
23240         * gst/gstregistry.h:
23241         * gst/gstregistrypool.c: remove
23242         * gst/gstregistrypool.h: remove
23243         * gst/gsttypefind.c:
23244         * gst/gsttypefindfactory.c:
23245         * gst/gsturi.c:
23246         * tools/Makefile.am:
23247         * tools/gst-compprep.c:
23248         * tools/gst-inspect.c:
23249         * tools/gst-register.c: remove
23250         * tools/gst-xmlinspect.c:
23251           Registry rewrite.  Changes registry from being a file created
23252           by a tool into a simple cache file created automatically by 
23253           libgstreamer.  Removed gst-register (because it's no longer
23254           needed).  Remove registry pools, because we only have one
23255           registry implementation (XML).  Fix up other subsystems as
23256           necessary.
23257
23258 2005-09-13  Michael Smith <msmith@fluendo.com>
23259
23260         * gst/gstconfig.h.in:
23261           Don't Use windows linking attributes for MinGW. Fixes #316157
23262
23263 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23264
23265         * gst/gstutils.c: (set_state_async_thread_func),
23266         (gst_element_set_state_async):
23267           Apparently people think it's better if this function doesn't
23268           try to set the state to whatever state was asked for on the first
23269           call to this function for any object.  Seriously.
23270
23271 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23272
23273         * check/gst/gstpipeline.c: (GST_START_TEST):
23274         * docs/gst/gstreamer-sections.txt:
23275         * gst/gstutils.c: (set_state_async_thread_func),
23276         (gst_element_set_state_async):
23277         * gst/gstutils.h:
23278           add a "gst_element_set_state_async" method that
23279           sets the state and starts a thread to make sure the state
23280           change completes as best as it can
23281
23282 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23283
23284         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23285           codify design+behaviour in testsuite after discussion
23286
23287 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23288
23289         * docs/gst/tmpl/gstelement.sgml:
23290         * docs/manual/appendix-quotes.xml:
23291           add a quote
23292         * gst/gstelement.c: (gst_element_set_state):
23293           add some debug
23294
23295 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
23296
23297         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23298         (gst_base_transform_prepare_output_buf),
23299         (gst_base_transform_handle_buffer):
23300         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23301         (gst_capsfilter_prepare_buf):
23302           Remove the requirement for sub-classes to call the parent
23303           implementation of prepare_output_buffer with a wrapper function.
23304           
23305         * gst/gsttaglist.h:
23306         * gst/gsttagsetter.h:
23307           Fix #define wrapper
23308
23309 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
23310
23311         * docs/gst/gstreamer-sections.txt:
23312           more doc cleanups
23313
23314 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23315
23316         * docs/gst/gstreamer-sections.txt:
23317         * docs/gst/tmpl/gstelement.sgml:
23318         * docs/gst/tmpl/gstplugin.sgml:
23319         * gst/gstminiobject.c:
23320         * gst/gstvalue.h:
23321           docs now stop throwing warnings
23322
23323 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23324
23325         * docs/gst/gstreamer-sections.txt:
23326         * docs/gst/gstreamer.types:
23327         * docs/gst/tmpl/gstpad.sgml:
23328         * docs/gst/tmpl/gsttypes.sgml:
23329         * gst/base/gstadapter.h:
23330         * gst/base/gstbasesink.h:
23331         * gst/base/gstbasesrc.h:
23332         * gst/gstbin.h:
23333         * gst/gstbuffer.h:
23334         * gst/gstbus.h:
23335         * gst/gstcaps.h:
23336         * gst/gstclock.h:
23337         * gst/gstelement.h:
23338         * gst/gstevent.h:
23339         * gst/gstmessage.h:
23340         * gst/gstpad.h:
23341         * gst/gststructure.c:
23342         * gst/registries/gstlibxmlregistry.h:
23343           various documentation fixes
23344
23345 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23346
23347         * docs/gst/gstreamer-sections.txt:
23348         * docs/gst/tmpl/gstvalue.sgml:
23349           rearrange gstvalue section
23350         * gst/gstutils.c: (gst_element_state_get_name):
23351           NONE -> VOID
23352         * gst/gstvalue.c: (_gst_value_initialize):
23353         * gst/gstvalue.h:
23354           doc updates
23355
23356 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
23357
23358         * check/gst-libs/controller.c:
23359           Header include fix.
23360         * gst/base/gstbasetransform.c:
23361         (gst_base_transform_default_prepare_buf),
23362         (gst_base_transform_handle_buffer):
23363         * gst/base/gstbasetransform.h:
23364           Some more basetransform changes and fixes to enable sub-classes
23365           that modify buffer metadata only.
23366         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23367         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23368         (gst_capsfilter_prepare_buf):
23369           If the output pad has fixed allowed caps and input buffers 
23370           don't have any, set the fixed caps on outgoing buffers.
23371
23372 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
23373         * check/elements/identity.c: (GST_START_TEST):
23374           Make the error a little clearer when the test fails because
23375           identity made a copy of the buffer.
23376         * docs/gst/gstreamer-sections.txt:
23377           New symbols in gstbasetransform.h
23378         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23379         (gst_base_transform_init), (gst_base_transform_transform_size),
23380         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23381         (gst_base_transform_default_prepare_buf),
23382         (gst_base_transform_get_unit_size),
23383         (gst_base_transform_buffer_alloc),
23384         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23385         (gst_base_transform_change_state),
23386         (gst_base_transform_set_passthrough),
23387         (gst_base_transform_set_in_place),
23388         (gst_base_transform_is_in_place):
23389         * gst/base/gstbasetransform.h:
23390           Change BaseTransform to separate in_place operate from same_caps
23391           output. in_place implies that the element can perform the transform
23392           on incoming buffers in-place, even if the caps on the output are
23393           different.
23394           Sub-class elements can now implement special buffer allocation
23395           methods for outgoing buffers if they wish to.
23396           Big documentation addition.
23397         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23398         * gst/elements/gstelements.c:
23399           Changes for basetransform modifications.
23400         * gst/elements/Makefile.am:
23401         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23402           Compile fix. Extra debug output.
23403
23404 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23405
23406         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23407         (gst_pad_suite):
23408           add tests for valid pad naming
23409         * gst/check/gstcheck.c: (gst_check_log_message_func),
23410         (gst_check_log_critical_func):
23411           add ASSERT_WARNING
23412           remove printing of code, it is fragile when the code contains
23413           % and the line number is enough info
23414         * gst/check/gstcheck.h:
23415         * gst/gstpad.c: (gst_pad_template_new):
23416           fix memleaks
23417
23418 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23419
23420         * configure.ac:
23421           say what CHECK flags we use
23422         * docs/libs/gstreamer-libs.types:
23423         * libs/gst/controller/Makefile.am:
23424         * libs/gst/controller/gst-controller.c:
23425         * libs/gst/controller/gst-controller.h:
23426         * libs/gst/controller/gst-helper.c:
23427         * libs/gst/controller/gst-interpolation.c:
23428         * libs/gst/controller/gstcontroller.c:
23429         * libs/gst/controller/gsthelper.c:
23430         * libs/gst/controller/gstinterpolation.c:
23431         * tools/gst-inspect.c: (print_plugin_info):
23432           we don't use dashes in header names
23433
23434 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23435
23436         * check/Makefile.am:
23437         * check/gst/.cvsignore:
23438         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23439         (gst_pipeline_suite), (main):
23440           adding a test for pipelines and state changes
23441         * gst/gstutils.c: (get_state_func):
23442           add some debugging
23443         * gstreamer.spec.in:
23444           fix up spec file
23445
23446 2005-09-08  Michael Smith <msmith@fluendo.com>
23447
23448         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23449         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23450         (gst_file_src_is_seekable), (gst_file_src_get_size),
23451         (gst_file_src_start):
23452         * gst/elements/gstfilesrc.h:
23453           Various fixes for unseekable, unmmapable, and non-normal files, so
23454           that fallback to read() rather than mmap() works.
23455         * gst/gstevent.c: (gst_event_new_newsegment):
23456           Allow newsegment events with segment_start == segment_end, as will
23457           correctly happen if you use filesrc on a zero-size file, for
23458           example.
23459
23460 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
23461
23462         * gst/gstplugin.c: (gst_plugin_load_file):
23463           Call g_module_close when we don't load the module
23464
23465         * gst/registries/gstlibxmlregistry.c:
23466         (gst_xml_registry_get_property):
23467           Port leak fix from 0.8
23468
23469 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23470
23471         * docs/gst/gstreamer-docs.sgml:
23472         * docs/gst/tmpl/.cvsignore:
23473         * docs/gst/tmpl/gsttrace.sgml:
23474         * docs/gst/tmpl/gsttrashstack.sgml:
23475         * gst/Makefile.am:
23476         * gst/gst.h:
23477         * gst/gstelement.h:
23478         * gst/gstevent.h:
23479         * gst/gstmessage.c:
23480         * gst/gstmessage.h:
23481         * gst/gsttag.c:
23482         * gst/gsttag.h:
23483         * gst/gsttaginterface.c:
23484         * gst/gsttaginterface.h:
23485         * gst/gsttaglist.c:
23486         * gst/gsttaglist.h:
23487         * gst/gsttagsetter.c:
23488         * gst/gsttagsetter.h:
23489         * gst/gsttrace.c:
23490         * gst/gsttrace.h:
23491         * gst/gsttrashstack.c:
23492           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
23493           inlined docs for gsttrace, gsttrashstack
23494
23495 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23496
23497         * gst/Makefile.am:
23498         * gst/elements/gstbufferstore.h:
23499         * gst/elements/gsttypefindelement.c:
23500         * gst/elements/gsttypefindelement.h:
23501         * gst/gst.h:
23502         * gst/gsttypefind.c:
23503         * gst/gsttypefind.h:
23504         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
23505         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
23506         (gst_type_find_factory_dispose),
23507         (gst_type_find_factory_unload_thyself),
23508         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
23509         (gst_type_find_factory_get_caps),
23510         (gst_type_find_factory_get_extensions),
23511         (gst_type_find_factory_call_function):
23512         * gst/gsttypefindfactory.h:
23513         * gst/registries/gstlibxmlregistry.c:
23514         * gst/registries/gstxmlregistry.c:
23515           splitted gsttypefind into gsttypefind, gsttypefindfactory
23516
23517 2005-09-07  Andy Wingo  <wingo@pobox.com>
23518
23519         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
23520         condition whereby the pad's task function is entered before the
23521         pad_mode variable was set.
23522
23523 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
23524
23525         * gst/gstpad.c: (gst_pad_alloc_buffer):
23526           Catch misbehaving pad_alloc functions that don't
23527           set up caps and do it for them.
23528
23529 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23530
23531         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23532           test for pipe!=NULL
23533         * docs/gst/tmpl/.cvsignore:
23534         * docs/gst/tmpl/gstmemchunk.sgml:
23535         * docs/gst/tmpl/gstparse.sgml:
23536         * docs/gst/tmpl/gsttaglist.sgml:
23537         * docs/gst/tmpl/gsttagsetter.sgml:
23538         * docs/gst/tmpl/gsttypefind.sgml:
23539         * docs/gst/tmpl/gsttypefindfactory.sgml:
23540         * gst/gstmemchunk.c:
23541         * gst/gstparse.c:
23542         * gst/gsttag.c:
23543         * gst/gsttaginterface.c:
23544         * gst/gsttypefind.c:
23545         * gst/gsttypefind.h:
23546           inlined more docs
23547
23548 === release 0.9.2 ===
23549
23550 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23551
23552         * NEWS:
23553         * RELEASE:
23554         * configure.ac:
23555           releasing 0.9.2, "South"
23556
23557 2005-09-05  Andy Wingo  <wingo@pobox.com>
23558
23559         * gst/registries/gstxmlregistry.h:
23560         * gst/registries/gstxmlregistry.c: Um... resurrect...
23561         
23562         * gst/registries/gstxmlregistry.h:
23563         * gst/registries/gstxmlregistry.c: and update to newer API.
23564         Incidentally they should be a bit faster now that they don't have
23565         to parse the caps.
23566         
23567 2005-09-05  Andy Wingo  <wingo@pobox.com>
23568
23569         * gst/registries/gstxmlregistry.h:
23570         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
23571         replaced by the libxml registry a while back
23572
23573 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23574
23575         * docs/gst/tmpl/gstplugin.sgml:
23576         * gst/elements/gstelements.c:
23577         * gst/gst.c:
23578         * gst/gstplugin.c: (gst_plugin_register_func),
23579         (gst_plugin_desc_copy), (gst_plugin_desc_free),
23580         (gst_plugin_get_source):
23581         * gst/gstplugin.h:
23582         * gst/registries/gstlibxmlregistry.c: (load_plugin),
23583         (gst_xml_registry_save_plugin):
23584         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
23585         (gst_xml_registry_save_plugin):
23586         * tools/gst-inspect.c: (print_plugin_info):
23587           add a "source" plugin description field, to represent the source
23588           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
23589           will set it to PACKAGE, which is automake's idea of the name of
23590           the source project.
23591
23592 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23593
23594         * Makefile.am:
23595         * autogen.sh:
23596         * configure.ac:
23597         * docs/Makefile.am:
23598         * docs/faq/Makefile.am:
23599         * docs/gst/tmpl/gstelement.sgml:
23600         * docs/gst/tmpl/gsttypes.sgml:
23601         * docs/htmlinstall.mak:
23602         * docs/manual/Makefile.am:
23603         * docs/pwg/Makefile.am:
23604           reorganize doc build a little
23605           split out docbook and gtk-doc stuff
23606           have two separate --enable's and enable them through autogen
23607           but disable by default in configure (to be similar to other
23608           projects)
23609         * gstreamer.spec.in:
23610           clean up docs install
23611         * po/af.po:
23612         * po/az.po:
23613         * po/ca.po:
23614         * po/cs.po:
23615         * po/de.po:
23616         * po/en_GB.po:
23617         * po/fr.po:
23618         * po/it.po:
23619         * po/nb.po:
23620         * po/nl.po:
23621         * po/ru.po:
23622         * po/sq.po:
23623         * po/sr.po:
23624         * po/sv.po:
23625         * po/tr.po:
23626         * po/uk.po:
23627         * po/vi.po:
23628           translation updates
23629
23630 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
23631
23632         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
23633           Add comment.
23634           
23635         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23636         (gst_fake_sink_change_state):
23637           Make state change function thread-safe.
23638           
23639         * gst/gstpad.c: (gst_pad_alloc_buffer):
23640           Set offset on generic buffer allocated by fallback.
23641
23642 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
23643
23644         * docs/gst/gstreamer-sections.txt:
23645         * docs/gst/tmpl/gstelement.sgml:
23646         * gst/gstpad.c:
23647         * libs/gst/controller/gst-controller.c:
23648         (gst_controlled_property_set_interpolation_mode),
23649         (gst_controlled_property_new),
23650         (gst_controller_find_controlled_property):
23651          run the wingo-magic script against the docs
23652
23653 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
23654
23655         * docs/gst/gstreamer-docs.sgml:
23656         * docs/gst/gstreamer-sections.txt:
23657         * docs/gst/tmpl/.cvsignore:
23658         * docs/gst/tmpl/gstelementdetails.sgml:
23659         * docs/gst/tmpl/gstelementfactory.sgml:
23660         * gst/gst.c:
23661         * gst/gstbus.c:
23662         * gst/gstelementfactory.c:
23663         * gst/gstelementfactory.h:
23664           merged elementdetails docs into elementfactory docs
23665           inlined both
23666
23667 2005-09-02  Andy Wingo  <wingo@pobox.com>
23668
23669         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
23670         consider this enum an enum and not a flags.
23671
23672 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
23673
23674         * docs/gst/gstreamer-docs.sgml:
23675         * docs/gst/tmpl/.cvsignore:
23676         * docs/gst/tmpl/gstghostpad.sgml:
23677         * docs/gst/tmpl/gstiterator.sgml:
23678         * docs/gst/tmpl/gstmacros.sgml:
23679         * docs/gst/tmpl/gstrealpad.sgml:
23680         * docs/gst/tmpl/gstregistry.sgml:
23681         * docs/gst/tmpl/gstregistrypool.sgml:
23682         * docs/gst/tmpl/gststructure.sgml:
23683         * docs/gst/tmpl/gstsystemclock.sgml:
23684         * docs/gst/tmpl/gsttrace.sgml:
23685         * gst/gstghostpad.c:
23686         * gst/gstmacros.h:
23687         * gst/gstmemchunk.c:
23688         * gst/gstmemchunk.h:
23689         * gst/gstqueue.c:
23690         * gst/gstregistry.c:
23691         * gst/gstregistrypool.c:
23692         * gst/gststructure.c:
23693         * gst/gstsystemclock.c:
23694           more docs inlined
23695
23696 2005-09-02  Andy Wingo  <wingo@pobox.com>
23697
23698         * gst/gstelement.h (GstState): Renamed from GstElementState,
23699         changed to be a normal enum instead of flags.
23700         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
23701         munged to be GST_STATE_CHANGE_*.
23702         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
23703         work with the new state representation.
23704         (GstStateChange): New enumeration of possible state transitions.
23705         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
23706         (GstElementClass::change_state): Pass the GstStateChange along as
23707         an argument. Helps language bindings, so they don't have to use
23708         tricky lock-needing macros like GST_STATE_CHANGE ().
23709
23710         * scripts/update-states (file): New script. Run it on a file to
23711         update it for state naming and API changes. Updates files in
23712         place.
23713
23714         * All files updated for the new API.
23715
23716 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
23717
23718         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
23719         * gst/gstutils.c: (gst_util_set_value_from_string),
23720         (gst_util_set_object_arg):
23721           fix a bunch of unchecked return values
23722         * tools/gst-complete.c: (main):
23723         * gstreamer.spec.in:
23724           clean up a little
23725
23726 2005-09-01  Wim Taymans  <wim@fluendo.com>
23727
23728         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23729         (gst_base_sink_event), (gst_base_sink_do_sync),
23730         (gst_base_sink_handle_event):
23731         * gst/base/gstbasesink.h:
23732         Handle newsegments more correctly.
23733
23734         * gst/gstbus.c:
23735         Fix docs.
23736
23737         * gst/gstevent.c: (gst_event_new_newsegment):
23738         A newsegment cannot have a start_time of -1
23739
23740 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
23741
23742         * win32/gstenumtypes.c:
23743         * win32/gstenumtypes.h:
23744           Update
23745
23746 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23747
23748         * libs/gst/controller/gst-controller.c:
23749         (gst_controlled_property_set_interpolation_mode),
23750         (gst_controlled_property_new):
23751          fixed boolean again
23752
23753 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
23754
23755         * docs/faq/gst-uninstalled:
23756           add -good
23757         * gst/gstevent.c:
23758         * gst/gstevent.h:
23759           remove wrong docs
23760         * gst/gstutils.c: (gst_element_link_filtered):
23761         * gst/gstutils.h:
23762           add gst_element_link_filtered
23763
23764 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23765
23766         * docs/gst/gstreamer-docs.sgml:
23767         * docs/gst/gstreamer-sections.txt:
23768         * docs/gst/tmpl/.cvsignore:
23769         * docs/gst/tmpl/gsterror.sgml:
23770         * docs/gst/tmpl/gstfilter.sgml:
23771         * docs/gst/tmpl/gsturihandler.sgml:
23772         * docs/gst/tmpl/gsturitype.sgml:
23773         * docs/gst/tmpl/gstutils.sgml:
23774         * docs/gst/tmpl/gstxml.sgml:
23775         * gst/gsterror.c:
23776         * gst/gsterror.h:
23777         * gst/gstfilter.c:
23778         * gst/gsturi.c:
23779         * gst/gsturitype.c:
23780         * gst/gstutils.c:
23781         * gst/gstxml.c:
23782           inlined more docs, fixed double id-ref
23783
23784 2005-08-31  Wim Taymans  <wim@fluendo.com>
23785
23786         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23787         (gst_base_transform_handle_buffer):
23788         Passthrough elements don't need the caps as they don't care.
23789
23790 2005-08-31  Wim Taymans  <wim@fluendo.com>
23791
23792         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23793         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
23794         Don't leak refcounts on buffers.
23795
23796 2005-08-31  Wim Taymans  <wim@fluendo.com>
23797
23798         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
23799         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23800         (gst_base_transform_chain), (gst_base_transform_change_state):
23801         * gst/base/gstbasetransform.h:
23802         Handle the case where we are not negotiated more gracefully.
23803
23804 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
23805
23806         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
23807         (gst_file_src_map_region):
23808           Set READONLY flag on mmap'ed buffers, otherwise
23809           gst_buffer_make_writable() won't work properly (#314708).
23810
23811 2005-08-31  Wim Taymans  <wim@fluendo.com>
23812
23813         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
23814         passthrough elements can even do inplace on non writable
23815         buffers (as they don't touch them).
23816
23817 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23818
23819         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
23820         (gst_test_mono_source_set_property),
23821         (gst_test_mono_source_class_init), (GST_START_TEST),
23822         (gst_controller_suite):
23823           more tests (hehe I have the most)
23824         * gst/gstbus.c:
23825           describe popping messages whenusing mulltiple sources
23826         * libs/gst/controller/gst-controller.c:
23827         (gst_controlled_property_set_interpolation_mode),
23828         (gst_controlled_property_new):
23829         * libs/gst/controller/gst-controller.h:
23830         * libs/gst/controller/gst-interpolation.c:
23831           implement boolean properties
23832
23833 2005-08-31  Wim Taymans  <wim@fluendo.com>
23834
23835         * gst/gstminiobject.c: (gst_mini_object_ref):
23836         Cannot assert that the refcount has to be positive
23837         since a disposed object can be resurrected.
23838
23839 2005-08-31  Wim Taymans  <wim@fluendo.com>
23840
23841         * gst/gstpad.c: (gst_pad_init):
23842         Revert change, need to first fix badly behaving 
23843         apps.
23844
23845 2005-08-30  Wim Taymans  <wim@fluendo.com>
23846
23847         * check/elements/fakesrc.c: (setup_fakesrc):
23848         * check/elements/identity.c: (setup_identity):
23849         Activate pads before using them.
23850
23851 2005-08-30  Wim Taymans  <wim@fluendo.com>
23852
23853         * gst/base/gstadapter.c: (gst_adapter_flush):
23854         Flushing out 0 bytes is ok for this function.
23855
23856         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23857         no newsegment gives a warning and sets the start/stop to 
23858         invalid.
23859
23860         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
23861         (gst_base_transform_set_passthrough):
23862         Some debug info.
23863
23864         * gst/gstminiobject.c: (gst_mini_object_ref):
23865         Check refcount here too.
23866
23867         * gst/gstpad.c: (gst_pad_init):
23868         Pads are initially flushing and refusing data.
23869
23870         * gst/gstutils.c: (gst_element_link_pads_filtered):
23871         When adding a capsfilter element make sure it has the
23872         same state as the parent bin.
23873
23874 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23875
23876         * docs/gst/tmpl/.cvsignore:
23877         * docs/gst/tmpl/gstformat.sgml:
23878         * docs/gst/tmpl/gstversion.sgml:
23879         * gst/gstbus.h:
23880         * gst/gstformat.c:
23881         * gst/gstformat.h:
23882         * gst/gstversion.h.in:
23883           more docs and two more inlined
23884
23885 2005-08-30  Wim Taymans  <wim@fluendo.com>
23886
23887         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
23888         Don't sync to clock.
23889
23890 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23891
23892         * docs/gst/gstreamer-sections.txt:
23893           ultral33t func10ns deserve to appear in the docs actually
23894         * docs/gst/tmpl/.cvsignore:
23895         * docs/gst/tmpl/gstcompat.sgml:
23896         * docs/gst/tmpl/gstconfig.sgml:
23897         * gst/check/gstcheck.c:
23898         * gst/gstcompat.h:
23899         * gst/gstconfig.h.in:
23900           inlined more docs
23901
23902 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23903
23904         * docs/gst/tmpl/.cvsignore:
23905         * docs/gst/tmpl/gstquery.sgml:
23906         * docs/gst/tmpl/gstutils.sgml:
23907         * gst/gstquery.c:
23908         * gst/gstquery.h:
23909           inlined and extended docs
23910
23911 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23912
23913         * check/gst-libs/controller.c: (GST_START_TEST),
23914         (gst_controller_suite):
23915           more tests
23916         * docs/gst/tmpl/gstutils.sgml:
23917         * docs/libs/gstreamer-libs-sections.txt:
23918         * docs/libs/tmpl/gstdataprotocol.sgml:
23919           include path fixes
23920         * examples/controller/audio-example.c: (main):
23921           controller example works now
23922         * gst/gstclock.h:
23923           doc fixes
23924         * tools/gst-inspect.c: (print_element_properties_info):
23925           show param spec flags
23926
23927 2005-08-29  Andy Wingo  <wingo@pobox.com>
23928
23929         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
23930
23931 2005-08-28  Andy Wingo  <wingo@pobox.com>
23932
23933         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
23934         as having two arguments instead of just one. Allows superclasses
23935         to access information on subclasses -- see the terrible for() loop
23936         in gtype.c:g_type_create_instance for the reason why. All callers
23937         changed.
23938
23939 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
23940
23941         * docs/design/part-messages.txt:
23942           update info
23943         * docs/gst/tmpl/.cvsignore:
23944         * docs/gst/tmpl/gstcaps.sgml:
23945         * docs/gst/tmpl/gstclock.sgml:
23946         * gst/gstbus.c:
23947         * gst/gstcaps.c:
23948         * gst/gstcaps.h:
23949         * gst/gstclock.c:
23950         * gst/gstclock.h:
23951         * gst/gstmessage.c:
23952           added descriptions for bus and message
23953           inline caps and clock docs
23954
23955 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
23956
23957         * gst/gstmessage.c:
23958         * gst/gstmessage.h:
23959           doc fixes
23960
23961 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
23962
23963         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
23964           fix div-by-zero
23965
23966 2005-08-26  Andy Wingo  <wingo@pobox.com>
23967
23968         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
23969         element_set_state's return val.
23970         (test_2_elements): Add test that's been disabled for months.
23971
23972         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
23973         can-activate-pull properties.
23974
23975         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
23976         can-activate-pull properties. Implement is_seekable so fakesrc can
23977         operate in pull mode.
23978
23979         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
23980         properties.
23981         (gst_base_sink_activate, gst_base_sink_activate_pull)
23982         (gst_base_sink_activate_push): Make activation mode choosing work.
23983         Cleanups.
23984         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
23985         is right. Make pull mode work. Post an eos before pausing in pull
23986         mode.
23987         (gst_base_sink_change_state): Pay attention to the core's
23988         change_state() return val.
23989         
23990         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
23991         has-getrange properties. Cleanups.
23992         
23993         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
23994         has_getrange and replace with can_activate_pull and
23995         can_activate_push.
23996
23997         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
23998         locking comments. Remove has_loop, has_chain and replace with
23999         can_activate_pull and can_activate_push.
24000
24001 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
24002
24003         * configure.ac:
24004         * examples/Makefile.am:
24005         * examples/metadata/Makefile.am:
24006         * examples/metadata/read-metadata.c: (message_loop),
24007         (have_pad_handler), (make_pipeline), (print_tag), (main):
24008           Add metadata reading example that loops over a list of filenames,
24009           dumping any tags found.
24010
24011         * gst/gstbus.c: (gst_bus_dispose):
24012         * gst/gstelement.c: (gst_element_dispose):
24013           Release a few potentially-held references in dispose.
24014
24015 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24016
24017         * docs/gst/tmpl/gstminiobject.sgml:
24018           do *not* add tmpl/*.sgml files to CVS!
24019
24020 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24021
24022         * libs/gst/bytestream/.cvsignore:
24023         * libs/gst/bytestream/Makefile.am:
24024         * libs/gst/bytestream/adapter.c:
24025         * libs/gst/bytestream/adapter.h:
24026         * libs/gst/bytestream/bytestream.c:
24027         * libs/gst/bytestream/bytestream.h:
24028         * libs/gst/bytestream/filepad.c:
24029         * libs/gst/bytestream/filepad.h:
24030           removing obsolete files
24031
24032 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24033
24034         * docs/gst/gstreamer-docs.sgml:
24035         * docs/libs/gstreamer-libs-docs.sgml:
24036           disabed additional index entries again, as this makes docs-gen just
24037           slow and they aren't useful yet
24038         * docs/libs/gstreamer-libs-sections.txt:
24039           little -section.txt cleanup for libs
24040
24041 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24042
24043         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24044         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
24045           fix up some debugging
24046         (gst_base_transform_get_unit_size),
24047         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
24048         (gst_base_transform_handle_buffer):
24049         * gst/base/gstbasetransform.h:
24050           handle and store timed NEWSEGMENT events so that subclasses that
24051           calculate time by counting samples have a segment_start time they
24052           need to add to their timestamps - see audioresample
24053
24054 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24055
24056         * gst/gstbin.h:
24057           removed ';' from the end of macro defs
24058         * docs/gst/gstreamer-docs.sgml:
24059         * docs/gst/gstreamer-sections.txt:
24060         * docs/gst/tmpl/.cvsignore:
24061         * gst/gstbus.h:
24062         * gst/gstelement.c: (gst_element_class_init),
24063         (gst_element_set_state), (activate_pads),
24064         (gst_element_save_thyself):
24065         * gst/gstevent.c: (gst_event_new_newsegment):
24066         * gst/gstevent.h:
24067         * gst/gstiterator.c:
24068         * gst/gstiterator.h:
24069         * gst/gstpad.c:
24070         * gst/gstprobe.h:
24071         * gst/gstutils.c: (gst_pad_query_convert):
24072         * gst/gstutils.h:
24073           fixed parameter name mismatches between source, header and docs
24074           added some more docs, resolved the last batch of unused elements in
24075           docs (now someone needs to doc them)
24076
24077 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24078
24079         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
24080         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
24081           don't walk through the plugins backwards.  Where is all this
24082           reversed logic coming from ?
24083
24084 2005-08-25  Wim Taymans  <wim@fluendo.com>
24085
24086         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24087         (gst_base_transform_transform_size),
24088         (gst_base_transform_configure_caps),
24089         (gst_base_transform_get_unit_size),
24090         (gst_base_transform_buffer_alloc),
24091         (gst_base_transform_change_state):
24092         * gst/base/gstbasetransform.h:
24093         Cache caps unit_size.
24094         Make sure we cannot negotiate up and downstream at the
24095         same time.
24096
24097 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24098
24099         * gst/gst.c: (init_pre), (init_post):
24100           register the installed plugin path after the env var
24101         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
24102         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
24103           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
24104           directories, so the tests can prefer uninstalled over installed
24105
24106 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24107
24108         * gst/base/gstbasetransform.h:
24109           comment
24110         * gst/gstpad.c:
24111           add to docs
24112
24113 2005-08-25  Wim Taymans  <wim@fluendo.com>
24114
24115         * gst/gstbin.c: (bin_bus_handler):
24116         Be a bit more conservative about the posted message.
24117         
24118         * gst/gstbus.c: (gst_bus_post):
24119         Some cleanups, warn wrong return values.
24120
24121 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
24122
24123         * check/gst/gstbin.c: (GST_START_TEST):
24124         * gst/gstbin.c: (bin_bus_handler):
24125         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24126         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24127         (gst_message_new_warning), (gst_message_new_tag),
24128         (gst_message_new_state_changed), (gst_message_new_segment_start),
24129         (gst_message_new_segment_done), (gst_message_new_custom):
24130         * gst/gstmessage.h:
24131         * tools/gst-launch.c: (event_loop):
24132         * tools/gst-md5sum.c: (event_loop):
24133           Revert unpopular change for GST_MESSAGE_SRC to GObject.
24134
24135 2005-08-25  Wim Taymans  <wim@fluendo.com>
24136
24137         * check/generic/states.c: (GST_START_TEST):
24138         Cleanup can be done at the end.
24139
24140         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
24141         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24142         (gst_task_get_state), (gst_task_start), (gst_task_pause):
24143         Oh boy.. Thanks for finding this, Thomas. 
24144
24145 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
24146
24147         * docs/gst/gstreamer.types:
24148           added missing types
24149
24150 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
24151
24152         * docs/gst/gstreamer-docs.sgml:
24153         * docs/gst/gstreamer-sections.txt:
24154         * docs/gst/tmpl/.cvsignore:
24155         * gst/gstbin.c:
24156         * gst/gstiterator.c:
24157         * gst/gstutils.c:
24158         * gst/registries/gstxmlregistry.h:
24159           added missing classes and symbols (123 more to go)
24160           removed removed symbols from section file
24161           fixed many doc-comments
24162
24163 2005-08-24  Wim Taymans  <wim@fluendo.com>
24164
24165         * check/generic/states.c: (GST_START_TEST):
24166         Make sure all tasks are stopped.
24167
24168         * check/gst/gstbin.c: (GST_START_TEST):
24169         Unref after usage for proper valgrinding.
24170
24171         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
24172         Really wait for the task to stop before destroying the
24173         mutex.
24174
24175         * gst/gstqueue.c: (gst_queue_sink_activate_push),
24176         (gst_queue_src_activate_push):
24177         Small cleanups. Don't stop the task when we did not start
24178         it.
24179
24180         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
24181         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24182         (gst_task_get_state), (gst_task_start), (gst_task_pause),
24183         (gst_task_join):
24184         * gst/gsttask.h:
24185         Protect the stream lock with the object lock.
24186         Disallow setting the stream lock when running.
24187         Add cleanup_all to wait for the threadpool to finish.
24188         Remove code to autoallocate a mutex if none was provided.
24189         Add _join() to wait for a task to stop.
24190         Protect the thread pool with a global lock.
24191
24192 2005-08-24  Wim Taymans  <wim@fluendo.com>
24193
24194         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24195         (gst_base_sink_get_times), (gst_base_sink_do_sync),
24196         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
24197         * gst/base/gstbasesink.h:
24198         Handle newsegment events correctly.
24199         Drop buffers out of the segment range.
24200
24201 2005-08-22  Andy Wingo  <wingo@pobox.com>
24202
24203         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
24204         macro, implements an interface and gstimplementsinterface for a
24205         new type.
24206
24207 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24208
24209         * check/Makefile.am:
24210         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
24211           add a test that does a bunch of state changes on elements
24212           needs some fixing for valgrind
24213         * check/states/sinks.c: (gst_object_suite):
24214           whitespace
24215         * gst/gstcaps.h:
24216           add prototype for gst_caps_is_equal_fixed
24217         * gst/gstplugin.c:
24218         * gst/gstregistrypool.c:
24219           doc fixes
24220
24221 2005-08-24  Andy Wingo  <wingo@pobox.com>
24222
24223         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
24224         convert a negative value. Doesn't make much sense. Mostly this is
24225         here to force callers to ensure -1 maps to -1.
24226
24227 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24228
24229         * docs/pwg/advanced-types.xml:
24230           Well done to Michael for catching my deliberate introduction
24231           of this spelling mistake. 
24232         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24233         * gst/gstelement.h:
24234           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24235           unlink pads before removing the element from the bin.
24236
24237 2005-08-24  Andy Wingo  <wingo@pobox.com>
24238
24239         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24240         the same thing as GST_DEBUG=*:4.
24241         (parse_debug_level, parse_debug_category): New helper parsers.
24242
24243 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24244
24245         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24246         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24247         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24248         (gst_base_transform_buffer_alloc),
24249         (gst_base_transform_handle_buffer):
24250           use gboolean return values and pointers to size so we can use the
24251           full GST_BUFFER_SIZE range (guint) for buffer sizes
24252           use GstPadDirection for transform_caps
24253         * gst/base/gstbasetransform.h:
24254           rename get_size to get_unit_size since that's what it is
24255         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24256           use GstPadDirection for transform_caps
24257         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24258         * gst/gstutils.h:
24259           cleanup and debugging
24260
24261 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24262
24263         * gst/gstelement.c: (gst_element_class_init),
24264         (gst_element_set_state), (activate_pads),
24265         (gst_element_save_thyself):
24266         * tools/gst-compprep.c: (main):
24267         * tools/gst-inspect.c: (print_element_properties_info):
24268         * tools/gst-xmlinspect.c: (print_element_properties):
24269           Fixed long standing mem-leak
24270
24271 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24272
24273         * check/gst/gstbin.c: (GST_START_TEST):
24274         * gst/gstbin.c: (bin_bus_handler):
24275         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24276         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24277         (gst_message_new_warning), (gst_message_new_tag),
24278         (gst_message_new_state_changed), (gst_message_new_segment_start),
24279         (gst_message_new_segment_done), (gst_message_new_custom):
24280         * gst/gstmessage.h:
24281         * tools/gst-launch.c: (event_loop):
24282         * tools/gst-md5sum.c: (event_loop):
24283           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24284           that applications can sensibly post custom messages with references
24285           to their own objects.
24286
24287 2005-08-24  Andy Wingo  <wingo@pobox.com>
24288
24289         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24290         already.
24291
24292 2005-08-24  Wim Taymans  <wim@fluendo.com>
24293
24294         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24295         (gst_base_transform_transform_caps),
24296         (gst_base_transform_transform_size),
24297         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24298         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24299         (gst_base_transform_handle_buffer):
24300         * gst/base/gstbasetransform.h:
24301         Many fixes and new features added by Thomas. Can now also do
24302         transforms with variable sizes and a custom fixate_caps function.
24303
24304 2005-08-24  Wim Taymans  <wim@fluendo.com>
24305
24306         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24307         Some debugging.
24308
24309         * gst/gstclock.h:
24310         Cast to ClockTime before formatting to time.
24311
24312         * gst/gstutils.h:
24313         Cleanups.
24314
24315 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24316
24317         * check/gst-libs/controller.c: (GST_START_TEST),
24318         (gst_controller_suite):
24319         * docs/gst/tmpl/gstcaps.sgml:
24320         * docs/gst/tmpl/gstghostpad.sgml:
24321         * docs/gst/tmpl/gstquery.sgml:
24322         * docs/gst/tmpl/gstutils.sgml:
24323         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24324         (gst_object_sink_values), (gst_object_get_value_arrays),
24325         (gst_object_get_value_array):
24326           gracefully handle helper method calls to objects that are not beeing
24327           controlled, added test case for that          
24328
24329 2005-08-23  Wim Taymans  <wim@fluendo.com>
24330
24331         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24332         (gst_event_new_newsegment), (gst_event_parse_newsegment),
24333         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24334         (gst_event_parse_qos), (gst_event_new_seek),
24335         (gst_event_parse_seek):
24336         * gst/gstevent.h:
24337         Some more debugging output and doc cleanups.
24338
24339         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24340         Fix possible deadlock.
24341
24342 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24343
24344         * docs/gst/gstreamer-docs.sgml:
24345         * docs/gst/gstreamer-sections.txt:
24346         * docs/gst/gstreamer.types:
24347         * docs/gst/tmpl/.cvsignore:
24348         * gst/gstbin.h:
24349         * gst/gstbus.c:
24350         * gst/gstelement.c:
24351         * gst/gstevent.h:
24352           added 100 symbols from gstreamer-unused.txt to the right sections
24353           fixed more broken comments
24354           added GstBus to docs
24355
24356 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24357
24358         * docs/gst/gstreamer-sections.txt:
24359         * docs/gst/tmpl/.cvsignore:
24360         * docs/gst/tmpl/gstbin.sgml:
24361         * docs/gst/tmpl/gstbuffer.sgml:
24362         * gst/base/gstbasesrc.c:
24363         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24364         * gst/gstbuffer.c:
24365         * gst/gstbuffer.h:
24366         * tools/gst-launch.1.in:
24367           inlined more doc comments, added missing comments and fixed comments
24368           fixed typos
24369
24370 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24371
24372         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24373           some debugging
24374         * gst/gstcaps.h:
24375           whitespace fixes
24376         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24377           more debugging
24378         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24379         * gst/gststructure.h:
24380           add a fixate function for booleans; add a FIXME that these func
24381           names should probably be gst_structure_fixate_*
24382
24383 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24384
24385         * docs/gst/gstreamer-docs.sgml:
24386         * docs/gst/gstreamer-sections.txt:
24387         * gst/Makefile.am:
24388         * gst/gstbin.c: (gst_bin_get_type),
24389         (gst_bin_child_proxy_get_child_by_index),
24390         (gst_bin_child_proxy_get_children_count),
24391         (gst_bin_child_proxy_init):
24392         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24393         (gst_child_proxy_get_child_by_index),
24394         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24395         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24396         (gst_child_proxy_get), (gst_child_proxy_set_property),
24397         (gst_child_proxy_set_valist), (gst_child_proxy_set),
24398         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24399         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24400         * gst/gstchildproxy.h:
24401         * gst/parse/grammar.y:
24402         * tools/gst-inspect.c: (print_interfaces),
24403         (print_element_properties_info), (print_element_info):
24404           ported gstchildproxy over from 0.8
24405           ported gst-inspect fixes and enhancements over from 0.8
24406
24407 2005-08-22  Wim Taymans  <wim@fluendo.com>
24408
24409         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24410         (gst_base_transform_handle_buffer):
24411         Also call the transform function if we have ANY caps.
24412
24413         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24414         Fix debug info.
24415
24416 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24417
24418         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24419           Don't pretend to handle seek events if the source is not seekable
24420
24421 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24422
24423         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24424           Remove extra parameter to debug output
24425
24426         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24427         (gst_base_src_do_seek), (gst_base_src_activate_push):
24428           Fix seek event handling.
24429
24430         * gst/gstpipeline.c: (gst_pipeline_change_state):
24431         * gst/gstqueue.c: (gst_queue_handle_sink_event),
24432         (gst_queue_src_activate_push):
24433           Don't start the src pad task on FLUSH_STOP if the pad
24434           isn't linked.
24435           Debug changes.
24436
24437 2005-08-22  Wim Taymans  <wim@fluendo.com>
24438
24439         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24440         Added check for gst_static_caps_get() refcounting.
24441
24442 2005-08-22  Wim Taymans  <wim@fluendo.com>
24443
24444         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24445         Make _static_caps_get() refcounting sane.
24446         
24447         * gst/gstelement.c: (gst_element_set_state):
24448         Add g_return_val_if_fail() to protect against segfaults.
24449
24450 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
24451
24452         * docs/gst/tmpl/gstevent.sgml:
24453         * gst/gstevent.c:
24454         * gst/gstevent.h:
24455           inlined remaining docs, added missing doc comments
24456
24457 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24458
24459         * check/gst/gstbin.c: (GST_START_TEST):
24460           since we don't know when preroll is done, use refcount range
24461           check for the sink
24462         * gst/check/gstcheck.h:
24463           add macro for checking refcount range
24464
24465 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24466
24467         * check/Makefile.am:
24468           clean up environment for when registry gets built versus
24469           when actual tests are run; valgrind seems to not report
24470           leaks if GST_PLUGIN_PATH is set to some specific values
24471         * check/gst/gstbin.c: (GST_START_TEST):
24472           add more refcounting checks; maybe this exposes a
24473           preroll lock bug ?
24474         * common/check.mak:
24475         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24476         * gst/check/gstcheck.h:
24477         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
24478         (gst_bin_change_state):
24479         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
24480           add/fix debugging/whitespace
24481
24482 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
24483
24484         * check/gst/gstevent.c: (event_probe), (test_event),
24485         (GST_START_TEST):
24486          Er, don't call gst_bin_watch_for_state_change you idiot.
24487
24488 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
24489
24490         * check/Makefile.am:
24491           Use CHECK_CFLAGS and CHECK_LIBS
24492         * check/gst/gstevent.c: (event_probe), (test_event),
24493         (GST_START_TEST):
24494           Don't leak events.
24495         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24496         (gst_base_src_start), (gst_base_src_stop),
24497         (gst_base_src_activate_push), (gst_base_src_activate_pull),
24498         (gst_base_src_change_state):
24499           Sprinkle gst_base_src_stop liberally around error paths to fix
24500           problems reusing a source after failed state changes.
24501         * gst/base/gsttypefindhelper.c: (helper_find_peek),
24502         (helper_find_suggest), (gst_type_find_helper):
24503           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
24504         * gst/gstevent.h:
24505         * docs/gst/tmpl/gstevent.sgml:
24506           Migrate part of the docs from the SGML file. Wait for ensonic to
24507           tell me how I did it wrong ;)
24508         * tools/gst-typefind.c: (main):
24509           Extra robustness to state changes between files.
24510
24511 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24512
24513         * check/Makefile.am:
24514           don't valgrind the controller test - it's leaking - Stefan, HELP
24515         * gst/check/gstcheck.c: (gst_check_message_error),
24516         (gst_check_chain_func), (gst_check_setup_element),
24517         (gst_check_teardown_element), (gst_check_setup_src_pad),
24518         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
24519         (gst_check_teardown_sink_pad):
24520         * gst/check/gstcheck.h:
24521           add a bunch of methods to set up elements, and src and sink pads
24522         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
24523         * check/elements/identity.c: (setup_identity), (cleanup_identity),
24524         (GST_START_TEST):
24525           use them
24526         * gst/gstmessage.c:
24527         * gst/gsttag.h:
24528           whitespace/doc fixes
24529
24530 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24531
24532         * gst/gstelement.h:
24533           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
24534           be handled by the application and not always printed as well
24535
24536 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24537
24538         * check/Makefile.am:
24539           set GST_TOOLS_DIR
24540         * gst/check/gstcheck.c: (gst_check_message_error):
24541         * gst/check/gstcheck.h:
24542           add a fail_unless_equals_int
24543           add fail_unless for error messages
24544
24545 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24546
24547         * check/Makefile.am:
24548         * check/gst.supp:
24549         * common/Makefile.am:
24550         * common/check.mak:
24551         * common/gst.supp:
24552           factor out some of the common stuff so we can use it
24553
24554 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24555
24556         * check/Makefile.am:
24557         * check/gst/gstiterator.c: (GST_START_TEST):
24558         * check/gst/gstsystemclock.c: (GST_START_TEST),
24559         (gst_systemclock_suite):
24560         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24561         * gst/gstclock.c:
24562           valgrind more tests
24563
24564 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24565
24566         * check/elements/.cvsignore:
24567         * check/elements/gstfakesrc.c:
24568           rename to name of element
24569         * check/elements/identity.c: (chain_func), (event_func),
24570         (setup_identity), (cleanup_identity), (GST_START_TEST),
24571         (identity_suite), (main):
24572           add a test for identity
24573         * check/Makefile.am:
24574         * pkgconfig/Makefile.am:
24575         * pkgconfig/gstreamer-check.pc.in:
24576         * pkgconfig/gstreamer-check-uninstalled.pc.in:
24577         * gst/check:
24578         * gst/Makefile.am:
24579         * configure.ac:
24580           move the check stuff to a library that gets installed
24581         * check/gst-libs/controller.c: (GST_START_TEST):
24582         * check/gst-libs/gdp.c:
24583         * check/gst/gst.c: (GST_START_TEST):
24584         * check/gst/gstbin.c:
24585         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24586         * check/gst/gstbus.c:
24587         * check/gst/gstcaps.c: (GST_START_TEST):
24588         * check/gst/gstelement.c:
24589         * check/gst/gstghostpad.c:
24590         * check/gst/gstiterator.c:
24591         * check/gst/gstmessage.c:
24592         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
24593         * check/gst/gstobject.c:
24594         * check/gst/gstpad.c: (GST_START_TEST):
24595         * check/gst/gststructure.c: (GST_START_TEST):
24596         * check/gst/gstsystemclock.c: (GST_START_TEST),
24597         (gst_systemclock_suite):
24598         * check/gst/gsttag.c: (gst_tag_suite):
24599         * check/gst/gstvalue.c:
24600         * check/pipelines/cleanup.c:
24601         * check/pipelines/simple_launch_lines.c:
24602         * check/states/sinks.c:
24603           change include statement
24604
24605         * docs/gst/gstreamer-sections.txt:
24606         * docs/gst/tmpl/gstpad.sgml:
24607           document more pad stuff
24608         * gst/gstminiobject.c: (gst_mini_object_ref),
24609         (gst_mini_object_unref):
24610           debug refcounting
24611
24612 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
24613
24614         * docs/gst/tmpl/gst.sgml:
24615         * gst/gst.c:
24616           eliminate another tmpl file, fix spelling in the long-description
24617
24618 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24619
24620         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24621         (test_event), (timediff), (gstevents_suite):
24622           Should fix build on 64-bit arch's
24623
24624 2005-08-18  Andy Wingo  <wingo@pobox.com>
24625
24626         Make sure that when a pipeline goes to PLAYING, that data has
24627         actually hit the sink.
24628
24629         * check/states/sinks.c (test_sink): A sink that doesn't get any
24630         data shouldn't return SUCCESS for going to either PLAYING or
24631         PAUSED. Test also the return values on the way back down.
24632
24633         * gst/gstelement.c (gst_element_set_state): When changing the
24634         state of an element currently changing state asynchronously, go to
24635         lost-state after commiting the pending state. Makes future calls
24636         to get_state continue to return ASYNC.
24637
24638         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
24639         ASYNC when going to PLAYING if we still don't have preroll, as can
24640         happen with live sources.
24641
24642 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24643
24644         * docs/pwg/advanced-types.xml:
24645           Hack long paragraph into 2 chunks as a workaround for buggy
24646           jadetex version in sid and breezy that loops infinitely and
24647           eats all RAM.
24648
24649 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24650
24651         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24652         (test_event), (timediff), (gstevents_suite):
24653           Provide more error margin in clock measurements to allow for 
24654           g_get_current_time inaccuracies.
24655
24656 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24657
24658         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24659         (test_event), (timediff), (gstevents_suite):
24660            Fix error message output so I might be able to tell why the
24661            test works here but fails on the build farm.
24662
24663 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24664
24665         * check/Makefile.am:
24666         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24667         (test_event), (timediff), (gstevents_suite), (main):
24668           I wrote a test!
24669
24670         * docs/design/part-seeking.txt:
24671           Spelling correction
24672
24673         * docs/gst/tmpl/gstevent.sgml:
24674         * docs/gst/tmpl/gstfakesrc.sgml:
24675           Docs updates.
24676
24677         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24678           Treat a buffer-without-newsegment the same as a receiving 
24679           a newsegment not in time format, and disable syncing to the clock
24680           with a warning.
24681
24682         * gst/gstbus.c: (gst_bus_set_sync_handler):
24683           Assert if anyone tries to replace the existing sync_handler for bus, 
24684           as only the owner should be setting it.
24685
24686         * gst/gstevent.h:
24687           Have a fixed set of custom event enums with events identified by
24688           their structure name (as in 0.8), rather than a free-for-all
24689           allowing collisions between enum values from different plugins.
24690
24691         * gst/gstpad.c: (gst_pad_class_init):
24692           Docs change.
24693           
24694         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24695           Handle out-of-band downstream events from the sending thread.
24696
24697 2005-08-17  Andy Wingo  <wingo@pobox.com>
24698
24699         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
24700         play-timeout==0 to mean no timeout at all. In that case, don't
24701         bother with a get_state or a warning, just return directly, even
24702         if it's ASYNC.
24703
24704         * gst/base/gstbasetransform.c: Debug changes.
24705
24706         * gst/gstutils.h:
24707         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
24708         ensure bins post state change messages. A bit of a hack but I can't
24709         think of a way to avoid it.
24710
24711         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
24712
24713 2005-08-16  Andy Wingo  <wingo@pobox.com>
24714
24715         * gst/base/gstadapter.h:
24716         * gst/base/gstadapter.c (gst_adapter_take): New function, like
24717         peek() but you own the data. Not terribly efficient atm.
24718
24719 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24720
24721         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
24722         (gst_element_found_tags):
24723         * gst/gstutils.h:
24724           Add two utility functions for tag handling.
24725
24726 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24727
24728         * docs/manual/advanced-dataaccess.xml:
24729         * docs/manual/basics-helloworld.xml:
24730           Fix docs to use _bin_add() before _link(), which fixes the examples
24731           with recent core versions (reported by Madhan Raj M
24732           <raj_madan@rediffmail.com>, #313199).
24733
24734 2005-08-16  Wim Taymans  <wim@fluendo.com>
24735
24736         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24737         Added subtract checks.
24738
24739         * docs/design/part-events.txt:
24740         Some more docs about newsegment
24741
24742         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24743         Fix FIXME
24744
24745         * gst/gstcaps.c: (gst_caps_to_string):
24746         Add comments, cleanups.
24747         
24748         * gst/gstelement.c: (gst_element_save_thyself):
24749         cleanups
24750         
24751         * gst/gstvalue.c: (gst_value_collect_int_range),
24752         (gst_string_unwrap), (gst_value_union_int_int_range),
24753         (gst_value_union_int_range_int_range),
24754         (gst_value_intersect_int_int_range),
24755         (gst_value_intersect_int_range_int_range),
24756         (gst_value_intersect_double_double_range),
24757         (gst_value_intersect_double_range_double_range),
24758         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
24759         (gst_value_subtract_int_range_int),
24760         (gst_value_subtract_double_range_double),
24761         (gst_value_subtract_double_range_double_range),
24762         (gst_value_subtract_from_list), (gst_value_subtract_list),
24763         (gst_value_can_compare), (gst_value_compare_fraction):
24764         Cleanups, add comments, remove unneeded asserts.
24765
24766 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
24767
24768         * tools/gst-launch.c: (event_loop):
24769           don't convert NULL structures to strings
24770
24771 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
24772
24773         * docs/gst/gstreamer-sections.txt:
24774           made some defines private
24775         * docs/gst/tmpl/gstconfig.sgml:
24776         * docs/gst/tmpl/gstqueue.sgml:
24777         * docs/gst/tmpl/gsttaglist.sgml:
24778         * docs/gst/tmpl/gsttypes.sgml:
24779         * docs/gst/tmpl/gstutils.sgml:
24780         * docs/pwg/appendix-porting.xml:
24781         * gst/base/gstbasesink.h:
24782         * gst/base/gstbasesrc.c:
24783         * gst/base/gstbasesrc.h:
24784         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
24785         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
24786         * gst/gstelement.c: (gst_element_class_init):
24787         * gst/gstpad.c: (gst_pad_class_init):
24788         * gst/gstqueue.c: (gst_queue_class_init):
24789         * gst/gstxml.c: (gst_xml_class_init):
24790           documented all undocumented signal inline
24791         * libs/gst/controller/gst-controller.h:
24792           added padding
24793
24794 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24795
24796         * docs/pwg/appendix-porting.xml:
24797           Document _set_link_function -> _set_setcaps_function.
24798
24799 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
24800
24801         * check/Makefile.am:
24802           add a .check target for running the check
24803         * check/gst-libs/controller.c: (GST_START_TEST):
24804           cosmetic fixups
24805         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24806           complete checks for gstbuffer; would be nice if I could get the
24807           gcov stuff to work so I can see if I actually completed gstbuffer.c
24808         * check/gstcheck.h:
24809           add ASSERT_BUFFER_REFCOUNT
24810
24811 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
24812
24813         * docs/gst/gstreamer-sections.txt:
24814         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
24815         * gst/gsttag.h:
24816           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
24817           spew out a warning if a tag that is already registered
24818           is re-registered, unless it is re-registered with a 
24819           different type (#308438).
24820
24821 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
24822
24823         * docs/pwg/appendix-porting.xml:
24824         * docs/pwg/building-state.xml:
24825           Add some paragraphs about state changes in 0.9 to the PWG
24826           and the porting guide, in particular about the new meaning
24827           of GST_STATE_PAUSED and how to write state change functions
24828           with concurrent access by multiple threads in mind.
24829
24830 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
24831
24832         * docs/gst/gstreamer-docs.sgml:
24833         * docs/libs/gstreamer-libs-docs.sgml:
24834           added deprecation and since indexes
24835         * libs/gst/controller/gst-controller.c:
24836         * libs/gst/controller/gst-helper.c:
24837           added since tags
24838
24839
24840 2005-08-11  Wim Taymans  <wim@fluendo.com>
24841
24842         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
24843         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
24844         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
24845         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
24846         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
24847         (gst_ghost_pad_set_target):
24848         Actually implement (re)setting the target on a ghostpad
24849         as described in the docs.
24850
24851 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
24852
24853         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
24854           Check whether GST_DEBUG_NO_COLOR environment variable is
24855           set and disable coloured debug output if that is the case.
24856
24857 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
24858
24859         * gst/base/gsttypefindhelper.c: (helper_find_peek),
24860         (gst_type_find_helper):
24861           The memory returned by gst_type_find_peek() needs to
24862           stay valid until the end of a typefind function, and
24863           typefind functions may keep results from different 
24864           offsets around, so we can't just unref the buffer from
24865           the previous _peek(), but have to save all buffers 
24866           returned by _peek() until typefinding is done and only
24867           free them then.
24868
24869 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
24870
24871         * docs/gst/gstreamer-sections.txt:
24872         * gst/gstutils.h:
24873           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
24874
24875 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24876
24877         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
24878           Fix a pretty good memleak.
24879
24880 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
24881
24882         * gst/gstiterator.h:
24883           Fix wrong include and 'make distcheck'.
24884
24885 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24886
24887         * gst/gstbin.c: (bin_bus_handler):
24888           Use gst_element_post_message() instead.
24889
24890 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
24891
24892         * gst/base/gstadapter.h:
24893         * gst/base/gstbasesink.h:
24894         * gst/base/gstbasesrc.h:
24895         * gst/base/gstbasetransform.h:
24896         * gst/base/gstcollectpads.h:
24897         * gst/base/gstpushsrc.h:
24898         * gst/gstiterator.h:
24899           Add padding to our base elements' class and instance structs and
24900           to GstIterator (you will need to rebuild all plugins and apps!)
24901
24902 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24903
24904         * gst/gstbin.c: (bin_bus_handler):
24905           Make default message forwarding from child->bus to bin->bus
24906           threadsafe and make it not emit warnings if the parent has no bus.
24907
24908 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24909
24910         * gst/gstelement.c: (activate_pads):
24911           On paused->ready, set pad->caps to NULL, as is the documented
24912           behaviour in this state change. Fixes playback of series of
24913           media files when visualization is enabled in Totem.
24914
24915 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24916
24917         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24918           Allow NULL as filter-caps (which means "any").
24919
24920 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
24921
24922         * docs/libs/gstreamer-libs-sections.txt:
24923         * libs/gst/controller/gst-controller.c:
24924         * libs/gst/controller/gst-controller.h:
24925         * libs/gst/controller/gst-helper.c:
24926           adding more entries to the docs and fix small doc-bugs
24927
24928 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
24929
24930         * docs/gst/gstreamer-docs.sgml:
24931         * docs/gst/gstreamer-sections.txt:
24932         * docs/gst/gstreamer.types:
24933         * docs/gst/tmpl/gstbasesink.sgml:
24934         * docs/gst/tmpl/gstbasesrc.sgml:
24935         * docs/gst/tmpl/gstbasetransform.sgml:
24936         * docs/gst/tmpl/gstfakesrc.sgml:
24937         * gst/base/gstcollectpads.c:
24938         * gst/base/gstcollectpads.h:
24939         * libs/gst/controller/gst-controller.c:
24940         * libs/gst/controller/gst-controller.h:
24941         * libs/gst/controller/gst-helper.c:
24942         * libs/gst/controller/gst-interpolation.c:
24943         * libs/gst/controller/lib.c:
24944           added long/short desc for controller docs
24945           added collectpads base class docs
24946           added correct includes to base-class docs
24947
24948 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
24949
24950         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24951         (gst_test_mono_source_set_property),
24952         (gst_test_mono_source_class_init), (GST_START_TEST),
24953         (gst_controller_suite):
24954         * docs/gst/gstreamer-docs.sgml:
24955         * docs/gst/gstreamer-sections.txt:
24956         * docs/gst/gstreamer.types:
24957         * docs/libs/gstreamer-libs-docs.sgml:
24958         * docs/libs/gstreamer-libs-sections.txt:
24959         * gst/base/gstadapter.c:
24960         * libs/gst/controller/gst-controller.c:
24961         (gst_controlled_property_new), (gst_controlled_property_free),
24962         (gst_controller_new_valist),
24963         (gst_controller_remove_properties_valist),
24964         (gst_controller_sink_values), (_gst_controller_finalize):
24965         * libs/gst/controller/gst-controller.h:
24966         * libs/gst/controller/gst-helper.c:
24967         (gst_object_control_properties), (gst_object_uncontrol_properties),
24968         (gst_object_get_controller), (gst_object_set_controller),
24969         (gst_object_sink_values), (gst_object_get_value_arrays),
24970         (gst_object_get_value_array):
24971           more tests (and fixes) for the controller
24972           more docs for the controller
24973           integrated companies docs for the adapter 
24974
24975 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24976
24977         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
24978         (GST_START_TEST), (fakesrc_suite):
24979           add tests for sizetype
24980
24981 2005-08-04  Andy Wingo  <wingo@pobox.com>
24982
24983         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
24984         fixes buffer_alloc proxying among other things.
24985
24986         * gst/base/gstbasetransform.c:
24987         * gst/base/gstbasetransform.h:
24988         Revert patch to gstbasetransform from 7-28 removing
24989         delay_configure.
24990
24991         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
24992         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
24993         Semantics changed, should return not the size of the output buffer
24994         but the byte size of a buffer with a given caps.
24995
24996         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
24997         debug object.
24998         (gst_base_transform_configure_caps): Don't set out_size here: (in,
24999         out) are not the pad caps until setcaps finishes.
25000         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
25001         not-in-place case as well. Deal with changing from in-place to
25002         not-in-place within calling pad_alloc_buffer. Still a bit
25003         concerned about the overhead here...
25004
25005 2005-08-03  Andy Wingo  <wingo@pobox.com>
25006
25007         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
25008         fixating is an error.
25009
25010 2005-08-04  Edward Hervey  <edward@fluendo.com>
25011
25012         * gst/base/gstadapter.h: 
25013         Added gst_adapter_get_type() to the header
25014
25015 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25016
25017         * check/Makefile.am:
25018         * check/gst-libs/controller.c:
25019         * libs/gst/controller/gst-controller.c:
25020         (gst_controller_new_valist):
25021           added check test suite for the controller
25022         * gst/base/gstpushsrc.c:
25023           fixed a doc typo
25024
25025 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25026
25027         * docs/gst/Makefile.am:
25028         * docs/gst/gstreamer-docs.sgml:
25029         * docs/gst/gstreamer-sections.txt:
25030         * docs/gst/gstreamer.types:
25031         * docs/gst/tmpl/gstfakesrc.sgml:
25032         * gst/base/README:
25033         * gst/base/gstbasesink.c:
25034         * gst/base/gstbasesink.h:
25035         * gst/base/gstbasesrc.c:
25036         * gst/base/gstbasesrc.h:
25037         * gst/base/gstbasetransform.c:
25038         * gst/base/gstpushsrc.c:
25039         * gst/base/gstpushsrc.h:
25040           add short/long description docs to base classes
25041           add pushsrc to the docs
25042           remove consolidated doc fragments
25043
25044 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25045
25046         * configure.ac:
25047         * docs/libs/Makefile.am:
25048         * docs/libs/gstreamer-libs-docs.sgml:
25049         * docs/libs/gstreamer-libs-sections.txt:
25050         * docs/libs/gstreamer-libs.types:
25051         * examples/Makefile.am:
25052         * examples/controller/.cvsignore:
25053         * examples/controller/Makefile.am:
25054         * examples/controller/audio-example.c: (main):
25055         * libs/gst/Makefile.am:
25056         * libs/gst/controller/.cvsignore:
25057         * libs/gst/controller/Makefile.am:
25058         * libs/gst/controller/gst-controller.c:
25059         (on_object_controlled_property_changed), (gst_timed_value_compare),
25060         (gst_timed_value_find),
25061         (gst_controlled_property_set_interpolation_mode),
25062         (gst_controlled_property_new), (gst_controlled_property_free),
25063         (gst_controller_find_controlled_property),
25064         (gst_controller_new_valist), (gst_controller_new),
25065         (gst_controller_remove_properties_valist),
25066         (gst_controller_remove_properties), (gst_controller_set),
25067         (gst_controller_set_from_list), (gst_controller_unset),
25068         (gst_controller_get), (gst_controller_get_all),
25069         (gst_controller_sink_values), (gst_controller_get_value_arrays),
25070         (gst_controller_get_value_array),
25071         (gst_controller_set_interpolation_mode),
25072         (_gst_controller_finalize), (_gst_controller_init),
25073         (_gst_controller_class_init), (gst_controller_get_type):
25074         * libs/gst/controller/gst-controller.h:
25075         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
25076         (g_object_uncontrol_properties), (g_object_get_controller),
25077         (g_object_set_controller), (g_object_sink_values),
25078         (g_object_get_value_arrays), (g_object_get_value_array):
25079         * libs/gst/controller/gst-interpolation.c:
25080         (gst_controlled_property_find_timed_value_node),
25081         (interpolate_none_get), (interpolate_trigger_get),
25082         (interpolate_trigger_get_value_array):
25083         * libs/gst/controller/lib.c: (gst_controller_init):
25084         * pkgconfig/Makefile.am:
25085         * pkgconfig/gstreamer-control-uninstalled.pc.in:
25086         * pkgconfig/gstreamer-control.pc.in:
25087         * testsuite/Makefile.am:
25088         * testsuite/controller/.cvsignore:
25089         * testsuite/controller/Makefile.am:
25090         * testsuite/controller/interpolator.c: (main):
25091           added controller code
25092           removed dparam pc files
25093
25094 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
25095         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
25096         (gst_collectpads_stop):
25097           Broadcast the condition when shutting down, to make sure we wake all
25098           threads up. Shut down pads on finalize, for safety.
25099
25100 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
25101         * gst/base/gstbasetransform.c: (gst_base_transform_init),
25102         (gst_base_transform_handle_buffer),
25103         (gst_base_transform_change_state):
25104           Handle PAUSED->READY->PAUSED transition after negotiation
25105           occurred already.
25106         * gst/gstmessage.c: (gst_message_init):
25107           Extra piece of debug for new messages.
25108
25109 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
25110
25111         * configure.ac:
25112         * docs/gst/tmpl/gstbasesrc.sgml:
25113         * docs/gst/tmpl/gstelement.sgml:
25114         * docs/gst/tmpl/gstevent.sgml:
25115         * docs/gst/tmpl/gstfakesrc.sgml:
25116         * docs/gst/tmpl/gstformat.sgml:
25117         * docs/gst/tmpl/gstghostpad.sgml:
25118         * docs/gst/tmpl/gstpad.sgml:
25119         * docs/gst/tmpl/gstquery.sgml:
25120         * docs/gst/tmpl/gststructure.sgml:
25121         * docs/gst/tmpl/gsttaglist.sgml:
25122         * docs/gst/tmpl/gstvalue.sgml:
25123         * docs/libs/gstreamer-libs-docs.sgml:
25124         * docs/libs/gstreamer-libs-sections.txt:
25125         * docs/libs/gstreamer-libs.types:
25126         * libs/gst/Makefile.am:
25127         * libs/gst/control/.cvsignore:
25128         * libs/gst/control/Makefile.am:
25129         * libs/gst/control/control.c:
25130         * libs/gst/control/control.h:
25131         * libs/gst/control/dparam.c:
25132         * libs/gst/control/dparam.h:
25133         * libs/gst/control/dparam_smooth.c:
25134         * libs/gst/control/dparam_smooth.h:
25135         * libs/gst/control/dparamcommon.h:
25136         * libs/gst/control/dparammanager.c:
25137         * libs/gst/control/dparammanager.h:
25138         * libs/gst/control/dplinearinterp.c:
25139         * libs/gst/control/dplinearinterp.h:
25140         * libs/gst/control/unitconvert.c:
25141         * libs/gst/control/unitconvert.h:
25142         * testsuite/Makefile.am:
25143         * testsuite/dynparams/.cvsignore:
25144         * testsuite/dynparams/Makefile.am:
25145         * testsuite/dynparams/dparamstest.c:
25146         * tools/Makefile.am:
25147         * tools/gst-inspect.c: (print_element_info), (main):
25148         * tools/gst-xmlinspect.c: (print_element_info), (main):
25149           deactivate and remove dparams (libgstcontrol)
25150
25151 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25152
25153         * gst/elements/gsttypefindelement.c:
25154         (gst_type_find_element_have_type), (gst_type_find_element_init),
25155         (stop_typefinding), (gst_type_find_element_handle_event),
25156         (gst_type_find_element_chain), (gst_type_find_element_getrange):
25157         * gst/elements/gsttypefindelement.h:
25158           Set caps on all outgoing buffers, not just the first one.
25159
25160 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25161
25162         * gst/elements/gsttypefindelement.c:
25163         (gst_type_find_element_have_type),
25164         (gst_type_find_element_check_set_buffer_caps),
25165         (gst_type_find_element_init), (stop_typefinding),
25166         (gst_type_find_element_handle_event),
25167         (gst_type_find_element_chain), (gst_type_find_element_getrange):
25168         * gst/elements/gsttypefindelement.h:
25169           Set caps on first outgoing buffer when we've found the type.
25170
25171 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25172
25173         * docs/gst/gstreamer-docs.sgml:
25174         * docs/gst/gstreamer-sections.txt:
25175         * docs/gst/tmpl/gstscheduler.sgml:
25176         * docs/gst/tmpl/gstschedulerfactory.sgml:
25177           Remove some old cruft from docs.
25178
25179 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
25180
25181         * gst/gstpad.h:
25182           Fix inline docs for GstPadLinkReturn.
25183           
25184         * gst/gststructure.c: (gst_structure_has_name):
25185         * gst/gststructure.h:
25186         * docs/gst/gstreamer-sections.txt:
25187           New API: gst_structure_has_name().
25188
25189 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
25190
25191         * configure.ac:
25192           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
25193           and _LARGEFILE_SOURCE in config.h as required. Do not 
25194           export those flags in our .pc files any longer (#142209).
25195
25196           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
25197
25198         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
25199         (gst_file_sink_do_seek), (gst_file_sink_event),
25200         (gst_file_sink_get_current_offset), (gst_file_sink_render):
25201           Redo seek/tell calls with large file support in mind; add some
25202           debugging messages; add log message that tells us when large
25203           file support is unavailable or not enabled for some reason.
25204
25205         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
25206           Add log message that tells us when large file support 
25207           is unavailable or not enabled for some reason.
25208
25209 2005-07-29  Wim Taymans  <wim@fluendo.com>
25210
25211         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25212         Added test for removing an element with ghostpad from a bin.
25213         Fixed test as current implementation does the right thing.
25214
25215         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
25216         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
25217         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
25218         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
25219         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
25220         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
25221         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
25222         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25223         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
25224         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
25225         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
25226         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
25227         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25228         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25229         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25230         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25231         * gst/gstghostpad.h:
25232         Clean up ghostpads, remove properties for internal stuff.
25233         Make threadsafe.
25234         Fix refcounting.
25235         Prepare for switching targets, not all use cases work yet.
25236
25237 2005-07-29  Wim Taymans  <wim@fluendo.com>
25238
25239         * docs/design/part-gstghostpad.txt:
25240         Small update.
25241
25242         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25243         (gst_bin_remove_func):
25244         Unlinking pads while holding the bin LOCK is not a good
25245         idea.
25246
25247         * gst/gstpad.c: (gst_pad_class_init),
25248         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25249         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25250         No prob setting template after creating the pad.
25251
25252 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
25253
25254         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25255         (gst_bus_peek), (gst_bus_source_dispatch),
25256         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25257         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25258           gst_bus_poll may be called from other threads. Handle
25259           this nicely by not making poll_data disappear off the
25260           stack once gst_bus_poll returns.
25261           gst_bus_peek now increments the refcount on the returned
25262           message.
25263
25264 2005-07-29  Wim Taymans  <wim@fluendo.com>
25265
25266         * docs/design/part-gstghostpad.txt:
25267         Overview of current GhostPad datastructures and use
25268         cases for changing the target.
25269
25270 2005-07-28  Wim Taymans  <wim@fluendo.com>
25271
25272         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25273         Added checks for hierarchy consistency whan adding linked
25274         elements to bins.
25275
25276         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25277         Added check to test element scheduling without bin/pipeline.
25278
25279         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25280         First add elements to bin, then link.
25281         
25282         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25283         (gst_bin_remove_func):
25284         Unlink pads from elements added/removed from bin to maintain
25285         hierarchy consistency.
25286
25287 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25288
25289         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25290         (gst_base_transform_handle_buffer):
25291         * gst/base/gstbasetransform.h:
25292           Remove broken delay_configure (fixes renegotiation of software
25293           scaling pipelines); remove some leftover printf()s.
25294
25295 2005-07-28  Wim Taymans  <wim@fluendo.com>
25296
25297         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25298         Added some more tests for wrong hierarchy
25299
25300         * docs/design/part-overview.txt:
25301         Some updates.
25302
25303         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25304         Cleanups.
25305
25306         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25307         (gst_element_dispose):
25308         Some more cleanups.
25309
25310         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25311         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25312         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25313         (gst_pad_set_caps), (gst_pad_send_event):
25314         Check for correct hierarchy when linking pads. Moving to
25315         strict requirement for ghostpads when linking elements in
25316         different bins.
25317
25318         * gst/gstpad.h:
25319         Clean ups. Added WRONG_HIERARCHY return value.
25320
25321 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25322
25323         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25324           Better debug if no transform is possible.
25325
25326 2005-07-27  Wim Taymans  <wim@fluendo.com>
25327
25328         * docs/random/wtay/network-transp:
25329         Some old doc I had.
25330
25331 2005-07-27  Wim Taymans  <wim@fluendo.com>
25332
25333         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25334         (gst_dp_event_from_packet):
25335         Fix serialization of seek events.
25336
25337 2005-07-27  Wim Taymans  <wim@fluendo.com>
25338
25339         * check/gst-libs/gdp.c: (GST_START_TEST):
25340         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25341         Fix compilation and fix event serialization.
25342
25343 2005-07-27  Wim Taymans  <wim@fluendo.com>
25344
25345         * CHANGES-0.9:
25346         * docs/design/part-TODO.txt:
25347         * docs/design/part-events.txt:
25348         Some docs updates
25349
25350         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25351         (gst_base_sink_event), (gst_base_sink_do_sync),
25352         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25353         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25354         (gst_base_src_do_seek), (gst_base_src_event_handler),
25355         (gst_base_src_loop):
25356         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25357         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25358         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25359         (gst_base_transform_event), (gst_base_transform_handle_buffer),
25360         (gst_base_transform_set_passthrough),
25361         (gst_base_transform_is_passthrough):
25362         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25363         * gst/elements/gstfilesink.c: (gst_file_sink_event):
25364         Event updates.
25365
25366         * gst/gstbuffer.h:
25367         Use faster casts.
25368
25369         * gst/gstelement.c: (gst_element_seek):
25370         * gst/gstelement.h:
25371         Update gst_element_seek.
25372
25373         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25374         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25375         (gst_event_new_flush_start), (gst_event_new_flush_stop),
25376         (gst_event_new_eos), (gst_event_new_newsegment),
25377         (gst_event_parse_newsegment), (gst_event_new_tag),
25378         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25379         (gst_event_parse_qos), (gst_event_new_seek),
25380         (gst_event_parse_seek), (gst_event_new_navigation):
25381         * gst/gstevent.h:
25382         Make GstEvent use GstStructure. Add parsing code, make sure the
25383         API is sufficiently generic.
25384         Mark possible directions of events and serialization.
25385
25386         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25387         (_gst_message_copy), (gst_message_new_segment_start),
25388         (gst_message_new_segment_done), (gst_message_new_custom),
25389         (gst_message_parse_segment_start),
25390         (gst_message_parse_segment_done):
25391         Small cleanups.
25392
25393         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25394         (gst_pad_set_caps), (gst_pad_send_event):
25395         Update for new events. 
25396         Catch events sent in wrong directions.
25397
25398         * gst/gstqueue.c: (gst_queue_link_src),
25399         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25400         (gst_queue_handle_src_query):
25401         Event updates.
25402
25403         * gst/gsttag.c:
25404         * gst/gsttag.h:
25405         Remove event code from this file.
25406
25407         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25408         (gst_dp_event_from_packet):
25409         Event updates.
25410
25411 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25412
25413         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25414         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25415         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25416           Make debugging actually useful.
25417
25418 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25419
25420         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25421         (gst_pad_fixate_caps):
25422           Implement default fixation once again, so that gst_pad_fixate()
25423           actually does anything at all. This probably needs to be some
25424           sort of a last resort, and use profile-based fixation first, but
25425           since that doesn't exist yet, this is the best we have. Fixes
25426           visualization in Totem.
25427
25428 2005-07-22  Wim Taymans  <wim@fluendo.com>
25429
25430         * docs/design/part-events.txt:
25431         Small update.
25432
25433         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25434         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25435         (gst_base_sink_activate_pull):
25436         Some more comments.
25437
25438         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25439         (gst_fake_src_create):
25440         Fix handoff marshall.
25441
25442         * gst/elements/gstidentity.c: (gst_identity_class_init),
25443         (gst_identity_transform_ip):
25444         We're a real inplace element.
25445
25446         * gst/gstbus.c: (gst_bus_post):
25447         Added some comments.
25448
25449         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25450         * tests/muxing/case1.c: (main):
25451         * tests/sched/dynamic-pipeline.c: (main):
25452         * tests/sched/interrupt1.c: (main):
25453         * tests/sched/interrupt2.c: (main):
25454         * tests/sched/interrupt3.c: (main):
25455         * tests/sched/runxml.c: (main):
25456         * tests/sched/sched-stress.c: (main):
25457         * tests/seeking/seeking1.c: (event_received), (main):
25458         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25459         (main):
25460         * tests/threadstate/threadstate3.c: (main):
25461         * tests/threadstate/threadstate4.c: (main):
25462         * tests/threadstate/threadstate5.c: (main):
25463         Fix the tests.
25464
25465 2005-07-21  Wim Taymans  <wim@fluendo.com>
25466
25467         * docs/design/part-seeking.txt:
25468         Some small additions.
25469
25470         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25471         (gst_base_sink_get_times), (gst_base_sink_do_sync),
25472         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25473         * gst/base/gstbasesink.h:
25474         discont values are gint64, handle the math correctly.
25475
25476         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25477         Make the basesrc report error if the source pad is not linked.
25478
25479         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
25480         (gst_queue_loop), (gst_queue_handle_src_query),
25481         (gst_queue_src_activate_push):
25482         Make queue collect data even if the srcpad is not linked.
25483         Start pushing out data as soon as it is linked.
25484
25485         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
25486         * gst/gstutils.h:
25487         Added gst_flow_get_name() to ease error reporting.
25488
25489 2005-07-20  Wim Taymans  <wim@fluendo.com>
25490
25491         * gst/gstmessage.c: (gst_message_new_segment_start),
25492         (gst_message_new_segment_done), (gst_message_parse_segment_start),
25493         (gst_message_parse_segment_done):
25494         * gst/gstmessage.h:
25495         Added a bunch of messages for advanced seeking.
25496
25497         * gst/parse/grammar.y:
25498         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
25499         (gst_dpman_state_changed):
25500         Fix some new-pad -> pad-added signals
25501
25502 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25503
25504         * docs/manual/appendix-porting.xml:
25505         * docs/pwg/appendix-porting.xml:
25506           Document new-pad/state-change signal renames and the FixedList
25507           type rename.
25508
25509 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25510
25511         * docs/manual/advanced-autoplugging.xml:
25512         * docs/manual/basics-helloworld.xml:
25513         * docs/manual/basics-pads.xml:
25514         * docs/random/ds/0.9-suggested-changes:
25515         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
25516         * gst/gstelement.h:
25517         * gst/gstevent.h:
25518         * gst/gstformat.h:
25519         * gst/gstquery.h:
25520         * gst/gststructure.c: (gst_structure_value_get_generic_type),
25521         (gst_structure_parse_array), (gst_structure_parse_value):
25522         * gst/gstvalue.c: (gst_type_is_fixed),
25523         (gst_value_list_prepend_value), (gst_value_list_append_value),
25524         (gst_value_list_get_size), (gst_value_list_get_value),
25525         (gst_value_transform_array_string), (gst_value_serialize_array),
25526         (gst_value_deserialize_array), (gst_value_intersect_array),
25527         (gst_value_is_fixed), (_gst_value_initialize):
25528         * gst/gstvalue.h:
25529           GstElement::new-pad -> pad-added, GstElement::state-change ->
25530           state-changed, GstValueFixedList -> GstValueArray, add format and
25531           flags as their own arguments in gst_element_seek() (should improve
25532           "bindeability"), remove function generators since they don't work
25533           under a whole bunch of compilers (they were deprecated already
25534           anyway).
25535
25536 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25537
25538         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25539         (_gst_debug_register_funcptr):
25540         * gst/gstinfo.h:
25541           Fix illegal cast on some platforms (#309253).
25542
25543 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25544
25545         * gst/gstmessage.c: (gst_message_new_custom):
25546         * gst/gstmessage.h:
25547           Add _new_custom, make _new_application a macro to _new_custom.
25548
25549 2005-07-20  Wim Taymans  <wim@fluendo.com>
25550
25551         * gst/base/gstbasesrc.c: (gst_base_src_init),
25552         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
25553         * gst/base/gstbasesrc.h:
25554         Add a gboolean to decide when to push out a discont.
25555
25556         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25557         (gst_queue_loop), (gst_queue_handle_src_query),
25558         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
25559         (gst_queue_set_property), (gst_queue_get_property):
25560         Some cleanups.
25561
25562         * tests/threadstate/threadstate1.c: (main):
25563         Make a thread test compile and run... very silly..
25564
25565
25566 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25567
25568         * docs/manual/appendix-porting.xml:
25569           Mention removal of libgstgconf-0.9.la and existence of gconf
25570           elements.
25571
25572 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25573
25574         * docs/pwg/advanced-clock.xml:
25575         * docs/pwg/appendix-porting.xml:
25576         * docs/pwg/intro-preface.xml:
25577         * docs/pwg/other-base.xml:
25578         * docs/pwg/other-manager.xml:
25579         * docs/pwg/other-nton.xml:
25580         * docs/pwg/other-ntoone.xml:
25581         * docs/pwg/other-oneton.xml:
25582         * docs/pwg/pwg.xml:
25583           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
25584           demuxer), remove n-to-n (was never written), fix some code examples
25585           and links and update the porting section to include all this.
25586
25587 2005-07-19  Wim Taymans  <wim@fluendo.com>
25588
25589         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
25590         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
25591         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
25592         (gst_queue_src_activate_push), (gst_queue_change_state),
25593         (gst_queue_get_property):
25594         * gst/gstqueue.h:
25595         Propagate GstFlowReturn more intelligently upstream and output
25596         an ERROR/EOS when streaming stopped due to fatal error.
25597
25598 2005-07-19  Wim Taymans  <wim@fluendo.com>
25599
25600         * tools/gst-launch.c: (check_intr), (event_loop), (main):
25601         Don't block forever for the state change to complete, the
25602         pipeline already did with a sensible timeout.
25603
25604 2005-07-19  Wim Taymans  <wim@fluendo.com>
25605
25606         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
25607         Make sure we never call the create function is we
25608         got deactivated.
25609
25610 2005-07-19  Andy Wingo  <wingo@pobox.com>
25611
25612         * gst/parse/parse.l: Attempt to solve bug #172815.
25613
25614 2005-07-19  Wim Taymans  <wim@fluendo.com>
25615
25616         * docs/design/part-clocks.txt:
25617         * docs/design/part-events.txt:
25618         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
25619         Small docs updates.
25620         Only update the seeking values when we are not
25621         busy streaming.
25622
25623 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
25624
25625         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25626           Oops, ignore the result of gst_pad_push_event here.
25627
25628 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
25629
25630         * gst/base/gstbasesrc.c: (gst_base_src_loop),
25631         (gst_base_src_activate_push):
25632           Send discont event from the loop function, as pads
25633           aren't activated yet in the activate_push handler.
25634
25635         * gst/gstbin.c: (bin_bus_handler):
25636           Don't leak element name.
25637
25638 2005-07-18  Andy Wingo  <wingo@pobox.com>
25639
25640         * configure.ac: Use AS_LIBTOOL_TAGS.
25641
25642 2005-07-18  Wim Taymans  <wim@fluendo.com>
25643
25644         * docs/gst/gstreamer.types:
25645         Remove deleted types.
25646
25647 2005-07-18  Wim Taymans  <wim@fluendo.com>
25648
25649         * check/elements/gstfakesrc.c: (GST_START_TEST):
25650         * configure.ac:
25651         * gst/Makefile.am:
25652         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
25653         (init_popt_callback):
25654         * gst/gst.h:
25655         * gst/gst_private.h:
25656         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
25657         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
25658         * gst/gstbin.h:
25659         * gst/gstbus.h:
25660         * gst/gstconfig.h.in:
25661         * gst/gstelement.c: (gst_element_class_init),
25662         (gst_element_set_base_time), (gst_element_get_base_time),
25663         (iterator_fold_with_resync), (gst_element_change_state),
25664         (gst_element_dispose), (gst_element_get_bus):
25665         * gst/gstelement.h:
25666         * gst/gstelementfactory.h:
25667         * gst/gsterror.c: (_gst_core_errors_init):
25668         * gst/gsterror.h:
25669         * gst/gstevent.h:
25670         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25671         * gst/gstindex.c:
25672         * gst/gstinfo.c: (_gst_debug_init):
25673         * gst/gstmessage.c: (_gst_message_copy):
25674         * gst/gstmessage.h:
25675         * gst/gstminiobject.h:
25676         * gst/gstobject.c:
25677         * gst/gstobject.h:
25678         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25679         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
25680         * gst/gstpad.h:
25681         * gst/gstparse.h:
25682         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
25683         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25684         (gst_pipeline_get_last_stream_time):
25685         * gst/gstpipeline.h:
25686         * gst/gstpluginfeature.h:
25687         * gst/gstquery.h:
25688         * gst/gstscheduler.c:
25689         * gst/gstscheduler.h:
25690         * gst/gststructure.h:
25691         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25692         (gst_task_finalize), (gst_task_func), (gst_task_create),
25693         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
25694         (gst_task_stop), (gst_task_pause):
25695         * gst/gsttask.h:
25696         * gst/gsttypefind.h:
25697         * gst/gsttypes.h:
25698         * gst/registries/gstlibxmlregistry.c: (load_feature),
25699         (gst_xml_registry_load), (gst_xml_registry_save_feature):
25700         * gst/registries/gstxmlregistry.c:
25701         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
25702         * gst/schedulers/threadscheduler.c:
25703         * libs/gst/control/dparammanager.h:
25704         * tools/gst-inspect.c: (print_element_list),
25705         (print_plugin_features), (print_element_features):
25706         * tools/gst-xmlinspect.c: (print_element_list),
25707         (print_plugin_info), (main):
25708         Removed plugable schedulers.
25709         Removed Scheduler/Manager from elements.
25710         Removed gsttypes.h, rearranged includes.
25711         Removed dependency pad<->element, element<>pipeline, and
25712         various others,  fix includes.
25713         implement gst_pad_get_parent() with gst_object_get_parent()
25714         Make GstTask sefcontained.
25715         Fix _get_state() on GstBin, it did not return ASYNC with a 0
25716         timeout.
25717         Fix endless loop in iterator_fold_with_resync.
25718
25719
25720 2005-07-18  Wim Taymans  <wim@fluendo.com>
25721
25722         * gst/Makefile.am:
25723         * gst/gstarch.h:
25724         Remove old file.
25725
25726 2005-07-18  Wim Taymans  <wim@fluendo.com>
25727
25728         * gst/Makefile.am:
25729         No more cothreads.h
25730
25731 2005-07-18  Wim Taymans  <wim@fluendo.com>
25732
25733         * gst/cothreads.c:
25734         * gst/cothreads.h:
25735         Let's remove these.
25736
25737 2005-07-18  Wim Taymans  <wim@fluendo.com>
25738
25739         * docs/design/part-dynamic.txt:
25740         * docs/design/part-events.txt:
25741         * docs/design/part-seeking.txt:
25742         Some more docs in the works.
25743
25744         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25745         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
25746         (gst_base_transform_setcaps), (gst_base_transform_get_size),
25747         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25748         (gst_base_transform_handle_buffer),
25749         (gst_base_transform_sink_activate_push),
25750         (gst_base_transform_src_activate_pull),
25751         (gst_base_transform_set_passthrough),
25752         (gst_base_transform_is_passthrough):
25753         Refcounting fixes.
25754
25755         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
25756         Cleanups.
25757
25758         * gst/gstevent.c: (gst_event_finalize):
25759         Set SRC to NULL.
25760
25761         * gst/gstutils.c: (gst_element_unlink),
25762         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
25763         (gst_pad_proxy_setcaps):
25764         * gst/gstutils.h:
25765         Add _get_parent_element() to get a pads parent as an element.
25766
25767 2005-07-18  Wim Taymans  <wim@fluendo.com>
25768
25769         * check/gst/gstbin.c: (GST_START_TEST):
25770         Remove bogus test.
25771
25772 2005-07-18  Wim Taymans  <wim@fluendo.com>
25773
25774         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
25775         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
25776         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
25777         (gst_base_sink_event), (gst_base_sink_do_sync),
25778         (gst_base_sink_chain), (gst_base_sink_loop),
25779         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
25780         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
25781         Refcounting fixes.
25782         Fix logic for returning ASYNC when not prerolled.
25783
25784 2005-07-18  Wim Taymans  <wim@fluendo.com>
25785
25786         * gst/gstqueue.c: (gst_queue_handle_sink_event):
25787         Fix nasty refcount bug.
25788
25789 2005-07-16 Philippe Khalaf <burger@speedy.org>
25790
25791         * gst/elements/gstfdsrc.c:
25792         * gst/elements/gstfdsrc.h:
25793         * gst/elements/gstelements.c:
25794         * gst/elements/Makefile.am:
25795         Ported fdsrc to 0.9.
25796
25797 2005-07-16  Wim Taymans  <wim@fluendo.com>
25798
25799         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25800         (gst_base_sink_do_sync):
25801         Fix compile error.
25802
25803 2005-07-16  Wim Taymans  <wim@fluendo.com>
25804
25805         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25806         (gst_base_sink_event), (gst_base_sink_get_times),
25807         (gst_base_sink_do_sync), (gst_base_sink_change_state):
25808         * gst/base/gstbasesink.h:
25809         Store and use discont values when syncing buffers as described
25810         in design docs.
25811         
25812         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25813         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
25814         (gst_base_src_activate_push):
25815         Push discont event when starting.
25816
25817         * gst/elements/gstidentity.c: (gst_identity_transform):
25818         Small cleanups.
25819
25820         * gst/gstbin.c: (gst_bin_change_state):
25821         Small cleanups in base_time  distribution.
25822
25823         * gst/gstelement.c: (gst_element_set_base_time),
25824         (gst_element_get_base_time), (gst_element_change_state):
25825         * gst/gstelement.h:
25826         Added methods for the base_time of the element.
25827         Some MT fixes.
25828
25829         * gst/gstpipeline.c: (gst_pipeline_send_event),
25830         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25831         (gst_pipeline_get_last_stream_time):
25832         * gst/gstpipeline.h:
25833         MT fixes.
25834         Handle seeking as described in design doc, remove stream_time
25835         hack.
25836         Cleanups clock and stream_time selection code. Added accessors
25837         for the stream_time.
25838         
25839
25840 2005-07-16  Andy Wingo  <wingo@pobox.com>
25841
25842         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
25843         (#305291).
25844
25845 2005-07-16  Wim Taymans  <wim@fluendo.com>
25846
25847         * check/gst/gstbin.c: (GST_START_TEST):
25848         Make elements silent as the deep_notify refs the
25849         parent, which might make the test fail.
25850
25851         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25852         Don't hold the lock for too long.
25853
25854 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
25855
25856         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
25857           Don't unref the caps we passed to gst_caps_make_writable() after
25858           passing them. gst_caps_make_writable() will do that for us.
25859
25860 2005-07-15  Andy Wingo  <wingo@pobox.com>
25861
25862         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
25863         (#157311).
25864
25865         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
25866         own marshalling function for the handoff signal. Properly type the
25867         buffer as a buffer. Fixes some warnings. Should do a more general
25868         solution.
25869         (gst_identity_class_init): Plug into the right marshaller.
25870
25871 2005-07-15  Wim Taymans  <wim@fluendo.com>
25872
25873         * docs/design/part-TODO.txt:
25874         * docs/design/part-clocks.txt:
25875         * docs/design/part-element-sink.txt:
25876         * docs/design/part-events.txt:
25877         * docs/design/part-gstpipeline.txt:
25878         Updated docs, mostly DISCONT related.
25879
25880 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
25881
25882         * docs/pwg/building-pads.xml:
25883           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
25884
25885 2005-07-15  Andy Wingo  <wingo@pobox.com>
25886
25887         * tools/gst-typefind.c: Update, add copyright block.
25888
25889         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
25890         Normalize and truncate caps before fixation.
25891
25892         * gst/gstcaps.h:
25893         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
25894         discards all but the first structure from its argument.
25895
25896 2005-07-15  Wim Taymans  <wim@fluendo.com>
25897
25898         * gst/base/gstbasetransform.c: (gst_base_transform_init),
25899         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
25900         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25901         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25902         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
25903         (gst_base_transform_chain), (gst_base_transform_change_state),
25904         (gst_base_transform_set_passthrough),
25905         (gst_base_transform_is_passthrough):
25906         * gst/base/gstbasetransform.h:
25907         Make passthrough work using the bufferpools.
25908         Changed API a bit, subclasses have to write into a buffer
25909         provided by the base class.
25910         More debug info in nego functions.
25911         
25912         * gst/elements/gstidentity.c: (gst_identity_init),
25913         (gst_identity_transform):
25914         Port to new base class.
25915
25916 2005-07-15  Wim Taymans  <wim@fluendo.com>
25917
25918         * gst/gstmessage.c: (gst_message_new_state_changed):
25919         * tools/gst-launch.c: (event_loop), (main):
25920         Totally dump messages in -launch with the -m option.
25921         Fix message name for State messages,
25922
25923 2005-07-14  Wim Taymans  <wim@fluendo.com>
25924
25925         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25926         Post error messages on errors.
25927
25928 2005-07-14  Wim Taymans  <wim@fluendo.com>
25929
25930         * gst/gstcaps.c: (gst_caps_do_simplify):
25931         Remove debug info.
25932
25933         * gst/gsterror.h:
25934         Define error for stream stopped.
25935
25936         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25937         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
25938         Do proper return values.
25939
25940         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25941         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
25942         (gst_pad_get_range):
25943         Better return values.
25944
25945         * gst/gstpad.h:
25946         Reorganise return values, add macro to check for fatal errors.
25947
25948         * gst/gstqueue.c: (gst_queue_chain):
25949         Return proper GstFlowReturn values,
25950
25951 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
25952
25953         * docs/gst/gstreamer-sections.txt:
25954         * docs/gst/gstreamer.types:
25955         * docs/gst/tmpl/gst.sgml:
25956         * docs/gst/tmpl/gstbasesink.sgml:
25957         * docs/gst/tmpl/gstbasesrc.sgml:
25958         * docs/gst/tmpl/gstbasetransform.sgml:
25959         * docs/gst/tmpl/gstbin.sgml:
25960         * docs/gst/tmpl/gstbuffer.sgml:
25961         * docs/gst/tmpl/gstcaps.sgml:
25962         * docs/gst/tmpl/gstclock.sgml:
25963         * docs/gst/tmpl/gstcompat.sgml:
25964         * docs/gst/tmpl/gstconfig.sgml:
25965         * docs/gst/tmpl/gstelement.sgml:
25966         * docs/gst/tmpl/gstelementdetails.sgml:
25967         * docs/gst/tmpl/gstelementfactory.sgml:
25968         * docs/gst/tmpl/gstenumtypes.sgml:
25969         * docs/gst/tmpl/gsterror.sgml:
25970         * docs/gst/tmpl/gstevent.sgml:
25971         * docs/gst/tmpl/gstfakesink.sgml:
25972         * docs/gst/tmpl/gstfakesrc.sgml:
25973         * docs/gst/tmpl/gstfilesink.sgml:
25974         * docs/gst/tmpl/gstfilesrc.sgml:
25975         * docs/gst/tmpl/gstfilter.sgml:
25976         * docs/gst/tmpl/gstformat.sgml:
25977         * docs/gst/tmpl/gstghostpad.sgml:
25978         * docs/gst/tmpl/gstimplementsinterface.sgml:
25979         * docs/gst/tmpl/gstindex.sgml:
25980         * docs/gst/tmpl/gstindexfactory.sgml:
25981         * docs/gst/tmpl/gstinfo.sgml:
25982         * docs/gst/tmpl/gstiterator.sgml:
25983         * docs/gst/tmpl/gstmacros.sgml:
25984         * docs/gst/tmpl/gstmemchunk.sgml:
25985         * docs/gst/tmpl/gstminiobject.sgml:
25986         * docs/gst/tmpl/gstobject.sgml:
25987         * docs/gst/tmpl/gstpad.sgml:
25988         * docs/gst/tmpl/gstpadtemplate.sgml:
25989         * docs/gst/tmpl/gstparse.sgml:
25990         * docs/gst/tmpl/gstpipeline.sgml:
25991         * docs/gst/tmpl/gstplugin.sgml:
25992         * docs/gst/tmpl/gstpluginfeature.sgml:
25993         * docs/gst/tmpl/gstquery.sgml:
25994         * docs/gst/tmpl/gstqueue.sgml:
25995         * docs/gst/tmpl/gstregistry.sgml:
25996         * docs/gst/tmpl/gstregistrypool.sgml:
25997         * docs/gst/tmpl/gstscheduler.sgml:
25998         * docs/gst/tmpl/gstschedulerfactory.sgml:
25999         * docs/gst/tmpl/gststructure.sgml:
26000         * docs/gst/tmpl/gstsystemclock.sgml:
26001         * docs/gst/tmpl/gsttaglist.sgml:
26002         * docs/gst/tmpl/gsttagsetter.sgml:
26003         * docs/gst/tmpl/gsttrace.sgml:
26004         * docs/gst/tmpl/gsttrashstack.sgml:
26005         * docs/gst/tmpl/gsttypefind.sgml:
26006         * docs/gst/tmpl/gsttypefindfactory.sgml:
26007         * docs/gst/tmpl/gsttypes.sgml:
26008         * docs/gst/tmpl/gsturihandler.sgml:
26009         * docs/gst/tmpl/gsturitype.sgml:
26010         * docs/gst/tmpl/gstutils.sgml:
26011         * docs/gst/tmpl/gstvalue.sgml:
26012         * docs/gst/tmpl/gstversion.sgml:
26013         * docs/gst/tmpl/gstxml.sgml:
26014         * docs/libs/tmpl/gstcontrol.sgml:
26015         * docs/libs/tmpl/gstdataprotocol.sgml:
26016         * docs/libs/tmpl/gstdparam.sgml:
26017         * docs/libs/tmpl/gstdplinint.sgml:
26018         * docs/libs/tmpl/gstdpman.sgml:
26019         * docs/libs/tmpl/gstdpsmooth.sgml:
26020         * docs/libs/tmpl/gstgetbits.sgml:
26021         * docs/libs/tmpl/gstunitconvert.sgml:
26022         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
26023         (gst_push_src_base_init), (gst_push_src_class_init),
26024         (gst_push_src_init), (gst_push_src_create):
26025         * gst/base/gstpushsrc.h:
26026         * gst/elements/gstelements.c:
26027         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
26028         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
26029         (gst_fake_sink_init), (gst_fake_sink_set_property),
26030         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
26031         (gst_fake_sink_event), (gst_fake_sink_preroll),
26032         (gst_fake_sink_render), (gst_fake_sink_change_state):
26033         * gst/elements/gstfakesink.h:
26034         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
26035         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
26036         (gst_fake_src_base_init), (gst_fake_src_class_init),
26037         (gst_fake_src_init), (gst_fake_src_event_handler),
26038         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
26039         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
26040         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
26041         (gst_fake_src_create_buffer), (gst_fake_src_create),
26042         (gst_fake_src_start), (gst_fake_src_stop):
26043         * gst/elements/gstfakesrc.h:
26044         * gst/elements/gstfilesink.c: (_do_init),
26045         (gst_file_sink_base_init), (gst_file_sink_class_init),
26046         (gst_file_sink_init), (gst_file_sink_dispose),
26047         (gst_file_sink_set_location), (gst_file_sink_set_property),
26048         (gst_file_sink_get_property), (gst_file_sink_open_file),
26049         (gst_file_sink_close_file), (gst_file_sink_query),
26050         (gst_file_sink_event), (gst_file_sink_render),
26051         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
26052         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
26053         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
26054         * gst/elements/gstfilesink.h:
26055         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
26056         (gst_file_src_class_init), (gst_file_src_init),
26057         (gst_file_src_finalize), (gst_file_src_set_location),
26058         (gst_file_src_set_property), (gst_file_src_get_property),
26059         (gst_file_src_map_region), (gst_file_src_map_small_region),
26060         (gst_file_src_create_mmap), (gst_file_src_create_read),
26061         (gst_file_src_create), (gst_file_src_is_seekable),
26062         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
26063         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
26064         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
26065         (gst_file_src_uri_handler_init):
26066         * gst/elements/gstfilesrc.h:
26067           more autistic cleanliness in functions/names/defines
26068
26069 2005-07-13  Andy Wingo  <wingo@pobox.com>
26070
26071         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
26072         source couldn't negotiate.
26073
26074         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
26075         connections again.
26076
26077         * gst/gstutils.h:
26078         * gst/gstutils.c (gst_element_link_pads_filtered): New old
26079         function. I am channeling Hades. Put your boots on suckers!!!
26080
26081 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
26082
26083         * testsuite/caps/Makefile.am:
26084         * testsuite/caps/value_compare.c:
26085         * testsuite/caps/value_intersect.c:
26086         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26087           move two testsuite apps over to the check dir
26088
26089 2005-07-12  Wim Taymans  <wim@fluendo.com>
26090
26091         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
26092         Added more debug info in the negotiate process.
26093
26094         * gst/gstmessage.h:
26095         Prepare for segment playback.
26096
26097         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
26098         Better debugging.
26099
26100         * gst/gstutils.c:
26101         Some more docs.
26102
26103         * tools/gst-launch.c: (main):
26104         NULL pipeline on errors.
26105
26106 2005-07-12  Andy Wingo  <wingo@pobox.com>
26107
26108         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
26109         not it comes from a malloc region. Make sure our copy gets freed.
26110
26111 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26112
26113         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
26114         * check/gst/gstmessage.c: (GST_START_TEST):
26115         * check/gst/gststructure.c: (GST_START_TEST),
26116         (gst_structure_suite), (main):
26117           more testing
26118         * gst/gstelement.c: (gst_element_message_full):
26119           clean up GError and debug string now that they get copied
26120         * gst/gstmessage.c: (gst_message_new_error),
26121         (gst_message_new_warning), (gst_message_parse_error),
26122         (gst_message_parse_warning):
26123           use GST_TYPE_G_ERROR for structure_new, and take copies of
26124           arguments, so that we don't mess up refcounting
26125
26126 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26127
26128         * check/Makefile.am:
26129           add per-test valgrind targets
26130         * check/gst-libs/gdp.c: (GST_START_TEST),
26131         (gst_data_protocol_suite), (main):
26132           clean up
26133
26134 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26135
26136         * check/Makefile.am:
26137           instate more valgrindable tests
26138         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26139         (GST_START_TEST), (fakesrc_suite):
26140         * check/gst/gstpad.c: (GST_START_TEST):
26141         * check/gst/gststructure.c: (GST_START_TEST):
26142           fix test leaks
26143         * docs/gst/tmpl/gstminiobject.sgml:
26144         * gst/gstpad.c: (gst_pad_finalize):
26145           fix the static mutex leak
26146
26147 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26148
26149         * check/Makefile.am:
26150           add two more tests for valgrinding
26151         * check/gst/gstvalue.c: (GST_START_TEST):
26152           test refcount of deserialized buffer, found a leak
26153         * docs/gst/gstreamer-docs.sgml:
26154         * docs/gst/gstreamer-sections.txt:
26155         * docs/gst/gstreamer.types:
26156         * docs/gst/tmpl/gstminiobject.sgml:
26157           add miniobject to docs
26158         * gst/gstminiobject.c:
26159           add some docs
26160         * gst/gstvalue.c: (gst_value_deserialize_buffer),
26161         (gst_string_unwrap):
26162           fix a hard-to-find invalid write for one of the tests
26163           fix a leak for deserialized buffers
26164
26165 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26166
26167         * docs/pwg/advanced-events.xml:
26168         * docs/pwg/advanced-request.xml:
26169         * docs/pwg/advanced-scheduling.xml:
26170         * docs/pwg/appendix-porting.xml:
26171         * docs/pwg/building-boiler.xml:
26172         * docs/pwg/intro-preface.xml:
26173         * docs/pwg/other-ntoone.xml:
26174           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
26175           of example code and explanation for pad activation, loop() and
26176           getrange() functions and a bit more. Remove old comments pointing
26177           to loop-functions.
26178         * examples/pwg/Makefile.am:
26179           Add loop/getrange examples.
26180
26181 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26182
26183         * configure.ac:
26184           check for valgrind binary + some fixes
26185         * check/gst.supp:
26186           valgrind suppressions for the tests
26187         * check/Makefile.am:
26188           add a valgrind: target that valgrinds the unit tests
26189         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
26190         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
26191         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26192         * check/gst/gstghostpad.c:
26193           added some cleanup
26194         * check/gst/gstdata.c:
26195           removed
26196         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
26197         (thread_unref), (gst_mini_object_suite), (main):
26198           added
26199         * gst/gst.c: (gst_deinit):
26200         * gst/gst.h:
26201           add a method to clean up.
26202         * gst/gstsystemclock.c: (gst_system_clock_dispose),
26203         (gst_system_clock_obtain):
26204           allow for disposing the system clock.
26205         * tools/gst-launch.c: (main):
26206           deinit
26207
26208 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26209
26210         * docs/gst/tmpl/gstbasesrc.sgml:
26211         * docs/gst/tmpl/gstfakesrc.sgml:
26212         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26213         (gst_base_src_init), (gst_base_src_set_property),
26214         (gst_base_src_get_property), (gst_base_src_get_range),
26215         (gst_base_src_start):
26216         * gst/base/gstbasesrc.h:
26217           add num-buffers property
26218         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26219         (gst_fakesrc_init), (gst_fakesrc_set_property),
26220         (gst_fakesrc_get_property), (gst_fakesrc_create),
26221         (gst_fakesrc_start):
26222           remove num-buffers property
26223
26224 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26225
26226         * docs/gst/gstreamer-sections.txt:
26227         * docs/gst/tmpl/gstbasesink.sgml:
26228         * docs/gst/tmpl/gstbasesrc.sgml:
26229         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26230         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26231         (gst_base_sink_finalize), (gst_base_sink_set_clock),
26232         (gst_base_sink_set_property), (gst_base_sink_get_property),
26233         (gst_base_sink_handle_object), (gst_base_sink_event),
26234         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26235         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26236         (gst_base_sink_loop), (gst_base_sink_deactivate),
26237         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26238         (gst_base_sink_change_state):
26239         * gst/base/gstbasesink.h:
26240         * gst/base/gstbasesrc.h:
26241         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26242         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26243         (gst_filesink_init):
26244           more macro splitting
26245
26246 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26247
26248         * gst/gstelement.c: (gst_element_get_bus):
26249           add debug
26250         * tools/gst-launch.c: (check_intr), (event_loop):
26251           fix bus leaks
26252
26253 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26254
26255         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26256           fix a caps leak
26257
26258 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26259
26260         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26261         (gst_base_src_finalize):
26262           add finalize method and clean up properly
26263         * gst/gstpipeline.c: (gst_pipeline_dispose):
26264           add debug
26265
26266 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26267
26268         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26269         (gst_bin_suite):
26270           add more things to check
26271         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26272         * gst/gstelement.c:
26273           more debug
26274
26275 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26276
26277         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26278         (GST_START_TEST), (fakesrc_suite):
26279         * check/gst-libs/gdp.c: (GST_START_TEST):
26280         * check/gst/gst.c: (GST_START_TEST):
26281         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26282         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26283         * check/gst/gstbus.c: (GST_START_TEST):
26284         * check/gst/gstcaps.c: (GST_START_TEST):
26285         * check/gst/gstdata.c: (GST_START_TEST):
26286         * check/gst/gstelement.c: (GST_START_TEST):
26287         * check/gst/gstghostpad.c: (GST_START_TEST):
26288         * check/gst/gstiterator.c: (GST_START_TEST):
26289         * check/gst/gstmessage.c: (GST_START_TEST):
26290         * check/gst/gstobject.c: (GST_START_TEST):
26291         * check/gst/gstpad.c: (GST_START_TEST):
26292         * check/gst/gststructure.c: (GST_START_TEST):
26293         * check/gst/gstsystemclock.c: (GST_START_TEST),
26294         (gst_systemclock_suite):
26295         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26296         * check/gst/gstvalue.c: (GST_START_TEST):
26297         * check/pipelines/cleanup.c: (GST_START_TEST):
26298         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26299         * check/states/sinks.c: (GST_START_TEST):
26300         * check/gstcheck.c: (gst_check_init):
26301         * check/gstcheck.h:
26302           add debugging category
26303           use GST_START_TEST now, so we add a debug line
26304
26305 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26306
26307         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26308           add test for state change message on a bin
26309         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26310           add another test
26311         * gst/gstbin.c: (gst_bin_init):
26312         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26313         * gst/gstelement.c: (gst_element_post_message),
26314         (gst_element_set_state):
26315         * gst/gstelementfactory.c: (gst_element_factory_create):
26316         * gst/gstmessage.c: (gst_message_new):
26317         * gst/gstscheduler.c:
26318           various debugging additions and cleanups
26319
26320 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26321
26322         * check/Makefile.am:
26323         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26324         (main):
26325           adding tests for elements
26326         * gst/gstelement.c: (gst_element_dispose):
26327
26328 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26329
26330         * gst/registries/gstlibxmlregistry.c: (load_feature):
26331           plug more leaks.  A simple gst_init() now is leakfree, yay.
26332
26333 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26334
26335         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26336         (gst_xml_registry_load):
26337           plug another memleak
26338
26339 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26340
26341         * configure.ac:
26342           use GST_SET_ERROR_CFLAGS
26343         * docs/faq/cvs.xml:
26344           change to ERROR_CFLAGS
26345
26346 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26347
26348         * configure.ac:
26349           make GST_ERROR_CFLAGS overridable and re-enable Werror
26350         * docs/faq/cvs.xml:
26351           add a note about error CFLAGS
26352         * docs/gst/tmpl/gstfakesrc.sgml:
26353         * gst/elements/gstfakesrc.c:
26354           comment out some unused code
26355         * gst/gst.c: (split_and_iterate):
26356         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26357         (load_feature):
26358           plug some memleaks
26359
26360 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26361
26362         * common/Makefile.am:
26363         * common/gtk-doc.mak:
26364         * docs/gst/Makefile.am:
26365           factor out gtk-doc.mak
26366
26367 2005-07-07  Wim Taymans  <wim@fluendo.com>
26368
26369         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26370         (gst_thread_scheduler_dispose):
26371         Unlock the STREAM_LOCK completely.
26372
26373 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26374
26375         * check/Makefile.am:
26376         * check/elements/.cvsignore:
26377         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26378         (START_TEST), (fakesrc_suite), (main):
26379         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26380         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26381         (gst_fakesrc_create), (gst_fakesrc_start):
26382         * gst/elements/gstfakesrc.h:
26383           adding a first element test
26384
26385 2005-07-07  Andy Wingo  <wingo@pobox.com>
26386
26387         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26388         debug message.
26389
26390 2005-07-07  Wim Taymans  <wim@fluendo.com>
26391
26392         * gst/gstquery.c:
26393         * gst/gstquery.h:
26394         Remove old types
26395
26396 2005-07-07  Wim Taymans  <wim@fluendo.com>
26397
26398         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26399         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26400         Allow subclasses to implement their own negotiation.
26401
26402 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26403
26404         * docs/design/part-gstbin.txt:
26405         * docs/design/part-gstpipeline.txt:
26406           Update design notes to reflect the movement of
26407           responsibility for bus handling from GstPipeline to
26408           GstBin
26409
26410 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26411
26412         * configure.ac:
26413           Remove unnecessary queue2/3/4 examples.
26414
26415 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26416
26417         * examples/Makefile.am:
26418         * examples/helloworld/helloworld.c: (event_loop), (main):
26419         * examples/queue/queue.c: (event_loop), (main):
26420         * examples/queue2/queue2.c: (main):
26421           Update a couple of the examples to work again.
26422
26423         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26424         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26425          Spelling corrections and extra debug.
26426         
26427         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26428         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26429         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26430         * gst/gstbin.h:
26431         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26432         (gst_pipeline_change_state):
26433         * gst/gstpipeline.h:
26434           Move the bus handler for children to the GstBin, and create a
26435           separate bus for receiving messages from children to the one the
26436           bus sends 'upwards' on.
26437
26438 2005-07-06  Wim Taymans  <wim@fluendo.com>
26439
26440         * gst/base/README:
26441         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26442         (gst_base_sink_handle_object), (gst_base_sink_loop),
26443         (gst_base_sink_change_state):
26444         * gst/base/gstbasesink.h:
26445         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26446         (gst_base_src_init), (gst_base_src_setcaps),
26447         (gst_base_src_getcaps), (gst_base_src_loop),
26448         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26449         (gst_base_src_start), (gst_base_src_change_state):
26450         * gst/base/gstbasesrc.h:
26451         Make basesrc negotiate.
26452         Handle the case where preroll fails in basesink.
26453         Update README.
26454
26455 2005-07-06  Wim Taymans  <wim@fluendo.com>
26456
26457         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26458         Implement the fixate function.
26459         Clean up acceptcaps.
26460
26461 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26462
26463         * docs/pwg/building-filterfactory.xml:
26464         * docs/pwg/pwg.xml:
26465           Remove never-written filter-factory chapter; I'll add the various
26466           base classes to part 4 ("other element types") later on.
26467
26468 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26469
26470         * docs/pwg/advanced-negotiation.xml:
26471         * docs/pwg/building-boiler.xml:
26472         * docs/pwg/building-pads.xml:
26473         * docs/pwg/pwg.xml:
26474         * examples/pwg/Makefile.am:
26475           Add a chapter on caps negotiation, simplify the original code
26476           samples a bit w.r.t. caps negotiation, add link to the advanced
26477           section. Add a bunch of examples showing different use cases of
26478           different types of caps negotiation. Upstream renegotiation isn't
26479           fully documented yet since nobody knows how that works.
26480
26481 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
26482
26483         * check/gst/gstpad.c:
26484         * check/gstcheck.c:
26485         * gst/gstpad.c: (gst_pad_get_internal_links_default):
26486           if pad has no parent, return NULL as list of internal links
26487
26488 2005-07-05  Andy Wingo  <wingo@pobox.com>
26489
26490         * gst/elements/gstfilesrc.c:
26491         * gst/elements/gstfakesrc.c: 
26492         * gst/base/gstpushsrc.c:
26493         * gst/base/gstbasesrc.h: 
26494         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
26495         
26496 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
26497
26498         * Makefile.am:
26499           better report generation target (lcov needs a patch)
26500
26501 2005-07-05  Andy Wingo  <wingo@pobox.com>
26502
26503         * gst/elements, testsuite: Null if we got it...
26504
26505 2005-07-05  Wim Taymans  <wim@fluendo.com>
26506
26507         * configure.ac:
26508         * libs/gst/dataprotocol/Makefile.am:
26509         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
26510         * libs/gst/dataprotocol/dataprotocol.h:
26511         * pkgconfig/Makefile.am:
26512         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
26513         * pkgconfig/gstreamer-dataprotocol.pc.in:
26514         Ported dataprotol to 0.9. 
26515         Added pkgconfig files.
26516
26517 2005-07-05  Andy Wingo  <wingo@pobox.com>
26518
26519         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
26520         Default to returning TRUE for the case when tranform_caps returns
26521         a fixed caps, like for identity or volume.
26522
26523         * check/gst/gstbus.c (pound_bus_with_messages): 
26524         * check/gst/gstmessage.c (START_TEST): 
26525         * check/pipelines/simple_launch_lines.c (got_handoff): Application
26526         message API change.
26527
26528         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
26529         logic weaks here: always run transform_caps, trying passthrough
26530         operation only if the original caps intersects with the transform.
26531
26532         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
26533         source and sink caps.
26534
26535         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
26536         Intersect the peer caps with the pad template before going into
26537         transform_caps.
26538         (gst_base_transform_transform_caps): More debugging.
26539
26540         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
26541         src argument.
26542
26543 2005-07-04  Edward Hervey  <edward@fluendo.com>
26544
26545         * gst/gstutils.c:
26546         * gst/gstutils.h:
26547         (gst_pad_add_*_probe): now returns the signal id for better wrapping
26548         in bindings.
26549
26550 2005-07-04  Andy Wingo  <wingo@pobox.com>
26551
26552         * check/gst/gstpad.c: Only set explicit caps on pads.
26553
26554 2005-07-01  Andy Wingo  <wingo@pobox.com>
26555
26556         * tests/network-clock.scm: Commentary update.
26557
26558         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
26559         Didn't really make sense, not implementable with basetransform,
26560         etc.
26561         (gst_identity_transform): Unref inbuf via make_writable. Feeble
26562         attempt at implementing the sync property, needs an unlock method.
26563
26564         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
26565         New func, by default returns the same caps (the identity
26566         transformation).
26567         (gst_base_transform_getcaps): Uses transform_caps to return
26568         something sensible.
26569         (gst_base_transform_setcaps): Complicated logic to get caps on
26570         both pads, even if they are different, and to call set_caps once
26571         for every time both pads get their caps set.
26572         (gst_base_transform_handle_buffer): Give the ref to the transform
26573         function. Allows in-place modification of the buffer.
26574
26575         * gst/base/gstbasetransform.h (transform_caps): New class method.
26576         Given caps on one side, what can I do on the other.
26577         (set_caps): Take two caps, one for each side of the element.
26578
26579         * gst/gstpad.h:
26580         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
26581         caps in place. This is safe because we can check the mutability of
26582         the caps, and a good idea because fixate functions are just called
26583         as a matter of last resort. (Not actually implemented.)
26584         (gst_pad_set_caps): If the caps we're setting is actually the same
26585         as the existing pad caps, just update the pointer without calling
26586         setcaps. Assert that caps is either NULL or fixed, as per the
26587         docs.
26588
26589         * gst/gstghostpad.c: Update for fixate changes.
26590
26591 2005-07-02  Andy Wingo  <wingo@pobox.com>
26592
26593         * gst/gstcaps.c:
26594         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
26595         two refcounts makes it immutable, which is enough. Doc more.
26596
26597 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
26598
26599         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
26600           Put the mini_object into GValue as a mini_object,
26601           not a gpointer, since that's how we declared
26602           the signal.
26603
26604 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26605
26606         * examples/pwg/Makefile.am:
26607           Fix buildbot again.
26608
26609 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26610
26611         * docs/pwg/building-testapp.xml:
26612           Add extra check.
26613         * examples/pwg/Makefile.am:
26614           Fix buildbot.
26615
26616 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26617
26618         * configure.ac:
26619         * examples/Makefile.am:
26620         * examples/pwg/Makefile.am:
26621         * examples/pwg/extract.pl:
26622           Enable building the PWG examples.
26623         * docs/pwg/advanced-interfaces.xml:
26624           Add URI interface stub.
26625         * docs/pwg/advanced-types.xml:
26626         * docs/pwg/other-autoplugger.xml:
26627         * docs/pwg/appendix-porting.xml:
26628         * docs/pwg/pwg.xml:
26629           Add porting guide (mostly stubs), remove autoplugging (see ADM).
26630         * docs/pwg/building-boiler.xml:
26631         * docs/pwg/building-chainfn.xml:
26632         * docs/pwg/building-pads.xml:
26633         * docs/pwg/building-props.xml:
26634         * docs/pwg/building-state.xml:
26635         * docs/pwg/building-testapp.xml:
26636           Update the building-*.xml parts for 0.9 changes. All examples
26637           code blocks compile in examples/pwg/*.
26638
26639 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26640
26641         * docs/manual/advanced-autoplugging.xml:
26642         * docs/manual/appendix-checklist.xml:
26643         * docs/manual/appendix-integration.xml:
26644         * docs/manual/highlevel-components.xml:
26645           Fix playbin/decodebin examples, update docs a bit, mention bus
26646           instead of signals in various places, mention kmplayer and
26647           kaffeine since they have a working GStreamer backend in the KDE
26648           section.
26649
26650 2005-06-30  Wim Taymans  <wim@fluendo.com>
26651
26652         * CHANGES-0.9:
26653         * docs/design/draft-ghostpads.txt:
26654         * docs/design/draft-push-pull.txt:
26655         * docs/design/draft-query.txt:
26656         * docs/design/part-TODO.txt:
26657         * docs/design/part-query.txt:
26658         Added CHANGES-0.9 doc, updated status of other docs.
26659         
26660         * gst/gstquery.h:
26661         Remove "hmm" macro
26662
26663 2005-06-30  Wim Taymans  <wim@fluendo.com>
26664
26665         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26666         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26667         (gst_base_sink_change_state):
26668         * gst/base/gstbasesink.h:
26669         Some tweaks, only EOS and a buffer complete a preroll.
26670
26671 2005-06-30  Andy Wingo  <wingo@pobox.com>
26672
26673         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
26674         activate_push down to the internal pad as well.
26675
26676 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
26677
26678         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26679
26680         * gst/gsttaginterface.c:
26681           Some documentation fixes (#307394 and #307397).
26682
26683 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
26684
26685         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26686
26687         * gst/gstvalue.c: (gst_value_intersect_list):
26688           Fix memleak (#309125).
26689
26690 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26691
26692         * docs/manual/advanced-dataaccess.xml:
26693           Fix fakesrc example to compile; doesn't work, bug somewhere...?
26694         * docs/manual/basics-pads.xml:
26695           Add reference for filtered caps to above chapter.
26696
26697 2005-06-30  Wim Taymans  <wim@fluendo.com>
26698
26699         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
26700         (gst_bin_change_state):
26701         Probes are gone.
26702         Lame attempt at making the state change function a bit
26703         more readable.
26704
26705 2005-06-30  Wim Taymans  <wim@fluendo.com>
26706
26707         * docs/design/part-clocks.txt:
26708         * docs/design/part-element-sink.txt:
26709         * docs/design/part-events.txt:
26710         * docs/design/part-preroll.txt:
26711         * docs/design/part-states.txt:
26712         Some more tweeks and additions to the docs.
26713
26714 2005-06-30  Wim Taymans  <wim@fluendo.com>
26715
26716         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26717         (default_have_data), (gst_pad_class_init), (gst_pad_init),
26718         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26719         (gst_pad_check_pull_range), (gst_pad_get_range),
26720         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
26721         * gst/gstpad.h:
26722         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
26723         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26724         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26725         (gst_pad_remove_buffer_probe):
26726         Removed atomic operations, use existing LOCK.
26727         Move exception handling out of main code path.
26728
26729 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26730
26731         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26732         (silly_return_true_function), (gst_pad_class_init),
26733         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26734         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
26735         (gst_pad_send_event):
26736           Fix accumulator, add default value by using _emitv() instead
26737           of _emit() for signal emission.
26738
26739 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26740
26741         * docs/manual/advanced-dataaccess.xml:
26742         * examples/manual/Makefile.am:
26743           Add probe example.
26744         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
26745           Make work (??).
26746
26747 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
26748
26749         * gst/elements/gstfilesink.c: (gst_filesink_render):
26750           Simplify code so that we don't have to handle short
26751           writes and return GST_FLOW_ERROR if an error occured.
26752
26753 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26754
26755         * docs/gst/gstreamer-docs.sgml:
26756           Remove probes more.
26757
26758 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26759
26760         * docs/gst/gstreamer-sections.txt:
26761         * docs/gst/tmpl/gstpad.sgml:
26762         * docs/gst/tmpl/gstprobe.sgml:
26763         * gst/Makefile.am:
26764         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26765         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
26766         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
26767         (gst_pad_push_event), (gst_pad_send_event):
26768         * gst/gstpad.h:
26769         * gst/gstutils.c: (gst_pad_add_data_probe),
26770         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26771         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26772         (gst_pad_remove_buffer_probe):
26773         * gst/gstutils.h:
26774           Remove old probes, add new g-signal-based probes and some utility
26775           functions.
26776
26777 2005-06-29  Edward Hervey  <edward@fluendo.com>
26778
26779         * gst/gstelementfactory.c:
26780         * gst/gstutils.h:
26781         * gst/gstutils.c:
26782         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
26783         the definition to the header file.
26784
26785 2005-06-29  Andy Wingo  <wingo@pobox.com>
26786
26787         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
26788         plugins from the source directory.
26789
26790 2005-06-29  Wim Taymans  <wim@fluendo.com>
26791
26792         * docs/gst/tmpl/gstbuffer.sgml:
26793         * docs/gst/tmpl/gstclock.sgml:
26794         Some fixings for blantently wrong text.
26795
26796 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
26797
26798         * check/Makefile.am:
26799         * gst/gst.c: (add_path_func), (init_pre):
26800         * gst/gstregistry.c: (gst_registry_add_path):
26801           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
26802           only scan the GST_PLUGIN_PATH locations, and not add
26803           system locations
26804
26805 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
26806
26807         * docs/gst/gstreamer-sections.txt:
26808         * docs/gst/tmpl/gstbasesrc.sgml:
26809         * gst/gstelement.c:
26810         * gst/gstelement.h:
26811         * gst/gstevent.c:
26812         * gst/gstutils.c:
26813           doc fixes
26814
26815 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26816
26817         * docs/manual/advanced-autoplugging.xml:
26818           Fix autoplugging example.
26819
26820 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26821
26822         * docs/manual/advanced-autoplugging.xml:
26823         * docs/manual/mime-world.fig:
26824           Try to get autoplugging working, fix type detection. Fix text
26825           in hello-world image.
26826
26827 2005-06-29  Wim Taymans  <wim@fluendo.com>
26828
26829         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26830         (gst_base_sink_change_state):
26831         Small debug line.
26832
26833         * gst/gstclock.h:
26834         map SIGNAL and BROADCAST to the right function.
26835
26836         * gst/gstobject.h:
26837         Remove redundant braces.
26838
26839         * gst/gstpad.c: (gst_pad_set_caps):
26840         Don't call setcaps function when reseting caps to NULL.
26841
26842         * gst/gstsystemclock.c: (gst_system_clock_dispose),
26843         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
26844         (gst_system_clock_id_unschedule):
26845         Use BROADCAST as this is what we do.
26846
26847 2005-06-29  Wim Taymans  <wim@fluendo.com>
26848
26849         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26850         We are actually prerolling before commiting the state
26851         change. 
26852
26853 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26854
26855         * docs/manual/advanced-clocks.xml:
26856         * docs/manual/advanced-interfaces.xml:
26857         * docs/manual/advanced-metadata.xml:
26858         * docs/manual/advanced-position.xml:
26859         * docs/manual/advanced-schedulers.xml:
26860         * docs/manual/advanced-threads.xml:
26861         * docs/manual/appendix-porting.xml:
26862         * docs/manual/basics-bins.xml:
26863         * docs/manual/basics-bus.xml:
26864         * docs/manual/basics-elements.xml:
26865         * docs/manual/basics-helloworld.xml:
26866         * docs/manual/basics-pads.xml:
26867         * docs/manual/highlevel-components.xml:
26868         * docs/manual/manual.xml:
26869         * docs/manual/thread.fig:
26870           Update (until threads/scheduling) Application Development Manual;
26871           remove GstThread, add GstBus, add simple porting checklist, add
26872           documentation for tag writing, clocks, make all examples until this
26873           part compile and run.
26874         * examples/manual/Makefile.am:
26875           Update from changes to Application Development Manual; add bus
26876           example, remove thread example.
26877
26878 2005-06-28  Wim Taymans  <wim@fluendo.com>
26879
26880         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
26881         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
26882         (gst_bus_source_dispatch):
26883         Add debugging messages.
26884         Make internal methods static.
26885         Handle the case where the bus is flushed in the handler.
26886         
26887         * gst/gstelement.c: (gst_element_get_bus):
26888         Fix refcount in _get_bus();
26889
26890         * gst/gstpipeline.c: (gst_pipeline_change_state),
26891         (gst_pipeline_get_clock_func):
26892         Clock refcounting fixes.
26893         Handle the case where preroll timed out more gracefully.
26894         
26895         * gst/gstsystemclock.c: (gst_system_clock_dispose):
26896         Clean up the internal thread in dispose. This is needed
26897         for subclasses that actually get disposed.
26898         
26899         * gst/schedulers/threadscheduler.c:
26900         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26901         (gst_thread_scheduler_dispose):
26902         Free thread pool in dispose.
26903
26904 2005-06-28  Andy Wingo  <wingo@pobox.com>
26905
26906         * tests/network-clock-utils.scm (debug, print-event): New utils.
26907
26908         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
26909         (*packet-loss*): Unified loss probability.
26910         (network-time): Report out-of-band events.
26911
26912         * tests/plot-data: Add support for out-of-band events. Hack it
26913         into this script instead of passing it down the pipe; should fix
26914         this later.
26915
26916 2005-06-28  Wim Taymans  <wim@fluendo.com>
26917
26918         * docs/gst/gstreamer.types:
26919         * docs/gst/tmpl/gstbasesrc.sgml:
26920         * docs/gst/tmpl/gstpad.sgml:
26921         Docs fixes.
26922
26923 2005-06-28  Wim Taymans  <wim@fluendo.com>
26924
26925         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26926         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
26927         (gst_proxy_pad_do_fixatecaps):
26928         Correctly proxy the check_pull_range function.
26929
26930 2005-06-28  Andy Wingo  <wingo@pobox.com>
26931
26932         * tests/network-clock.scm: Removed need for slib.
26933         
26934 2005-06-28  Wim Taymans  <wim@fluendo.com>
26935
26936         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
26937         (gst_basesink_preroll_queue_flush):
26938         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
26939         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
26940         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26941         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
26942         (gst_proxy_pad_set_property):
26943         * gst/gstpad.c:
26944         * gst/gstpad.h:
26945         * gst/gstqueue.c: (gst_queue_init):
26946         The deprecated pad loop function is removed now.
26947
26948 2005-06-28  Andy Wingo  <wingo@pobox.com>
26949
26950         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
26951         New parameters, simulate network packet loss.
26952
26953         * tests/network-clock-utils.scm: Initialize the RNG.
26954
26955 2005-06-28  Wim Taymans  <wim@fluendo.com>
26956
26957         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
26958         (gst_basesink_event), (gst_basesink_deactivate):
26959         Flushing the preroll queue always needs to unlock the waiters.
26960
26961 2005-06-28  Edward Hervey  <edward@fluendo.com>
26962
26963         * gst/gstpipeline.c: (gst_pipeline_send_event): 
26964         Wheen a seek was successful on a pipeline, set the stream_time to the
26965         seek offset in order to have a synchronized stream_time.
26966
26967 2005-06-28  Wim Taymans  <wim@fluendo.com>
26968
26969         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26970         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
26971         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
26972         (gst_proxy_pad_do_fixatecaps):
26973         Call wrapper function instead of just calling the function
26974         pointers. This takes care of any locking and whatmore.
26975
26976 2005-06-28  Wim Taymans  <wim@fluendo.com>
26977
26978         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
26979         (gst_pad_pull_range):
26980         * gst/gstpad.h:
26981         CONNECTED -> LINKED.
26982
26983 2005-06-28  Andy Wingo  <wingo@pobox.com>
26984
26985         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
26986         source-munging commit!!!
26987
26988         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
26989         (gst_object_sink): Take gpointer arguments, not GstObject --
26990         avoids casts. Like GLib.
26991
26992         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
26993         activate.
26994
26995 2005-06-27  Andy Wingo  <wingo@pobox.com>
26996
26997         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
26998         remaining buffer.
26999
27000         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
27001         returns a sorted copy of the trace list.
27002         (gst_alloc_trace_print_live): New API, only prints traces with
27003         live objects. Sort the list.
27004         (gst_alloc_trace_print_all): Sort the list.
27005         (gst_alloc_trace_print): Align columns.
27006
27007         * gst/elements/gstttypefindelement.c:
27008         * gst/elements/gsttee.c:
27009         * gst/base/gstbasesrc.c:
27010         * gst/base/gstbasesink.c:
27011         * gst/base/gstbasetransform.c:
27012         * gst/gstqueue.c: Adapt for pad activation changes.
27013
27014         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
27015         sched.
27016         (gst_pipeline_dispose): Drop ref on sched.
27017
27018         * gst/gstpad.c (gst_pad_init): Set the default activate func.
27019         (gst_pad_activate_default): Push mode by default.
27020         (pre_activate_switch, post_activate_switch): New stubs, things to
27021         do before and after switching activation modes on pads.
27022         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
27023         the pad's activate function to choose which mode to activate.
27024         Shortcut on deactivation and call the right function directly.
27025         (gst_pad_activate_pull): New API, (de)activates a pad in pull
27026         mode.
27027         (gst_pad_activate_push): New API, same for push mode.
27028         (gst_pad_set_activate_function) 
27029         (gst_pad_set_activatepull_function) 
27030         (gst_pad_set_activatepush_function): Setters for new API.
27031
27032         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
27033         Trace all miniobjects.
27034         (gst_mini_object_make_writable): Unref the arg if we copy, like
27035         gst_caps_make_writable.
27036
27037         * gst/gstmessage.c (_gst_message_initialize): No trace init.
27038
27039         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
27040         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
27041         Adapt for new pad API.
27042
27043         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
27044
27045         * gst/gstelement.h:
27046         * gst/gstelement.c (gst_element_iterate_src_pads) 
27047         (gst_element_iterate_sink_pads): New API functions.
27048         
27049         * gst/gstelement.c (iterator_fold_with_resync): New utility,
27050         should fold into gstiterator.c in some form.
27051         (gst_element_pads_activate): Simplified via use of fold and
27052         delegation of decisions to gstpad->activate.
27053
27054         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
27055         help in debugging.
27056
27057         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
27058         class once in init, like gstmessage. Didn't run into this issue
27059         but it seems correct. Don't initialize a trace, gstminiobject does
27060         that.
27061
27062         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
27063         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
27064         to the bus.
27065         (assert_live_count): New util function, uses alloc traces to check
27066         cleanup.
27067
27068         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
27069         To be modified when unlink drops the internal pad.
27070
27071 2005-06-27  Wim Taymans  <wim@fluendo.com>
27072
27073         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
27074         (gst_bin_change_state):
27075         Cleanup the get_state() function a little, make sure it
27076         iterates the same set of elements.
27077         Added stub iterate_state_order().
27078
27079 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
27080
27081         * docs/gst/gstreamer-docs.sgml:
27082         * docs/gst/gstreamer-sections.txt:
27083         * docs/gst/gstreamer.types:
27084         * docs/gst/tmpl/gstbasesink.sgml:
27085         * docs/gst/tmpl/gstbasesrc.sgml:
27086         * docs/gst/tmpl/gstbasetransform.sgml:
27087         * docs/gst/tmpl/gstelement.sgml:
27088         * docs/gst/tmpl/gstiterator.sgml:
27089         * gst/base/gstbasesrc.c:
27090         * gst/base/gstbasesrc.h:
27091         * gst/base/gstbasetransform.h:
27092         * gst/gstelement.c:
27093         * gst/gstiterator.h:
27094           adding basetransform and iterator docs
27095
27096 2005-06-27  Andy Wingo  <wingo@pobox.com>
27097
27098         * docs/design/part-activation.txt: Notes on how activation should
27099         work -- not quite implemented yet.
27100
27101 2005-06-25  Wim Taymans  <wim@fluendo.com>
27102
27103         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
27104         At least get the chain function correct, needs more
27105         fixing.
27106
27107 2005-06-25  Wim Taymans  <wim@fluendo.com>
27108
27109         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27110         (gst_basesink_handle_object), (gst_basesink_event),
27111         (gst_basesink_do_sync), (gst_basesink_handle_event),
27112         (gst_basesink_change_state):
27113         * gst/gsttask.h:
27114         Right, two problems here: ghostpads don't take locks and
27115         glib _rec_mutex_lock_full() with depth==0 still locks.
27116         Catch illegal locking and g_warn them.
27117
27118 2005-06-25  Wim Taymans  <wim@fluendo.com>
27119
27120         * check/states/sinks.c: (START_TEST), (gst_object_suite):
27121         Have to check for completion now...
27122
27123 2005-06-25  Wim Taymans  <wim@fluendo.com>
27124
27125         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27126         (gst_basesink_handle_object), (gst_basesink_event),
27127         (gst_basesink_do_sync), (gst_basesink_handle_event),
27128         (gst_basesink_change_state):
27129         * gst/gstpad.h:
27130         Unlock STREAM_LOCK whatever the recursion was.
27131
27132 2005-06-25  Wim Taymans  <wim@fluendo.com>
27133
27134         * gst/base/gstbasesink.c: (gst_basesink_set_property),
27135         (gst_basesink_preroll_queue_empty),
27136         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
27137         (gst_basesink_event), (gst_basesink_do_sync),
27138         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
27139         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
27140         (gst_basesink_change_state):
27141         Reworked the base sink, handle event and buffer serialisation
27142         correctly and removed possible deadlock.
27143         Handle EOS correctly.
27144
27145 2005-06-25  Wim Taymans  <wim@fluendo.com>
27146
27147         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
27148         (gst_pipeline_change_state):
27149         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27150         Allow elements to post EOS in the state change function.
27151         Fix up -launch, make it exit the poll loop when the
27152         pipeline actually changed state.
27153         Fix up warning parsing in -launch.
27154
27155 2005-06-25  Wim Taymans  <wim@fluendo.com>
27156
27157         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
27158         (gst_tee_sink_activate):
27159         Core takes STREAM_LOCK for us now.
27160
27161 2005-06-25  Wim Taymans  <wim@fluendo.com>
27162
27163         * gst/gstelement.c: (gst_element_get_state_func),
27164         (gst_element_set_state):
27165         * gst/gstelement.h:
27166         * gst/gstmessage.c: (gst_message_parse_error),
27167         (gst_message_parse_warning):
27168         Keep track of current target state while performing a state
27169         change so that subclasses can do something interesting.
27170         Fix parsing of warning/error messages when GError is NULL.
27171
27172 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
27173
27174         * docs/gst/Makefile.am:
27175         * docs/gst/gstreamer-docs.sgml:
27176         * docs/gst/gstreamer-sections.txt:
27177         * docs/gst/gstreamer.types:
27178         * docs/gst/tmpl/gstbasesink.sgml:
27179         * docs/gst/tmpl/gstbasesrc.sgml:
27180         * docs/gst/tmpl/gstbin.sgml:
27181         * docs/gst/tmpl/gstcompat.sgml:
27182         * docs/gst/tmpl/gstfakesink.sgml:
27183         * docs/gst/tmpl/gstfakesrc.sgml:
27184         * docs/gst/tmpl/gstfilesink.sgml:
27185         * docs/gst/tmpl/gstfilesrc.sgml:
27186         * docs/gst/tmpl/gstindex.sgml:
27187         * docs/manual/appendix-quotes.xml:
27188         * gst/base/gstbasesrc.h:
27189         * gst/elements/gstfakesrc.h:
27190         * gst/gstmessage.h:
27191           start pulling in base classes and elements in our docs
27192
27193 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
27194
27195         * docs/gst/Makefile.am:
27196         * docs/libs/Makefile.am:
27197           fixed make distcheck with gtk-doc 1.3
27198
27199 2005-06-23  Wim Taymans  <wim@fluendo.com>
27200
27201         * gst/gstelement.c: (gst_element_get_state_func),
27202         (gst_element_set_state), (gst_element_change_state):
27203         When the state did not change, also report NO_PREROLL
27204         when it matters.
27205
27206 2005-06-23  Wim Taymans  <wim@fluendo.com>
27207
27208         * gst/gstpad.c: (gst_pad_event_default):
27209         * gst/gstqueue.c: (gst_queue_loop):
27210         No unsafe task pausing please.
27211
27212 2005-06-23  Wim Taymans  <wim@fluendo.com>
27213
27214         * gst/schedulers/threadscheduler.c:
27215         (gst_thread_scheduler_task_start),
27216         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
27217         Ref the task before pushing it on the threadpool. This
27218         makes sure that we have a ref when the threadfunction is
27219         actually called.
27220
27221 2005-06-23  Andy Wingo  <wingo@pobox.com>
27222
27223         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
27224         offset is greater than the file's size.
27225
27226         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
27227         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27228         * gst/gstobject.c (gst_object_class_init): Make the class lock
27229         recursive. Wim won't let me drop deep_notify. Decodebin works
27230         again, whoopdy doo.
27231
27232         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27233         internal pad, and hacks accordingly. Doesn't do it on the target
27234         pad because we change its caps. Probably catches all cases of
27235         interest tho.
27236         (gst_ghost_pad_set_property): Connect to notify::caps as
27237         appropritate.
27238
27239         * tests/network-clock.scm (plot-simulation): Pipe data to the
27240         elite python skript.
27241
27242         * tests/network-clock-utils.scm (define-parameter): New macro,
27243         defines a parameter that can be set via the command line.
27244         (set-parameter!, parse-parameter-arguments): Command line args
27245         parser.
27246
27247         * tests/plot-data: Simple matplotlib-based plotter, takes input on
27248         stdin.
27249
27250 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
27251
27252         * gst/elements/gsttypefindelement.c:
27253         (gst_type_find_element_handle_event):
27254           Don't restart typefinding on a discont.
27255         * gst/gstelement.c: (gst_element_set_state):
27256           Debug spelling fix.
27257         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27258           Allow changing mode of an active pad.
27259           Debug output fixes.
27260         * gst/registries/gstlibxmlregistry.c: (load_feature):
27261           Don't cast a static pad template to a normal pad template.
27262
27263 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
27264
27265         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27266         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27267           remove gst_strtoll completely, since it didn't actually do
27268           anything more than what g_ascii_strtoull already does.
27269           check for range errors when deserializing
27270           do a cast for the unsigned cases; but further fixing needs
27271           a decision on what the interpretation of "(int)" and
27272           deserialization should be for values that fall outside the
27273           type's boundaries (ie, refuse, or interpret as casting)
27274
27275 2005-06-23  Wim Taymans  <wim@fluendo.com>
27276
27277         * check/Makefile.am:
27278         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27279         * docs/design/part-live-source.txt:
27280         * docs/design/part-states.txt:
27281         * gst/base/gstbasesrc.c: (gst_basesrc_init),
27282         (gst_basesrc_set_live), (gst_basesrc_is_live),
27283         (gst_basesrc_get_range), (gst_basesrc_activate),
27284         (gst_basesrc_change_state):
27285         * gst/base/gstbasesrc.h:
27286         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27287         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27288         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27289         * gst/gstelement.c: (gst_element_get_state_func),
27290         (gst_element_set_state):
27291         * gst/gstelement.h:
27292         * gst/gsttypes.h:
27293         * tools/gst-launch.c: (event_loop), (main):
27294         Added support for live sources and other elements that
27295         cannot do preroll.
27296         Updated design docs, added live-source design doc.
27297         Implemented live source functionality in basesrc
27298         Fix error condition in _bin_get_state()
27299         Implement live source handling in -launch.
27300         Added check for live sources.
27301         Fixed case in GstBin where elements were changed state
27302         multiple times.
27303
27304
27305 2005-06-23  Andy Wingo  <wingo@pobox.com>
27306
27307         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27308         borken refcounting.
27309
27310         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27311         gst_caps_replace takes care of this for us.
27312
27313         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27314         gst_pad_set_caps on the target, not just its setcaps() function.
27315
27316         * tests/network-clock.scm: 
27317         * tests/network-clock-utils.scm: A network clock simulator.
27318         Something of an algorithmic testbed before doing something in C.
27319
27320 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27321
27322         * check/Makefile.am:
27323         * check/gst/capslist.h:
27324           copy over from 0.8, and add two with bitmasks specified with
27325           (int) 0xFF...
27326         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27327           add test to parse everything from capslist.h
27328         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27329         (main):
27330           add test for structure deserialization
27331         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27332           add tests for deserialization of strings to int types
27333         * gst/gststructure.c: (gst_structure_nth_field_name):
27334         * gst/gststructure.h:
27335           add a way to get the name of a field referenced by index
27336         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27337           instead of checking if the resulting long long lies between
27338           min and max, we check if the long long would fit into
27339           a number of bytes for the final type.
27340           This fixes cases where a string represents 2^32 - 1, which
27341           when cast to int would be the (valid) -1, but is bigger than
27342           G_MAXINT
27343
27344 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27345
27346         * gst/parse/grammar.y:
27347           add a log line for type deserialization
27348
27349 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27350
27351         * check/gst/gstvalue.c: (START_TEST):
27352         * gst/gstvalue.c: (gst_value_deserialize):
27353           return long long, not int, so gint64 deserialization actually
27354           works.  Is there any flag that makes the compiler check this ?
27355           Fixes #308559
27356
27357 2005-06-22  Wim Taymans  <wim@fluendo.com>
27358
27359         * gst/gstbuffer.h:
27360         Added convenience macros for setting buffers in GValue.
27361
27362 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27363
27364         * check/gst/.cvsignore:
27365         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27366           add a test deserializing int64, and comment part out because
27367           it fails, yay !
27368
27369 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27370
27371         * check/Makefile.am:
27372         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27373         * testsuite/Makefile.am:
27374         * testsuite/caps/Makefile.am:
27375         * testsuite/caps/value_serialize.c:
27376         * testsuite/test_gst_init.c:
27377           move a value_serialize test over
27378
27379 2005-06-20  Wim Taymans  <wim@fluendo.com>
27380
27381         * gst/gstpad.c:
27382         Small doc updates.
27383         
27384         * gst/gstvalue.c: (gst_value_compare_buffer),
27385         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27386         (gst_value_compare_flags), (gst_value_serialize_flags),
27387         (gst_value_deserialize_flags), (_gst_value_initialize):
27388         Fix serialisation of buffers, they are not boxed types anymore
27389
27390 2005-06-20  Wim Taymans  <wim@fluendo.com>
27391
27392         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27393         Testcase to show error in buffer-on-caps serialisation.
27394
27395 2005-06-20  Andy Wingo  <wingo@pobox.com>
27396
27397         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27398         will be adding to later.
27399
27400         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27401         if its socks fill with rocks.
27402         (gst_system_clock_obtain): Set the name on object construction.
27403         Avoid double-checked locking.
27404
27405 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
27406
27407         * gst/gsturi.c: (gst_element_make_from_uri):
27408           Fix potential endless loop.
27409
27410 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27411
27412         * check/Makefile.am:
27413           add gsttag
27414         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27415         (main):
27416           move over from testsuite dir and clean up
27417         * configure.ac:
27418         * gst/gsttag.c:
27419         * testsuite/Makefile.am:
27420         * testsuite/tags/.cvsignore:
27421         * testsuite/tags/Makefile.am:
27422         * testsuite/tags/merge.c:
27423           remove testsuite/tags
27424
27425 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27426
27427         * docs/gst/gstreamer-sections.txt:
27428         * docs/gst/tmpl/gstenumtypes.sgml:
27429         * win32/gstenumtypes.c:
27430           clean up documentation build a little
27431
27432 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27433
27434         * check/gstcheck.h:
27435           add macros for checking refcounts on objects and caps
27436         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27437           add some more unit tests
27438         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27439         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27440           fix leaked refcounts (I hope :)) so unittest works
27441         * gst/gstpad.h:
27442           whitespace removal
27443
27444 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27445
27446         * configure.ac: back to HEAD
27447
27448 === release 0.9.1 ===
27449
27450 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
27451
27452         * NEWS:
27453         * RELEASE:
27454           updated
27455
27456 2005-06-17  Andy Wingo  <wingo@pobox.com>
27457
27458         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27459         assert; it's always possible that the pad gets deactivated in
27460         between the checks in gstpad.c and the implementation. Rely on
27461         finish_preroll() to return a FLUSHING or similar instead of on the
27462         assert.
27463         
27464         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27465         clock and post an EOS message if we come out of finish_preroll in
27466         the playing state.
27467
27468 2005-06-16  David Schleef  <ds@schleef.org>
27469
27470         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27471         (gst_capsfilter_set_property): Allow NULL as possible value
27472         for filter_caps property, indicating GST_CAPS_ANY.
27473
27474 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27475
27476         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
27477           fix debug output
27478         * gst/schedulers/Makefile.am:
27479           use libgst prefix
27480         * gstreamer.spec.in:
27481           fix spec for it
27482
27483 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27484
27485         * gstreamer.spec.in:
27486           clean up
27487
27488 2005-06-08  Andy Wingo  <wingo@pobox.com>
27489
27490         * gst/gstutils.c: RPAD fixes all around.
27491         (gst_element_link_pads): Refcounting fixes.
27492
27493         * tools/gst-inspect.c:
27494         * tools/gst-xmlinspect.c:
27495         * parse/grammar.y:
27496         * gst/base/gsttypefindhelper.c:
27497         * gst/base/gstbasesink.c:
27498         * gst/gstqueue.c: RPAD fixes.
27499
27500         * gst/gstghostpad.h:
27501         * gst/gstghostpad.c: New ghost pad implementation as full proxy
27502         pads. The tricky thing is they provide both source and sink
27503         interfaces, since they proxy the internal pad for the external
27504         pad, and vice versa. Implement with lower-level ProxyPad objects,
27505         with the interior proxy pad as a child of the exterior ghost pad.
27506         Should write a doc on this.
27507         
27508         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
27509         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
27510         gst_object API.
27511         
27512         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
27513         pads are real pads. No ghost pads in this file. Not documenting
27514         the myriad s/RPAD/PAD/ and REALIZE fixes.
27515         (gst_pad_class_init): Add properties for "direction" and
27516         "template". Both are construct-only, so they can't change during
27517         the life of the pad. Fixes properly deriving from GstPad.
27518         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
27519         derived objects, just set properties when creating the objects via
27520         g_object_new.
27521         (gst_pad_get_parent): Implement as a function, return NULL if the
27522         parent is not an element.
27523         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
27524         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
27525         
27526         * gst/gstobject.c (gst_object_class_init): Make name a construct
27527         property. Don't set it in the object init.
27528
27529         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
27530         with UNKNOWN direction.
27531         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
27532         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
27533         (gst_element_remove_pad): Remove ghost-pad special cases.
27534         (gst_element_pads_activate): Remove rpad cruft.
27535
27536         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
27537         catch the pad's-parent-not-an-element case.
27538
27539         * gst/gst.h: Include gstghostpad.h.
27540
27541         * gst/gst.c (init_post): No more real, ghost pads.
27542
27543         * gst/Makefile.am: Add gstghostpad.[ch].
27544
27545         * check/Makefile.am:
27546         * check/gst/gstbin.c:
27547         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
27548         into a bin creates ghost pads, and that the refcounts are right.
27549         Partly moved from gstbin.c.
27550
27551 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27552
27553         * check/gst-libs/.cvsignore:
27554         * check/gst/.cvsignore:
27555         * check/pipelines/.cvsignore:
27556           ignore more
27557         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
27558         (START_TEST), (cleanup_suite), (main):
27559           add some tests related to cleanup after running pipelines
27560
27561 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27562
27563         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
27564           add a testsuite for GstBuffer
27565
27566 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27567
27568         * gst/gstminiobject.h:
27569           add defines for accessing the refcount
27570
27571 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
27572
27573         * Makefile.am: added support for html unit test coverage reports
27574
27575 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
27576
27577         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27578           Free existing caps if the capsfilter changes. Add a FIXME about
27579           setting those caps on the pads.
27580
27581         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
27582           Before adding a ghost pad to a parent bin, check that there isn't
27583           already one for the element on the bin. Prevents infinite recursion
27584           when using decodebin in parse pipelines. Andy says he'll rewrite the
27585           way this works anyway, so ignore the hack.
27586
27587 2005-06-02  Andy Wingo  <wingo@pobox.com>
27588
27589         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
27590         file size, pass it on to the type find helper.
27591
27592         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
27593         segment_start and segment_end properly according to the seek
27594         method. Segment_end is still a bit flaky because offset can be
27595         negative for CUR and END cases, but it takes -1 as an "unset"
27596         value.
27597
27598 2005-06-02  Wim Taymans  <wim@fluendo.com>
27599
27600         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
27601         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
27602         (gst_basesink_activate):
27603         * gst/base/gstbasesink.h:
27604         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27605         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27606         (gst_pad_query), (gst_pad_start_task):
27607         * gst/gstpad.h:
27608         * gst/gstqueue.c: (gst_queue_bufferalloc),
27609         (gst_queue_handle_sink_event), (gst_queue_chain):
27610         Bufferalloc: return GstFlowReturn to more accuratly report
27611         why allocation failed.
27612
27613 2005-06-02  Wim Taymans  <wim@fluendo.com>
27614
27615         * gst/gstpipeline.c: (gst_pipeline_send_event):
27616         Take snapshot of state without blocking.
27617
27618 2005-06-02  Wim Taymans  <wim@fluendo.com>
27619
27620         * docs/design/part-TODO.txt:
27621         * docs/design/part-caps.txt:
27622         * docs/design/part-clocks.txt:
27623         * docs/design/part-negotiation.txt:
27624         * docs/design/part-preroll.txt:
27625         Small doc updates 
27626
27627 2005-05-30  Wim Taymans  <wim@fluendo.com>
27628
27629         * gst/elements/gstidentity.c: (gst_identity_event),
27630         (gst_identity_transform), (gst_identity_get_property):
27631         Protect last_message property as it is accessed from
27632         multiple threads.
27633
27634 2005-05-30  Wim Taymans  <wim@fluendo.com>
27635
27636         * gst/gstelement.c: (gst_element_init),
27637         (gst_element_pads_activate), (gst_element_change_state):
27638         Slicker pad activation code.
27639
27640 2005-05-30  Wim Taymans  <wim@fluendo.com>
27641
27642         * gst/Makefile.am:
27643         * gst/gstelement.h:
27644         * gst/gstelementfactory.h:
27645         * gst/gsttypes.h:
27646         Move elementfactory methods to separate .h file.
27647
27648 2005-05-30  Wim Taymans  <wim@fluendo.com>
27649
27650         * docs/design/part-overview.txt:
27651         * gst/gstsystemclock.h:
27652         Small typo fixes, doc updates.
27653
27654 2005-05-30  Wim Taymans  <wim@fluendo.com>
27655
27656         * gst/gst.c: (gst_init_get_popt_table), (init_post),
27657         (init_popt_callback):
27658         Remove cpu-opt flag.
27659
27660 2005-05-30  Wim Taymans  <wim@fluendo.com>
27661
27662         * gst/gstbuffer.c: (gst_subbuffer_finalize),
27663         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
27664         * gst/gstbuffer.h:
27665         Avoid typechecking in places where not needed.
27666         Added accessor for malloc_data.
27667
27668 2005-05-30  Wim Taymans  <wim@fluendo.com>
27669
27670         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
27671         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
27672         (gst_pad_configure_sink), (gst_pad_configure_src),
27673         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
27674         (gst_pad_start_task):
27675         Propagate errors from _set_caps() in configure_src/sink
27676         functions instead of returning TRUE.
27677         FLUSH events can travel up and downstream
27678
27679
27680 2005-05-30  Wim Taymans  <wim@fluendo.com>
27681
27682         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27683         (gst_basesink_activate):
27684         Handle EOS in preroll.
27685
27686 2005-05-30  Wim Taymans  <wim@fluendo.com>
27687
27688         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27689         (gst_queue_loop), (gst_queue_handle_src_event):
27690         Remove old pieces of code
27691         Flushing the queue in an upstream event is a very bad idea.
27692
27693 2005-05-26  Andy Wingo  <wingo@pobox.com>
27694
27695         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
27696         gst_value_set_mini_object so as to add a ref on the object (which
27697         will be removed when the value is unset).
27698
27699         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
27700         arg type in ::handoff.
27701
27702         * gst/gstelement.c (gst_element_change_state): Also deactivate
27703         pads in READY->NULL, just in case the element didn't make it to
27704         PAUSED. Wingo tested, Wim approved.
27705
27706 2005-05-26  Wim Taymans  <wim@fluendo.com>
27707
27708         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27709         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27710         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
27711         A flushing pad cannot be used to alloc_buffer from.
27712
27713 2005-05-26  Wim Taymans  <wim@fluendo.com>
27714
27715         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
27716         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
27717         (gst_bus_source_dispatch), (gst_bus_source_finalize),
27718         (gst_bus_create_watch), (gst_bus_add_watch_full):
27719         * gst/gstbus.h:
27720         Implement a real GSource and use g_main_context_wakeup() to
27721         signal new messages instead of the socketpair.
27722
27723 2005-05-25  Wim Taymans  <wim@fluendo.com>
27724
27725         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
27726         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
27727         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27728         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27729         (gst_pad_send_event), (gst_pad_start_task):
27730         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
27731         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27732         (gst_queue_sink_activate), (gst_queue_src_activate),
27733         (gst_queue_change_state):
27734         * gst/gstqueue.h:
27735         Fix state changes for non sinks. We now change sinks, then elements
27736         with unconnected srcpads, then the rest.
27737         More efficient queue unlocking in flush and state changes.
27738         Set the pad activate mode even if it does not have an activate
27739         function.
27740
27741 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27742
27743         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
27744           Don't go in pull mode for non-seekable sources.
27745         * gst/elements/gsttypefindelement.h:
27746         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
27747         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
27748         (free_entry), (stop_typefinding),
27749         (gst_type_find_element_handle_event), (find_peek),
27750         (gst_type_find_element_chain), (do_pull_typefind),
27751         (gst_type_find_element_change_state):
27752           Allow typefinding (w/o seeking) in push-mode, simplified version
27753           of what was in 0.8.
27754         * gst/gstutils.c: (gst_buffer_join):
27755         * gst/gstutils.h:
27756           gst_buffer_join() from 0.8.
27757
27758 2005-05-25  Wim Taymans  <wim@fluendo.com>
27759
27760         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27761         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27762         (gst_pad_send_event), (gst_pad_start_task):
27763         Disable attempt at mode switching until it is figured out.
27764
27765 2005-05-25  Wim Taymans  <wim@fluendo.com>
27766
27767         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
27768         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27769         (gst_basesink_finish_preroll), (gst_basesink_chain),
27770         (gst_basesink_loop), (gst_basesink_activate),
27771         (gst_basesink_change_state):
27772         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
27773         (gst_basesrc_get_range), (gst_basesrc_loop),
27774         (gst_basesrc_activate):
27775         * gst/elements/gsttee.c: (gst_tee_sink_activate):
27776         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27777         (gst_real_pad_init), (gst_real_pad_set_property),
27778         (gst_real_pad_get_property), (gst_pad_set_active),
27779         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
27780         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
27781         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
27782         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
27783         (gst_pad_event_default_dispatch), (gst_pad_event_default),
27784         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
27785         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
27786         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27787         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
27788         (gst_pad_stop_task):
27789         * gst/gstpad.h:
27790         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27791         (gst_queue_loop), (gst_queue_src_activate):
27792         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
27793         (gst_task_get_state):
27794         * gst/gsttask.h:
27795         * gst/schedulers/threadscheduler.c:
27796         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
27797         Implement gst_pad_pause/start/stop_task(), take STREAM lock
27798         in task function.
27799         Remove ACTIVE pad flag, use FLUSHING everywhere
27800         Added _pad_chain(), _pad_get_range() to call chain/getrange 
27801         functions.
27802         Add locks around IS_FLUSHING when reading.
27803         Take STREAM lock in chain(), get_range() functions so plugins
27804         don't need to take it anymore.
27805         
27806
27807
27808 2005-05-25  Wim Taymans  <wim@fluendo.com>
27809
27810         * tools/gst-launch.c: (event_loop):
27811         Unref message after using its contents instead of
27812         before.
27813
27814 2005-05-24  Wim Taymans  <wim@fluendo.com>
27815
27816         * docs/design/draft-ghostpads.txt:
27817         * docs/design/draft-push-pull.txt:
27818         * docs/design/draft-query.txt:
27819         * docs/design/part-overview.txt:
27820         Docs updates, added general overview doc.
27821
27822 2005-05-21  David Schleef  <ds@schleef.org>
27823
27824         * docs/gst/tmpl/old/GstBin.sgml:
27825         * docs/gst/tmpl/old/GstBuffer.sgml:
27826         * docs/gst/tmpl/old/GstCaps.sgml:
27827         * docs/gst/tmpl/old/GstClock.sgml:
27828         * docs/gst/tmpl/old/GstCompat.sgml:
27829         * docs/gst/tmpl/old/GstData.sgml:
27830         * docs/gst/tmpl/old/GstElement.sgml:
27831         * docs/gst/tmpl/old/GstEvent.sgml:
27832         * docs/gst/tmpl/old/GstIndex.sgml:
27833         * docs/gst/tmpl/old/GstStructure.sgml:
27834         * docs/gst/tmpl/old/GstTag.sgml:
27835         * docs/gst/tmpl/old/cothreads.sgml:
27836         * docs/gst/tmpl/old/cothreads_compat.sgml:
27837         * docs/gst/tmpl/old/gettext.sgml:
27838         * docs/gst/tmpl/old/gobject2gtk.sgml:
27839         * docs/gst/tmpl/old/grammar.tab.sgml:
27840         * docs/gst/tmpl/old/gst-i18n-app.sgml:
27841         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
27842         * docs/gst/tmpl/old/gst_private.sgml:
27843         * docs/gst/tmpl/old/gstaggregator.sgml:
27844         * docs/gst/tmpl/old/gstarch.sgml:
27845         * docs/gst/tmpl/old/gstatomic_impl.sgml:
27846         * docs/gst/tmpl/old/gstbufferstore.sgml:
27847         * docs/gst/tmpl/old/gstdata_private.sgml:
27848         * docs/gst/tmpl/old/gstdisksink.sgml:
27849         * docs/gst/tmpl/old/gstdisksrc.sgml:
27850         * docs/gst/tmpl/old/gstelementfactory.sgml:
27851         * docs/gst/tmpl/old/gstextratypes.sgml:
27852         * docs/gst/tmpl/old/gstfakesink.sgml:
27853         * docs/gst/tmpl/old/gstfakesrc.sgml:
27854         * docs/gst/tmpl/old/gstfdsink.sgml:
27855         * docs/gst/tmpl/old/gstfdsrc.sgml:
27856         * docs/gst/tmpl/old/gstfilesink.sgml:
27857         * docs/gst/tmpl/old/gstfilesrc.sgml:
27858         * docs/gst/tmpl/old/gsthttpsrc.sgml:
27859         * docs/gst/tmpl/old/gstidentity.sgml:
27860         * docs/gst/tmpl/old/gstindexfactory.sgml:
27861         * docs/gst/tmpl/old/gstmarshal.sgml:
27862         * docs/gst/tmpl/old/gstmd5sink.sgml:
27863         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
27864         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
27865         * docs/gst/tmpl/old/gstpadtemplate.sgml:
27866         * docs/gst/tmpl/old/gstpipefilter.sgml:
27867         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
27868         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
27869         * docs/gst/tmpl/old/gstshaper.sgml:
27870         * docs/gst/tmpl/old/gstspider.sgml:
27871         * docs/gst/tmpl/old/gstspideridentity.sgml:
27872         * docs/gst/tmpl/old/gststatistics.sgml:
27873         * docs/gst/tmpl/old/gsttee.sgml:
27874         * docs/gst/tmpl/old/gsttimecache.sgml:
27875         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
27876         * docs/gst/tmpl/old/gstxmlregistry.sgml:
27877         * docs/gst/tmpl/old/gthread-cothreads.sgml:
27878         * docs/gst/tmpl/old/types.sgml:
27879           I didn't intend to add these or check them in.
27880
27881 2005-05-19  David Schleef  <ds@schleef.org>
27882
27883         * configure.ac: Use -no-common everywhere.  In a sane world, it
27884           would be the default in libtool, because without it, you can't
27885           build DLLs on Windows.
27886         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
27887         * docs/gst/gstreamer-sections.txt:
27888         * docs/gst/tmpl/gstcpu.sgml:
27889         * docs/gst/tmpl/gstdata.sgml:
27890         * docs/gst/tmpl/gstthread.sgml:
27891
27892 2005-05-19  David Schleef  <ds@schleef.org>
27893
27894         * gst/gstminiobject.c: (gst_value_set_mini_object),
27895         (gst_value_take_mini_object), (gst_value_get_mini_object):
27896         * gst/gstminiobject.h: Add GValue set/get functions.
27897
27898 2005-05-19  Wim Taymans  <wim@fluendo.com>
27899
27900         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
27901         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
27902         (gst_subbuffer_init), (gst_buffer_is_span_fast):
27903         * gst/gstbuffer.h:
27904         * gst/gstbus.c: (gst_bus_post):
27905         * gst/gstelement.c: (gst_element_get_random_pad):
27906         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
27907         Make subbufer unref the parent in finalize.
27908         some more debugging info.
27909
27910
27911 2005-05-19  Wim Taymans  <wim@fluendo.com>
27912
27913         * gst/base/gstbasesink.c: (gst_basesink_class_init),
27914         (gst_basesink_init), (gst_basesink_finalize),
27915         (gst_basesink_activate), (gst_basesink_change_state):
27916         Don't free preroll queue too early.
27917
27918 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27919
27920         * gst/Makefile.am:
27921         * gst/ROADMAP:
27922           Hi, I'm outdated. Please shoot me.
27923
27924 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27925
27926         * gst/gstpipeline.c: (gst_pipeline_send_event):
27927           Do not access variables after they have been deleted.
27928
27929 2005-05-19  Wim Taymans  <wim@fluendo.com>
27930
27931         * tools/gst-inspect.c: (print_plugin_features):
27932         A plugin feature does unfortunatly not use the
27933         object name yet...
27934
27935 2005-05-18  Wim Taymans  <wim@fluendo.com>
27936
27937         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
27938         Port _span() functions to new subbuffers.
27939
27940 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27941
27942         * gst/gstbin.c: (gst_bin_add_func):
27943           Fix clock settery in bins when adding kids after the clock has
27944           been selected.
27945
27946 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27947
27948         * gst/elements/gstidentity.c: (gst_identity_class_init):
27949           Workaround until signals support GstMiniObject.
27950
27951 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
27952
27953         * gst/gstbuffer.c:
27954         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
27955
27956 2005-05-18  Wim Taymans  <wim@fluendo.com>
27957
27958         * gst/base/Makefile.am:
27959         * gst/base/gstadapter.c: (gst_adapter_base_init),
27960         (gst_adapter_class_init), (gst_adapter_init),
27961         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
27962         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
27963         (gst_adapter_flush), (gst_adapter_available),
27964         (gst_adapter_available_fast):
27965         * gst/base/gstadapter.h:
27966         Ported and added adapter to the base classes.
27967
27968 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
27969
27970         * gst/gst.c:
27971         * gst/gstmessage.c:
27972           Make sure the class is reffed/unreffed once before threads can be
27973           used.  Fixes #304551.
27974
27975 2005-05-17  Wim Taymans  <wim@fluendo.com>
27976
27977         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
27978         (gst_basesink_chain_unlocked), (gst_basesink_activate):
27979         * gst/gstminiobject.c: (gst_mini_object_get_type),
27980         (gst_mini_object_free):
27981         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
27982         (gst_pad_push), (gst_pad_push_event):
27983         * gst/gstqueue.c: (gst_queue_change_state):
27984         Don't queue buffers in basesink when we are flushing.
27985         Unref buffer when flushing in basesink.
27986         Flush queue when going to READY
27987         Unref buffer when _push() returns an error.
27988         Don't free MiniObject instance when refcount is incremented
27989         in _finalize() so that we can recover objects.
27990
27991 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
27992
27993         * docs/manual/advanced-schedulers.xml:
27994         * docs/manual/appendix-checklist.xml:
27995         * docs/pwg/advanced-clock.xml:
27996         * docs/pwg/advanced-interfaces.xml:
27997         * docs/pwg/advanced-request.xml:
27998         * docs/pwg/advanced-types.xml:
27999         * docs/pwg/intro-preface.xml:
28000         * examples/plugins/example.c: (gst_example_get_type),
28001         (gst_example_class_init), (gst_example_chain),
28002         (gst_example_set_property), (gst_example_get_property),
28003         (gst_example_change_state), (plugin_init):
28004         * examples/plugins/example.h:
28005           small doc fixes
28006
28007 2005-05-17  Wim Taymans  <wim@fluendo.com>
28008
28009         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
28010         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
28011         * gst/gstqueue.c: (gst_queue_change_state):
28012         Clear queue when going to READY.
28013         Remove IN_SETCAPS flag too.
28014
28015 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
28016
28017         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
28018           Remove implicit cast from gboolean to GstElementStateReturn;
28019           make sure we still return failure in paused => ready case if
28020           the parent class fails to change state and our own stop 
28021           vfunc succeeds.
28022
28023 2005-05-17  Wim Taymans  <wim@fluendo.com>
28024
28025         * tools/gst-launch.c: (event_loop):
28026         Message was unreffed too soon.
28027
28028 2005-05-16  Andy Wingo  <wingo@pobox.com>
28029
28030         * gst/gstbin.c (sink_iterator_filter): Err... um...
28031
28032         * check/gst/gstbin.c (test_ghost_pads): New test for the
28033         ghosting-if-elements-not-in-same-bin behavior.
28034
28035 2005-05-16  David Schleef  <ds@schleef.org>
28036
28037         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
28038         accessing refcount directly.
28039
28040 2005-05-15  David Schleef  <ds@schleef.org>
28041
28042         * check/Makefile.am: remove GstData checks
28043         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
28044         * gst/Makefile.am: add miniobject, remove data
28045         * gst/gst.h: add miniobject, remove data
28046         * gst/gstdata.c: remove
28047         * gst/gstdata.h: remove
28048         * gst/gstdata_private.h: remove
28049         * gst/gsttypes.h: remove GstEvent and GstMessage
28050         * gst/gstelement.c: (gst_element_post_message): fix for API changes
28051         * gst/gstmarshal.list: change BOXED -> OBJECT
28052
28053         Implement GstMiniObject.
28054         * gst/gstminiobject.c:
28055         * gst/gstminiobject.h:
28056
28057         Modify to be subclasses of GstMiniObject.
28058         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
28059         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
28060         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
28061         (gst_subbuffer_get_type), (gst_subbuffer_init),
28062         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
28063         (gst_buffer_span):
28064         * gst/gstbuffer.h:
28065         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
28066         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
28067         (_gst_event_copy), (gst_event_new):
28068         * gst/gstevent.h:
28069         * gst/gstmessage.c: (_gst_message_initialize),
28070         (gst_message_get_type), (gst_message_class_init),
28071         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
28072         (gst_message_new), (gst_message_new_error),
28073         (gst_message_new_warning), (gst_message_new_tag),
28074         (gst_message_new_state_changed), (gst_message_new_application):
28075         * gst/gstmessage.h:
28076         * gst/gstprobe.c: (gst_probe_perform),
28077         (gst_probe_dispatcher_dispatch):
28078         * gst/gstprobe.h:
28079         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
28080         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
28081         (_gst_query_copy), (gst_query_new):
28082
28083         Update elements for GstData -> GstMiniObject changes
28084         * gst/gstquery.h:
28085         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
28086         (gst_queue_chain), (gst_queue_loop):
28087         * gst/elements/gstbufferstore.c:
28088         (gst_buffer_store_add_buffer_func),
28089         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
28090         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28091         (gst_fakesink_render):
28092         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
28093         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
28094         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
28095         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
28096         (gst_filesrc_create_read):
28097         * gst/elements/gstidentity.c: (gst_identity_class_init):
28098         * gst/elements/gsttypefindelement.c:
28099         (gst_type_find_element_src_event), (free_entry_buffers),
28100         (gst_type_find_element_handle_event):
28101         * libs/gst/dataprotocol/dataprotocol.c:
28102         (gst_dp_header_from_buffer):
28103         * libs/gst/dataprotocol/dataprotocol.h:
28104         * libs/gst/dataprotocol/dp-private.h:
28105
28106 2005-05-15  David Schleef  <ds@schleef.org>
28107
28108         * gst/elements/gstelements.c: Don't include headers that were
28109         just removed.
28110
28111 2005-05-15  David Schleef  <ds@schleef.org>
28112
28113         * gst/elements/Makefile.am: Remove some elements that don't
28114         need to be in the core (or even exist at all).
28115         * gst/elements/gstaggregator.c:
28116         * gst/elements/gstaggregator.h:
28117         * gst/elements/gstmd5sink.c:
28118         * gst/elements/gstmd5sink.h:
28119         * gst/elements/gstmultifilesrc.c:
28120         * gst/elements/gstmultifilesrc.h:
28121         * gst/elements/gstpipefilter.c:
28122         * gst/elements/gstpipefilter.h:
28123         * gst/elements/gstshaper.c:
28124         * gst/elements/gstshaper.h:
28125         * gst/elements/gststatistics.c:
28126         * gst/elements/gststatistics.h:
28127         * po/POTFILES.in: Remove above files.
28128
28129 2005-05-14  Andy Wingo  <wingo@pobox.com>
28130
28131         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
28132         so as to get the refs right.
28133         (sink_iterator_filter): New function, wraps bin_element_is_sink,
28134         unreffing objects that don't pass the filter.
28135
28136         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
28137         gst_element_set_bus.
28138         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
28139         normal cases, this will destroy the bus.
28140
28141         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
28142         object.
28143
28144         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
28145         has no sinks.
28146
28147 2005-05-13  Andy Wingo  <wingo@pobox.com>
28148
28149         * gst/gstutils.c (gst_element_link_pads): Instead of calling
28150         gst_pad_link, call pad_link_maybe_ghosting,
28151         (pad_link_maybe_ghosting): Links pads, making sure that the
28152         elements being linked are in the same bin.
28153         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
28154         Helpers for pad_link_maybe_ghosting.
28155
28156 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
28157
28158         * configure.ac:
28159           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
28160
28161 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
28162
28163         * docs/design/part-element-source.txt:
28164           Mention GstPushSrc
28165
28166 2005-05-12  Wim Taymans  <wim@fluendo.com>
28167
28168         * gst/base/gstbasesink.c: (gst_basesink_init),
28169         (gst_basesink_activate):
28170         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
28171         (gst_basesrc_is_seekable):
28172         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
28173         (bin_element_is_sink), (gst_bin_change_state):
28174         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28175         * gst/gstelement.h:
28176         Identify sinks by their flag to avoid overly complicated
28177         checks (fow now).
28178         Do state changes even for elements not reachable from the
28179         sinks.
28180         BaseSink is a sink now :)
28181         Some more debugging info in the basesrc.
28182
28183
28184 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28185
28186         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
28187           Implement _query on a bin, similar to _send_event.
28188
28189 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
28190
28191         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
28192           Discont event offset format should be GST_FORMAT_BYTES,
28193           not GST_FORMAT_TIME.
28194
28195 2005-05-12  Wim Taymans  <wim@fluendo.com>
28196
28197         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
28198         Same fix as Ronald's but without the signal. 
28199
28200 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28201
28202         * gst/gstutils.c: (gst_element_query_position):
28203           No, an element is not a pad.
28204
28205 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28206
28207         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
28208         (gst_bin_get_state):
28209           If a child is removed from a bin while we remove the child from
28210           the bin and while we're retrieving its state, signal this to the
28211           get_state function so we abort the wait (instead of waiting for
28212           a timeout) and can immediately re-iterate over all other elements.
28213
28214 2005-05-12  Wim Taymans  <wim@fluendo.com>
28215
28216         * gst/base/Makefile.am:
28217         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
28218         (gst_basesrc_start):
28219         * gst/base/gstbasesrc.h:
28220         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
28221         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
28222         (gst_pushsrc_init), (gst_pushsrc_create):
28223         * gst/base/gstpushsrc.h:
28224         Added is_seekable to BaseSrc
28225         Added simple PushSrc.
28226
28227 2005-05-11  Wim Taymans  <wim@fluendo.com>
28228
28229         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28230         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28231         (gst_element_link_pads), (gst_element_query_position),
28232         (gst_element_query_convert), (intersect_caps_func),
28233         (gst_pad_query_position), (gst_pad_query_convert):
28234         Fix refcounting in utils function.
28235         No point in trying to activate a pad when it's added, it could
28236         be added from the state change function and then we deadlock, the
28237         element has to decide what to do.
28238
28239 2005-05-10  Andy Wingo  <wingo@pobox.com>
28240
28241         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28242         *all* the arguments.
28243
28244         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28245         stream lock if it's a FLUSH_DONE; normal flushes don't get the
28246         lock (according to the docs -- if this is wrong change the docs).
28247
28248         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28249         flush messages in the NULL state.
28250
28251         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28252         message immediately and return.
28253         (gst_bus_set_flushing): New function. If a bus is flushing, it
28254         flushes out any queued messages and immediately unrefs new
28255         messages. This is so when an element goes to NULL, all of the
28256         unhandled messages coming from it can be freed, and their
28257         references to the element dropped. In other words: message source
28258         ref considered harmful :P
28259
28260         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28261         we're finished with it.
28262
28263         * gst/gstmessage.c (gst_message_new_state_changed): 
28264
28265 2005-05-10  Wim Taymans  <wim@fluendo.com>
28266
28267         * gst/gstvalue.c: (gst_value_compare_flags),
28268         (gst_value_serialize_flags), (gst_value_deserialize_flags),
28269         (_gst_value_initialize):
28270         Added flags serialize/deserialize/compare code.
28271
28272 2005-05-09  Andy Wingo  <wingo@pobox.com>
28273
28274         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28275         Intersect the peer's caps with our caps.
28276
28277 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28278
28279         * gst/base/gsttypefindhelper.c: (helper_find_peek):
28280         * gst/elements/gsttypefindelement.c: (find_peek):
28281           Handle negative offsets better. Fixes decodebin.
28282
28283 2005-05-09  Wim Taymans  <wim@fluendo.com>
28284
28285         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28286         (gst_base_transform_event):
28287         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28288         Implement accept_caps.
28289         Fix silly lock/unlock mismatch in base class.
28290
28291 2005-05-09  Wim Taymans  <wim@fluendo.com>
28292
28293         * docs/design/draft-push-pull.txt:
28294         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28295         * gst/elements/gstfilesink.c: (gst_filesink_init),
28296         (gst_filesink_query):
28297         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28298         (gst_type_find_handle_src_query), (find_element_get_length):
28299         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28300         * gst/gstelement.h:
28301         * gst/gstmessage.c:
28302         * gst/gstmessage.h:
28303         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28304         (gst_real_pad_get_caps_unlocked),
28305         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28306         (gst_pad_event_default_dispatch), (gst_pad_event_default),
28307         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28308         (gst_real_pad_dispose), (gst_real_pad_finalize),
28309         (gst_pad_load_and_link), (gst_pad_save_thyself),
28310         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28311         (gst_pad_check_pull_range), (gst_pad_pull_range),
28312         (gst_pad_template_get_type), (gst_pad_template_class_init),
28313         (gst_pad_template_init), (gst_pad_template_dispose),
28314         (name_is_valid), (gst_static_pad_template_get),
28315         (gst_pad_template_new), (gst_static_pad_template_get_caps),
28316         (gst_pad_template_get_caps), (gst_pad_set_element_private),
28317         (gst_pad_get_element_private), (gst_pad_start_task),
28318         (gst_pad_pause_task), (gst_pad_stop_task),
28319         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28320         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28321         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28322         (gst_ghost_pad_new):
28323         * gst/gstpad.h:
28324         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28325         (gst_query_new_position), (gst_query_set_position),
28326         (gst_query_parse_position), (gst_query_new_convert),
28327         (gst_query_set_convert), (gst_query_parse_convert):
28328         * gst/gstquery.h:
28329         * gst/gstqueryutils.c:
28330         * gst/gstqueryutils.h:
28331         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28332         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28333         (gst_queue_handle_src_query):
28334         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28335         (gst_element_query_position), (gst_element_query_convert),
28336         (intersect_caps_func), (gst_pad_query_position),
28337         (gst_pad_query_convert):
28338         * gst/gstutils.h:
28339         * tools/gst-inspect.c: (print_pad_info):
28340         * tools/gst-xmlinspect.c: (print_element_info):
28341         Remove old query functions. Ported old code.
28342         Added position/convert helper functions to gstutils.
28343         Reordered gstpad.c code, grouping relevant things.
28344         Remove gst_message_new(), always need to speficy a specific
28345         message.
28346
28347
28348 2005-05-09  Andy Wingo  <wingo@pobox.com>
28349
28350         * gst/gstiterator.h: Add some includes.
28351
28352         * gst/gstqueryutils.h: Include more headers.
28353
28354         * gst/gstpad.h:
28355         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28356         some uses of gst_pad_query.
28357
28358         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28359         NULL out parameters.
28360         (gst_query_new_position): New proc, allocates a new position
28361         query.
28362
28363         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28364         gstqueryutils.c to the build.
28365
28366         * gst/gststructure.c (gst_structure_set_valist): Implement with
28367         the generic G_VALUE_COLLECT.
28368         
28369 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
28370
28371         * gst/Makefile.am: (gst_headers):
28372         Added gstqueryutils.h to the list of headers to install, that was
28373         a 'nachty' move wingo :)
28374
28375 2005-05-06  Andy Wingo  <wingo@pobox.com>
28376
28377         * gst/gstquery.h
28378         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28379         GstData, init a memchunk.
28380         (standard_definitions): Add a few query types, deprecate a few.
28381         (gst_query_get_type): New proc.
28382         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28383         implementation.
28384         (gst_query_new_application, gst_query_get_structure): New public
28385         procs.
28386
28387         * docs/design/draft-query.txt: Removed LINKS from the query types,
28388         because all the rest can be dispatched to other pads -- seemed
28389         ugly to have a query that couldn't be dispatched. internal_links
28390         is fine as a pad method.
28391
28392         * gst/gstpad.h: Add query2 as a pad method, add the new functions
28393         in gstpad.c, but maintain binary compatibility for the moment.
28394         Will fix before 0.9 is out.
28395
28396         * gst/gstqueryutils.c: 
28397         * gst/gstqueryutils.h: New files, implement 3 methods for each
28398         query type: parse_query, parse_response, and set. Probably need an
28399         allocator as well.
28400
28401         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28402
28403         * gst/elements/gstfilesink.c (gst_filesink_query2):
28404         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28405         query_types, and formats methods.
28406
28407         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28408         (gst_pad_set_query2_function): New functions.
28409         (gst_real_pad_init): Set query2_default as the default query2
28410         function. Basically just dispatches to internally linked pads.
28411
28412         Needs review!
28413         
28414         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28415         without using the atomic operations. Only one thread can possibly
28416         be accessing the data at this point. Changed so as to avoid
28417         gst_atomic operations.
28418
28419 2005-05-06  Wim Taymans  <wim@fluendo.com>
28420
28421         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28422         Also set caps if we use the fallback buffer alloc.
28423
28424 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
28425
28426         * docs/gst/Makefile.am:
28427         * docs/gst/gstreamer-docs.sgml:
28428         * docs/gst/gstreamer-sections.txt:
28429         * docs/gst/tmpl/gstatomic.sgml:
28430         * docs/gst/tmpl/gstmemchunk.sgml:
28431         * testsuite/elements/struct_i386.h:
28432         * win32/GStreamer.vcproj:
28433         * win32/Makefile:
28434           Purge GstAtomic stuff from docs and win32 makefiles as well
28435
28436 2005-05-06  Wim Taymans  <wim@fluendo.com>
28437
28438         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28439         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28440         * gst/gstpad.c: (gst_pad_peer_get_caps):
28441         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28442         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28443         (gst_queue_src_activate), (gst_queue_change_state):
28444         * gst/gstqueue.h:
28445         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28446         (intersect_caps_func):
28447         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28448         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28449         Some fixes for the peer_get_caps() change.
28450
28451 2005-05-06  Wim Taymans  <wim@fluendo.com>
28452
28453         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28454         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28455         (gst_basesink_activate):
28456         Actually do something with error codes returned from the push
28457         functions.
28458
28459 2005-05-06  Wim Taymans  <wim@fluendo.com>
28460
28461         * docs/design/part-element-sink.txt:
28462         * docs/design/part-element-source.txt:
28463         * gst/base/gstbasesink.c: (gst_basesink_class_init),
28464         (gst_basesink_event), (gst_basesink_activate):
28465         * gst/base/gstbasesink.h:
28466         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28467         (gst_basesrc_activate):
28468         * gst/base/gstbasesrc.h:
28469         * gst/gstelement.c: (gst_element_pads_activate):
28470         Some more documentation.
28471         Fixed scheduling decision in _pads_activate().
28472
28473 2005-05-05  Andy Wingo  <wingo@pobox.com>
28474
28475         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
28476         the test suite.
28477
28478 2005-05-05  Wim Taymans  <wim@fluendo.com>
28479
28480         * gst/base/Makefile.am:
28481         * gst/base/gstbasesink.h:
28482         * gst/base/gstbasesrc.c: (gst_basesrc_init),
28483         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
28484         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
28485         (gst_collectpads_class_init), (gst_collectpads_init),
28486         (gst_collectpads_finalize), (gst_collectpads_new),
28487         (gst_collectpads_set_function), (gst_collectpads_add_pad),
28488         (find_pad), (gst_collectpads_remove_pad),
28489         (gst_collectpads_is_active), (gst_collectpads_collect),
28490         (gst_collectpads_collect_range), (gst_collectpads_start),
28491         (gst_collectpads_stop), (gst_collectpads_peek),
28492         (gst_collectpads_pop), (gst_collectpads_available),
28493         (gst_collectpads_read), (gst_collectpads_flush),
28494         (gst_collectpads_chain):
28495         * gst/base/gstcollectpads.h:
28496         * gst/elements/Makefile.am:
28497         * gst/elements/gstelements.c:
28498         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28499         (gst_fakesink_get_times), (gst_fakesink_event),
28500         (gst_fakesink_preroll), (gst_fakesink_render):
28501         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28502         (gst_filesink_init), (gst_filesink_set_location),
28503         (gst_filesink_open_file), (gst_filesink_close_file),
28504         (gst_filesink_pad_query), (gst_filesink_event),
28505         (gst_filesink_render), (gst_filesink_change_state):
28506         * gst/elements/gstfilesink.h:
28507         Added object to help in making collect pad based elements.
28508         Ported filesink.
28509         Make event function in sink baseclass return gboolean.
28510
28511 2005-05-05  Wim Taymans  <wim@fluendo.com>
28512
28513         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
28514         (gst_bin_get_by_name):
28515         * gst/gstbuffer.h:
28516         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
28517         (gst_clock_finalize):
28518         * gst/gstdata.c: (gst_data_replace):
28519         * gst/gstdata.h:
28520         * gst/gstelement.c: (gst_element_request_pad),
28521         (gst_element_pads_activate):
28522         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
28523         (gst_object_unref):
28524         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28525         (gst_pad_set_checkgetrange_function),
28526         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
28527         (gst_pad_check_pull_range), (gst_pad_pull_range),
28528         (gst_static_pad_template_get_caps), (gst_pad_start_task),
28529         (gst_pad_pause_task), (gst_pad_stop_task):
28530         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28531         (gst_element_request_pad), (gst_pad_proxy_getcaps):
28532         Fix name lookup in GstBin.
28533         Added _data_replace() function and _buffer_replace()
28534         Use finalize method to clean up clock.
28535         Fix refcounting on request pads.
28536         Fix pad schedule mode error.
28537         Some more object refcounting debug info,
28538
28539
28540 2005-05-04  Andy Wingo <wingo@pobox.com>
28541
28542         * check/Makefile.am:
28543         * docs/gst/tmpl/gstatomic.sgml:
28544         * docs/gst/tmpl/gstplugin.sgml:
28545         * gst/base/gstbasesink.c: (gst_basesink_activate):
28546         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
28547         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
28548         (gst_basesrc_query), (gst_basesrc_set_property),
28549         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
28550         (gst_basesrc_activate):
28551         * gst/base/gstbasesrc.h:
28552         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
28553         (gst_base_transform_src_activate):
28554         * gst/elements/gstelements.c:
28555         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28556         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28557         * gst/elements/gsttee.c: (gst_tee_sink_activate):
28558         * gst/elements/gsttypefindelement.c: (find_element_get_length),
28559         (gst_type_find_element_checkgetrange),
28560         (gst_type_find_element_activate):
28561         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
28562         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
28563         (gst_caps_load_thyself):
28564         * gst/gstelement.c: (gst_element_pads_activate),
28565         (gst_element_save_thyself), (gst_element_restore_thyself):
28566         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
28567         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
28568         * gst/gstpad.h:
28569         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
28570         (gst_xml_parse_file), (gst_xml_parse_memory),
28571         (gst_xml_get_element), (gst_xml_make_element):
28572         * gst/indexers/gstfileindex.c: (gst_file_index_load),
28573         (_file_index_id_save_xml), (gst_file_index_commit):
28574         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
28575         (read_enum), (load_pad_template), (load_feature), (load_plugin),
28576         (load_paths):
28577         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
28578         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
28579         * tools/gst-complete.c: (main):
28580         * tools/gst-compprep.c: (main):
28581         * tools/gst-inspect.c: (print_element_properties_info):
28582         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
28583         * tools/gst-xmlinspect.c: (print_element_properties):
28584         GCC 4 fixen.
28585         
28586 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
28587
28588         * gst/gstplugin.c: (gst_plugin_check_module),
28589         (gst_plugin_check_file), (gst_plugin_load_file):
28590             apply patch from #172526 to make register work on MacOSX
28591
28592 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28593
28594         * docs/gst/tmpl/gstconfig.sgml:
28595         * gst/gstconfig.h.in:
28596           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
28597         * testsuite/debug/printf_extension.c: (main):
28598           Do not use GST_PTR_FORMAT on pointers to types with
28599           sizeof < sizeof(gpointer).  Fixes test on 64-bit
28600         * testsuite/elements/property.h:
28601           use correct printf format
28602
28603 2005-05-02  Wim Taymans  <wim@fluendo.com>
28604
28605         * docs/design/draft-push-pull.txt:
28606         * docs/design/draft-query.txt:
28607         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
28608         (gst_basesrc_start):
28609         Added draft for new query API.
28610         Added draft for better selecting scheduling methods.
28611         Make basesrc ignore length if the subclass does not support
28612         it.
28613
28614 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28615
28616         * gst/Makefile.am:
28617           possible fixes for automake-1.5 - _LIBADD is reserved
28618
28619 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28620
28621         * docs/faq/Makefile.am:
28622         * docs/manual/Makefile.am:
28623         * docs/manuals.mak:
28624         * docs/pwg/Makefile.am:
28625         * gst/Makefile.am:
28626           possible fixes for automake-1.5
28627
28628 2005-04-28  Wim Taymans  <wim@fluendo.com>
28629
28630         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28631         (gst_basesink_pad_getcaps), (gst_basesink_init),
28632         (gst_basesink_do_sync):
28633         * gst/gstclock.c: (gst_clock_entry_new):
28634         * gst/gstevent.c: (gst_event_discont_get_value):
28635         * gst/gstpipeline.c: (pipeline_bus_handler),
28636         (gst_pipeline_change_state):
28637         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
28638         Better debugging of clocking info.
28639         Allow NULL values when getting discont values.
28640
28641 2005-04-27  Wim Taymans  <wim@fluendo.com>
28642
28643         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28644         * check/gst/gstpad.c: (gst_pad_suite):
28645         Increase timeout for checks.
28646
28647 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
28648
28649         * check/Makefile.am:
28650           fix the broken rule for cleanup.  Apparently this rule is
28651           only needed on FC2, so maybe this warrants further autotool
28652           inspection.
28653
28654 2005-04-26  Wim Taymans  <wim@fluendo.com>
28655
28656         * gst/gsttrashstack.h:
28657         Ooohh. a nasty one! After having a failed pop() from the stack,
28658         it's possible that the stack is empty. In that case, don't
28659         follow the NULL pointer.
28660
28661 2005-04-25  Wim Taymans  <wim@fluendo.com>
28662
28663         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28664         (gst_pad_set_checkgetrange_function),
28665         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
28666         (gst_pad_check_pull_range), (gst_pad_pull_range),
28667         (gst_static_pad_template_get_caps), (gst_pad_start_task),
28668         (gst_pad_pause_task), (gst_pad_stop_task):
28669         * gst/gstplugin.c: (gst_plugin_load):
28670         * gst/gstplugin.h:
28671         Remove gst_library_load as it does more harm than good with
28672         the new g_module flags.
28673         Revert bogus caps template check in pad linking, pad caps
28674         are important when linking not the template, which is more
28675         general than the current caps.
28676
28677 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28678
28679         * gst/autoplug/.cvsignore:
28680         * gst/autoplug/Makefile.am:
28681         * gst/autoplug/gstsearchfuncs.c:
28682         * gst/autoplug/gstsearchfuncs.h:
28683         * gst/autoplug/gstspider.c:
28684         * gst/autoplug/gstspider.h:
28685         * gst/autoplug/gstspideridentity.c:
28686         * gst/autoplug/gstspideridentity.h:
28687         * gst/autoplug/spidertest.c:
28688           Die, spider, die.
28689
28690 2005-04-25  Wim Taymans  <wim@fluendo.com>
28691
28692         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28693         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28694         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
28695         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
28696         * gst/gstpad.h:
28697         Added stubs for unimplemented functions. 
28698
28699 2005-04-24  David Schleef  <ds@schleef.org>
28700
28701         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
28702         please fix.
28703
28704 2005-04-24  David Schleef  <ds@schleef.org>
28705
28706         Convert everything from GstAtomicInt to g_atomic_int_*, and
28707         remove gstatomic.
28708         * gst/Makefile.am:
28709         * gst/gstatomic.c:
28710         * gst/gstatomic.h:
28711         * gst/gstatomic_impl.h:
28712         * gst/gstbuffer.c:
28713         * gst/gstcaps.c:
28714         * gst/gstcaps.h:
28715         * gst/gstclock.c:
28716         * gst/gstclock.h:
28717         * gst/gstdata.c:
28718         * gst/gstdata.h:
28719         * gst/gstdata_private.h:
28720         * gst/gstevent.c:
28721         * gst/gstinfo.c:
28722         * gst/gstinfo.h:
28723         * gst/gstmessage.c:
28724         * gst/gstobject.c:
28725         * gst/gstobject.h:
28726         * gst/gststructure.c:
28727         * gst/gststructure.h:
28728         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
28729         * gst/gstutils.h:
28730
28731 2005-04-24  David Schleef  <ds@schleef.org>
28732
28733         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
28734         make the regressions tests work.  Remove some code that is no
28735         longer true.
28736         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
28737         Disable warning for pads without templates.
28738
28739 2005-04-24  David Schleef  <ds@schleef.org>
28740
28741         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
28742         functions that handle filtered links.
28743         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
28744         removed functions.
28745         * gst/gstutils.c: Fix/remove utility functions that handle
28746         filtered caps.
28747         * gst/gstutils.h:
28748         * gst/gstvalue.c: Add serialization/deserialization of caps
28749         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
28750         requires fixing so that the filter caps notation creates
28751         a capsfilter element and sets the filter_caps property.  I
28752         think everyone probably wants to keep the shorthand notation.
28753         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
28754         * docs/gst/tmpl/gstpad.sgml:
28755
28756         * gst/elements/gstelements.c: Register capsfilter element.
28757         * gst/Makefile.am: fix spacing
28758         * docs/random/ds/0.9-suggested-changes: random
28759
28760 2005-04-23  David Schleef  <ds@schleef.org>
28761
28762         * gst/elements/Makefile.am:
28763         * gst/elements/gstcapsfilter.c: New element that acts like an
28764         identity, but filters caps.  Will eventually replace filtered
28765         caps in pad linking.
28766         * gst/gstutils.c: (gst_element_create_all_pads): New function
28767         to create all the ALWAYS pads that are registered with an
28768         element class.  This functionality should eventually be
28769         merged in with GstElement initialization.
28770         * gst/gstutils.h:
28771         * testsuite/trigger/README: part of trigger test code that should
28772         have been checked in a long time ago.
28773
28774 2005-04-23  David Schleef  <ds@schleef.org>
28775
28776         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
28777         needed with new versions of libtool (nobody will confirm this),
28778         and hard to carry around.
28779         * gst/autoplug/Makefile.am:
28780         * gst/base/Makefile.am:
28781         * gst/elements/Makefile.am:
28782         * gst/indexers/Makefile.am:
28783         * gst/schedulers/Makefile.am:
28784         * libs/gst/bytestream/Makefile.am:
28785         * libs/gst/control/Makefile.am:
28786         * libs/gst/dataprotocol/Makefile.am:
28787         * libs/gst/getbits/Makefile.am:
28788
28789 2005-04-21  Wim Taymans  <wim@fluendo.com>
28790
28791         * docs/design/draft-push-pull.txt:
28792         * docs/design/part-MT-refcounting.txt:
28793         * docs/design/part-TODO.txt:
28794         * docs/design/part-caps.txt:
28795         * docs/design/part-events.txt:
28796         * docs/design/part-gstbus.txt:
28797         * docs/design/part-gstpipeline.txt:
28798         * docs/design/part-messages.txt:
28799         * docs/design/part-push-pull.txt:
28800         * docs/design/part-query.txt:
28801         Some more docs.
28802
28803 2005-04-21  Wim Taymans  <wim@fluendo.com>
28804
28805         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
28806         (gst_message_new), (gst_message_new_error),
28807         (gst_message_new_warning), (gst_message_new_tag),
28808         (gst_message_new_state_changed), (gst_message_new_application),
28809         (gst_message_get_structure):
28810         * gst/gstmessage.h:
28811         * gst/gststructure.c: (gst_structure_set_parent_refcount),
28812         (gst_structure_copy_conditional):
28813         Use parent refcount in GstMessage to ensure GstStructure
28814         consistency.
28815         Cleaned up headers a bit.
28816         
28817
28818 2005-04-20  Wim Taymans  <wim@fluendo.com>
28819
28820         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28821         (gst_basesink_pad_getcaps), (gst_basesink_init),
28822         (gst_basesink_chain_unlocked):
28823         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
28824         (gst_type_find_helper):
28825         * gst/elements/gsttypefindelement.c:
28826         (gst_type_find_element_have_type), (gst_type_find_element_init),
28827         (stop_typefinding), (gst_type_find_element_handle_event),
28828         (find_suggest), (gst_type_find_element_chain),
28829         (gst_type_find_element_checkgetrange),
28830         (gst_type_find_element_getrange), (do_typefind),
28831         (gst_type_find_element_activate):
28832         * gst/gstbuffer.c: (_gst_buffer_sub_free),
28833         (gst_buffer_default_free), (gst_buffer_default_copy),
28834         (gst_buffer_set_caps):
28835         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
28836         (gst_caps_replace):
28837         * gst/gstmessage.c: (gst_message_new),
28838         (gst_message_new_state_changed):
28839         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28840         (gst_pad_set_checkgetrange_function),
28841         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
28842         (gst_pad_set_caps), (gst_pad_check_pull_range),
28843         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
28844         * gst/gstpad.h:
28845         * gst/gsttypefind.c: (gst_type_find_register):
28846         Make gst_caps_replace() work like other _replace() functions.
28847         Use _caps_replace() where possible.
28848         Make sure _message_new() initialises its field.
28849         Add gst_static_pad_template_get_caps()
28850
28851
28852 2005-04-18  Andy Wingo  <wingo@pobox.com>
28853
28854         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
28855         on the peer, not the pad. I think that was a typo. Pass an extra
28856         arg to see if random access is possible. Activate the pads as
28857         PULL_RANGE if possible.
28858
28859         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
28860
28861         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
28862         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
28863         to PROP_....
28864
28865 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28866
28867         * docs/faq/using.xml:
28868           Add note on gstreamer-properties (#154996).
28869
28870 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28871
28872         * docs/random/bbb/optional-properties:
28873           Some analysis on optional properties.
28874
28875 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28876
28877         * docs/gst/tmpl/gstelementfactory.sgml:
28878         * gst/gstelement.h:
28879         * gst/gstelementfactory.c: (gst_element_factory_init),
28880         (gst_element_factory_cleanup), (gst_element_register),
28881         (__gst_element_factory_add_static_pad_template),
28882         (gst_element_factory_get_static_pad_templates),
28883         (gst_element_factory_can_src_caps),
28884         (gst_element_factory_can_sink_caps):
28885         * gst/registries/Makefile.am:
28886         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
28887         (gst_xml_registry_class_init), (gst_xml_registry_init),
28888         (gst_xml_registry_new), (gst_xml_registry_set_property),
28889         (gst_xml_registry_get_property), (get_time), (make_dir),
28890         (gst_xml_registry_get_perms_func),
28891         (plugin_times_older_than_recurse), (plugin_times_older_than),
28892         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
28893         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
28894         (add_to_char_array), (read_string), (read_uint), (read_enum),
28895         (load_pad_template), (load_feature), (load_plugin), (load_paths),
28896         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
28897         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
28898         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
28899         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
28900         (gst_xml_registry_rebuild):
28901         * gst/registries/gstlibxmlregistry.h:
28902         * tools/gst-compprep.c: (main):
28903         * tools/gst-inspect.c: (print_pad_templates_info):
28904         * tools/gst-xmlinspect.c: (print_element_info):
28905           Use libxml2 for registry parsing, use staticpadtemplates in
28906           elementfactories. Makes gst_init() +/- 10x faster.
28907
28908 2005-04-12  Wim Taymans  <wim@fluendo.com>
28909
28910         * gst/base/Makefile.am:
28911         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28912         (gst_basesink_pad_getcaps), (gst_basesink_init),
28913         (gst_basesink_event), (gst_basesink_change_state):
28914         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28915         (gst_basesrc_init), (gst_basesrc_query),
28916         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28917         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28918         (gst_basesrc_check_get_range), (gst_basesrc_loop),
28919         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28920         (gst_basesrc_stop), (gst_basesrc_activate),
28921         (gst_basesrc_change_state):
28922         * gst/base/gsttypefindhelper.c: (helper_find_peek),
28923         (helper_find_suggest), (gst_type_find_helper):
28924         * gst/base/gsttypefindhelper.h:
28925         * gst/elements/Makefile.am:
28926         * gst/elements/gstelements.c:
28927         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28928         (gst_fakesink_get_times), (gst_fakesink_event),
28929         (gst_fakesink_preroll), (gst_fakesink_render):
28930         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28931         (gst_fakesrc_init), (gst_fakesrc_event_handler),
28932         (gst_fakesrc_get_property), (gst_fakesrc_create),
28933         (gst_fakesrc_start), (gst_fakesrc_stop):
28934         * gst/elements/gstfakesrc.h:
28935         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
28936         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28937         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28938         (gst_filesrc_create_read), (gst_filesrc_create),
28939         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
28940         (gst_filesrc_start):
28941         * gst/elements/gsttypefindelement.c:
28942         (gst_type_find_element_have_type), (gst_type_find_element_init),
28943         (start_typefinding), (stop_typefinding), (push_buffer_store),
28944         (gst_type_find_element_handle_event),
28945         (gst_type_find_element_chain),
28946         (gst_type_find_element_checkgetrange),
28947         (gst_type_find_element_getrange), (do_typefind),
28948         (gst_type_find_element_activate),
28949         (gst_type_find_element_change_state):
28950         * gst/elements/gsttypefindelement.h:
28951         * gst/gstpipeline.c: (pipeline_bus_handler):
28952         Added typefind helper.
28953         Small preroll fix in the base sink.
28954         Disable typefind code in basesrc.
28955         Crude port of typefindelement.
28956         Fakesrc cleanups.
28957
28958
28959 2005-04-11  Wim Taymans  <wim@fluendo.com>
28960
28961         * check/gst/gstbus.c: (gstbus_suite):
28962         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
28963         * check/gstcheck.h:
28964           Fix up the timeout so that the test does not fail.
28965
28966 2005-04-06  Wim Taymans  <wim@fluendo.com>
28967
28968         * gst/base/README:
28969         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28970         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
28971         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28972         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28973         (gst_basesrc_check_get_range), (gst_basesrc_loop),
28974         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28975         (gst_basesrc_stop), (gst_basesrc_activate),
28976         (gst_basesrc_change_state), (basesrc_find_peek),
28977         (basesrc_find_suggest), (gst_basesrc_type_find):
28978         * gst/base/gstbasesrc.h:
28979         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
28980         (gst_filesrc_class_init), (gst_filesrc_init),
28981         (gst_filesrc_finalize), (gst_filesrc_set_location),
28982         (gst_filesrc_set_property), (gst_filesrc_get_property),
28983         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28984         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28985         (gst_filesrc_create_read), (gst_filesrc_create),
28986         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
28987         * gst/elements/gstfilesrc.h:
28988         * gst/gstelement.c: (gst_element_get_state_func),
28989         (gst_element_lost_state), (gst_element_pads_activate):
28990         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28991         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28992         (gst_pad_pull_range):
28993         * gst/gstpad.h:
28994         More work on the generic source base class, implement seeking,
28995         query.
28996         Make filesrc extend the base source class.
28997         Added gst_pad_set_checkgetrange_function to GstPad.
28998
28999 2005-04-06  Andy Wingo  <wingo@pobox.com>
29000
29001         * pkgconfig/gstreamer-base.pc.in:
29002         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
29003
29004         * pkgconfig/Makefile.am:
29005         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
29006
29007 2005-04-04  Wim Taymans  <wim@fluendo.com>
29008
29009         * gst/base/Makefile.am:
29010         * gst/base/README:
29011         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29012         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29013         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29014         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
29015         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29016         (gst_basesrc_base_init), (gst_basesrc_class_init),
29017         (gst_basesrc_init), (gst_basesrc_get_formats),
29018         (gst_basesrc_get_query_types), (gst_basesrc_query),
29019         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
29020         (gst_basesrc_set_property), (gst_basesrc_get_property),
29021         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
29022         (gst_basesrc_loop), (gst_basesrc_activate),
29023         (gst_basesrc_change_state):
29024         * gst/base/gstbasesrc.h:
29025         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
29026         (gst_fakesrc_class_init), (gst_fakesrc_init),
29027         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
29028         (gst_fakesrc_get_property), (gst_fakesrc_create):
29029         * gst/elements/gstfakesrc.h:
29030         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
29031         (gst_filesrc_open_file), (gst_filesrc_loop),
29032         (gst_filesrc_activate), (filesrc_find_peek),
29033         (gst_filesrc_type_find):
29034         Made base source class, make fakesrc extend it.
29035         Add comments to basesink class.
29036         Some filesrc cleanup.
29037
29038 2005-03-31  David Schleef  <ds@schleef.org>
29039
29040         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
29041         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
29042         expected to link against libgstreamer.
29043         * gst/base/Makefile.am: link against libgstreamer
29044         * gst/elements/Makefile.am: same
29045
29046 2005-03-31  Andy Wingo  <wingo@pobox.com>
29047
29048         * tests/instantiate/Makefile.am:
29049         * tests/instantiate/caps.c: Add test to test speed of caps copy
29050         and free.
29051
29052         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
29053         GMemChunk to be fair.
29054
29055         * gst/gsttrashstack.h: Remove warning about using the fallback
29056         trash stack implementation, it's still faster than malloc.
29057
29058 2005-03-30  Andy Wingo  <wingo@pobox.com>
29059
29060         * tests/complexity.c: Add a copyright.
29061
29062 2005-03-31  Wim Taymans  <wim@fluendo.com>
29063
29064         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
29065         (gst_base_transform_class_init), (gst_base_transform_init),
29066         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
29067         (gst_base_transform_get_property),
29068         (gst_base_transform_sink_activate),
29069         (gst_base_transform_src_activate),
29070         (gst_base_transform_change_state):
29071         * gst/base/gstbasetransform.h:
29072         * gst/elements/gstidentity.c: (gst_identity_class_init),
29073         (gst_identity_event), (gst_identity_check_perfect),
29074         (gst_identity_transform), (gst_identity_start),
29075         (gst_identity_stop):
29076         Added start/stop methods to transform base class so subclasses 
29077         don't need to deal with state changes even.
29078
29079 2005-03-31  Wim Taymans  <wim@fluendo.com>
29080
29081         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
29082         (gst_event_new_discontinuous), (gst_event_discont_get_value):
29083         * gst/gstevent.h:
29084         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29085         (gst_pad_pull_range):
29086         Added rate to the discont event to prepare for variable speed
29087         and reverse playback.
29088
29089 2005-03-29  David Schleef  <ds@schleef.org>
29090
29091         * configure.ac:
29092         * testsuite/trigger/Makefile.am:
29093         * testsuite/trigger/trigger.c: A little example program to show
29094         how trigger-based elements can work.
29095
29096 2005-03-29  Wim Taymans  <wim@fluendo.com>
29097
29098         * gst/base/Makefile.am:
29099         * gst/base/README:
29100         * gst/base/gstbasesink.c: (gst_basesink_get_type),
29101         (gst_basesink_base_init), (gst_basesink_class_init),
29102         (gst_basesink_pad_getcaps), (gst_basesink_init),
29103         (gst_basesink_activate), (gst_basesink_change_state):
29104         * gst/base/gstbasesink.h:
29105         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
29106         (gst_base_transform_base_init), (gst_base_transform_finalize),
29107         (gst_base_transform_class_init), (gst_base_transform_init),
29108         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
29109         (gst_base_transform_event), (gst_base_transform_getrange),
29110         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
29111         (gst_base_transform_set_property),
29112         (gst_base_transform_get_property),
29113         (gst_base_transform_sink_activate),
29114         (gst_base_transform_src_activate),
29115         (gst_base_transform_change_state):
29116         * gst/base/gstbasetransform.h:
29117         * gst/elements/gstidentity.c: (gst_identity_finalize),
29118         (gst_identity_class_init), (gst_identity_init),
29119         (gst_identity_event), (gst_identity_check_perfect),
29120         (gst_identity_transform), (gst_identity_set_property),
29121         (gst_identity_get_property), (gst_identity_change_state):
29122         * gst/elements/gstidentity.h:
29123         * gst/gstelement.c: (gst_element_get_state_func),
29124         (gst_element_lost_state), (gst_element_pads_activate):
29125         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29126         (gst_pad_check_pull_range), (gst_pad_pull_range):
29127         * gst/gstpad.h:
29128         Simplify pad activation.
29129         Added function to check if pull_range can be performed.
29130         Error out when pulling inactive or flushing pads.
29131         Removed const from refcounted types as it does not make sense.
29132         Simplify pad templates in basesink
29133         Added base class for simple 1-to-1 transforms.
29134         Make identity subclass the base transform.
29135
29136 2005-03-29  Andy Wingo  <wingo@pobox.com>
29137
29138         * docs/libs/gstreamer-libs-overrides.txt: 
29139         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
29140         really don't understand what's going on, but like whatever. I want
29141         green buildbot!
29142
29143         * docs/gst/Makefile.am:
29144         * docs/libs/Makefile.am: Dist the overrides files.
29145
29146         * check/Makefile.am (clean-local): Remove .libs directories.
29147
29148         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
29149         elements to EXTRA_DIST, so po/ files are happy.
29150
29151         * po/POTFILES.in: Er, remove it here.
29152
29153         * po/POTFILES: Remove gstspider.c.
29154
29155         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
29156
29157         * docs/libs/gstreamer-libs-docs.sgml: 
29158         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
29159         bytestream.
29160
29161         * tests/complexity.c (main): Set the length of the preroll queue
29162         on the sinks to prevent a lockup.
29163
29164         * libs/gst/dataprotocol/Makefile.am: 
29165         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
29166         the same as the one in check/gst-libs/gdp.c.
29167
29168         * po/, docs/gst/: Commit automatic changes to docs and po files.
29169
29170         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
29171         the versioned libgstbase.
29172
29173         * check/Makefile.am: Depend on an unversioned gst-register, seems
29174         to make autoconf happier.
29175
29176         * gst/base/Makefile.am: Make libgstbase a versioned lib.
29177
29178 2005-03-28  Wim Taymans  <wim@fluendo.com>
29179
29180         * configure.ac:
29181         * docs/design/part-gstelement.txt:
29182         * docs/design/part-negotiation.txt:
29183         * docs/design/part-preroll.txt:
29184         * docs/design/part-scheduling.txt:
29185         * docs/design/part-states.txt:
29186         * gst/Makefile.am:
29187         * gst/base/Makefile.am:
29188         * gst/base/README:
29189         * gst/base/gstbasesink.c: (gst_basesink_get_template),
29190         (gst_basesink_base_init), (gst_basesink_class_init),
29191         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29192         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29193         (gst_basesink_set_pad_functions),
29194         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
29195         (gst_basesink_set_property), (gst_basesink_get_property),
29196         (gst_base_sink_get_template), (gst_base_sink_get_caps),
29197         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
29198         (gst_basesink_preroll_queue_push),
29199         (gst_basesink_preroll_queue_empty),
29200         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
29201         (gst_basesink_event), (gst_basesink_get_times),
29202         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
29203         (gst_basesink_chain_unlocked), (gst_basesink_chain),
29204         (gst_basesink_loop), (gst_basesink_activate),
29205         (gst_basesink_change_state):
29206         * gst/base/gstbasesink.h:
29207         * gst/elements/Makefile.am:
29208         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
29209         (gst_fakesink_class_init), (gst_fakesink_init),
29210         (gst_fakesink_set_property), (gst_fakesink_get_property),
29211         (gst_fakesink_get_times), (gst_fakesink_event),
29212         (gst_fakesink_preroll), (gst_fakesink_render),
29213         (gst_fakesink_change_state):
29214         * gst/elements/gstfakesink.h:
29215         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29216         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
29217         * gst/gstelement.c: (gst_element_add_pad),
29218         (gst_element_get_state_func), (gst_element_abort_state),
29219         (gst_element_commit_state), (gst_element_lost_state),
29220         (gst_element_set_state), (gst_element_pads_activate):
29221         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
29222         * gst/gstpipeline.c: (gst_pipeline_send_event),
29223         (gst_pipeline_change_state):
29224         Added state change code.
29225         Added/updated docs.
29226         Added sink base class, make fakesink extend the base class.
29227         Small cleanups in GstPipeline.
29228
29229 2005-03-26  David Schleef  <ds@schleef.org>
29230
29231         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
29232         is broken and should be implemented in a different library.
29233         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29234         * gst/gst.h: remove gstcpu.h
29235         * gst/gstcpu.c: remove
29236         * gst/gstcpu.h: remove
29237         * gst/Makefile.am.future: Remove this file.  It's ancient.
29238
29239 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29240
29241         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29242         (gst_bin_send_event):
29243           Add default event/set_manager handlers. The set_manager handler
29244           takes care that the manager is distributed over kids that were
29245           already in the bin before the manager was set. The event handler
29246           is a utility virtual function that sends the event over all sinks,
29247           so that gst_element_send_event (bin, event); has the expected
29248           behaviour.
29249         * gst/gstpad.c: (gst_pad_event_default):
29250           Re-install default event handling for discontinuities, so that
29251           seeking works without requiring hacks in applications or extra
29252           code in sinks.
29253         * gst/gstpipeline.c: (gst_pipeline_class_init),
29254         (gst_pipeline_send_event):
29255           Half hack, half utility: set a pipeline to PAUSED for seek events,
29256           since that is the only way we can guarantee a/v sync. Means that
29257           you can do gst_element_seek (pipeline, method, pos); on a pipeline
29258           and it "just works".
29259
29260 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29261
29262         * gst/gstpipeline.c: (gst_pipeline_use_clock):
29263           Lock/unlock mismatch.
29264
29265 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
29266
29267         * docs/faq/gst-uninstalled:
29268           add gst-plugins-base
29269         * docs/gst/Makefile.am:
29270           don't error out until docs are fixed
29271         * docs/gst/gstreamer.types:
29272           remove thread
29273
29274 2005-03-22  Wim Taymans  <wim@fluendo.com>
29275
29276         * check/Makefile.am:
29277         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29278         * gst/gststructure.c: (gst_structure_set_valist),
29279         (gst_structure_copy_conditional):
29280         Activated more tests.
29281         Added message test.
29282         Added G_TYPE_POINTER to GstStructure.
29283         
29284
29285 2005-03-22  Wim Taymans  <wim@fluendo.com>
29286
29287         * docs/design/part-TODO.txt:
29288         * docs/design/part-events.txt:
29289         * docs/design/part-gstbin.txt:
29290         * docs/design/part-gstbus.txt:
29291         * docs/design/part-gstpipeline.txt:
29292         * docs/design/part-messages.txt:
29293         * gst/gstbus.c:
29294         * gst/gstmessage.c:
29295         Docs updates
29296
29297 2005-03-21  Wim Taymans  <wim@fluendo.com>
29298
29299         * gst/gstbus.c: (gst_bus_post):
29300         Fix copy-and-paste error.
29301
29302 2005-03-21  Wim Taymans  <wim@fluendo.com>
29303
29304         * check/Makefile.am:
29305         * gst/Makefile.am:
29306         * gst/elements/Makefile.am:
29307         * gst/elements/gstelements.c:
29308         * gst/elements/gstfakesink.c: (gst_fakesink_init),
29309         (gst_fakesink_event), (gst_fakesink_chain):
29310         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29311         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29312         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29313         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29314         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29315         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29316         (gst_fakesrc_loop), (gst_fakesrc_activate),
29317         (gst_fakesrc_change_state):
29318         * gst/elements/gstfakesrc.h:
29319         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29320         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29321         (gst_filesrc_open_file), (gst_filesrc_loop),
29322         (gst_filesrc_activate), (gst_filesrc_change_state),
29323         (filesrc_find_peek), (filesrc_find_suggest),
29324         (gst_filesrc_type_find):
29325         * gst/elements/gstidentity.c: (gst_identity_finalize),
29326         (gst_identity_class_init), (gst_identity_init),
29327         (gst_identity_proxy_getcaps), (identity_queue_push),
29328         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29329         (gst_identity_getrange), (gst_identity_chain),
29330         (gst_identity_sink_loop), (gst_identity_src_loop),
29331         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29332         (gst_identity_set_property), (gst_identity_get_property),
29333         (gst_identity_change_state):
29334         * gst/elements/gstidentity.h:
29335         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29336         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29337         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29338         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29339         (gst_tee_sink_activate):
29340         * gst/elements/gsttee.h:
29341         * gst/gst.c: (gst_register_core_elements), (init_post):
29342         * gst/gst.h:
29343         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29344         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29345         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29346         (gst_bin_change_state):
29347         * gst/gstbin.h:
29348         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29349         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29350         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29351         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29352         (gst_bus_set_sync_handler), (gst_bus_create_watch),
29353         (bus_watch_callback), (bus_watch_destroy),
29354         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29355         (poll_timeout), (gst_bus_poll):
29356         * gst/gstbus.h:
29357         * gst/gstcaps.h:
29358         * gst/gstdata.h:
29359         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29360         (gst_element_post_message), (gst_element_message_full),
29361         (gst_element_get_state_func), (gst_element_get_state),
29362         (gst_element_abort_state), (gst_element_commit_state),
29363         (gst_element_lost_state), (gst_element_set_state),
29364         (gst_element_pads_activate), (gst_element_change_state),
29365         (gst_element_dispose), (gst_element_set_manager_func),
29366         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29367         (gst_element_set_manager), (gst_element_get_manager),
29368         (gst_element_set_bus), (gst_element_get_bus),
29369         (gst_element_set_scheduler), (gst_element_get_scheduler):
29370         * gst/gstelement.h:
29371         * gst/gstevent.c: (gst_event_new_segment_seek),
29372         (gst_event_new_flush):
29373         * gst/gstevent.h:
29374         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29375         (_gst_message_free), (gst_message_get_type), (gst_message_new),
29376         (gst_message_new_eos), (gst_message_new_error),
29377         (gst_message_new_warning), (gst_message_new_tag),
29378         (gst_message_new_state_changed), (gst_message_new_application),
29379         (gst_message_get_structure), (gst_message_parse_tag),
29380         (gst_message_parse_state_changed), (gst_message_parse_error),
29381         (gst_message_parse_warning):
29382         * gst/gstmessage.h:
29383         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29384         (gst_real_pad_set_property), (gst_pad_set_active),
29385         (gst_pad_is_active), (gst_pad_set_blocked_async),
29386         (gst_pad_set_blocked), (gst_pad_is_blocked),
29387         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29388         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29389         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29390         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29391         (gst_pad_link_filtered), (gst_pad_relink_filtered),
29392         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29393         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29394         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29395         (gst_pad_set_caps), (gst_pad_configure_sink),
29396         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29397         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29398         (gst_real_pad_dispose), (gst_real_pad_finalize),
29399         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29400         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29401         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29402         * gst/gstpad.h:
29403         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29404         (pipeline_bus_handler), (gst_pipeline_change_state),
29405         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29406         * gst/gstpipeline.h:
29407         * gst/gstprobe.h:
29408         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29409         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29410         (gst_queue_link_src), (gst_queue_bufferalloc),
29411         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29412         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29413         (gst_queue_loop), (gst_queue_handle_src_event),
29414         (gst_queue_handle_src_query), (gst_queue_src_activate),
29415         (gst_queue_change_state):
29416         * gst/gstqueue.h:
29417         * gst/gstscheduler.c: (gst_scheduler_init),
29418         (gst_scheduler_dispose), (gst_scheduler_create_task),
29419         (gst_scheduler_factory_create):
29420         * gst/gstscheduler.h:
29421         * gst/gststructure.c: (gst_structure_get_type),
29422         (gst_structure_copy_conditional):
29423         * gst/gststructure.h:
29424         * gst/gsttaginterface.h:
29425         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29426         (gst_task_init), (gst_task_dispose), (gst_task_create),
29427         (gst_task_get_state), (gst_task_start), (gst_task_stop),
29428         (gst_task_pause):
29429         * gst/gsttask.h:
29430         * gst/gstthread.c:
29431         * gst/gstthread.h:
29432         * gst/gsttypes.h:
29433         * gst/schedulers/Makefile.am:
29434         * gst/schedulers/cothreads_compat.h:
29435         * gst/schedulers/entryscheduler.c:
29436         * gst/schedulers/faircothreads.c:
29437         * gst/schedulers/faircothreads.h:
29438         * gst/schedulers/fairscheduler.c:
29439         * gst/schedulers/gstbasicscheduler.c:
29440         * gst/schedulers/gstoptimalscheduler.c:
29441         * gst/schedulers/gthread-cothreads.h:
29442         * gst/schedulers/threadscheduler.c:
29443         (gst_thread_scheduler_task_get_type),
29444         (gst_thread_scheduler_task_class_init),
29445         (gst_thread_scheduler_task_init),
29446         (gst_thread_scheduler_task_start),
29447         (gst_thread_scheduler_task_stop),
29448         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29449         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29450         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29451         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29452         (plugin_init):
29453         * libs/gst/Makefile.am:
29454         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29455         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29456         (gst_file_pad_parent_set):
29457         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29458         (gst_dp_event_from_packet):
29459         * tests/complexity.c: (main):
29460         * tests/mass_elements.c: (main):
29461         * testsuite/states/locked.c: (message_received), (main):
29462         * testsuite/states/parent.c: (main):
29463         * tools/gst-inspect.c: (print_element_flag_info),
29464         (print_implementation_info), (print_pad_info):
29465         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29466         (main):
29467         * tools/gst-md5sum.c: (event_loop), (main):
29468         * tools/gst-typefind.c: (main):
29469         * tools/gst-xmlinspect.c: (print_element_info):
29470         Next big merge.
29471         Added GstBus for mainloop integration.
29472         Added GstMessage for sending notifications on the bus.
29473         Added GstTask as an abstraction for pipeline entry points.
29474         Removed GstThread.
29475         Removed Schedulers.
29476         Simplified GstQueue for multithreaded core.
29477         Made _link threadsafe, removed old capsnego.
29478         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
29479         Added pad blocking functions.
29480         Reworked scheduling functions in GstPad to prepare for
29481         scheduling updates soon.
29482         Moved events out of data stream.
29483         Simplified GstEvent types.
29484         Added return values to push/pull.
29485         Removed clocking from GstElement.
29486         Added prototypes for state change function for next merge.
29487         Removed iterate from bins and state change management.
29488         Fixed some elements, disabled others for now.
29489         Fixed -inspect and -launch.
29490         Added check for GstBus.
29491
29492 2005-03-10  Wim Taymans  <wim@fluendo.com>
29493
29494         * docs/design/part-MT-refcounting.txt:
29495         * docs/design/part-clocks.txt:
29496         * docs/design/part-gstelement.txt:
29497         * docs/design/part-gstobject.txt:
29498         * docs/design/part-standards.txt:
29499         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29500         (gst_bin_remove_func), (gst_bin_remove):
29501         * gst/gstbin.h:
29502         * gst/gstbuffer.c:
29503         * gst/gstcaps.h:
29504         * testsuite/clock/clock1.c: (main):
29505         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
29506         (main):
29507         * testsuite/dlopen/loadgst.c: (do_test):
29508         * testsuite/refcounting/bin.c: (add_remove_test1),
29509         (add_remove_test2), (main):
29510         * testsuite/refcounting/element.c: (main):
29511         * testsuite/refcounting/element_pad.c: (main):
29512         * testsuite/refcounting/pad.c: (main):
29513         * tools/gst-launch.c: (sigint_handler_sighandler):
29514         * tools/gst-typefind.c: (main):
29515         Doc updates.
29516         Added doc about clock.
29517         removed gst_bin_iterate_recurse_up(), marked methods
29518         for removal.
29519         Fix more testsuites.
29520
29521 2005-03-09  Wim Taymans  <wim@fluendo.com>
29522
29523         * gst/gstpad.c: (gst_pad_get_direction),
29524         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
29525         (gst_pad_collect_valist):
29526         * testsuite/bins/interface.c: (main):
29527         * testsuite/caps/audioscale.c: (test_caps):
29528         * testsuite/caps/caps.c: (test1), (test2), (test3):
29529         * testsuite/caps/deserialize.c: (main):
29530         * testsuite/caps/enumcaps.c: (main):
29531         * testsuite/caps/filtercaps.c: (main):
29532         * testsuite/caps/intersect2.c: (main):
29533         * testsuite/caps/random.c: (main):
29534         * testsuite/caps/renegotiate.c: (my_fixate), (main):
29535         * testsuite/caps/sets.c: (check_caps):
29536         * testsuite/caps/simplify.c: (check_caps), (main):
29537         * testsuite/caps/subtract.c: (check_caps):
29538         Fix _pad_get_direction wrt ghostpads.
29539         Fix caps testsuite.
29540
29541 2005-03-09  Wim Taymans  <wim@fluendo.com>
29542
29543         * check/Makefile.am:
29544         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
29545         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
29546         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
29547         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
29548         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
29549         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
29550         (gst_bin_remove), (gst_bin_iterate_recurse_up),
29551         (bin_element_is_sink), (gst_bin_iterate_sinks),
29552         (gst_bin_iterate_all_by_interface):
29553         * gst/gstbin.h:
29554         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
29555         (gst_element_change_state), (gst_element_dispose),
29556         (gst_element_finalize), (gst_element_set_loop_function):
29557         * gst/gstelement.h:
29558         * gst/gstiterator.c: (find_custom_fold_func):
29559         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29560         (gst_pad_collectv), (gst_pad_collect_valist),
29561         (gst_pad_template_new):
29562         * gst/gstpipeline.c: (gst_pipeline_class_init),
29563         (gst_pipeline_dispose), (gst_pipeline_set_property),
29564         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
29565         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
29566         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
29567         * gst/gstutils.h:
29568         * gst/schedulers/entryscheduler.c:
29569         * gst/schedulers/gstbasicscheduler.c:
29570         (gst_basic_scheduler_cothreaded_chain),
29571         (gst_basic_scheduler_chain_add_element):
29572         * testsuite/bins/interface.c: (main):
29573         Added GstBin test.
29574         Added GstSystemClock test.
29575         Implemented clock distribution code in GstBin.
29576         Implemented iterate sinks method for future use.
29577         Rearranged gstelement.h
29578         Fix GstIterator comparison bug.
29579         Moved some code to GstPipeline, mostly clocking related.
29580
29581 2005-03-09  Wim Taymans  <wim@fluendo.com>
29582
29583         * configure.ac:
29584         * gst/gst_private.h:
29585         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29586         (gst_bin_remove_func), (gst_bin_remove),
29587         (gst_bin_get_by_name_recurse_up):
29588         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
29589         (gst_clock_id_compare_func), (gst_clock_id_wait),
29590         (gst_clock_id_wait_async), (gst_clock_init),
29591         (gst_clock_adjust_unlocked), (gst_clock_get_time):
29592         * gst/gstelement.h:
29593         * gst/gstinfo.c: (_gst_debug_init):
29594         * gst/gstobject.h:
29595         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29596         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
29597         * gst/gstpad.h:
29598         Bump version number, we're now 0.9.0
29599         Add future debugging category.
29600         Fix NULL _unref() in _get_by_name_recurse_up
29601         Rearrange gstpad.h.
29602         Update some docs.
29603
29604 2005-03-08  Wim Taymans  <wim@fluendo.com>
29605
29606         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
29607         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
29608         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29609         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
29610         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
29611         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
29612         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
29613         * gst/elements/gstidentity.c: (gst_identity_class_init):
29614         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
29615         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
29616         * gst/elements/gstshaper.c: (gst_shaper_class_init):
29617         * gst/elements/gststatistics.c: (gst_statistics_class_init):
29618         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
29619         (gst_tee_link):
29620         * gst/gstelement.c: (gst_element_class_init),
29621         (gst_element_base_class_init), (gst_element_init),
29622         (gst_element_get_random_pad), (gst_element_wait_state_change),
29623         (gst_element_change_state), (gst_element_dispose),
29624         (gst_element_finalize), (gst_element_set_loop_function):
29625         * gst/gstelement.h:
29626         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
29627         * gst/gstthread.c: (gst_thread_class_init),
29628         (gst_thread_release_children_locks), (gst_thread_change_state):
29629         * gst/schedulers/gstbasicscheduler.c:
29630         (gst_basic_scheduler_loopfunc_wrapper),
29631         (gst_basic_scheduler_chain_wrapper),
29632         (gst_basic_scheduler_src_wrapper),
29633         (gst_basic_scheduler_remove_element):
29634         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
29635         Remove threadsafe properties. Fix elements because GObject
29636         complains when installing a property before declaring a
29637         set/get_property handler.
29638         Rearrange gstelement.h file, use STATE macros for state locks.
29639         Free mutexes in the finalize method instead of dispose.
29640
29641 2005-03-08  Wim Taymans  <wim@fluendo.com>
29642
29643         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29644         * gst/gstthread.c: (gst_thread_release_children_locks):
29645         Added parentage check.
29646         Fix build og GstThread again.
29647
29648 2005-03-08  Wim Taymans  <wim@fluendo.com>
29649
29650         * docs/design/part-MT-refcounting.txt:
29651         * docs/design/part-conventions.txt:
29652         * docs/design/part-gstobject.txt:
29653         * docs/design/part-relations.txt:
29654         * docs/design/part-standards.txt:
29655         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29656         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
29657         (gst_bin_get_by_name), (gst_bin_get_by_interface),
29658         (gst_bin_iterate_all_by_interface):
29659         * gst/gstbuffer.h:
29660         * gst/gstclock.h:
29661         * gst/gstelement.c: (gst_element_class_init),
29662         (gst_element_change_state), (gst_element_set_loop_function):
29663         * gst/gstelement.h:
29664         * gst/gstiterator.c:
29665         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
29666         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
29667         (gst_object_dispatch_properties_changed), (gst_object_set_name),
29668         (gst_object_set_parent), (gst_object_unparent),
29669         (gst_object_check_uniqueness):
29670         * gst/gstobject.h:
29671         Docs updates, clean up some headers.
29672
29673 2005-03-07  Wim Taymans  <wim@fluendo.com>
29674
29675         * check/.cvsignore:
29676         * check/Makefile.am:
29677         * check/gst-libs/.cvsignore:
29678         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
29679         * check/gst/.cvsignore:
29680         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
29681         (START_TEST), (gstbus_suite), (main):
29682         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
29683         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
29684         (gst_data_suite), (main):
29685         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
29686         (add_fold_func), (gstiterator_suite), (main):
29687         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
29688         (thread_name_object), (thread_name_object_default),
29689         (gst_object_name_compare), (gst_object_suite), (main):
29690         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
29691         (gst_pad_suite), (main):
29692         * check/gstcheck.c: (gst_check_log_message_func),
29693         (gst_check_log_critical_func), (gst_check_init):
29694         * check/gstcheck.h:
29695         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
29696         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
29697         Added checks.
29698
29699 2005-03-07  Wim Taymans  <wim@fluendo.com>
29700
29701         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
29702         (gst_list_iterator_next), (gst_list_iterator_resync),
29703         (gst_list_iterator_free), (gst_iterator_new_list),
29704         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
29705         (gst_iterator_free), (gst_iterator_push), (filter_next),
29706         (filter_resync), (filter_uninit), (filter_free),
29707         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
29708         (gst_iterator_foreach), (find_custom_fold_func),
29709         (gst_iterator_find_custom):
29710         * gst/gstiterator.h:
29711         Added missing files.
29712
29713 2005-03-07  Wim Taymans  <wim@fluendo.com>
29714
29715         * Makefile.am:
29716         * configure.ac:
29717         * docs/design/part-MT-refcounting.txt:
29718         * docs/design/part-conventions.txt:
29719         * docs/design/part-gstobject.txt:
29720         * docs/design/part-relations.txt:
29721         * examples/mixer/mixer.c: (main):
29722         * examples/thread/thread.c: (eos), (main):
29723         * gst/Makefile.am:
29724         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
29725         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
29726         (gst_spider_plug_from_srcpad):
29727         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
29728         (gst_spider_identity_change_state),
29729         (gst_spider_identity_sink_loop_type_finding):
29730         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
29731         * gst/elements/gstidentity.c: (gst_identity_init):
29732         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
29733         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
29734         * gst/elements/gsttypefindelement.c: (free_entry):
29735         * gst/gst.c:
29736         * gst/gst.h:
29737         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
29738         (gst_bin_set_clock_func), (gst_bin_auto_clock),
29739         (gst_bin_set_index), (gst_bin_set_element_sched),
29740         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
29741         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
29742         (gst_bin_iterate_elements), (iterate_child_recurse),
29743         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
29744         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
29745         (compare_interface), (gst_bin_get_by_interface),
29746         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
29747         * gst/gstbin.h:
29748         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
29749         (gst_buffer_default_free), (gst_buffer_default_copy),
29750         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
29751         (gst_buffer_create_sub):
29752         * gst/gstbuffer.h:
29753         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
29754         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
29755         (gst_caps_unref), (gst_static_caps_get),
29756         (gst_caps_remove_and_get_structure), (gst_caps_append),
29757         (gst_caps_append_structure), (gst_caps_remove_structure),
29758         (gst_caps_copy_nth), (gst_caps_set_simple),
29759         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
29760         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
29761         (gst_caps_structure_intersect_field), (gst_caps_intersect),
29762         (gst_caps_structure_subtract_field), (gst_caps_subtract),
29763         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
29764         (gst_caps_structure_figure_out_union),
29765         (gst_caps_switch_structures), (gst_caps_do_simplify),
29766         (gst_caps_replace), (gst_caps_from_string),
29767         (gst_caps_copy_conditional):
29768         * gst/gstcaps.h:
29769         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
29770         (_gst_clock_id_free), (gst_clock_id_unref),
29771         (gst_clock_id_compare_func), (gst_clock_id_wait),
29772         (gst_clock_id_wait_async), (gst_clock_class_init),
29773         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
29774         (gst_clock_get_time), (gst_clock_set_time_adjust),
29775         (gst_clock_set_property), (gst_clock_get_property):
29776         * gst/gstclock.h:
29777         * gst/gstcompat.h:
29778         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
29779         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
29780         * gst/gstdata.h:
29781         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29782         (gst_element_requires_clock), (gst_element_provides_clock),
29783         (gst_element_set_clock), (gst_element_clock_wait),
29784         (gst_element_wait), (gst_element_set_time_delay),
29785         (gst_element_is_indexable), (gst_element_add_pad),
29786         (gst_element_add_ghost_pad), (gst_element_remove_pad),
29787         (pad_compare_name), (gst_element_get_static_pad),
29788         (gst_element_request_pad), (gst_element_get_request_pad),
29789         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
29790         (gst_element_class_get_pad_template_list),
29791         (gst_element_class_get_pad_template), (gst_element_error_func),
29792         (gst_element_get_random_pad), (gst_element_get_event_masks),
29793         (gst_element_send_event), (gst_element_seek),
29794         (gst_element_get_query_types), (gst_element_query),
29795         (gst_element_get_formats), (gst_element_convert),
29796         (gst_element_is_locked_state), (gst_element_set_locked_state),
29797         (gst_element_sync_state_with_parent), (gst_element_change_state),
29798         (gst_element_finalize), (gst_element_yield),
29799         (gst_element_interrupt), (gst_element_set_scheduler),
29800         (gst_element_get_scheduler), (gst_element_set_loop_function):
29801         * gst/gstelement.h:
29802         * gst/gstevent.h:
29803         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
29804         (gst_format_get_by_nick), (gst_format_get_details),
29805         (gst_format_iterate_definitions):
29806         * gst/gstformat.h:
29807         * gst/gstindex.c: (gst_index_gtype_resolver):
29808         * gst/gstinfo.c:
29809         * gst/gstinfo.h:
29810         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
29811         (gst_mem_chunk_free):
29812         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
29813         (gst_object_ref), (gst_object_unref), (gst_object_sink),
29814         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
29815         (gst_object_dispatch_properties_changed),
29816         (gst_object_set_name_default), (gst_object_set_name),
29817         (gst_object_get_name), (gst_object_set_name_prefix),
29818         (gst_object_get_name_prefix), (gst_object_set_parent),
29819         (gst_object_get_parent), (gst_object_unparent),
29820         (gst_object_check_uniqueness), (gst_object_save_thyself),
29821         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
29822         (gst_object_set_property), (gst_object_get_property),
29823         (gst_object_get_path_string):
29824         * gst/gstobject.h:
29825         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29826         (gst_real_pad_init), (gst_real_pad_get_property),
29827         (gst_pad_custom_new), (gst_pad_get_direction),
29828         (gst_pad_set_active), (gst_pad_is_active),
29829         (gst_pad_set_event_function), (gst_pad_is_linked),
29830         (gst_pad_link_free), (gst_pad_link_intersect),
29831         (gst_pad_link_fixate), (gst_pad_set_caps),
29832         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
29833         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
29834         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
29835         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
29836         (gst_pad_get_caps), (gst_pad_peer_get_caps),
29837         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
29838         (gst_pad_realize), (gst_pad_get_allowed_caps),
29839         (gst_real_pad_dispose), (gst_real_pad_finalize),
29840         (gst_pad_collectv), (gst_pad_collect_valist),
29841         (gst_pad_template_dispose), (gst_pad_template_new),
29842         (gst_pad_get_internal_links):
29843         * gst/gstpad.h:
29844         * gst/gstpipeline.c: (gst_pipeline_dispose),
29845         (gst_pipeline_change_state):
29846         * gst/gstpipeline.h:
29847         * gst/gstplugin.c:
29848         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
29849         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
29850         * gst/gstpluginfeature.h:
29851         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
29852         * gst/gstquery.c: (_gst_query_type_initialize),
29853         (gst_query_type_register), (gst_query_type_get_by_nick),
29854         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
29855         * gst/gstquery.h:
29856         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
29857         * gst/gstscheduler.c: (gst_scheduler_add_element),
29858         (gst_scheduler_factory_create):
29859         * gst/gststructure.c: (gst_structure_set_parent_refcount),
29860         (gst_structure_free), (gst_structure_set_name),
29861         (gst_structure_id_set_value), (gst_structure_set_value),
29862         (gst_structure_set_valist), (gst_structure_remove_field),
29863         (gst_structure_remove_fields),
29864         (gst_structure_remove_fields_valist),
29865         (gst_structure_remove_all_fields), (gst_structure_foreach),
29866         (gst_structure_map_in_place),
29867         (gst_caps_structure_fixate_field_nearest_int),
29868         (gst_caps_structure_fixate_field_nearest_double):
29869         * gst/gststructure.h:
29870         * gst/gstsystemclock.c: (gst_system_clock_class_init),
29871         (gst_system_clock_init), (gst_system_clock_dispose),
29872         (gst_system_clock_async_thread),
29873         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
29874         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
29875         * gst/gstsystemclock.h:
29876         * gst/gsttag.c: (gst_tag_list_add_value_internal),
29877         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
29878         * gst/gsttaginterface.c:
29879         * gst/gstthread.c: (gst_thread_dispose),
29880         (gst_thread_release_children_locks), (gst_thread_change_state),
29881         (gst_thread_main_loop):
29882         * gst/gsttrashstack.h:
29883         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
29884         * gst/gsttypes.h:
29885         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29886         (gst_element_request_pad), (gst_element_get_pad_from_template),
29887         (gst_element_request_compatible_pad),
29888         (gst_element_get_compatible_pad_filtered),
29889         (gst_element_get_compatible_pad), (gst_element_state_get_name),
29890         (gst_element_link_pads_filtered), (gst_element_link_filtered),
29891         (gst_element_link_many), (gst_element_link),
29892         (gst_element_link_pads), (gst_element_unlink_pads),
29893         (gst_element_unlink_many), (gst_element_unlink),
29894         (gst_pad_can_link_filtered), (gst_pad_can_link),
29895         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
29896         (gst_object_default_error), (gst_bin_add_many),
29897         (gst_bin_remove_many), (gst_element_populate_std_props),
29898         (gst_element_class_install_std_props), (gst_buffer_merge),
29899         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
29900         (link_fold_func), (gst_pad_proxy_setcaps):
29901         * gst/gstutils.h:
29902         * gst/gstvalue.c: (gst_value_deserialize_string):
29903         * gst/parse/grammar.y:
29904         * gst/schedulers/gstbasicscheduler.c:
29905         (gst_basic_scheduler_cothreaded_chain),
29906         (gst_basic_scheduler_chain_recursive_add),
29907         (gst_basic_scheduler_pad_link):
29908         * gst/schedulers/gstoptimalscheduler.c:
29909         (get_group_schedule_function),
29910         (gst_opt_scheduler_state_transition),
29911         (gst_opt_scheduler_add_element), (element_get_reachables_func):
29912         * libs/gst/bytestream/bytestream.c:
29913         * libs/gst/dataprotocol/dataprotocol.c:
29914         (gst_dp_header_from_buffer):
29915         * po/nb.po:
29916         * po/ru.po:
29917         * tests/threadstate/threadstate2.c: (eos):
29918         * tools/gst-compprep.c: (main):
29919         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
29920         (print_pad_info), (print_children_info):
29921         * tools/gst-launch.c: (idle_func), (main):
29922         * tools/gst-md5sum.c: (idle_func), (main):
29923         * tools/gst-xmlinspect.c: (print_element_info):
29924         First THREADED backport attempt, focusing on adding locks and
29925         making sure the API is threadsafe. Needs more work. More docs
29926         follow this week.
29927
29928 2005-02-24  Andy Wingo  <wingo@pobox.com>
29929
29930         * tests/bench-complexity.scm:
29931         * tests/complexity.gnuplot: New files, good for running complexity
29932         benchmarks.
29933
29934         * tests/Makefile.am:
29935         * tests/complexity.c: New test, sets up N elements, at each level
29936         teeing into M streams per element. Eeeenteresting.
29937
29938         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
29939         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
29940         running bench-mass_elements.scm.
29941
29942         * tests/bench-mass_elements.scm: New script, runs mass_elements
29943         for various numbers of identities, outputting the results to a
29944         file. Requires guile 1.6. Just for testing.
29945
29946 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29947
29948         * gst/schedulers/fairscheduler.c:
29949           compile with debug disabled
29950
29951 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29952
29953         * configure.ac:
29954           hunting season on 0.9 is now OPEN