test commit
[platform/upstream/gstreamer.git] / ChangeLog
1 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
2
3         * docs/design/part-TODO.txt:
4         * docs/design/part-block.txt:
5         Update some docs.
6
7 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
8
9         * gst/Makefile.am:
10           Revert patch which uses $(gst_headers) instead of $^ because it
11           breaks make dist.
12
13 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
14
15         * tests/check/gst/gstbin.c: (GST_START_TEST):
16           Fix leaks in the new unit test.
17
18 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
19
20         * gst/gst.c:
21           Don't use GST_INFO before the debug system is actually initialised
22           (shouldn't do any harm, but won't print anything either, so we can
23           just as well remove it).
24
25         * gst/gstinfo.h:
26           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
27           compilers that don't support variadic macros (such as MSVC), should
28           check for debug_level <= __gst_debug_min as well, since that's the
29           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
30           inline helper functions. Should improve performance a bit, but also
31           makes sure uses of GST_INFO et.al are ignored if the debugging
32           system isn't initialised yet (instead of printing an assertion
33           failure).
34
35 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
36
37         patch by: David Nečas <yeti@physics.muni.cz>
38
39         * gst/Makefile.am:
40           Replace some non portable makefile constructs.
41
42 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
43
44         * common/gtk-doc-plugins.mak:
45           Grrrrr. Don't remove the types file on make clean.
46
47 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
48
49         * tools/gst-launch.1.in:
50         Add colorspace to example pipeline. Fixes #458274.
51
52 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
53
54         * docs/random/release:
55           The release manager should run 'make download-po' before making a
56           release to make sure translations are up-to-date.
57
58         * po/LINGUAS:
59         * po/be.po:
60         * po/pl.po:
61         * po/rw.po:
62           Add some new translations.
63
64 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
65
66         * tools/gst-launch.c: (event_loop), (main):
67         Don´t try to do any state management when a live pipeline posts
68         buffering messages.
69         Also make the buffering string translatable.
70
71 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
72
73         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
74         (bin_handle_async_start), (gst_bin_handle_message_func):
75         Improve debugging.
76         When adding elements, insert messages into the bus of the newly added
77         element and make sure the element is the source of the message. This
78         allows the parent bin to intercept the message and do the
79         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
80         messages to the app (which is not allowed).
81         Update some docs.
82
83         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
84         Fix testsuite so that is does not work around messages that should not
85         have been posted in the first place.
86
87 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
88
89         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
90         (update_degree), (gst_bin_sort_iterator_next):
91         Fix annoying bug in the sorted iterator where a sink that is not really
92         a sink (when it has downstream links) screwed up the iterator.
93
94         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
95         Unit test to verify the fix.
96
97 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
98
99         * gst/gstmessage.h:
100         Add some more docs for the messages.
101
102         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
103         (gst_base_sink_query):
104         Add some more debugging.
105
106         * tools/gst-launch.c: (event_loop):
107         When interrupting, don't try to set pipeline to PAUSED twice.
108
109 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
110
111         
112         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
113         (bin_handle_async_start), (gst_bin_handle_message_func):
114         Move ASYNC_START message posting to where it belongs, similar to
115         async_done. 
116         Don't post ASYNC_START when we are in error. 
117         Post ASYNC_START when we added an async element to a bin.
118
119 2007-08-14  Julien MOUTTE  <julien@moutte.net>
120
121         * gst/gstindex.c: (gst_index_add_association): Fix index entry
122         generation from vargs. Fixes #466595.
123
124 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
125
126         * gst/gstbin.c: (gst_bin_element_set_state):
127         Always change the state of a NO_PREROLL element even if it has ASYNC
128         elements inside (in case of a bin).
129
130         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
131         Unit test for this case.
132
133 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
134
135         * libs/gst/check/gstbufferstraw.c:
136         * libs/gst/check/gstcheck.h:
137         * libs/gst/controller/gstcontroller.c:
138         * libs/gst/controller/gstcontrolsource.h:
139         * libs/gst/controller/gstlfocontrolsource.h:
140         * plugins/elements/gstcapsfilter.h:
141         * plugins/elements/gstfdsink.h:
142         * plugins/elements/gstfdsrc.h:
143           Add more missing docs.
144
145 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
146
147         * gst/gststructure.c:
148         Add Since tag to docs.
149
150 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
151
152         * docs/gst/gstreamer-sections.txt:
153         * gst/gststructure.c: (gst_structure_get_uint):
154         * gst/gststructure.h:
155         Add function to get uint from a structure.
156         API: gst_structure_get_uint()
157
158 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
159
160         * gst/gstcaps.c: (gst_caps_set_simple_valist),
161         (gst_caps_intersect):
162         Fix proper check for simple caps.
163
164 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
165
166         * docs/gst/Makefile.am:
167         * docs/libs/Makefile.am:
168           Remove cruft and do some cleanups.
169
170         * docs/gst/gstreamer-docs.sgml:
171         * docs/libs/gstreamer-libs-docs.sgml:
172           Prepare for comming gtkdoc features (rebase against online docs).
173
174 2007-08-10  Michael Smith <msmith@fluendo.com>
175
176         * docs/gst/gstreamer-sections.txt:
177           Add gst_registry_add_path to docs.
178
179 2007-08-10  Michael Smith <msmith@fluendo.com>
180
181         * gst/gstregistry.h:
182           Add gst_registry_add_path, which was missing from this header.
183
184 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
185
186         * libs/gst/controller/gstlfocontrolsource.c:
187           Printf format fix.
188
189 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
190
191         * libs/gst/base/gstbasesink.c:
192           Don't send an async_start message during downwards state change if 
193           target state is less than READY
194
195 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
196
197         translated by: Gabor Kelemen <kelemeng@gnome.hu>
198
199         * po/LINGUAS:
200         * po/hu.po:
201           Added Hungarian translation.
202
203 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
204
205         * po/fi.po:
206         * po/it.po:
207         * po/nl.po:
208         * po/sv.po:
209         * po/uk.po:
210           Updated translations.
211
212 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
213
214         * libs/gst/controller/Makefile.am:
215         Dist gstlfocontrolsourceprivate.h
216
217 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
218
219         * docs/libs/gstreamer-libs.types:
220         Don't register the enum type gst_lfo_waveform_get_type() in the
221         .types file - only GObject derived types belong.
222
223 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
224
225         Patch by: <arenevier at fdn dot fr>
226
227         * gst/gstbuffer.h:
228         Remove comma from last element in enum to avoid compile errors when
229         using -pendantic. Fixes #464366.
230
231 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
232
233         * docs/design/part-TODO.txt:
234         Add some more TODO items
235
236         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
237         Improve debugging.
238
239         * gst/gstcaps.c: (gst_caps_intersect):
240         Optimize trivial intersection case between identical caps pointers.
241
242         * gst/gstelement.c: (gst_element_continue_state),
243         (gst_element_set_state_func):
244         * gst/gstpad.c:
245         Fix spelling and grammar mistakes.
246
247 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
248
249         * po/POTFILES.in:
250         * po/POTFILES.skip:
251           Update POTFILES. Fixes #461599.
252
253 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
254
255         * gst/gst.c:
256         Fix confusing typo in debug output.
257
258 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
259
260         reviewed by: Stefan Kost <ensonic@users.sf.net>
261
262         * libs/gst/controller/Makefile.am:
263         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
264         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
265         (gst_lfo_control_source_new),
266         (gst_lfo_control_source_set_waveform),
267         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
268         (gst_lfo_control_source_finalize),
269         (gst_lfo_control_source_dispose),
270         (gst_lfo_control_source_set_property),
271         (gst_lfo_control_source_get_property),
272         (gst_lfo_control_source_class_init):
273         * libs/gst/controller/gstlfocontrolsource.h:
274         * libs/gst/controller/gstlfocontrolsourceprivate.h:
275         API: Add GstLFOControlSource, a control source that gives values
276         for specific timestamps based on several periodic waveforms.
277         Fixes #459717.
278
279         * tests/check/libs/controller.c: (GST_START_TEST),
280         (gst_controller_suite):
281         * docs/libs/gstreamer-libs-docs.sgml:
282         * docs/libs/gstreamer-libs-sections.txt:
283         * docs/libs/gstreamer-libs.types:
284         Add documentation and unit tests for GstLFOControlSource.
285
286 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
287
288         * configure.ac:
289         Back to CVS
290
291 === release 0.10.14 ===
292
293 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
294
295         * configure.ac:
296           releasing 0.10.14, "Breathing Vacuum"
297
298 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
299
300         * gst/gstelement.c: (gst_element_class_set_details_simple):
301         * gst/gstelement.h:
302           Make strings passed to gst_element_class_set_details_simple()
303           constant, as they should be (#462752).
304
305 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
306
307         * gst/gstbin.c: (gst_bin_change_state_func),
308         (bin_handle_async_done), (gst_bin_handle_message_func):
309         Don't forget about the fact that some element went ASYNC even after a
310         resync. This makes us post the ASYNC_DONE message correctly.
311         Fixes #462558.
312
313 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
314
315         * gst/gstregistry.c: (gst_registry_add_feature):
316         When replacing an existing feature in the registry, make sure to
317         continue holding a reference until we've replaced the name string
318         within our feature hash table. Make sure to use g_hash_table_replace
319         instead of g_hash_table_insert to ensure the new name string is used
320         as a key instead of the old one that we're about to free.
321         Fixes: #462085
322
323 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
324
325         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
326         (gst_plugin_feature_set_name):
327         Revert patch from #459466 until after the release and we can work
328         out exactly what the problem is (if any).
329
330 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
331
332         * docs/gst/gstreamer-sections.txt:
333         * gst/gsttaglist.c:
334         * gst/gsttaglist.h:
335           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
336
337 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
338
339         * docs/libs/Makefile.am:
340         Include our build-prefix libs and includes before the generic ones to
341         avoid linking against the installed libs when we want the build-tree
342         ones.
343
344 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
345
346         Patch by: Steve Fink  <sphink gmail com>
347
348         * docs/pwg/building-testapp.xml:
349           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
350           if people try to build or install the example from the plugin
351           template against a GStreamer from package using the configure
352           defaults.
353
354 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
355
356         Patch by: Steve Fink  <sphink gmail com>
357
358         * tools/gst-inspect.1.in:
359           Document --print-all and --print-plugin-auto-install-info command
360           line options in man page.
361
362 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
363
364         * docs/gst/gstreamer-sections.txt:
365         Add docs for new api function.
366
367 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
368
369         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
370         * gst/gstelementfactory.h:
371         API: gst_element_factory_has_interface()
372         Added method to check if an element factory implements a named
373         interface.
374
375 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
376
377         * configure.ac:
378         * docs/gst/gstreamer.types.in:
379           Another conditional doc check.
380
381         * gst/gstmessage.c:
382         * gst/gstparamspecs.h:
383         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
384         * gst/gstvalue.c:
385         * gst/gstxml.h:
386           API-doc fixes.
387
388 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
389
390         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
391         (gst_registry_binary_load_feature),
392         (gst_registry_binary_load_plugin),
393         (gst_registry_binary_read_cache):
394           Print error just once and with additional info.
395
396 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
397
398         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
399         (helper_find_suggest), (helper_find_get_length),
400         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
401         (gst_type_find_helper_for_buffer):
402           Cleanup the typefindhelper code and add private doc comments.
403
404 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
405
406         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
407         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
408         Fix capsfilter for cases where the caps set on capsfilter will provide
409         additional information.
410         Fixes #449197
411
412 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
413
414         * gst/gsttypefindfactory.c:
415           Fix docs that recommened wrong function to use.
416
417 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
418
419         * tools/gst-inspect.c: (print_plugin_features):
420           Also give media-type for typefinders in element output.
421
422 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
423
424         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
425         (gst_registry_remove_features_for_plugin_unlocked),
426         (gst_registry_add_feature), (gst_registry_remove_feature),
427         (gst_registry_lookup_feature_locked):
428         * gst/gstregistry.h:
429           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
430           Fixes #459501.
431
432 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
433
434         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
435         (gst_plugin_feature_set_name):
436           Avoid double memory usage for pluginfeature names. Fixes #459466.
437
438 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
439
440         * gst/gstpad.h:
441           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
442           driving the pipeline may need to explicitly check for NOT_LINKED as
443           well, since IS_FATAL doesn't cover that.
444
445 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
446
447         * docs/pwg/advanced-types.xml:
448           Fix typo and duplicate entry in video formats list.
449
450 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
451
452         * libs/gst/controller/gstinterpolation.c:
453         Also round to the nearest int when using cubic interpolation.
454
455 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
456
457         * libs/gst/controller/gstinterpolation.c:
458         When linearly interpolating integer types, round to the nearest int
459         by adding 0.5. Don't do it for float/double types.
460         Fixes the failing controller test on my machine, which is somehow
461         rounding differently than on the buildbots.
462
463 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
464
465         * tools/gst-plot-timeline.py:
466           Better log parsing (categories can have -). Adjust text vs. lines, so
467           that they span the same y-range.        
468
469 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
470
471         * docs/random/ensonic/audiobaseclasses.txt:
472         * docs/random/ensonic/dynlink.txt:
473         * docs/random/ensonic/profiling.txt:
474           Save my thoughts.
475
476         * docs/random/moving-plugins:
477           Add note to use g_assert type macros.
478
479 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
480
481         * configure.ac:
482         * libs/gst/check/Makefile.am:
483           Add libm check as we use in for plugins.
484
485 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
486
487         * gst/gstbin.c: (gst_bin_continue_func):
488         Check that the state_cookie hasn't changed since the continue_func
489         was scheduled. Avoids problems where the state changes back to
490         something it shouldn't be because it was changed in the meantime.
491
492 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
493
494         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
495         (gst_registry_binary_save_string),
496         (gst_registry_binary_save_pad_template),
497         (gst_registry_binary_save_feature),
498         (gst_registry_binary_save_plugin),
499         (gst_registry_binary_load_feature),
500         (gst_registry_binary_load_plugin),
501         (gst_registry_binary_read_cache):
502           Fix memory leak. Be less verbose in the log.
503
504 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
505
506         * tests/check/elements/.cvsignore:
507         Add file to cvsignore as commanded.
508
509 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
510
511         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
512         (mq_dummypad_event), (run_output_order_test):
513         Use a GStaticMutex to protect all cases where libcheck
514         fail_if/fail_unless macros might be called from multiple threads
515         simultaneously to avoid errors like:
516           "check_pack.c:107: :-1081725400:Bad message type arg"
517
518 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
519
520         * tests/check/pipelines/stress.c: (GST_START_TEST):
521         Make sure we set the pipeline back to the NULL state before
522         dropping our final reference.
523
524 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
525
526         * tests/check/elements/tee.c: (GST_START_TEST):
527         Make the tee stress-test a little less stressful so it doesn't just
528         time out on slow-machines, and remove a small race when it's starting 
529         up by adding a get_state() call.
530
531 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
532
533         * gst/gst.c:
534           Avoid reading registry twice on startup. Fixes #457322.
535
536 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
537
538         * pkgconfig/gstreamer-check-uninstalled.pc.in:
539         * pkgconfig/gstreamer-check.pc.in:
540         Substitute the CFLAGS for libcheck into our .pc file too so that
541         dependent modules will pick it up properly if libcheck is installed
542         into some other prefix.
543
544 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
545
546         * configure.ac:
547         Revert the pkg-config check for libcheck, since it pulls in the
548         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
549         a proper solution, either from the check project, or something else.
550
551 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
552
553         * configure.ac:
554           Use pkg-config to locate check.
555
556 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
557
558         * gst/gsttaglist.c:
559           Fix doc syntax.
560
561         * gst/gstutils.c:
562         * gst/gstutils.h:
563           Add deprecation guards.
564
565         * libs/gst/base/gstcollectpads.h:
566           Don't document object (this is implicitly private).
567
568 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
569
570         * gst/gststructure.c: (gst_structure_parse_value):
571           When deserialising foo=bar without a type cast, check if it's a
572           boolean before falling back to a string type, otherwise things like
573           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
574           because the filtercaps end up having a signed=(string)true field,
575           which causes problems later when intersection caps.
576
577         * tests/check/gst/gststructure.c: (GST_START_TEST):
578           Add a unit test for this.
579
580 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
581
582         Reviewed by: Stefan Kost <ensonic@users.sf.net>
583
584         * libs/gst/controller/Makefile.am:
585         * libs/gst/controller/gstcontroller.c:
586         (gst_controlled_property_add_interpolation_control_source),
587         (gst_controlled_property_new), (gst_controlled_property_free),
588         (gst_controller_find_controlled_property),
589         (gst_controller_new_valist), (gst_controller_new_list),
590         (gst_controller_new), (gst_controller_remove_properties_valist),
591         (gst_controller_remove_properties_list),
592         (gst_controller_remove_properties),
593         (gst_controller_set_property_disabled),
594         (gst_controller_set_disabled), (gst_controller_set_control_source),
595         (gst_controller_get_control_source), (gst_controller_get),
596         (gst_controller_sync_values), (gst_controller_get_value_array),
597         (_gst_controller_dispose), (gst_controller_get_type),
598         (gst_controlled_property_set_interpolation_mode),
599         (gst_controller_set), (gst_controller_set_from_list),
600         (gst_controller_unset), (gst_controller_unset_all),
601         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
602         * libs/gst/controller/gstcontroller.h:
603         * libs/gst/controller/gstcontrollerprivate.h:
604         * libs/gst/controller/gstcontrolsource.c:
605         (gst_control_source_class_init), (gst_control_source_init),
606         (gst_control_source_get_value),
607         (gst_control_source_get_value_array), (gst_control_source_bind):
608         * libs/gst/controller/gstcontrolsource.h:
609         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
610         (gst_object_get_control_source):
611         * libs/gst/controller/gstinterpolation.c:
612         (gst_interpolation_control_source_find_control_point_node),
613         (gst_interpolation_control_source_get_first_value),
614         (_interpolate_none_get), (interpolate_none_get),
615         (interpolate_none_get_boolean_value_array),
616         (interpolate_none_get_enum_value_array),
617         (interpolate_none_get_string_value_array),
618         (_interpolate_trigger_get), (interpolate_trigger_get),
619         (interpolate_trigger_get_boolean_value_array),
620         (interpolate_trigger_get_enum_value_array),
621         (interpolate_trigger_get_string_value_array):
622         * libs/gst/controller/gstinterpolationcontrolsource.c:
623         (gst_control_point_free), (gst_interpolation_control_source_reset),
624         (gst_interpolation_control_source_new),
625         (gst_interpolation_control_source_set_interpolation_mode),
626         (gst_interpolation_control_source_bind),
627         (gst_control_point_compare), (gst_control_point_find),
628         (gst_interpolation_control_source_set_internal),
629         (gst_interpolation_control_source_set),
630         (gst_interpolation_control_source_set_from_list),
631         (gst_interpolation_control_source_unset),
632         (gst_interpolation_control_source_unset_all),
633         (gst_interpolation_control_source_get_all),
634         (gst_interpolation_control_source_get_count),
635         (gst_interpolation_control_source_init),
636         (gst_interpolation_control_source_finalize),
637         (gst_interpolation_control_source_dispose),
638         (gst_interpolation_control_source_class_init):
639         * libs/gst/controller/gstinterpolationcontrolsource.h:
640         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
641         API: Refactor GstController into the core controller which can take
642         a GstControlSource for providing actual values for timestamps.
643         Implement a interpolation control source and use this for backward
644         compatibility, deprecate a bunch of functions that are now handled
645         by GstControlSource or GstInterpolationControlSource.
646         Make it possible to disable the controller completely or only for
647         specific properties. Fixes #450711.
648         * docs/libs/gstreamer-libs-docs.sgml:
649         * docs/libs/gstreamer-libs-sections.txt:
650         * docs/libs/gstreamer-libs.types:
651         Add new functions and classes to the docs.
652         * tests/check/libs/controller.c: (GST_START_TEST),
653         (gst_controller_suite):
654         * tests/examples/controller/audio-example.c: (main):
655         Port unit test and example to the new API and add some new
656         unit tests.
657
658 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
659
660         Patch by: Mark Nauwelaerts <manauw at skynet be>
661
662         * plugins/elements/gstmultiqueue.c:
663         (gst_multi_queue_get_internal_links), (apply_buffer),
664         (single_queue_overrun_cb), (gst_single_queue_new):
665         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
666         the pipeline layout can be tracked correctly. Fixes #453732.
667
668 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
669
670         * docs/gst/Makefile.am:
671         * docs/libs/Makefile.am:
672         * docs/plugins/Makefile.am:
673           Simplify --extra-dir as gtkdoc scans recursively.
674
675 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
676
677         * tools/gst-launch.c: (main):
678         When we got an error, there is no point in waiting for preroll when
679         shutting down.
680
681 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
682
683         * plugins/elements/gsttee.c: (gst_tee_base_init),
684         (gst_tee_request_new_pad), (gst_tee_release_pad),
685         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
686         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
687         (gst_tee_chain):
688         Be a lot smarter when deciding what srcpad to use for proxying
689         the buffer_alloc. Also handle pad added/removed when doing so.
690         Fixes #357959.
691         Keep track of what pads we already pushed on in case we have pads
692         added/removed while pushing. Fixes #374639 
693
694         * tests/check/Makefile.am:
695         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
696         (tee_suite):
697         Added unit test for pad resync.
698
699 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
700
701         * po/nl.po:
702         * po/sv.po:
703           Updated translations.
704
705 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
706
707         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
708
709         * po/LINGUAS:
710         * po/fi.po:
711           Added new Finnish translation.
712
713 2007-06-28  Wim Taymans  <wim@fluendo.com>
714
715         * plugins/elements/gstmultiqueue.c: (apply_buffer),
716         (single_queue_overrun_cb):
717         When figuring out when a queue is filled, use our internal time estimate
718         based on segments, just like check_full does.
719
720 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
721
722         * gst/gstminiobject.c: (gst_mini_object_get_type):
723           Remove 3 do-nothing methods.
724
725 2007-06-27  Wim Taymans  <wim@fluendo.com>
726
727         Patch by: Tim Angus <tim at ngus dot net>
728
729         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
730         (gst_capsfilter_set_property):
731         Take a reference instead of a copy when setting "caps".
732         Fix documentation to clarify this behaviour. Fixes #449414.
733
734 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
735
736         * gst/gstindexfactory.c: (gst_index_factory_get_type):
737         * gst/gstplugin.c: (gst_plugin_init):
738         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
739         * gst/gstquery.c: (gst_query_get_type):
740         * gst/gstregistry.c: (gst_registry_init):
741         * gst/gsturi.c: (gst_uri_handler_base_init):
742           Remove empty instance_init() functions to save relocs and lessen the
743           noise. Remove some of the function prototypes that are doubled by
744           G_DEFINE_TYPE.
745           
746 2007-06-27  Wim Taymans  <wim@fluendo.com>
747
748         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
749
750         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
751         Add peer and direction in the XML serialisation of ghostpads.
752         Fixes #449226.
753
754 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
755
756         * configure.ac:
757           Preserve useful information, thanks Tim.
758
759 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
760
761         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
762         (gst_single_queue_flush), (apply_segment), (apply_buffer),
763         (gst_single_queue_push_one), (gst_multi_queue_loop),
764         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
765         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
766         (compute_high_id), (gst_single_queue_new):
767         * plugins/elements/gstmultiqueue.h:
768         Take the multiqueue lock when updating the fill level so we don't get
769         confused. 
770
771         After applying a buffer or event on the src pad segment, make sure to
772         call gst_data_queue_limits_changed() to get the data queue to unblock
773         and check the filled state again.
774         
775         Rework the not-linked pad handling so the logic is that not-linked 
776         pads can push as fast as they like, but only so they never get 
777         ahead of any linked pads.
778
779         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
780         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
781         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
782
783         Add a test to check that not-linked pads always stay behind
784         linked pads.
785
786         Fixes: #430682
787
788 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
789
790         * docs/random/release:
791           Some updates to the release procedure.
792
793 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
794
795         * gst/gstelementfactory.c: (__gst_element_details_clear):
796           Microoptimization that saves stunning 80 bytes.
797
798 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
799
800         * docs/plugins/gstreamer-plugins.args:
801         * docs/plugins/inspect/plugin-coreelements.xml:
802         * docs/plugins/inspect/plugin-coreindexers.xml:
803           Update docs with caps info.
804
805 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
806
807         * po/it.po:
808           Updated Italian translation.
809
810 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
811
812         * ChangeLog:
813         * po/vi.po:
814           Update Vietnamese translations.
815
816 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
817
818         * libs/gst/base/gstbasesink.c:
819           Remove unused signal enum.
820
821 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
822
823         * docs/gst/gstreamer-sections.txt:
824         * gst/gstelement.c:
825         * gst/gstutils.c: (gst_type_register_static_full):
826         Beef up and include the docs for gst_type_register_static_full and
827         gst_element_class_set_details_simple and add the API keyword
828         in the ChangeLog.
829
830 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
831
832         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
833         (update_time_level), (gst_single_queue_push_one),
834         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
835         (single_queue_overrun_cb), (single_queue_underrun_cb),
836         (single_queue_check_full):
837         Fix setting max-* properties after adding queues.
838         Use IS_FILLED for checking visible items.
839         Signal overrun if multiple queues overrun.
840         Add extra debug output.
841         Patch by: Wim Taymans <wim@fluendo.com>
842
843 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
844
845         * gst/gstelement.c: (gst_element_class_set_details_simple):
846         * gst/gstelement.h:
847         * gst/gstutils.c: (gst_type_register_static_full):
848         * gst/gstutils.h:
849         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
850         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
851         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
852         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
853         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
854         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
855         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
856         * plugins/elements/gstidentity.c: (gst_identity_base_init):
857         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
858         * plugins/elements/gstqueue.c: (gst_queue_base_init),
859         (apply_buffer), (gst_queue_chain):
860         * plugins/elements/gsttee.c: (gst_tee_base_init):
861         * plugins/elements/gsttypefindelement.c:
862         (gst_type_find_element_base_init),
863         (gst_type_find_element_class_init):
864           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
865           API: add gst_type_register_static_full
866           API: add gst_element_class_set_details_simple
867
868 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
869
870         * docs/pwg/advanced-types.xml:
871           Fix typo in iana.org URI.
872
873 2007-06-19  Andy Wingo  <wingo@pobox.com>
874
875         * tests/check/pipelines/simple-launch-lines.c
876         (test_state_change_returns): Enable pull-mode tests now that
877         basesink has been fixed.
878
879         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
880         Changed from gst_base_sink_is_prerolled, reversing the sense of
881         the return value. Returns FALSE also if the sink is in pull mode,
882         in which case it needs no preroll.
883         (gst_base_sink_query, gst_base_sink_change_state): Update for
884         needs_preroll change.
885         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
886         chaining up, in which we return SUCCESS directly if we activated
887         in pull mode instead of ASYNC. Involves countering an async_start
888         message sent before chaining up; not sure if this is correct, in
889         an ideal world we only send async-start when activating in push
890         mode.
891
892         * tests/check/pipelines/simple-launch-lines.c
893         (test_state_change_returns): New test, partially disabled until
894         basesink is fixed.
895
896 2007-06-19  Wim Taymans  <wim@fluendo.com>
897
898         * plugins/elements/gstmultiqueue.c: (apply_buffer),
899         (gst_multi_queue_sink_event):
900         Fix event leak.
901
902 2007-06-19  Wim Taymans  <wim@fluendo.com>
903
904         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
905         (gst_bin_change_state_func), (bin_push_state_continue),
906         (bin_handle_async_start), (bin_handle_async_done),
907         (gst_bin_handle_message_func):
908         Move the common code for posting state-change messages into
909         one function.
910         Broadcast the state signal after we posted the messages.
911         Mark the bin as busy when it's doing a state-change.
912         Make sure async-start/done messages don't interfere with the bin's
913         state when it's busy.
914         After the state change, let the bin check which elements completed the
915         state change while it was busy so that it can update its state.
916
917 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
918
919         * docs/random/release:
920         Add a note about updating the doap file to the release checklist
921
922 2007-06-18  Wim Taymans  <wim@fluendo.com>
923
924         * plugins/elements/gstmultiqueue.c: (apply_buffer),
925         (gst_single_queue_push_one), (gst_multi_queue_chain),
926         (gst_multi_queue_sink_event):
927         Make sure we don't reference the buffer/event after we have given away
928         ownership in the queue.
929
930 2007-06-18  Wim Taymans  <wim@fluendo.com>
931
932         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
933         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
934         Update queue state _after_ adding the item in the queue because else we
935         could end up being full without the element added yet.
936
937 2007-06-18  Wim Taymans  <wim@fluendo.com>
938
939         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
940         (gst_bin_remove_func), (gst_bin_get_state_func),
941         (gst_bin_element_set_state), (gst_bin_continue_func),
942         (bin_push_state_continue), (bin_handle_async_start),
943         (bin_handle_async_done), (gst_bin_handle_message_func):
944         * gst/gstbin.h:
945         Immediatly commit the toplevel bin state when receiving an async-done
946         message. This enables us to avoid spawning a thread to commit the state
947         in some common cases and it also avoids some races.
948         Avoid spawning a state thread when adding/removing async elements to a
949         toplevel bin. Instead we immediatly update the bin state.
950         Get rid of iterating all the children when getting the state in the bin
951         because it is now always up-to-date.
952         Fix bug where locked elements would always return _SUCCESS even it they
953         returned NO_PREROLL before being locked.
954         Fix the order of the state_change, async-start/done messages that was
955         sometimes incorrect.
956         Mark the state_dirty field as deprecated, we don't need it anymore as we
957         are always up-to-date.
958
959         * gst/gstelement.c: (gst_element_get_state_func),
960         (gst_element_continue_state):
961         Small debug inprovements.
962         Return the previous element state return when nothing is pending instead
963         of blindly returning SUCCESS.
964
965         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
966         (gst_sinks_suite):
967         Add a whole bunch of new testcases.
968
969 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
970
971         * po/uk.po:
972         * po/vi.po:
973           Update translations.
974
975 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
976
977         * gst/gstpad.c:
978         Fix typo in the docs.
979
980 2007-06-15  Wim Taymans  <wim@fluendo.com>
981
982         * docs/libs/gstreamer-libs-sections.txt:
983         Add docs for new methods.
984
985 2007-06-15  Wim Taymans  <wim@fluendo.com>
986
987         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
988         (gst_multi_queue_item_new):
989         Don't use GSlice because we don't depend on >= 2.10 yet.
990
991 2007-06-15  Wim Taymans  <wim@fluendo.com>
992
993         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
994         (update_time_level), (apply_segment), (apply_buffer),
995         (gst_single_queue_push_one), (gst_multi_queue_item_new),
996         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
997         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
998         (single_queue_underrun_cb), (single_queue_check_full):
999         Remove debug printf.
1000
1001 2007-06-15  Wim Taymans  <wim@fluendo.com>
1002
1003         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
1004         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
1005         (gst_data_queue_set_flushing), (gst_data_queue_push),
1006         (gst_data_queue_pop), (gst_data_queue_drop_head),
1007         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
1008         * libs/gst/base/gstdataqueue.h:
1009         Various cleanups.
1010         Added methods to get the current levels and to inform the queue that the
1011         'full' limits changed.
1012
1013         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
1014         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
1015         (gst_single_queue_flush), (update_time_level), (apply_segment),
1016         (apply_buffer), (gst_single_queue_push_one),
1017         (gst_multi_queue_item_steal_object),
1018         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
1019         (gst_multi_queue_loop), (gst_multi_queue_chain),
1020         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
1021         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
1022         (gst_multi_queue_src_query), (single_queue_overrun_cb),
1023         (single_queue_underrun_cb), (single_queue_check_full),
1024         (gst_single_queue_new):
1025         Keep track of time in the queue by measuring the difference between
1026         running_time on input and output. This gives more accurate results and
1027         can compensate for segments correctly.
1028         Make a queue by default only 5 buffers deep. We will now increase the
1029         buffer size depending on the filledness of the other queues.
1030         Factor out commong flush code.
1031         Make sure we don't add additional refcounts to buffers when we can avoid
1032         it.
1033         Propagate GstFlowReturn differently.
1034         Use GSlice for intermediate GstMultiQueueItems.
1035         Keep track of EOS.
1036         Resize queues on over and underruns based on filled level of other
1037         queues.
1038         When checking if the queue is filled, prefer to measure in time if we
1039         can and fall back to bytes when no time is known.
1040
1041         * plugins/elements/gstqueue.c:
1042         Fix return value.
1043
1044 2007-06-15  Wim Taymans  <wim@fluendo.com>
1045
1046         * libs/gst/base/gstbasetransform.c:
1047         (gst_base_transform_sink_event):
1048         Work around the brokenness of the event vmethod in basetransform. Prefer
1049         to return TRUE when the subclass returned FALSE (meaning don't forward
1050         the event). 
1051
1052         * libs/gst/base/gstbasetransform.h:
1053         Clarify the docs.
1054
1055 2007-06-15  Wim Taymans  <wim@fluendo.com>
1056
1057         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
1058         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1059         (gst_base_src_default_query), (gst_base_src_get_range),
1060         (gst_base_src_start):
1061         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
1062         Improve debugging.
1063
1064 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
1065
1066         * docs/pwg/advanced-types.xml:
1067           Added more formats to caps table.
1068
1069 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
1070
1071         * tools/gst-launch.c: (main):
1072           Remove crufy code. GOption does not need this workaround.
1073
1074 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
1075
1076         * libs/gst/controller/gstcontroller.c:
1077         (gst_controlled_property_set_interpolation_mode):
1078           Fix wrong getter for enums in controller.
1079
1080 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
1081
1082         * libs/gst/check/gstcheck.c: (gst_check_init):
1083           Intercept criticals and warnings in the Gst-Phonon log domain, so
1084           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
1085           well.
1086         
1087 2007-06-14  Edward Hervey  <edward@fluendo.com>
1088
1089         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
1090         Since this file doesn't include "gst.h" it will not go through the
1091         macros that disable GST_LOG if debugging was disabled.
1092
1093 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
1094
1095         * libs/gst/check/Makefile.am:
1096         * libs/gst/check/gstcheck.h:
1097         * pkgconfig/gstreamer-check-uninstalled.pc.in:
1098         * pkgconfig/gstreamer-check.pc.in:
1099           Ugly 'fix' for the controller unit test on the p5 bot: in
1100           fail_unless_equals_float() check whether the values are 'almost
1101           equal' by allowing a small absolute error, which should be good
1102           enough for our use cases (normal numbers and values close to 0).
1103           Proper fixage left to floating point arithmetic aficionados.
1104
1105 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
1106
1107         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
1108         (gst_base_sink_render_object), (gst_base_sink_get_position):
1109           Add two breaks thats where missing.
1110
1111 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
1112
1113         * docs/libs/gstreamer-libs-sections.txt:
1114         * libs/gst/check/gstcheck.h:
1115           API: add fail_unless_equals_float() and assert_equals_float().
1116           Add documentation for some of the macros.
1117
1118         * tests/check/libs/controller.c: (GST_START_TEST):
1119           Use newly-added asserts.
1120
1121 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
1122
1123         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
1124           Show the caps change in the log to help spotting the case of not
1125           exactly matching caps.
1126
1127 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
1128
1129         * docs/pwg/building-boiler.xml:
1130           Fix typos, spotted by Thijs Vermeir (#447190).
1131
1132 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
1133
1134         * docs/plugins/tmpl/.cvsignore:
1135         Ignore file to keep the buildbots happy
1136
1137 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
1138
1139         * docs/plugins/Makefile.am:
1140         * docs/plugins/gstreamer-plugins-docs.sgml:
1141         * docs/plugins/gstreamer-plugins-sections.txt:
1142         Pull fdsink into the docs too.
1143
1144 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
1145
1146         * libs/gst/controller/gstinterpolation.c:
1147         Actually use the new functions with min/max checks for the trigger and
1148         none interpolation modes for get() and get_value_array() instead of
1149         just the latter.
1150
1151 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
1152
1153         * libs/gst/controller/gstcontroller.c:
1154         (gst_controlled_property_free):
1155         Unset the minimum and maximum GValues when freeing the corresponding
1156         GstControllerProperty struct.
1157
1158 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
1159
1160         * libs/gst/controller/gstcontroller.c:
1161         (gst_controlled_property_new):
1162         * libs/gst/controller/gstcontrollerprivate.h:
1163         * libs/gst/controller/gstinterpolation.c:
1164         (gst_controlled_property_find_control_point_node),
1165         (interpolate_none_get), (interpolate_none_get_enum_value_array),
1166         (interpolate_none_get_string_value_array),
1167         (interpolate_trigger_get),
1168         (interpolate_trigger_get_enum_value_array),
1169         (interpolate_trigger_get_string_value_array):
1170         Protect against values larger or smaller than the minimum or maximum
1171         allowed value for the property when using values that can be compared.
1172
1173         Optimize trigger interpolator a bit by taking the last requested value
1174         into account instead of always looping through the complete list.
1175
1176         Fix coding style a bit, everywhere else we use "return foo" instead
1177         of "return (foo)".
1178         
1179         * tests/check/libs/controller.c: (GST_START_TEST),
1180         (gst_controller_suite):
1181         Add unit test for the protection against too large or too small
1182         values.
1183
1184 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
1185
1186         * docs/random/slomo/controller.txt:
1187         Add some thoughts about the future of the controller.
1188
1189 2007-06-08  Wim Taymans  <wim@fluendo.com>
1190
1191         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1192         Don't overflow in retimestamping code.
1193
1194 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
1195
1196         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
1197         Use gst_util_guint64_to_gdouble for conversions.
1198         * win32/common/libgstreamer.def:
1199         Add new exported functions.
1200
1201 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
1202
1203         * gst/gstutils.c:
1204           Small docs addition.
1205
1206 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
1207
1208         * README:
1209           Remove that test line again.
1210
1211 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
1212
1213         * README:
1214           Test commit mail sending.
1215
1216 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
1217
1218         * configure.ac:
1219           Fix typo and test commit mail sending.
1220
1221 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
1222
1223         * tests/examples/controller/audio-example.c:
1224           Improve comment and test commit mail sending.
1225
1226 2007-06-07  Wim Taymans  <wim@fluendo.com>
1227
1228         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
1229         (gst_bin_remove_func), (gst_bin_element_set_state),
1230         (bin_handle_async_start), (bin_handle_async_done),
1231         (gst_bin_handle_message_func):
1232         Add helper function to find messages.
1233         Generate the async-done messages together with the state change
1234         messages.
1235         Small cleanups in handling toplevel bins.
1236
1237 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
1238
1239         * libs/gst/base/gstdataqueue.c:
1240         * libs/gst/base/gstdataqueue.h:
1241         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
1242         (gst_multi_queue_item_new), (gst_multi_queue_chain),
1243         (gst_multi_queue_sink_event):
1244         * tests/check/elements/multiqueue.c: (multiqueue_suite):
1245           Fix multiqueue leaking buffers and events when downstream or the
1246           queue are flushing. Make refcounting assumptions explicit and
1247           document them (shouldn't break existing code that uses it other than
1248           maybe leak miniobjects, but that already happens anyway). Add unit
1249           test for the most common flushing case. Fixes #423700.
1250           
1251 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
1252
1253         * libs/gst/controller/gstcontroller.c:
1254         Clarify docs: The get_all, get_value_array(s) functions
1255         don't modify the GObject properties.
1256
1257 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
1258
1259         * libs/gst/controller/gstcontroller.c:
1260         (gst_controlled_property_set_interpolation_mode),
1261         (gst_controlled_property_prepend_default),
1262         (gst_controlled_property_new), (gst_controller_set_unlocked),
1263         (gst_controller_set), (gst_controller_set_from_list),
1264         (gst_controller_unset), (gst_controller_unset_all):
1265         * libs/gst/controller/gstcontrollerprivate.h:
1266         * libs/gst/controller/gstinterpolation.c:
1267         Factor out the 'set' logic into gst_controller_set_unlocked for the
1268         gst_controller_set and gst_controller_set_from_list functions.
1269
1270         To make life of the interpolators easier always add a control point
1271         at timestamp zero with the default value.
1272
1273         In the linear interpolator make things more obvious by better variable
1274         naming (slope).
1275
1276         Implement cubic interpolation mode (by using a natural cubic spline)
1277         and map the quadratic interpolation mode to this too (as quadratic
1278         doesn't make much sense, see discussion on the list).
1279
1280         * tests/check/libs/controller.c: (GST_START_TEST),
1281         (gst_controller_suite):
1282         Add unit test for the cubic interpolation mode and check everywhere
1283         if the interpolation mode could be set as expected.
1284
1285 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
1286
1287         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
1288           Don't use GLib-2.10 functions, we still depend on
1289           GLib-how-old-is-it-again-2.8.
1290
1291 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
1292
1293         * docs/gst/gstreamer-sections.txt:
1294         * gst/Makefile.am:
1295         * gst/gst.c:
1296         * gst/gst.h:
1297         * gst/gstparamspecs.c: (_gst_param_fraction_init),
1298         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
1299         (_gst_param_fraction_values_cmp),
1300         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
1301         * gst/gstparamspecs.h:
1302         * gst/gstvalue.c:
1303         * tests/check/Makefile.am:
1304         * tests/check/gst/.cvsignore:
1305         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
1306         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
1307         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
1308         (GST_START_TEST), (gst_param_spec_suite):
1309           API: add GstParamSpecFraction, so elements can have fraction
1310           properties without lots of painful string parsing (#444648).
1311
1312 2007-06-05  Wim Taymans  <wim@fluendo.com>
1313
1314         * gst/gstobject.c: (gst_object_class_init):
1315         Fix signal signature.
1316
1317         * gst/gstsegment.c:
1318         Add small clarification in the api docs.
1319
1320         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
1321         States are protected with object lock.
1322
1323 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
1324
1325         * AUTHORS:
1326         I should probably be listed as an author by now.
1327
1328         * docs/random/release:
1329         Update the release doc
1330
1331 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
1332
1333         * gst/gstvalue.c:
1334           Make docs for gst_value_compare() mention return enums that
1335           actually exist.
1336
1337 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
1338
1339         * configure.ac:
1340           Back to CVS
1341
1342 === release 0.10.13 ===
1343
1344 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
1345
1346         * configure.ac:
1347           releasing 0.10.13, "With or without you"
1348
1349 2007-05-25  Wim Taymans  <wim@fluendo.com>
1350
1351         * gst/gstbin.c: (bin_handle_async_done):
1352         Make sure that the child bin stops after completing the async state
1353         change so that the parent can continue the state change to PLAYING.
1354         Fixes #441159.
1355
1356 2007-05-25  Wim Taymans  <wim@fluendo.com>
1357
1358         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1359         (unref_data), (gst_collect_pads_remove_pad),
1360         (gst_collect_pads_check_pads):
1361         Use additional refcounting to avoid crashes when dynamically adding and
1362         removing pads. Fixes #420206.
1363
1364 2007-05-24  Wim Taymans  <wim@fluendo.com>
1365
1366         * tools/gst-launch.c: (event_loop):
1367         When buffering goes from a two digit to a single digit number, make sure
1368         to remove the old second digit by writing a blank over it.
1369
1370 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
1371
1372         * libs/gst/base/gstdataqueue.c:
1373           Eliminate tabs and trailing comma in enum list; fix some typos.
1374
1375 2007-05-24  Wim Taymans  <wim@fluendo.com>
1376
1377         * tests/check/gst/gstbin.c: (GST_START_TEST):
1378         Allow refcount of 3 and 4 because some state thread might still be busy
1379         with it.
1380
1381 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
1382
1383         * plugins/elements/Makefile.am:
1384         * plugins/elements/gstmultiqueue.h:
1385         * plugins/elements/gstqueue.h:
1386           These are not installed headers, no need for padding.
1387
1388 2007-05-24  Wim Taymans  <wim@fluendo.com>
1389
1390         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
1391         (gst_bin_continue_func):
1392         Enable latency for next release.
1393         Restore STATE_LOCK around recalc_state that was left out during the
1394         rewrite and could result in racy behaviour when _get_state and
1395         recalc_state are run concurrently. See #440463.
1396
1397 2007-05-23  Wim Taymans  <wim@fluendo.com>
1398
1399         * tests/check/gst/gstsystemclock.c: (store_callback),
1400         (GST_START_TEST):
1401         Improve test_async_order to also work when both timers are already
1402         expired when we get scheduled to check it.
1403
1404 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
1405
1406         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
1407         (gst_bin_set_property), (gst_bin_get_property),
1408         (gst_bin_remove_func), (gst_bin_handle_message_func):
1409         * gst/gstbin.h:
1410           'private' is a c++ keyword, let's not use that in header files,
1411           otherwise c++ compilers will throw a tantrum.
1412
1413 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
1414
1415         * plugins/elements/gstelements.c:
1416         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
1417         (gst_file_sink_get_current_offset):
1418         * plugins/indexers/gstindexers.c: (plugin_init):
1419           Use #ifdef for HAVE_XYZ for consistency.
1420
1421         * tests/check/Makefile.am:
1422         * tests/check/elements/.cvsignore:
1423         * tests/check/elements/filesink.c: (setup_filesink),
1424         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
1425           Add some unit tests for filesink.
1426
1427 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
1428
1429         Patch by: Mark Nauwelaerts <manauw at skynet be>
1430
1431         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
1432         (gst_file_sink_query), (gst_file_sink_do_seek),
1433         (gst_file_sink_get_current_offset), (gst_file_sink_render):
1434         * plugins/elements/gstfilesink.h:
1435           Fix position reporting; rename data_written member to current_pos to
1436           reflect its real meaning (fixes #412648).
1437
1438 2007-05-22  Edward Hervey  <edward@fluendo.com>
1439
1440         * docs/gst/gstreamer-sections.txt:
1441         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1442         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
1443         (gst_bin_remove_func), (gst_bin_handle_message_func):
1444         * gst/gstbin.h:
1445         Add a property for bins that handle the state change of their childs.
1446         Fixes #435880
1447
1448 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
1449
1450         * libs/gst/controller/gstinterpolation.c:
1451         Use an array of the correct type when using _get_value_array with
1452         linear interpolation.
1453
1454 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
1455
1456         * gst/gstelement.c (gst_element_requires_clock,
1457           gst_element_provides_clock, gst_element_request_pad,
1458           gst_element_class_set_details, gst_element_class_set_details_simple,
1459           gst_element_default_send_event, gst_element_abort_state,
1460           gst_element_continue_state, gst_element_set_state,
1461           gst_element_set_state_func, iterator_activate_fold_with_resync):
1462         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
1463           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
1464           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
1465           gst_pad_get_range, gst_pad_pull_range):
1466         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
1467           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
1468           GstPadActivateModeFunction, GstPadChainFunction,
1469           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
1470           GstPadFixateCapsFunction, GstPadTemplate):
1471         * gst/gstpipeline.c (gst_pipeline_change_state,
1472           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
1473           gst_pipeline_set_clock, gst_pipeline_auto_clock,
1474           gst_pipeline_get_delay):
1475           Whitespace and docs fixes.
1476
1477 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
1478
1479         * libs/gst/controller/gstinterpolation.c:
1480         (interpolate_trigger_get_enum_value_array),
1481         (interpolate_trigger_get_string_value_array):
1482         Add support for retrieving value arrays when using the trigger
1483         interpolation mode. 
1484
1485 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
1486
1487         * libs/gst/controller/gstcontroller.c:
1488         (gst_controller_get_value_array):
1489         * libs/gst/controller/gstcontroller.h:
1490         Clarify the docs of gst_controller_get_value_array(): The array where
1491         the values should be written to must be allocated as there seems to be
1492         no way to get the size of a random GType. This doesn't change any
1493         behaviour. Also fix some typos all over the place and remove an unused,
1494         commented function that is not necessary as g_object_set() could be
1495         used instead.
1496         * tests/check/libs/controller.c: (GST_START_TEST),
1497         (gst_controller_suite):
1498         Add unit test for gst_controller_get_value_array().
1499
1500 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
1501
1502         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1503
1504         Disable part of the gst_buffer_try_new_and_alloc test, because
1505         it can happily succeed on 64-bit systems where there's more address
1506         space available.
1507
1508 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
1509
1510         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
1511         Add unit test for the improved caps checking from bug #421543.
1512
1513 2007-05-21  Wim Taymans  <wim@fluendo.com>
1514
1515         * docs/design/part-synchronisation.txt:
1516         Small addition.
1517
1518         * gst/gstbin.c: (gst_bin_query):
1519         * plugins/elements/gstqueue.c: (apply_segment):
1520         Improve debugging.
1521
1522         * gst/gstmessage.h:
1523         Improve docs.
1524
1525 2007-05-21  Wim Taymans  <wim@fluendo.com>
1526
1527         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
1528         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
1529         (gst_pad_configure_src):
1530         Added simple version of improved caps checking. It was previously
1531         assumed that a setcaps function would check the validity of the caps but
1532         people prefer us to check caps against the template automatically. 
1533         Fixes #421543.
1534
1535 2007-05-21  Wim Taymans  <wim@fluendo.com>
1536
1537         * libs/gst/base/gstbasetransform.h:
1538         Fix macro for locking/unlocking the transform lock.
1539
1540 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
1541
1542         * docs/plugins/tmpl/.cvsignore:
1543           Ignore more.
1544
1545 2007-05-18  Edward Hervey  <edward@fluendo.com>
1546
1547         * plugins/elements/gstqueue.c: (gst_queue_loop):
1548         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
1549         for the subtle art of warning a potentially blocking thread that it
1550         should check the source pad return value, and relay the information
1551         upstream.
1552
1553 2007-05-18  Edward Hervey  <edward@fluendo.com>
1554
1555         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
1556         Release the queue lock !
1557
1558 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
1559
1560         * docs/libs/gstreamer-libs-sections.txt:
1561         Add the two new controller functions to the appropiate places.
1562
1563 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
1564
1565         reviewed by: Stefan Kost <ensonic@users.sf.net>
1566
1567         * libs/gst/controller/gstcontroller.c:
1568         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
1569         (_gst_controller_get_property), (_gst_controller_set_property),
1570         (_gst_controller_init), (_gst_controller_class_init):
1571         * libs/gst/controller/gstcontroller.h:
1572         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
1573         (gst_object_get_control_rate), (gst_object_set_control_rate):
1574         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
1575         Add API that provides sync suggestion timestamps for elements that
1576         call gst_object_sync_values() from which those elements can subdivide
1577         their processing loop to get the best results for the controlled
1578         properties. For now it just suggests last_sync + control_rate as
1579         new timestamp but this will be improved in the future.
1580
1581         While doing that change the control-rate property to a GstClockTime
1582         from guint and change it's meaning from samples to nanoseconds as
1583         the GstController doesn't know anything about sampling rate. Strictly
1584         speaking this breaks ABI but as the control-rate property didn't do
1585         anything in the past and as such couldn't be used this should be no
1586         problem.        
1587
1588 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
1589
1590         reviewed by: Stefan Kost <ensonic@users.sf.net>
1591
1592         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
1593         (gst_controller_unset_all):
1594         * libs/gst/controller/gstcontrollerprivate.h:
1595         * libs/gst/controller/gstinterpolation.c:
1596         (gst_controlled_property_find_control_point_node):
1597         Save last synced value from the list to continue searching from there
1598         in future syncs. This speeds everything up a bit.
1599         
1600 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
1601
1602         reviewed by: Stefan Kost <ensonic@users.sf.net>
1603
1604         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
1605         (gst_control_point_find), (gst_controlled_property_new),
1606         (gst_control_point_free), (gst_controlled_property_free),
1607         (gst_controller_set), (gst_controller_set_from_list),
1608         (gst_controller_unset), (gst_controller_unset_all),
1609         (gst_controller_sync_values):
1610         * libs/gst/controller/gstcontroller.h:
1611         * libs/gst/controller/gstcontrollerprivate.h:
1612         * libs/gst/controller/gstinterpolation.c:
1613         (gst_controlled_property_find_control_point_node),
1614         (interpolate_none_get), (interpolate_trigger_get):
1615         Add a new private GstControlPoint struct which "inherits" from
1616         GstTimedValue to allow different interpolators to store internal
1617         values next to each control point. From the outside everything is
1618         still a GstControlPoint so we don't loose binary compatibility.
1619         Also fixup all the GValue handling to not leak GValues or list nodes.
1620         * tests/check/libs/controller.c: (GST_START_TEST):
1621         Free the list nodes and GValues in the controller_misc test.
1622
1623 2007-05-17  Edward Hervey  <edward@fluendo.com>
1624
1625         * gst/gstsegment.c:
1626         Small doc fix.
1627
1628 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
1629
1630         * gst/gstplugin.c: (gst_plugin_load_file):
1631           If we fail to load a plugin because of unresolved symbols or missing
1632           libraries and spew a warning to stderr, we may just as well mention
1633           which plugin it was that failed to load.
1634
1635 2007-05-13  David Schleef  <ds@schleef.org>
1636
1637         * docs/Makefile.am: the gtk-doc makefile snippet correctly
1638           handles the case when ENABLE_GTK_DOC is false, and installs
1639           the prebuilt documentation.  So gtk-doc subdirs are 
1640           unconditionally enabled.  Fixes: #349099.
1641
1642 2007-05-13  David Schleef  <ds@schleef.org>
1643
1644         * gst/gstutils.h: Reword some documentation.
1645
1646 2007-05-12  David Schleef  <ds@schleef.org>
1647
1648         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
1649           do anything with the passed "module" parameter, so remove it.
1650           Allows removal of additional vestigal code.
1651
1652 2007-05-12  David Schleef  <ds@schleef.org>
1653
1654         * gst/gstplugin.c:
1655           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
1656           Switch to using g_stat() because it's more portable.
1657
1658 2007-05-12  David Schleef  <ds@schleef.org>
1659
1660         * gst/gst.c:
1661           Add GST_DISABLE_OPTION_PARSING, in order to disable option
1662           parsing for embedded systems.
1663         * gst/gstelementfactory.c:
1664           Allow gst_element_register() to be called with plugin==NULL.
1665           Did nobody notice that static elements were broken?
1666
1667 2007-05-12  Wim Taymans  <wim@fluendo.com>
1668
1669         * tools/gst-launch.c: (event_loop):
1670         Give more interesting info when buffering starts and stops.
1671         Fix case where buffering starts but we fail to update the buffering flag
1672         because the target state is not PLAYING.
1673
1674 2007-05-12  Wim Taymans  <wim@fluendo.com>
1675
1676         * plugins/elements/gstqueue.c: (gst_queue_init),
1677         (gst_queue_finalize), (update_time_level), (apply_segment),
1678         (apply_buffer), (gst_queue_locked_flush),
1679         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
1680         (gst_queue_handle_sink_event), (gst_queue_chain),
1681         (gst_queue_push_one), (gst_queue_loop):
1682         * plugins/elements/gstqueue.h:
1683         Refactor an cleanup queue a bit.
1684         Do better time level calculations that also work when the srcpad is not
1685         yet running.
1686         Remove some unneeded debug lines.
1687
1688         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
1689         Added testcase for time level measurement.
1690         Try to make some stuff more racefree.
1691
1692 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
1693
1694         * gst/gsturi.c: (gst_element_make_from_uri):
1695           Don't leak plugin feature.
1696
1697         * tests/check/Makefile.am:
1698         * tests/check/gst/.cvsignore:
1699         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
1700           Add brain-dead unit test.
1701
1702 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
1703
1704         Patch by: Jeroen Wouters <woutersj at gmail com>
1705
1706         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
1707           Treat protocol strings in a case-insensitive way (#437563).
1708
1709 2007-05-11  Michael Smith <msmith@fluendo.com>
1710
1711         * gst/gstplugin.c: (gst_plugin_load_file):
1712         * gst/gstregistry.c: (gst_registry_scan_path_level):
1713           Don't print a g_warning for any failure to load a shared object.
1714           Instead, push this down into gstplugin.c, and warn _only_ if we
1715           failed to open the module (i.e. failure to link).
1716           Avoids warnings on normal, working, non-plugin .so files.
1717
1718 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
1719
1720         * gst/gstplugin.c (gst_plugin_load_file):
1721         * gst/gstregistry.c (GST_CAT_DEFAULT,
1722           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
1723           Print a g_warning if there was an error when loading a plugins during
1724           registry scan. The shuld help beginners starting with gst-plugin
1725           template.
1726
1727 2007-05-10  Wim Taymans  <wim@fluendo.com>
1728
1729         * plugins/elements/gstqueue.c: (gst_queue_class_init),
1730         (update_time_level), (gst_queue_locked_flush),
1731         (gst_queue_handle_sink_event), (gst_queue_chain),
1732         (gst_queue_push_one), (gst_queue_loop):
1733         * plugins/elements/gstqueue.h:
1734         Be smarter when calculating the current amount of data in the queue by
1735         measuring the difference between start and end timestamps (in running
1736         time) inside the queue. Fixes #432876.
1737         API: GstQueue::pushing to notify elements that we are pushing data again
1738         since the running signal is rather broken for this purpose.
1739
1740 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
1741
1742         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
1743           gst_queue_base_init, gst_queue_init):
1744           use GST_BOILERPLATE
1745
1746 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
1747
1748         * win32/common/libgstreamer.def:
1749         Add new exported functions.
1750         * win32/vs6/grammar.dsp:
1751         Use grammar pre-generated files.
1752
1753 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1754
1755         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
1756
1757         * gst/Makefile.am:
1758         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
1759         * gst/gstparse.h:
1760         * gst/gstutils.c: (gst_parse_bin_from_description):
1761         * gst/gstutils.h:
1762           Maintain API and ABI when --disable-parse is used. Now that
1763           we have an appropriate error code, we can just return NULL and the
1764           appropriate error when gst_parse_launch() is used despite it having
1765           been disabled (#342564).
1766
1767         * tests/check/Makefile.am:
1768         * tests/check/pipelines/.cvsignore:
1769         * tests/check/pipelines/parse-disabled.c:
1770           Make sure these functions exist and return NULL plus a GError when
1771           --disable-parse is used.
1772
1773 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1774
1775         * tests/benchmarks/complexity.c: (main):
1776         * tests/benchmarks/mass-elements.c: (main):
1777           Set a good example and don't leak messages.
1778
1779 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
1780
1781         * docs/gst/Makefile.am:
1782         * docs/libs/Makefile.am:
1783           Correct fixxrefs options.
1784
1785         * docs/plugins/Makefile.am:
1786         * docs/plugins/gstreamer-plugins-docs.sgml:
1787         * docs/plugins/gstreamer-plugins-sections.txt:
1788         * plugins/elements/Makefile.am:
1789         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
1790         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
1791           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
1792           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
1793           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
1794           _GstCapsFilterClass, trans_class):
1795         * plugins/elements/gstelements.c (name, rank, type, _elements):
1796         * plugins/elements/gstidentity.c
1797           (gst_identity_check_imperfect_timestamp,
1798           gst_identity_check_imperfect_offset):
1799           Document capsfilter and add doc-blurb to identity.
1800
1801 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
1802
1803         * libs/gst/controller/gstcontroller.c:
1804         (gst_controlled_property_set_interpolation_mode):
1805         * libs/gst/controller/gstinterpolation.c:
1806           Don't crash if someone tries to set an interpolation mode that
1807           is invalid or that isn't supported yet. Fixes #422295.
1808
1809         * tests/check/libs/controller.c: (GST_START_TEST),
1810         (gst_controller_suite):
1811           Add a test case for the above.
1812
1813 2007-05-03  Edward Hervey  <edward@fluendo.com>
1814
1815         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
1816         Properly set the last_stop position on GstSegment. This will only happen
1817         if there is a buffer to push out.
1818
1819 2007-05-03  Wim Taymans  <wim@fluendo.com>
1820
1821         * libs/gst/base/gstbasetransform.c:
1822         (gst_base_transform_buffer_alloc):
1823         always_in_place does not mean that the sink and source caps are the
1824         same! Make sure we don't blindly proxy the buffer_alloc in this case.
1825
1826 2007-05-03  Wim Taymans  <wim@fluendo.com>
1827
1828         * docs/libs/gstreamer-libs-sections.txt:
1829         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1830         (gst_base_src_default_query), (gst_base_src_get_range):
1831         * libs/gst/base/gstbasesrc.h:
1832         API: gst_base_src_query_latency(). Added method so that subclasses can
1833         easily get the latency values of the base source class.
1834
1835 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
1836
1837         * tools/gst-inspect.c (print_implementation_info):
1838         Remove 0.8 cruft.
1839
1840 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
1841
1842         * tools/Makefile.am:
1843         * tools/gst-launch.1.in:
1844           Don't create a customised man page based on the host architecture,
1845           describe the default registry path generically. That way the man
1846           page is the same for all architectures and packagers have one
1847           multilib issue less to deal with. Fixes #434926.
1848
1849 2007-05-02  Wim Taymans  <wim@fluendo.com>
1850
1851         * gst/gstpad.c:
1852         Fix documentation as spotted by rg on IRC. 
1853
1854 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
1855
1856         * gst/gstutils.c:
1857           Improve docs for gst_element_{link,unlink}.
1858
1859 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
1860
1861         * docs/design/part-events.txt:
1862         * docs/design/part-overview.txt:
1863         * gst/gstevent.c:
1864         * gst/gsturi.c:
1865         * gst/gsturi.h:
1866         * libs/gst/base/gstbasesink.c:
1867           Typo fixes; minor docs addition.
1868
1869 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
1870
1871         * docs/gst/gstreamer-sections.txt:
1872         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
1873         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
1874         * gst/gsturi.h:
1875         API: Add gst_uri_protocol_is_supported(), which checks if a sink
1876         or src that supports a given URI protocol exists.
1877
1878 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
1879
1880         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1881         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1882         Set the location to NULL if "file://" is set as URI. Otherwise
1883         some random previous URI would still be set if "file://" is
1884         set on an already used filesink/filesrc.
1885
1886 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
1887
1888         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1889         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1890         Special case the "file://" URI as as this is used by some
1891         applications to test with gst_element_make_from_uri if there's
1892         an element that supports the URI protocol.
1893         Also move the g_path_is_absolute() check for the location part
1894         of the URI to also check this for "file://localhost/bla" URIs.
1895
1896 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
1897
1898         * docs/gst/gstreamer-sections.txt:
1899         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
1900         * gst/gstbuffer.h:
1901         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
1902         (gst_buffer_suite):
1903           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
1904
1905 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
1906
1907         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
1908         (gst_registry_binary_load_pad_template),
1909         (gst_registry_binary_load_plugin),
1910         (gst_registry_binary_read_cache):
1911         * gst/gstregistrybinary.h:
1912           Implement no-mmap alternative for registry reading. Do code cleanups.
1913           Add more comments about avoiding strdups for all text data. Comments
1914           welcome.
1915
1916 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
1917
1918         * gst/gstregistrybinary.h (GstBinaryPluginElement,
1919           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
1920           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
1921           Comment structs and reformat to fix the build (that stuff should go
1922           into a priv. header).
1923
1924 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
1925
1926         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1927         (gst_registry_binary_load_feature):
1928         * gst/gstregistrybinary.h:
1929           Refactor so that we can implement multiple features. Add support for
1930           TypeFindFactory features.
1931
1932 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
1933
1934         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
1935
1936         * configure.ac:
1937           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
1938
1939 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
1940
1941         * gst/gstbin.c: (gst_bin_element_set_state),
1942         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
1943         (bin_handle_async_done), (gst_bin_handle_message_func):
1944           Fix build with --gst-disable-gst-debug
1945
1946 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
1947
1948         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
1949           Make sure streaming has finished before calling the ::stop() vfunc,
1950           since that vfunc might clear state which is being used in the
1951           streaming thread. This fixes a race that caused crashes in
1952           audioresample when shutting down a pipeline (#420106).
1953
1954 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
1955
1956         * docs/gst/gstreamer-sections.txt:
1957           That was one byte missing.
1958
1959 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
1960
1961         * configure.ac:
1962         * docs/gst/gstreamer-sections.txt:
1963         * gst/Makefile.am:
1964         * gst/gstconfig.h.in:
1965         * gst/gstobject.c: (gst_object_class_init),
1966         (gst_signal_object_class_init):
1967         * gst/gstobject.h:
1968           2nd attempt to have a xml-less build as a joined effort of #413123
1969           and #421480.
1970
1971 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
1972
1973         * docs/design/draft-tagreading.txt:
1974           Added open issues/thoughts to draft.
1975
1976 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1977
1978         * gst/parse/grammar.tab.pre.c:
1979         * gst/parse/grammar.tab.pre.h:
1980         * gst/parse/lex._gst_parse_yy.pre.c:
1981         Update the prebuild parser sources.
1982
1983 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1984
1985         * gst/parse/Makefile.am:
1986         And now fix the building of the flex sources. Now everything should
1987         work as expected.
1988
1989 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1990
1991         * gst/parse/Makefile.am:
1992         Now hopefully fix the build failures by setting proper rule
1993         dependencies and moving instead of copying.
1994
1995 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
1996
1997         * tests/benchmarks/complexity.gnuplot:
1998         * tests/benchmarks/complexity.scm:
1999         * tests/benchmarks/mass-elements.gnuplot:
2000         * tests/benchmarks/mass-elements.scm:
2001           Total licensification.
2002
2003 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
2004
2005         * gst/parse/Makefile.am:
2006           Fix the build by correcting the rule that gave wrong files to flex.
2007
2008 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
2009
2010         * tests/benchmarks/complexity.c:
2011         * tests/benchmarks/mass-elements.c:
2012           Change licence to LGPL as granted by Benjamin and Andy.
2013
2014 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
2015
2016         * gst/parse/Makefile.am:
2017         Add correct grammar.tab.h dependency if compiling without new enough
2018         flex. Fixes #431150.
2019
2020 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
2021
2022         * gst/parse/Makefile.am:
2023         Fix typo and use outdated sources if the flex/bison sources are newer
2024         than the pregenerated ones but flex is too old. Print a warning in
2025         that case. This should fix the build on the build bot.
2026
2027 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
2028
2029         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
2030         * gst/parse/Makefile.am:
2031         * gst/parse/grammar.y:
2032         * gst/parse/parse.l:
2033         Make the parser reentrant and recursively callable. This requires flex
2034         >= 2.5.31, for older versions pregenerated sources are used as we
2035         can't bump the build dependency. Finally fixes #349180.
2036
2037         * gst/gstparse.c: (gst_parse_launch):
2038         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
2039         now anyway.
2040
2041         * docs/gst/Makefile.am:
2042         * docs/gst/Makefile.am:
2043         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
2044         (__gst_parse_strfree), (__gst_parse_link_new),
2045         (__gst_parse_link_free), (__gst_parse_chain_new),
2046         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
2047         (gst_parse_element_set), (gst_parse_free_link),
2048         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
2049         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
2050         (_gst_parse_launch):
2051         * gst/parse/grammar.tab.pre.h:
2052         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
2053         (yy_get_previous_state), (yy_try_NUL_trans), (input),
2054         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
2055         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
2056         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
2057         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
2058         (_gst_parse_yypop_buffer_state),
2059         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
2060         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
2061         (yy_fatal_error), (_gst_parse_yyget_extra),
2062         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
2063         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
2064         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
2065         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
2066         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
2067         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
2068         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
2069         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
2070         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
2071         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
2072         (_gst_parse_yyfree):
2073         If the installed flex version is too old use pre-generated parser
2074         sources. These pre-generated parser sources are always updated when
2075         the actual flex/bison sources change but require everybody who wants
2076         to change something in the parser to have flex >= 2.5.31 installed.
2077
2078 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
2079
2080         * common/m4/gst-gettext.m4:
2081         * gst/gst-i18n-lib.h:
2082           Make --disable-nls to work
2083
2084 2007-04-17  Wim Taymans  <wim@fluendo.com>
2085
2086         * gst/gstconfig.h.in:
2087         Revert previous change that broke the build.
2088
2089 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
2090
2091         * configure.ac:
2092         * gst/Makefile.am:
2093         * gst/gstconfig.h.in:
2094           Drop libxml2 dependency when building with 
2095           --enable-binary-registry --disable-loadsave
2096
2097 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
2098
2099         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
2100         (gst_registry_binary_read_cache):
2101         * gst/gstregistrybinary.h:
2102           Remove unnecessary <sys/mman.h> include which broke the win32 build
2103           with MingW; move includes from header file to .c file, even if the
2104           header file isn't installed; use g_strerror() where UTF-8 strings
2105           are expected, such as in GST_DEBUG messages.
2106
2107 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
2108
2109         * docs/libs/gstreamer-libs-sections.txt:
2110         Remove bogus addition for API I didn't end up keeping.
2111
2112         * libs/gst/base/gstbasesrc.h:
2113         Mention Since: 0.10.13 in the documentation.
2114
2115         Add the API keyword to the previous ChangeLog entry.
2116
2117 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
2118
2119         * docs/libs/gstreamer-libs-sections.txt:
2120         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2121         (gst_base_src_default_prepare_seek_segment),
2122         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
2123         * libs/gst/base/gstbasesrc.h:
2124         Allow basesrc derived classes to execute seeks in other formats
2125         by providing a prepare_seek_segment vmethod. Sub-classes can choose
2126         to prepare the GstSegment in any format that their perform_seek method
2127         will be able to understand. The default implementation provides the
2128         old behaviour of attempting to convert the seek offsets to the 
2129         configured native format.
2130
2131         API: basesrc::prepare_seek_segment vmethod.
2132
2133 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
2134
2135         * gst/gstelement.c: (gst_element_get_state_func):
2136         Don't output the same debug statement twice.
2137
2138         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
2139         (gst_adapter_peek), (gst_adapter_take_buffer):
2140         Optimise the case where we have buffers at the head of the queue that
2141         can be joined quickly (because they're contiguous sub-buffers) by
2142         merging them together rather than copying data out into new memory.
2143
2144         * gst/parse/grammar.y:
2145         * tests/check/pipelines/parse-launch.c:
2146         Fix a leak in an error path for parse_launch, and add a check 
2147         for it to the testsuite.
2148
2149 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
2150
2151         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
2152           Don't deadlock when releasing a pad - gst_pad_set_active may try
2153           and take the multiqueue lock too.
2154
2155 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
2156
2157         * gst/gsterror.c: (_gst_core_errors_init):
2158         * gst/gsterror.h:
2159           API: add GST_CORE_ERROR_DISABLED (#392804).
2160
2161 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2162
2163         * docs/faq/gst-uninstalled:
2164           don't get empty paths on the PATH variables
2165         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
2166           Don't format for the uncommon terminal width of 84 characters.
2167
2168 2007-04-06  Wim Taymans  <wim@fluendo.com>
2169
2170         * gst/gstpipeline.c: (reset_stream_time),
2171         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
2172         Only try to select a different pipeline clock when we went back to
2173         PAUSED and not when we merely got flushed.
2174
2175 2007-04-05  Michael Smith  <msmith@fluendo.com>
2176
2177         * tools/gst-launch.1.in:
2178           fractions are better supported in gstreamer than ractions, so
2179           suggest using those.
2180
2181 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
2182
2183         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
2184
2185         * po/LINGUAS:
2186         * po/da.po:
2187           Added Danish translation.
2188
2189 2007-04-05  Wim Taymans  <wim@fluendo.com>
2190
2191         * libs/gst/base/gstbasesink.c:
2192         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
2193         Fix leak caused when refusing newsegment after EOS.
2194
2195         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
2196         (gst_fake_sink_init), (gst_fake_sink_set_property),
2197         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
2198         (gst_fake_sink_render), (gst_fake_sink_change_state):
2199         * plugins/elements/gstfakesink.h:
2200         Add num-buffers property to make the element generate EOS after a
2201         configurable amount of buffers.
2202         API: fakesink::num-buffers property.
2203
2204         * tests/check/elements/fakesink.c: (GST_START_TEST),
2205         (fakesink_suite):
2206         Fix GstBus leak in test.
2207         Test for fakesink num-buffers.
2208
2209 2007-04-05  Wim Taymans  <wim@fluendo.com>
2210
2211         * libs/gst/base/gstbasesink.c:
2212         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
2213         (gst_base_sink_change_state):
2214         Don't accept anything after an EOS, return UNEXPECTED instead.
2215
2216         * tests/check/elements/fakesink.c: (GST_START_TEST),
2217         (fakesink_suite):
2218         Unit test for new EOS behaviour.
2219
2220 2007-04-05  Wim Taymans  <wim@fluendo.com>
2221
2222         * gst/gstelement.c: (gst_element_get_request_pad):
2223         Make padtemplates also work when they don't contain %s or %d.
2224
2225 2007-04-05  Wim Taymans  <wim@fluendo.com>
2226
2227         * docs/gst/gstreamer-sections.txt:
2228         * gst/gstclock.c: (gst_clock_adjust_unlocked),
2229         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
2230         * gst/gstclock.h:
2231         Improve _adjust_unlocked() so that it overflows less.
2232         Add gst_clock_unadjust_unlocked to convert from external time to
2233         internal time based on calibration.
2234         Add some more debug.
2235         API: GstClock::gst_clock_unadjust_unlocked()
2236
2237 2007-04-03  Wim Taymans  <wim@fluendo.com>
2238
2239         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
2240
2241         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
2242         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
2243         when releasing sink pad. Fixes #425400.
2244
2245 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
2246
2247         * docs/random/ensonic/dynlink.txt:
2248           More work on proposal for new core api.
2249
2250         * docs/libs/gstreamer-libs-sections.txt:
2251         * libs/gst/base/gstbasetransform.h:
2252           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
2253           
2254         * libs/gst/controller/gstcontroller.c:
2255         (on_object_controlled_property_changed),
2256         (gst_controller_sync_values),
2257         (gst_controller_set_interpolation_mode):
2258         * libs/gst/controller/gstcontroller.h:
2259           Less verbose logging add docs for unimplemented parts and correctly
2260           return when using unavailable parts.
2261
2262 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
2263
2264         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
2265         Move all the debug to the CLOCK category, and associate it with
2266         the clock object.
2267
2268 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
2269
2270         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
2271         Make take_buffer a bit quicker by removing redundant checks
2272         caused by calling gst_adapter_take.
2273
2274 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
2275
2276         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
2277           Don't leak GCond.
2278
2279         * tests/check/Makefile.am:
2280         * tests/check/elements/.cvsignore:
2281         * tests/check/elements/multiqueue.c: (setup_multiqueue),
2282         (GST_START_TEST), (multiqueue_suite):
2283           Add some dead simple unit tests for the 'multiqueue' element
2284           (some bits don't work yet and are disabled for now).
2285
2286 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
2287
2288         * gst/gstelement.c: (gst_element_get_request_pad),
2289         (gst_element_class_get_request_pad_template):
2290           Make gst_element_get_request_pad() create request pads only for
2291           request pad templates and not for, say, sometimes pad templates.
2292
2293 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
2294
2295         * docs/design/draft-klass.txt:
2296           Add example that needs more thinking.
2297         
2298         * docs/design/draft-missing-plugins.txt:
2299           More thoughts about wrapper plugins.
2300         
2301         * docs/random/ensonic/embedded.txt:
2302         * docs/random/ensonic/profiling.txt:
2303           More design work.
2304
2305 2007-03-25  Wim Taymans  <wim@fluendo.com>
2306
2307         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2308         (gst_base_src_loop):
2309         Only push the segment events in the PLAYING state for live sources.
2310
2311 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
2312
2313         * gst/gstpipeline.c: (gst_pipeline_change_state):
2314         Modify the clock distribution path in PAUSED->PLAYING so that we 
2315         never attempt to choose a new clock unless we're actually leaving
2316         the PAUSED state for the first time. This prevents choosing a
2317         different clock when the state_change gets called for a 2nd time due
2318         to some element doing an async state change.
2319
2320 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
2321
2322         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
2323         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
2324         (gst_pad_chain_unchecked), (gst_pad_push):
2325         Revert last commit. This needs some more thoughts.
2326
2327 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
2328
2329         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
2330         (gst_pad_chain_unchecked), (gst_pad_push):
2331         Check in set_caps if the caps are compatible with the pad and remove
2332         two functions that are redundant now. Fixes #421543.
2333
2334 2007-03-22  Wim Taymans  <wim@fluendo.com>
2335
2336         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
2337         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
2338         Unref some more to make valgrind happy.
2339
2340 2007-03-22  Wim Taymans  <wim@fluendo.com>
2341
2342         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
2343         (gst_system_clock_id_wait_jitter),
2344         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
2345         Fix anoying regression that survived a few releases. When adding an
2346         async entry while blocking on a sync entry, the sync entry will unblock
2347         but still be busy, so it should continue to wait instead of returning
2348         _BUSY to the app.
2349         Add some comments here and there.
2350
2351         * tests/check/gst/gstsystemclock.c: (mixed_thread),
2352         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
2353         Add testcase for this.
2354
2355 2007-03-22  Wim Taymans  <wim@fluendo.com>
2356
2357         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
2358         Handle errors from the clock sync better, only UNSCHEDULED indicates a
2359         WRONG_STATE and can silently pause the task. All other cases should
2360         error out.
2361
2362 2007-03-22  Wim Taymans  <wim@fluendo.com>
2363
2364         Patch by: Ville Syrjala <syrjala at sci dot fi>
2365
2366         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
2367         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
2368         Improve debugging.
2369
2370 2007-03-21  Michael Smith  <msmith@fluendo.com>
2371
2372         * docs/pwg/advanced-types.xml:
2373           Fix some errors in the typefinding docs pointed out on irc.
2374
2375 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
2376
2377         * libs/gst/base/gstbasesrc.c:
2378         Clarify FIXME comment in the face of having added unlock_stop()
2379
2380 2007-03-21  Wim Taymans  <wim@fluendo.com>
2381
2382         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
2383         Prepare for release where we warn against possible app breakage in the
2384         case of live pipelines along with an env var to enable/disable live
2385         preroll mode (GST_COMPAT=[no-]live-preroll).
2386
2387 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2388
2389         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
2390         So we should use correct constants for checking for None offset.
2391
2392 2007-03-20  Wim Taymans  <wim@fluendo.com>
2393
2394         * docs/design/part-block.txt:
2395         Mention the fact that the newly switched element should be set to at
2396         least PAUSED.
2397
2398 2007-03-20  Wim Taymans  <wim@fluendo.com>
2399
2400         * gst/gst.c:
2401         Fix compilation with registry disabled as spotted by Saur.
2402
2403 2007-03-20  Wim Taymans  <wim@fluendo.com>
2404
2405         Patch by: Olivier Crete <tester at tester dot ca>
2406
2407         * gst/gstelement.c: (gst_element_sync_state_with_parent):
2408         Look at the pending state too when syncing the element state to the
2409         parent. Fixes #420133.
2410
2411 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
2412
2413         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
2414         (gst_base_sink_change_state):
2415         * libs/gst/base/gstbasesink.h:
2416         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2417         (gst_base_src_default_event), (gst_base_src_unlock_stop),
2418         (gst_base_src_deactivate):
2419         * libs/gst/base/gstbasesrc.h:
2420         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
2421         for sub-classes to correctly clear any state they set trying to
2422         unlock, such as clearing out unlock commands from a command fd.
2423         API: basesrc::unlock_stop
2424         API: basesink::unlock_stop
2425
2426         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
2427         (gst_fd_sink_render), (gst_fd_sink_unlock),
2428         (gst_fd_sink_unlock_stop):
2429         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2430         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
2431         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
2432
2433         Implement unlock_stop in fdsrc and fdsink.
2434         Implement seeking in fdsrc when a seekable fd is passed, as in
2435         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
2436
2437 2007-03-19  Wim Taymans  <wim@fluendo.com>
2438
2439         Patch by: Evan Nemerson <evan at coeus dash group dot com>
2440
2441         * gst/gstelement.c: (gst_element_class_init):
2442         Fix pad-added and pad-removed signal signatures so that the pad type is
2443         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
2444
2445 2007-03-19  Wim Taymans  <wim@fluendo.com>
2446
2447         * docs/gst/gstreamer-sections.txt:
2448         Add new element field and method.
2449
2450         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2451         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
2452         (gst_bin_recalc_state), (gst_bin_get_state_func),
2453         (gst_bin_element_set_state), (gst_bin_change_state_func),
2454         (gst_bin_continue_func), (bin_bus_handler),
2455         (bin_push_state_continue), (bin_handle_async_start),
2456         (bin_handle_async_done), (gst_bin_handle_message_func):
2457         Make async state changes a bit smarter by using new ASYNC_START and
2458         ASYNC_DONE messages. This reduces the number of times we run the state
2459         recalculation thread.
2460         Don't change state of element with a pending ASYNC_START message.
2461         Deprecate STATE_DIRTY messages.
2462         
2463         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
2464         (gst_element_get_state_func), (gst_element_continue_state),
2465         (gst_element_lost_state), (gst_element_set_state_func),
2466         (gst_element_change_state):
2467         * gst/gstelement.h:
2468         Keep the state that was last set by the app in a new element field.
2469         Don't allow state changes when handling an element event.
2470         Post ASYNC_START and ASYNC_DONE messages.
2471         Change lost_state so that we go to PAUSED and wait for the parent to set
2472         us to PLAYING again (so latency calculation can be performed)
2473         Export gst_element_change_state() method so that subclasses can use it.
2474         API: gst_element_change_state()
2475         API: GST_STATE_TARGET
2476
2477         * gst/gstpipeline.c: (gst_pipeline_class_init),
2478         (reset_stream_time), (gst_pipeline_change_state),
2479         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
2480         Using the new ASYNC_START message we can reset the base_time when
2481         needed. This can then be used to implement base_time redistribution in
2482         flushing seeks so that we can remove the explicit seek handling.
2483         Perform latency query and configuration when going to PLAYING.
2484
2485         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2486         (gst_base_sink_query), (gst_base_sink_change_state):
2487         Post new ASYNC_START/ASYNC_DONE messages.
2488
2489         * tests/check/generic/sinks.c: (GST_START_TEST):
2490         Fix test because the bin will not set the async element to PLAYING right
2491         away.
2492
2493         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
2494         Make the message check a little stronger.
2495         Handle ASYNC messages.
2496
2497         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
2498         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
2499         Expect ASYNC_DONE messages.
2500
2501 2007-03-19  Wim Taymans  <wim@fluendo.com>
2502
2503         * docs/gst/gstreamer-sections.txt:
2504         * gst/gstmessage.c: (gst_message_new_async_start),
2505         (gst_message_new_async_done), (gst_message_parse_info),
2506         (gst_message_parse_async_start):
2507         * gst/gstmessage.h:
2508         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
2509         support.
2510
2511 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
2512
2513         * tools/gst-inspect.c:
2514         (print_plugin_automatic_install_info_codecs):
2515           Now that we don't check for the 'Codec' keyword any longer in the
2516           klass, we shouldn't spew a warning if the klass isn't a decoder or
2517           encoder (since it might be a Source/Network, for example).
2518
2519 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
2520
2521         * tools/gst-inspect.c:
2522         (print_plugin_automatic_install_info_codecs):
2523           Don't require decoder/demuxer/depayloader elements or
2524           encoder/muxer/paylader elements to have 'Codec' as part of their
2525           factory class string when introspecting a plugin's capabilities.
2526           draft-klass.txt mentions that it might be removed in future, and
2527           flump3dec doesn't have it as part of its class string, so chances
2528           are others might also not have it.
2529
2530 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
2531
2532         * po/af.po:
2533         * po/az.po:
2534         * po/bg.po:
2535         * po/ca.po:
2536         * po/cs.po:
2537         * po/de.po:
2538         * po/en_GB.po:
2539         * po/fr.po:
2540         * po/it.po:
2541         * po/nb.po:
2542         * po/nl.po:
2543         * po/ru.po:
2544         * po/sq.po:
2545         * po/sr.po:
2546         * po/sv.po:
2547         * po/tr.po:
2548         * po/uk.po:
2549         * po/vi.po:
2550         * po/zh_CN.po:
2551         * po/zh_TW.po:
2552           Update translations from translation project
2553
2554 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
2555
2556         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
2557         (gst_child_proxy_set_property):
2558           Invert precondition check to be alike the ones in the mimiced gobject
2559           api.
2560
2561 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
2562
2563         * docs/design/draft-tagreading.txt:
2564         * docs/random/ensonic/audiobaseclasses.txt:
2565           Do some Architect work.
2566
2567         * gst/gstobject.c: (gst_object_set_name):
2568           Add a WARNING.
2569
2570         * gst/gstpad.c:
2571           Add docs that point from gst_pad_get_range to gst_pad_pull_range
2572
2573 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
2574
2575         * gst/gstsystemclock.c: (gst_system_clock_init),
2576         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
2577         Defer starting the async system clock thread until the first async
2578         wait is scheduled. Fixes #414986.
2579
2580 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
2581
2582         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
2583         (gst_single_queue_free):
2584           Fix small leak (free GstSingleQueue structure too, not only contents).
2585
2586 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
2587
2588         * gst/gstbin.c:(gst_bin_add):
2589         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
2590         * win32/common/libgstbase.def:
2591         * win32/common/libgstreamer.def:
2592         Add new exported functions.
2593
2594 2007-03-09  Wim Taymans  <wim@fluendo.com>
2595
2596         * docs/plugins/gstreamer-plugins-sections.txt:
2597         Fix GstTee docs.
2598
2599 2007-03-09  Wim Taymans  <wim@fluendo.com>
2600
2601         * docs/gst/gstreamer-sections.txt:
2602         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
2603         * gst/gstbuffer.h:
2604         Add metadata copy functions. Fixes #393099.
2605         API: gst_buffer_copy_metadata()
2606
2607         * gst/gstutils.c: (gst_buffer_stamp):
2608         * libs/gst/base/gstbasetransform.c:
2609         (gst_base_transform_prepare_output_buffer):
2610         Use new metadata copy functions.
2611
2612 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
2613
2614         * plugins/elements/gstidentity.c: (gst_identity_class_init),
2615         (gst_identity_init), (gst_identity_check_perfect),
2616         (gst_identity_check_imperfect_timestamp),
2617         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
2618         (gst_identity_set_property), (gst_identity_get_property):
2619         * plugins/elements/gstidentity.h:
2620         Separate out check-imperfect-timestamp and check-imperfect-offset.
2621         Put back check-perfect as it was to keep compatibility.
2622
2623 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
2624
2625         * gst/gstelement.c: (gst_element_dispose):
2626         There's no need to warn if VOID_PENDING is not NONE here, as
2627         long as the state is NULL it's ok, and that's checked immediately
2628         above.
2629
2630 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2631
2632         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2633         Fix check for perfect stream to ignore buffers with -1 
2634         offsets/offset ends when checking data contiguity.
2635
2636 2007-03-08  Wim Taymans  <wim@fluendo.com>
2637
2638         * tools/gst-launch.c: (event_loop):
2639         Print INFO messages.
2640
2641 2007-03-08  Wim Taymans  <wim@fluendo.com>
2642
2643         * libs/gst/base/gstbasetransform.c:
2644         (gst_base_transform_sink_eventfunc),
2645         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
2646         (gst_base_transform_activate):
2647         * libs/gst/base/gstbasetransform.h:
2648         Add support for dropping buffers with custom GstFlowReturn.
2649         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
2650         buffers or dropped buffers.
2651
2652         * docs/libs/gstreamer-libs-sections.txt:
2653         docs for new custom return code.
2654
2655         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2656         Use drop support in base class to implement drop-probability.
2657
2658 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
2659
2660         * gst/gst.c: (load_plugin_func):
2661         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
2662         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2663         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
2664           Remove newlines at end of debug log strings.
2665
2666 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2667
2668         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2669         Only post bus message at max, once per buffer received.
2670
2671 2007-03-07  Wim Taymans  <wim@fluendo.com>
2672
2673         * docs/design/Makefile.am:
2674         * docs/design/part-synchronisation.txt:
2675         Add doc about synchronisation
2676
2677         * docs/design/draft-latency.txt:
2678         * docs/design/part-TODO.txt:
2679         * docs/design/part-clocks.txt:
2680         * docs/design/part-events.txt:
2681         * docs/design/part-gstbus.txt:
2682         * docs/design/part-gstpipeline.txt:
2683         * docs/design/part-live-source.txt:
2684         * docs/design/part-messages.txt:
2685         * docs/design/part-overview.txt:
2686         * docs/design/part-streams.txt:
2687         * docs/design/part-trickmodes.txt:
2688         Documentation updates.
2689
2690 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
2691
2692         * gstreamer.doap:
2693         Update the doap file.
2694
2695 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2696
2697         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2698         Rename non-perfect to imperfect for Mike and for the sanctity of the
2699         language.
2700         Also make sure bus message gets emitted for data-incontiguities.
2701
2702 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2703
2704         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
2705         (gst_identity_start):
2706         * plugins/elements/gstidentity.h:
2707         Emit bus message if check-perfect is true and we encounter a
2708         non-perfect stream between 2 consecutive buffers.
2709         Fixes #415394.
2710
2711 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
2712
2713         * configure.ac:
2714         Back to CVS
2715
2716 === release 0.10.12 ===
2717
2718 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
2719
2720         * configure.ac:
2721           releasing 0.10.12, "Inevitable Demise"
2722
2723 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
2724
2725         * configure.ac:
2726          Version 0.10.11.2 (0.10.12 pre-release)
2727          Bump libtool versioning.
2728
2729 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
2730
2731         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2732           Log flow-names and not numbers.
2733
2734 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2735
2736         * configure.ac:
2737           Convert to new AG_GST style.
2738
2739 2007-02-28  Wim Taymans  <wim@fluendo.com>
2740
2741         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
2742         Don't unref query twice.
2743
2744 2007-02-28  Wim Taymans  <wim@fluendo.com>
2745
2746         * gst/gstvalue.c: (gst_value_transform_object_string),
2747         (_gst_value_initialize):
2748         Implement GstObject -> string transform so we print object names
2749         when serializing GValues containing GstObjects.
2750
2751 2007-02-28  Wim Taymans  <wim@fluendo.com>
2752
2753         * docs/gst/gstreamer-sections.txt:
2754         Add new stuff to docs.
2755
2756 2007-02-28  Wim Taymans  <wim@fluendo.com>
2757
2758         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2759         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
2760         (gst_base_sink_change_state):
2761         Improve latency query code.
2762         Don't leak latency events.
2763
2764         * tests/check/gst/gstbin.c: (GST_START_TEST):
2765         Improve debugging.
2766
2767 2007-02-28  Wim Taymans  <wim@fluendo.com>
2768
2769         * gst/gstelement.c: (gst_element_message_full),
2770         (gst_element_get_state_func):
2771         * gst/gstelement.h:
2772         Improve docs a little. Added Since: for new macro.
2773
2774         * gst/gstobject.c: (gst_object_sink):
2775         * gst/gstpipeline.c: (gst_pipeline_change_state),
2776         (gst_pipeline_set_new_stream_time):
2777         * gst/gstpipeline.h:
2778         Improve debugging and docs.
2779
2780         * gst/gstutils.c: (gst_element_state_change_return_get_name):
2781         Improve debugging.
2782
2783 2007-02-28  Wim Taymans  <wim@fluendo.com>
2784
2785         * gst/gstelement.c: (gst_element_message_full),
2786         (gst_element_set_locked_state), (gst_element_get_state_func),
2787         (gst_element_change_state):
2788         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
2789         Documentation updates.
2790         Small code cleanups.
2791
2792         * gst/gstmessage.c: (gst_message_new_info),
2793         (gst_message_parse_info):
2794         * gst/gstmessage.h:
2795         API: gst_message_new_info()
2796         API: gst_message_parse_info()
2797         Add INFO message create and parse code.
2798
2799 2007-02-28  Wim Taymans  <wim@fluendo.com>
2800
2801         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
2802         (bin_query_latency_done):
2803         Also report the live parameter of a latency query.
2804
2805 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2806
2807         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
2808           Copy the current generic/states example from -base and adapt so
2809           we can use the exact same code everywhere.
2810           Check a STATES_IGNORE_ELEMENTS env var which can be used
2811           to ignore certain element factories for this test, which is
2812           what is being done in -base
2813         * tests/check/Makefile.am:
2814           Mention this environment variable.
2815
2816 2007-02-27  Wim Taymans  <wim@fluendo.com>
2817
2818         * docs/gst/gstreamer-sections.txt:
2819         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
2820         (gst_bus_timed_pop), (gst_bus_pop):
2821         * gst/gstbus.h:
2822         API: gst_bus_timed_pop()
2823         Implement gst_bus_timed_pop() to do a blocking timed wait for a
2824         message to arrive on the bus.
2825
2826         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
2827         (gst_bus_suite):
2828         Two unit tests for new _timed_pop() function.
2829
2830 2007-02-23  Wim Taymans  <wim@fluendo.com>
2831
2832         * gst/gstpipeline.c: (gst_pipeline_change_state),
2833         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
2834         Don't ref a NULL clock in _provide_clock_func().
2835         Don't allow an INVALID delay.
2836         Don't try to calculate base_time with an invalid start_time.
2837         Also distribute and notify a NULL clock when it was selected.
2838
2839         * tools/gst-launch.c: (event_loop):
2840         Don't crash when a NULL clock was selected in the pipeline.
2841
2842 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2843
2844         * docs/design/Makefile.am:
2845         * docs/design/draft-missing-plugins.txt:
2846         * docs/random/draft-missing-plugins.txt:
2847           Some small updates: update plugin system identifier prefix
2848           ('gstreamer.net' to 'gstreamer'), mention our new install
2849           API in libgstbaseutils rather than libgimme-codec, add
2850           reference to the online docs.
2851
2852 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
2853
2854         * win32/common/config.h:
2855           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
2856           use moap cl ci to only check in what is mentioned in the ChangeLog.
2857
2858 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
2859
2860         * docs/gst/gstreamer-sections.txt:
2861         * gst/gstelement.h:
2862           Fix up documentation to link to the correct GstGError section.
2863           Add GST_ELEMENT_INFO macro since someone else added a Info message.
2864
2865 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
2866
2867         * tools/gst-launch.c: (event_loop):
2868           Make sure that we actually show the important message part of a
2869           warning message.
2870           No need to check if the gerror is not NULL to free; first of all
2871           g_free accepts NULL; and second the default error handler would
2872           segfault if gerror was NULL.
2873
2874 2007-02-21  Wim Taymans  <wim@fluendo.com>
2875
2876         * docs/gst/gstreamer-sections.txt:
2877         Removed docs as well.
2878
2879 2007-02-21  Wim Taymans  <wim@fluendo.com>
2880
2881         * gst/gstmessage.c: (gst_message_parse_duration):
2882         * gst/gstmessage.h:
2883         Remove new messages for release.
2884
2885 2007-02-20  Wim Taymans  <wim@fluendo.com>
2886
2887         * docs/design/part-gstghostpad.txt:
2888         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
2889         (gst_ghost_pad_new_full):
2890         Make the ghostpad a parent of the internal pad again for better backward
2891         compatibility. Don't write code that relies on this however.
2892
2893         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
2894         (gst_pad_link_check_hierarchy):
2895         Require that parents should be GstElements in the hierarchy check.
2896
2897 2007-02-20  Wim Taymans  <wim@fluendo.com>
2898
2899         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
2900         (gst_bin_change_state_func), (bin_query_min_max_init),
2901         (bin_query_latency_fold), (bin_query_latency_done),
2902         (gst_bin_query):
2903         Improve debug info.
2904         Implement latency query.
2905
2906 2007-02-20  Wim Taymans  <wim@fluendo.com>
2907
2908         * docs/design/part-gstghostpad.txt:
2909         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
2910         (gst_ghost_pad_internal_do_activate_push),
2911         (gst_ghost_pad_internal_do_activate_pull),
2912         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
2913         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
2914         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
2915         Do not set the internal pad as a parent anymore so we can avoid
2916         hierarchy linking errors when the ghostpad has no parent yet. This also
2917         fixes failed activation because of unlinked internal pads, which in
2918         turn fixes the impossible case where you have to activate a pad before
2919         you can add it to a running element.
2920         Also fix the docs.
2921
2922         * gst/gstpad.c: (pre_activate), (post_activate),
2923         (gst_pad_set_active), (gst_pad_activate_pull),
2924         (gst_pad_activate_push), (gst_pad_check_pull_range):
2925         Add some more debug info.
2926         Mark activation mode in pre_activate so that we don't try to activate in
2927         endless loops. Fixes #385084.
2928
2929 2007-02-19  Wim Taymans  <wim@fluendo.com>
2930
2931         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
2932         (gst_base_transform_check_get_range):
2933         Implement a checkgetrange function instead of relying on the default
2934         core behaviour that assumes we can operate in pull mode if we have a
2935         getrange function. First step at fixing #385084.
2936
2937 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
2938
2939         * gst/gstchildproxy.h:
2940         * libs/gst/base/gstbasesink.h:
2941         * libs/gst/base/gstbasesrc.h:
2942         * libs/gst/base/gstbasetransform.h:
2943         More docs coverage and some ChangeLog surgery (add missing names)
2944
2945 2007-02-15  Wim Taymans  <wim@fluendo.com>
2946
2947         * docs/design/part-TODO.txt:
2948         * docs/design/part-activation.txt:
2949         * docs/design/part-block.txt:
2950         * docs/design/part-buffering.txt:
2951         * docs/design/part-clocks.txt:
2952         * docs/design/part-element-source.txt:
2953         * docs/design/part-events.txt:
2954         * docs/design/part-gstbin.txt:
2955         * docs/design/part-gstbus.txt:
2956         * docs/design/part-gstpipeline.txt:
2957         * docs/design/part-live-source.txt:
2958         * docs/design/part-messages.txt:
2959         * docs/design/part-overview.txt:
2960         * docs/design/part-qos.txt:
2961         * docs/design/part-query.txt:
2962         * docs/design/part-states.txt:
2963         * docs/design/part-trickmodes.txt:
2964         Some doc updates. Start renaming from stream_time to running_time where
2965         it was used wrongly.
2966
2967 2007-02-15  Wim Taymans  <wim@fluendo.com>
2968
2969         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
2970         Answer LATENCY query.
2971
2972 2007-02-15  Wim Taymans  <wim@fluendo.com>
2973
2974         * tests/check/gst/gstevent.c: (event_probe), (test_event),
2975         (GST_START_TEST):
2976         Improve debugging.
2977
2978 2007-02-15  Wim Taymans  <wim@fluendo.com>
2979
2980         * gst/gstpad.c: (gst_pad_get_internal_links_default),
2981         (gst_pad_dispatcher):
2982         Improve debugging of default pad dispatcher and query functions.
2983
2984 2007-02-15  Wim Taymans  <wim@fluendo.com>
2985
2986         * docs/gst/gstreamer-sections.txt:
2987         Remove old unused method.
2988
2989 2007-02-13  Wim Taymans  <wim@fluendo.com>
2990
2991         * tests/check/gst/gstsegment.c: (GST_START_TEST):
2992         Fix check
2993
2994 2007-02-13  Wim Taymans  <wim@fluendo.com>
2995
2996         * docs/design/part-seeking.txt:
2997         Some small update.
2998
2999         * gst/gstsegment.c: (gst_segment_set_seek):
3000         Revert old bogus change that should make seeking work again.
3001
3002 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
3003
3004         * docs/random/ensonic/dynlink.txt:
3005         * docs/random/ensonic/interfaces.txt:
3006         * docs/random/ensonic/receipies.txt:
3007           Possible dynamic reconnection api, plus some type fixes the other two
3008           docs.
3009
3010 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
3011
3012         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3013         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3014         Also check for an absolute path following file:// in the filesrc
3015         element. Remove redundant check and call g_path_is_absolute() on the
3016         unescaped location.
3017
3018 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
3019
3020         * docs/design/draft-klass.txt:
3021           Add existing category analysis.
3022           
3023         * gst/gstcaps.c:
3024           Fix doc example, framerate is a fraction.
3025
3026 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
3027
3028         * configure.ac:
3029         * docs/gst/Makefile.am:
3030         * docs/gst/gstreamer-sections.txt:
3031         * docs/libs/Makefile.am:
3032           Erm, forgot a bunch of --extra-dir.
3033
3034 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
3035
3036         * configure.ac:
3037         * docs/gst/Makefile.am:
3038         * docs/libs/Makefile.am:
3039         * docs/plugins/Makefile.am:
3040           Add crossreferences to glib/gobject docs.
3041
3042 2007-02-12  Wim Taymans  <wim@fluendo.com>
3043
3044         * docs/design/draft-latency.txt:
3045         Small update.
3046
3047         * docs/libs/gstreamer-libs-sections.txt:
3048         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3049         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
3050         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
3051         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
3052         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
3053         (gst_base_sink_get_position), (gst_base_sink_query),
3054         (gst_base_sink_change_state):
3055         * libs/gst/base/gstbasesink.h:
3056         API: gst_base_sink_query_latency() to let subclasses query the upstream
3057         latency.
3058         API: gst_base_sink_get_latency() to let subclasses query the configured
3059         latency in the sink.
3060         Implement query and set latency.
3061         Update some docs.
3062         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
3063         don't continue preroll when we are flushing. Fixes #405284.
3064
3065         * tests/check/pipelines/stress.c: (change_state_timeout),
3066         (quit_timeout), (GST_START_TEST), (stress_suite):
3067         Test for #405284.
3068
3069 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
3070
3071         Patch by: René Stadler <mail at renestadler de>
3072
3073         * docs/gst/gstreamer-sections.txt:
3074         * gst/gsttaglist.c: (_gst_tag_initialize):
3075         * gst/gsttaglist.h:
3076           API: add GST_TAG_REFERENCE_LEVEL (#403597).
3077
3078 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
3079
3080         * docs/libs/Makefile.am:
3081           Fix path to core docs.
3082
3083         * gst/gstbin.c: (gst_bin_get_by_interface),
3084         (gst_bin_iterate_all_by_interface):
3085           Refix docs by also renaming 'interface' to 'iface' in implementation.
3086
3087         * docs/gst/gstreamer-sections.txt:
3088         * gst/gstcaps.c:
3089         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
3090         * gst/gstchildproxy.h:
3091         * gst/gstelementfactory.c:
3092         * gst/gstpadtemplate.h:
3093         * libs/gst/controller/gstcontroller.c:
3094         (gst_controlled_property_new):
3095           Document more.
3096
3097 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
3098
3099         * gst/gstbin.h:(gst_bin_get_by_interface),
3100         (gst_bin_iterate_all_by_interface):
3101         Replace interface parameter name by iface as interface is 
3102         a reserved keyword in Visual Studio for C++ projects so it removes
3103         a build error for application developpers using VS.
3104         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
3105         Fix a bug on Windows in uri format check. Now the prefix checked
3106         is file:// and next we check if the path after file:// is absolute.
3107         * win32/common/libgstbase.def:
3108         * win32/common/libgstdataprotocol.def:
3109         * win32/common/libgstgstreamer.def:
3110         Add new exported functions.
3111
3112 2007-02-09  Andy Wingo  <wingo@pobox.com>
3113
3114         * tests/check/pipelines/simple-launch-lines.c
3115         (simple_launch_lines_suite, test_tee): Disable tee test until I
3116         have time to fix it :-(
3117
3118         * tests/check/Makefile.am (noinst_HEADERS): 
3119         * tests/check/libs/libsabi.c: 
3120         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
3121         * tests/check/gst/gstabi.c: 
3122         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
3123
3124         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
3125         tests for push and pull tee behavior.
3126
3127         * plugins/elements/gsttee.h: 
3128         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
3129         mark as deprecated as well as unimplemented. It was a crack idea.
3130         Add support for tee operating in pull mode, off by default.
3131
3132         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
3133         normal-case logs down to LOG, raise errors to WARNING.
3134         (gst_registry_xml_read_cache): Don't log before calling a function
3135         that logs.
3136
3137         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
3138         exit (registry finalize).
3139         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
3140         DEBUG log when we emit signals that people don't even have the
3141         chance to connect to.
3142         (gst_registry_scan_path_level): Less logging in the normal case.
3143
3144 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
3145
3146         Patch by: Michal Benes <michal dot benes at itonis dot tv>
3147
3148         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
3149         Correctly generate EOS for non-seekable files. We don't have a total
3150         length for them and would get an unexpected end of file if we only
3151         special-cased for regular files. (Fixes: #404569)
3152
3153 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
3154
3155         * tests/check/elements/filesrc.c: (GST_START_TEST),
3156         (filesrc_suite):
3157         Add unit test for the GstURIHandler interface in filesrc. This also
3158         tests the newly added file://localhost/foo/bar support.
3159
3160 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
3161
3162         * gst/gstelementfactory.h:
3163           The klass string is not a hierarchy. Add reference to the design doc
3164           for more information and common types.
3165
3166 2007-02-02  Wim Taymans  <wim@fluendo.com>
3167
3168         * gst/gstquery.c: (gst_query_new_latency):
3169         Remove old structure field.
3170
3171 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
3172
3173         * tools/gst-launch.1.in:
3174           Give example for network streaming (#351998)
3175
3176 2007-02-02  Wim Taymans  <wim@fluendo.com>
3177
3178         * docs/gst/gstreamer-sections.txt:
3179         Add docs for new methods.
3180
3181         * gst/gstevent.c: (gst_event_new_latency),
3182         (gst_event_parse_latency):
3183         * gst/gstevent.h:
3184         Add new LATENCY event to configure latency in a pipeline.
3185         API: gst_event_new_latency
3186         API: gst_event_parse_latency
3187
3188         * gst/gstmessage.c: (gst_message_new_buffering),
3189         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
3190         (gst_message_new_latency), (gst_message_parse_buffering),
3191         (gst_message_parse_lost_preroll):
3192         * gst/gstmessage.h:
3193         Added messages used in draft-latency.
3194         API: gst_message_new_lost_preroll
3195         API: gst_message_parse_lost_preroll
3196         API: gst_message_new_prerolled
3197         API: gst_message_new_latency
3198
3199         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3200         (gst_query_parse_latency):
3201         * gst/gstquery.h:
3202         Implemented new latency query as in design doc.
3203         API: gst_query_new_latency
3204         API: gst_query_set_latency
3205         API: gst_query_parse_latency
3206
3207 2007-02-02  Wim Taymans  <wim@fluendo.com>
3208
3209         * docs/design/draft-latency.txt:
3210         Slight redesign to allow for dynamic latency adjustments.
3211
3212         * docs/design/part-negotiation.txt:
3213         Fix some typos.
3214
3215 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
3216
3217         reviewed by: Wim Taymans <wim@fluendo.com>
3218
3219         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3220         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3221         Allow file://localhost/foo/bar URLs and correctly fail for every other
3222         hostname that one sets. This was gnomevfssrc is linked for those if
3223         installed as it can handle it (#403172)
3224
3225 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
3226
3227         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3228
3229         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3230         (unref_data), (gst_collect_pads_add_pad_full):
3231         * libs/gst/base/gstcollectpads.h:
3232         Don't put the previously added destroy notify in the GstCollectData
3233         struct as all it's padding is already used and we don't want to break
3234         ABI. Instead put in the pad's GObject data for now. This should be
3235         cleaned up for 0.11 (#402393).
3236
3237 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
3238
3239         reviewed by: Wim Taymans <wim@fluendo.com>
3240
3241         * docs/libs/gstreamer-libs-sections.txt:
3242         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3243         (unref_data), (gst_collect_pads_add_pad),
3244         (gst_collect_pads_add_pad_full):
3245         * libs/gst/base/gstcollectpads.h:
3246         API: Add function to specify a destroy notification for custom
3247         GstCollectData when adding new pads in GstCollectPads (#402393).
3248
3249 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
3250
3251         * po/sv.po:
3252           Update Swedish translation (#378255).
3253
3254 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
3255
3256         * docs/design/draft-klass.txt:
3257           Fix the previous change, this is a list of categories and not a hierarchy.
3258
3259 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
3260
3261         * docs/design/draft-klass.txt:
3262           Add info about how to get a list of used classes.
3263
3264 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
3265
3266         * plugins/elements/gsttypefindelement.c:
3267         (gst_type_find_element_chain_do_typefinding),
3268         (gst_type_find_element_change_state):
3269           Don't leak found caps in chain function (no idea why that never
3270           showed up as a leak anywhere).
3271
3272 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
3273
3274         * gst/gstplugin.h:
3275           Fix and expand GstPluginDesc API docs.
3276
3277 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
3278
3279         * gst/gstcaps.c:
3280         * gst/gstelementfactory.c:
3281         * gst/gstpadtemplate.h:
3282           api doc fixes
3283
3284         * libs/gst/controller/gstcontroller.c:
3285         (gst_controlled_property_new):
3286         * tests/examples/controller/audio-example.c:
3287           comment fixes
3288
3289 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
3290
3291         * configure.ac:
3292           comment about refining the xml deps
3293
3294         * docs/manuals.mak:
3295           comments about moving away from jade for docs
3296         
3297         * gst/gst.c:
3298           recommit the ifdefs to use the binary registry
3299         
3300         * gst/gstbin.c: (gst_bin_change_state_func):
3301           this break is obsolete
3302
3303         * gst/gstelementfactory.h:
3304           better GST_ELEMENT_DETAILS docs, add comment about translation
3305
3306         * gst/gstinfo.h:
3307           remove eol slash
3308
3309         * gst/gstobject.c: (gst_signal_object_get_type):
3310           add G_UNLIKELY as usual
3311
3312         * gst/gstpad.c: (gst_pad_event_default):
3313           add fall trhu comment
3314
3315         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3316         (gst_registry_binary_initialize_magic),
3317         (gst_registry_binary_save_string),
3318         (gst_registry_binary_save_pad_template),
3319         (gst_registry_binary_save_feature),
3320         (gst_registry_binary_save_plugin),
3321         (gst_registry_binary_write_cache),
3322         (gst_registry_binary_check_magic),
3323         (gst_registry_binary_load_pad_template),
3324         (gst_registry_binary_load_feature),
3325         (gst_registry_binary_load_plugin),
3326         (gst_registry_binary_read_cache):
3327           comment typo and formatting
3328
3329         * gst/gstutils.c: (gst_element_state_get_name),
3330         (gst_element_state_change_return_get_name):
3331           remove obsolete breaks
3332
3333         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3334           add FIXME 0.11 and remove cpp comment
3335
3336 2007-01-29  Edward Hervey  <edward@fluendo.com>
3337
3338         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3339         Fix print statement in an even more portable way.
3340
3341 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
3342
3343         * docs/gst/gstreamer-sections.txt:
3344         * gst/gstutils.h:
3345           API: add GST_ROUND_DOWN_* macros (#401781).
3346
3347 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
3348
3349         * docs/gst/gstreamer.types.in:
3350         * gst/gstregistry.c: (gst_registry_class_init):
3351           Document registry signals and make gtk-doc pick them up (#401381).
3352
3353 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
3354
3355         * docs/pwg/building-testapp.xml:
3356           Add some audioconverts and audioresample to the pipeline, and some
3357           more comments and error handling.
3358
3359 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
3360
3361         * docs/manual/manual.xml:
3362         * docs/pwg/pwg.xml:
3363           Fix typo (#400987).
3364
3365 2007-01-26  Wim Taymans  <wim@fluendo.com>
3366
3367         * gst/gstcaps.c: (gst_static_caps_get):
3368         Init caps flags too.
3369
3370 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
3371
3372         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
3373
3374         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
3375         If not using mmap'ed files try to seek to the end instead of the
3376         start to determine whether we can seek at all. This fixes the case
3377         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
3378         seeks for everything afterwards fail. Fixes #400656
3379
3380 2007-01-25  Wim Taymans  <wim@fluendo.com>
3381
3382         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
3383         Add some refcount debugging.
3384         Make gst_static_caps_get threadsafe, which is needed when autoplugging
3385         in multiple streaming threads.
3386
3387 2007-01-25  Wim Taymans  <wim@fluendo.com>
3388
3389         Patch by: David Schleef <ds at schleef dot org>
3390
3391         * docs/libs/gstreamer-libs-sections.txt:
3392         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
3393         * libs/gst/base/gstadapter.h:
3394         API: gst_adapter_copy() that can reduce the amount of memcpy when
3395         getting data from the adapter. Fixes #388201.
3396
3397 2007-01-25  Edward Hervey  <edward@fluendo.com>
3398
3399         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3400         In print statements, "%x" is for guint. Fixes build on macosx.
3401
3402 2007-01-24  Edward Hervey  <edward@fluendo.com>
3403
3404         * plugins/elements/gstmultiqueue.c:
3405         (gst_multi_queue_loop):
3406         Small fix.
3407         (single_queue_overrun_cb), (single_queue_underrun_cb),
3408         (single_queue_check_full), (gst_single_queue_new):
3409         Implement single queue growth system.
3410         This uses the extra-size properties, and will grow single queues by
3411         that much if one goes full whereas there are others empty. This is
3412         called extra-mode in the code.
3413         When a single queue's levels go back below the initial max-size
3414         limits, it is no longer in extra-mode. This is to ensure we don't
3415         consume too much memory.
3416         Fixes #399875
3417
3418 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
3419
3420         * gst/gst.c: (gst_init_get_option_group):
3421           Make warning about late g_thread_init() calls a bit more explicit,
3422           so that it's more obvious to application developers what they need
3423           to do if a user files a bug against their application.
3424
3425 2007-01-22  Edward Hervey  <edward@fluendo.com>
3426
3427         * plugins/elements/gstmultiqueue.c:
3428         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
3429         Remove previous hack of unsetting the flushing flag for the source pad
3430         instead of activating it. Instead, fix the source pad activate function
3431         so that it no longer depends on having a parent set or not.
3432
3433 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
3434
3435         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
3436
3437         * docs/manual/basics-bus.xml:
3438           Fix example code, gst_element_unref() doesn't exist any longer.
3439
3440 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
3441
3442         Patch by: Mark Nauwelaerts <manauw at skynet be>
3443
3444         * gst/gstpad.c:
3445           Fix two docs typoes (#399094).
3446
3447 2007-01-19  Edward Hervey  <edward@fluendo.com>
3448
3449         * docs/faq/gst-uninstalled:
3450         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
3451         depending on libgstbaseutils can work in uninstalled environment.
3452
3453 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
3454
3455         * gst/gsttaglist.h:
3456         * gst/gsttagsetter.c:
3457         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
3458         statement for new tag.
3459
3460 2007-01-17  Edward Hervey  <edward@fluendo.com>
3461
3462         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
3463         When dynamically creating single queues, activate sinkpad before adding
3464         it.
3465         We should be doing the same thing for the source pad, but we can't
3466         since it would call a method which needs the parent to be set in order
3467         to work propertly. Instead of activating the source pad, we just unset
3468         the flushing flag, which is the minimal requirement for adding a pad
3469         to an element in a state greater than READY.
3470
3471 2007-01-17  Edward Hervey  <edward@fluendo.com>
3472
3473         * docs/faq/gst-uninstalled:
3474         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
3475         Mac OS X.
3476
3477 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
3478
3479         * tests/check/gst/gstabi.c:
3480         * tests/check/gst/struct_hppa.h:
3481         * tests/check/libs/libsabi.c:
3482         * tests/check/libs/struct_hppa.h:
3483           Add ABI structs for HPPA (see #393796).
3484
3485 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
3486
3487         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
3488           Actually write ABI structs to the file specified in the GST_ABI
3489           environment variable, as the message we print claims we would.
3490
3491 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
3492
3493         * tests/check/gst/gsttask.c:
3494           Fix header comment.
3495
3496 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
3497
3498         * gst/gsttaglist.c: (_gst_tag_initialize):
3499           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
3500           previous two entries.
3501
3502 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
3503
3504         * docs/gst/gstreamer-sections.txt:
3505         * gst/gsttaglist.c: (_gst_tag_initialize):
3506         * gst/gsttaglist.h:
3507           Add tag support for beat-per-minute.
3508
3509 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
3510
3511         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3512         (gst_registry_binary_initialize_magic),
3513         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
3514         (gst_registry_binary_save_pad_template),
3515         (gst_registry_binary_save_feature),
3516         (gst_registry_binary_save_plugin),
3517         (gst_registry_binary_write_cache),
3518         (gst_registry_binary_check_magic),
3519         (gst_registry_binary_load_pad_template),
3520         (gst_registry_binary_load_feature),
3521         (gst_registry_binary_load_plugin),
3522         (gst_registry_binary_read_cache):
3523         * gst/gstregistrybinary.h:
3524           Use glib types, cleanup comments, impement interfaces and uri-types.
3525
3526 2007-01-13  Andy Wingo  <wingo@pobox.com>
3527
3528         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
3529         getrange() to return buffers with other caps, while we fix
3530         demuxers and typefind, or otherwise change part-negotiation.txt.
3531
3532 2007-01-12  Andy Wingo  <wingo@pobox.com>
3533
3534         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
3535         Factor start/stop into this private function instead of partially
3536         in activate functions and partially in the change_state function.
3537         Fixes setup before the element has changed from READY->PAUSED, as
3538         is the case in pull-mode pipelines.
3539         (gst_base_transform_sink_activate_push)
3540         (gst_base_transform_src_activate_pull): Refactor to use
3541         gst_base_transform_activate().
3542         (gst_base_transform_change_state): Removed, not needed any more.
3543
3544         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
3545         Truncate before fixating.
3546         
3547         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
3548         Don't set_caps() if the result of fixating is ANY, as it's not
3549         supported, and not necessary in the case of a link with no
3550         template caps on either side. Fixes tests/check/libs/basesrc in
3551         some pull-mode tests.
3552
3553         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
3554         (gst_base_transform_init, gst_base_transform_sink_activate_push)
3555         (gst_base_transform_src_activate_pull): 
3556         Track the activation mode.
3557         (gst_base_transform_setcaps): In pull mode, when activating the
3558         src pad, after activating the sink pad, activate the sink pad's
3559         peer, as discussed in part-negotiation.txt.
3560
3561         * libs/gst/base/gstbasesrc.h: 
3562         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
3563         vmethod, as in basesink.
3564
3565         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
3566
3567         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
3568         mode, first proxy the setcaps to the peer pad.
3569         (gst_base_sink_pad_fixate): Add a fixate function that calls the
3570         new fixate vmethod.
3571         (gst_base_sink_default_activate_pull): Rename from
3572         gst_base_sink_activate_pull.
3573         (gst_base_sink_negotiate_pull): New function, performs negotiation
3574         in pull mode before calling ::activate_pull().
3575         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
3576         vmethod instead of the default implementation. I have no idea how
3577         this worked before. Negotiate before calling activate_pull.
3578
3579         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
3580         sink pads in pull mode. In addition to being correct, fixes
3581         filesrc ! decodebin ! identity ! fakesink.
3582         (gst_pad_get_range, gst_pad_pull_range): Don't call
3583         gst_pad_set_caps() if the caps changes; instead error out with
3584         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
3585
3586 2007-01-12  Andy Wingo  <wingo@pobox.com>
3587
3588         * docs/design/part-negotiation.txt: Update with more policy.
3589
3590 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
3591
3592         * libs/gst/check/gstbufferstraw.h:
3593         * libs/gst/check/gstcheck.h:
3594           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
3595           belongs.
3596
3597 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
3598
3599         * tests/check/Makefile.am:
3600         * tests/check/gst/.cvsignore:
3601         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
3602         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
3603         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
3604         (GST_START_TEST), (gst_tag_setter_suite):
3605           Add minimal unit test for beforementioned GstTagSetter bug.
3606
3607 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
3608
3609         Patch by: René Stadler <mail at renestadler dot de>
3610
3611         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3612           gst_tag_list_merge() returns a new list, so it's not the best idea
3613           to ingore its return value. Effectively meant that tags could only
3614           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
3615           Also add function guard to require a non-NULL taglist as input (has
3616           always been so due to gst_tag_list_copy(), just making it explicit).
3617
3618 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
3619
3620         * docs/random/draft-missing-plugins.txt:
3621           Some additions: mention new API that is supposed to be used at the
3622           various stages; short blob about new gst-inspect introspection
3623           option; mention potential future problem with plugins that have
3624           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
3625
3626 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
3627
3628         * tools/gst-inspect.c:
3629         (print_plugin_automatic_install_info_codecs),
3630         (print_plugin_automatic_install_info_protocols),
3631         (print_plugin_automatic_install_info), (main):
3632         Add --print-plugin-auto-install-info option to gst-inspect, so we can
3633         introspect plugin files and get machine-parsable output that corresponds
3634         to the last bit of the missing-plugin installer string (small gotcha:
3635         doesn't take into account ranks).
3636
3637 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
3638
3639         * configure.ac:
3640         * docs/gst/gstreamer-sections.txt:
3641         * gst/Makefile.am:
3642         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
3643         (gst_registry_lookup_locked):
3644         * gst/gstregistry.h:
3645         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3646         (gst_registry_binary_initialize_magic),
3647         (gst_registry_binary_save_string),
3648         (gst_registry_binary_save_pad_template),
3649         (gst_registry_binary_save_feature),
3650         (gst_registry_binary_save_plugin),
3651         (gst_registry_binary_write_cache),
3652         (gst_registry_binary_check_magic),
3653         (gst_registry_binary_load_pad_template),
3654         (gst_registry_binary_load_feature),
3655         (gst_registry_binary_load_plugin),
3656         (gst_registry_binary_read_cache):
3657         * gst/gstregistrybinary.h:
3658         * gst/gstregistryxml.c: (load_feature),
3659         (gst_registry_xml_read_cache):
3660           commit binary registry (disabled by default, see #359653)
3661
3662 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
3663
3664         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
3665           Fix 'make check' too.
3666
3667 2007-01-10  Andy Wingo  <wingo@pobox.com>
3668
3669         * docs/design/part-negotiation.txt: Fix a typo, add a couple
3670         notes.
3671         
3672         * docs/design/part-negotiation.txt: Update with, um, one way that
3673         pull-mode negotiation might work?
3674
3675         * gst/gstpad.h: 
3676         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
3677         that the pad must be a src pad; makes sense to call it the other
3678         way in pull mode, and the logic is symmetric anyway.
3679
3680 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
3681
3682         * plugins/elements/gstfilesink.c:
3683           Include <stdio.h> for fseeko().
3684
3685 2007-01-10  Wim Taymans  <wim@fluendo.com>
3686
3687         * gst/gstevent.c:
3688         * gst/gstevent.h:
3689         Reserve LATENCY event.
3690
3691 2007-01-09  Wim Taymans  <wim@fluendo.com>
3692
3693         * docs/design/draft-latency.txt:
3694         Updates.
3695
3696 2007-01-09  Wim Taymans  <wim@fluendo.com>
3697
3698         * docs/design/draft-latency.txt:
3699         Updates.
3700
3701         * gst/gstelement.h:
3702         * gst/gststructure.c:
3703         * gst/gsttrace.c:
3704         Small typo fixes.
3705
3706 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3707
3708         * tests/check/.cvsignore:
3709           Ignore test-registry.xml as well.
3710
3711 2007-01-09  Wim Taymans  <wim@fluendo.com>
3712
3713         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
3714         unref data at the end when we are done with the pad.
3715
3716 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
3717
3718         * docs/gst/gstreamer-sections.txt:
3719         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
3720         (init_post), (gst_deinit), (gst_update_registry):
3721         * gst/gst.h:
3722           API: add gst_update_registry() (#391296).
3723
3724         * tests/check/Makefile.am:
3725         * tests/check/gst/gstregistry.c:
3726         * tests/check/gst/.cvsignore:
3727           Simple unit test for the above.
3728
3729 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
3730
3731         * gst/gstregistry.c: (gst_registry_scan_path_level):
3732           Plugin extension on HP-UX is .sl, add that to the list of approved
3733           plugin extensions (see #393796).
3734
3735         * tests/check/gst/gstpad.c: (GST_START_TEST):
3736           ulong => gulong. Fixes compilation with HP-UX compiler.
3737
3738         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
3739           Fix compilation if valgrind headers are not available.
3740
3741 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
3742
3743         * win32/common/libgstreamer.def: 
3744           Add new exported function.
3745         * win32/vs6/libgstbase.dsp: 
3746           Add gstdataqueue.c to the build.
3747         * win32/vs6/libgstcoreelements.dsp:
3748           Add gstmultiqueue.c to the build.
3749         
3750 2007-01-06  Andy Wingo  <wingo@pobox.com>
3751
3752         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
3753         activate_pull(), providing for a way to specialize the process of
3754         spawning a thread to pull on the sink pad. There is a default
3755         implementation.
3756
3757         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
3758         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
3759         (gst_base_sink_init): Renamed pad activation functions (inserting
3760         "_pad" in their names). Refactor to use the new activate_pull
3761         vmethod, as appropriate.
3762         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
3763         default activate_pull function to start a task pulling from the
3764         sink pad, as before.
3765
3766         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
3767         on the pads if necessary, as in push()/chain(). Update docs.
3768         Shouldn't affect existing pull() usage as it is currently only
3769         being used on buffers without caps.
3770
3771 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3772
3773         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3774         (init_pre):
3775           Call g_thread_init() first thing in gst_init() / gst_check_init().
3776           When initialisation is done via gst_init_get_option_group() and
3777           GOption parsing, issue a warning if the GLib thread system has not
3778           been initialised yet by the time gst_init_get_option_group() is
3779           called, as it's quite likely other GLib functions such as
3780           g_option_context_new() have been called already then, and
3781           g_thread_init() must be called before any other GLib function. The
3782           application in question must be fixed in that case, since memory
3783           corruption might happen otherwise.
3784           We issue the warning because even if the GLib folks decide to work
3785           around the problem on their end in future, this is still an issue
3786           with all GLib versions >= 2.10.0, so we should warn until we depend
3787           on a GLib version we know to be safe.
3788           Update documentation as well.
3789           Closes bug #391278.
3790
3791 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3792
3793         * tools/gst-inspect.c: (main):
3794         * tools/gst-launch.c: (main):
3795         * tools/gst-typefind.c: (main):
3796         * tools/gst-xmlinspect.c: (main):
3797           Call g_thread_init() really really early, before any other GLib
3798           function (see #342564 and recent discussion on gtk-devel-list).
3799
3800 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3801
3802         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
3803
3804         * gst/gst_private.h:
3805         * gst/gstconfig.h.in:
3806         * gst/gstinfo.h:
3807           On win32, all the __declspec stuff for symbol exporting is
3808           apparently only needed with MSVC, but doesn't work with MingW.
3809           Fixes compilation with MingW and #391909.
3810
3811 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3812
3813         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
3814           Change some GST_ERROR_OBJECT that aren't really errors to
3815           GST_WARNING_OBJECT in order to reduce terminal spam.
3816
3817 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
3818
3819         * tests/check/Makefile.am:
3820           disable test again, as there seem to be still race problems
3821
3822 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
3823
3824         * tests/check/Makefile.am:
3825         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3826         (GST_START_TEST), (queue_suite):
3827           enable queue test again, add tests for the leaky behaviour
3828
3829 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
3830
3831         * configure.ac:
3832         * tests/examples/Makefile.am:
3833           Compile adapter test/example only if the required headers are
3834           available (fixes #391915).
3835
3836 2007-01-01  David Schleef  <ds@schleef.org>
3837
3838         * gst/gstplugin.c:
3839           Restore the previous signal handler for SIGSEGV instead of
3840           setting to default, since we may have stolen it away from
3841           someone.  (i.e., Mono)
3842
3843 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
3844
3845         * docs/random/draft-missing-plugins.txt:
3846           Some small additions and clarifications.
3847
3848 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
3849
3850         * gst/gstregistryxml.c: (gst_registry_save_escaped):
3851           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
3852           since that can lead to random memory corruptions and crashes
3853           (may or may not be related to #383244, #386711, and #386711).
3854
3855 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
3856
3857         * tests/check/.cvsignore:
3858         * tests/check/Makefile.am:
3859           sync .cvsignome and CLEANFILES
3860
3861 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
3862
3863         * tests/check/Makefile.am:
3864           fix distcheck
3865
3866 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
3867
3868         * docs/design/part-states.txt:
3869           two tiny additional comments
3870         
3871         * gst/gststructure.c:
3872           doc fixing
3873
3874         * tests/check/Makefile.am:
3875         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3876         (GST_START_TEST):
3877           disable test for now, unless it gets fixed
3878
3879 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
3880
3881         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3882         (GST_START_TEST):
3883           fix race in underrun test
3884
3885 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
3886
3887         * tests/check/elements/.cvsignore:
3888           ignore more
3889
3890         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3891         (GST_START_TEST):
3892           try to narrow test failure
3893
3894 2006-12-21  David Schleef  <ds@schleef.org>
3895
3896         * plugins/elements/gstfakesrc.c:
3897           Use g_random_int_range(), since it produces better random
3898           numbers in a range than almost-correct floating point code.
3899
3900 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
3901
3902         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3903         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3904         (gst_check_teardown_sink_pad):
3905           do not automatically (de)activate pads
3906
3907         * tests/check/Makefile.am:
3908         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3909         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
3910           add new, yet simple tests for queue
3911
3912         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
3913         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
3914         * tests/check/elements/filesrc.c: (cleanup_filesrc),
3915         (GST_START_TEST):
3916         * tests/check/elements/identity.c: (cleanup_identity):
3917           consistent pad (de)activation
3918
3919 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
3920
3921         Patch by: Sebastian Dröge  <slomo ubuntu com>
3922
3923         * libs/gst/base/gstcollectpads.c:
3924           Fix two doc typos (#387866).
3925
3926 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
3927
3928         * docs/manual/advanced-dparams.xml:
3929           Fix typo (g_object_control_properties() doesn't exist).
3930
3931 2006-12-19  Edward Hervey  <edward@fluendo.com>
3932
3933         * gst/gstsegment.c: (gst_segment_set_seek):
3934         Fine tune the cases where the segment start/stop values are really
3935         updated.
3936         * tests/check/gst/gstsegment.c: (GST_START_TEST):
3937         Add tests for the return values of gst_segment_set_seek().
3938
3939 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
3940
3941         * gst/gst.c:
3942           Docs typo fix.
3943
3944         * plugins/elements/gstqueue.c: (gst_queue_class_init),
3945         (gst_queue_init):
3946           Fix incorrect documentation and flesh it out a bit more.
3947           Set default values for the max properties on the GParamSpec as well,
3948           so it shows up correctly in gst-inspect.
3949
3950 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
3951
3952         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
3953           Correct docs of queue, add more detail and crosslink it more.
3954
3955 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
3956
3957         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3958           Print additional debug info when the stream isn't perfectly
3959           timestamped; don't try to use invalid durations.
3960
3961 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
3962
3963         * docs/design/Makefile.am:
3964           Dist new design docs.
3965
3966 2006-12-16  Wim Taymans  <wim@fluendo.com>
3967
3968         Patch by: Sjoerd Simons <sjoerd at luon dot net>
3969
3970         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
3971         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3972         (gst_collect_pads_stop), (gst_collect_pads_event),
3973         (gst_collect_pads_chain):
3974         * libs/gst/base/gstcollectpads.h:
3975         Add refcounting to the collectpads data so we can track when it's safe
3976         to free the data. Fixes #383382.
3977
3978 2006-12-15  Wim Taymans  <wim@fluendo.com>
3979
3980         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
3981         (gst_collect_pads_remove_pad):
3982         Automatically activate/deactivate pads when they are added to a
3983         started/stoped collectpads.
3984
3985 2006-12-15  Wim Taymans  <wim@fluendo.com>
3986
3987         * gst/gstelement.c: (gst_element_add_pad):
3988         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3989         * gst/gstpad.c: (gst_pad_init):
3990         Set pads to FLUSHING when they are created. Check, warn and fix when a
3991         demuxer adds an inactive pad to itself when running. Fixes #339326.
3992
3993 2006-12-15  Wim Taymans  <wim@fluendo.com>
3994
3995         * gst/gstelement.c: (gst_element_class_init),
3996         (gst_element_default_send_event), (gst_element_send_event),
3997         (gst_element_default_query), (gst_element_query):
3998         Expose default element send_event and query handling as vmethods that
3999         subclasses can chain up to.
4000
4001 2006-12-15  Wim Taymans  <wim@fluendo.com>
4002
4003         * gst/gstelement.c: (gst_element_set_state_func):
4004         Small documentation fixes.
4005
4006 2006-12-15  Wim Taymans  <wim@fluendo.com>
4007
4008         * docs/design/draft-latency.txt:
4009         Checked in draft for handling latency in pipelines.
4010
4011 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4012
4013         * Makefile.am:
4014         * gstreamer.doap:
4015         * gstreamer.spec.in:
4016           adding .doap file
4017
4018 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
4019
4020         * gst/gst.c: (init_pre), (init_post):
4021           init_pre() and init_post() might be called via our GOptionGroup or
4022           from gst_init(), and we should skip both of them if we've already
4023           been initialised, otherwise we will init some things twice or add
4024           two default log functions.
4025
4026 2006-12-13  Edward Hervey  <edward@fluendo.com>
4027
4028         * docs/manual/basics-bus.xml:
4029         No, gst_main_loop does not exist. Its g_main_loop.
4030         Discovered by somebody who abused the copy-paste technique of coding :)
4031
4032 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
4033
4034         * gst/gstghostpad.c:
4035           Log ghostpad debug stuff to the GST_PADS category as well rather
4036           than just to the default category.
4037
4038 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
4039
4040         * configure.ac:
4041         * gst/gst.c: (init_pre):
4042           Add some basic system details such as OS and architecture
4043           to the debug output if possible, courtesy of uname().
4044
4045 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
4046
4047         * docs/gst/running.xml:
4048           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
4049           environment variables.
4050
4051 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
4052
4053         * tests/check/gst/gstbin.c: (GST_START_TEST):
4054         It is acceptable to have a refcount of 2 or 3 at this point in the
4055         test, because the pipeline might be just posting its state_change
4056         message. The next line then waits for that message to appear using
4057         bus_poll, so that should be fine too.
4058
4059 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
4060
4061         * gst/gst.c: (ensure_current_registry_forking):
4062         Ignore EINTR when reading from the child registry pipe.
4063         Explicitly ignore the return value from close, since it makes no
4064         difference.
4065
4066         * gst/gstminiobject.c: (gst_mini_object_ref),
4067         (gst_mini_object_unref):
4068         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
4069
4070         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
4071         When removing cached plugins, remove their features too, so they're
4072         not visible after they've disappeared.
4073
4074         * gst/gstutils.c: (prepare_link_maybe_ghosting):
4075         In the unlikely case that we are linking pads with no parents, don't
4076         crash trying to get the non-existent parent bin.
4077
4078         * gst/parse/grammar.y:
4079         Output debug in the PIPELINE category
4080
4081 2005-03-08  Wim Taymans  <wim@fluendo.com>
4082
4083         Patch by: René Stadler <mail at renestadler dot de>
4084
4085         * gst/gstclock.c: (gst_clock_new_periodic_id):
4086         Reject invalid clock times for interval of periodic ids.
4087         Fixes ##383506.
4088
4089 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
4090
4091         * gst/gstelementfactory.c: (gst_element_factory_create):
4092         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4093         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
4094         * tools/gst-inspect.c: (print_element_info):
4095         Fix refcounting of gst_plugin_feature_load to match the docs. 
4096         Fixes: #380129
4097
4098 2006-12-07  Wim Taymans  <wim@fluendo.com>
4099
4100         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4101         (gst_base_sink_get_position):
4102         Improve debugging of events.
4103
4104 2006-12-07  Wim Taymans  <wim@fluendo.com>
4105
4106         Patch by: René Stadler <mail at renestadler dot de>
4107
4108         * gst/gstclock.c: (gst_clock_id_wait):
4109         Make period ids add the interval to the origial requested time instead
4110         of the possibly updated time which can be wrong when there are multiple
4111         waiters for the same id. Fixes #382592.
4112
4113         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
4114         (gst_system_clock_id_wait_jitter_unlocked),
4115         (gst_system_clock_id_wait_jitter):
4116         Fix restart in the async notify thread when an async entry is added to
4117         the front of the list. Fixes #381492. 
4118
4119         * tests/check/gst/gstsystemclock.c: (store_callback),
4120         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
4121         Added test for multiple async waits.
4122         Added test for async wait order.
4123
4124 2006-12-07  Wim Taymans  <wim@fluendo.com>
4125
4126         * gst/gstbin.c: (gst_bin_query):
4127         Add some more docs about the POSITION query.
4128
4129 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
4130
4131         * configure.ac:
4132         Bump version nano - back to CVS.
4133
4134 === release 0.10.11 ===
4135
4136 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
4137
4138         * configure.ac:
4139           releasing 0.10.11, "Love never runs on time"
4140
4141 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
4142
4143         * win32/common/libgstbase.def:
4144         * win32/common/libgstreamer.def:
4145         * win32/vs8/libgstbase.vcproj:
4146         * win32/vs8/libgstcoreelements.vcproj:
4147         * win32/vs8/libgstreamer.vcproj:
4148         Fix compilation on win32 under VS8
4149         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4150         Partially fixes #381175
4151
4152 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
4153
4154         * gst/gstvalue.c: (gst_value_compare_fraction):
4155         If someone is foolish enough to compare 2 fractions with denominator =
4156         0, return UNORDERED rather than aborting.
4157
4158 2006-11-28  Edward Hervey  <edward@fluendo.com>
4159
4160         * libs/gst/base/Makefile.am:
4161         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
4162         (gst_data_queue_base_init), (gst_data_queue_class_init),
4163         (gst_data_queue_init), (gst_data_queue_new),
4164         (gst_data_queue_cleanup), (gst_data_queue_finalize),
4165         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
4166         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
4167         (gst_data_queue_is_empty), (gst_data_queue_is_full),
4168         (gst_data_queue_set_flushing), (gst_data_queue_push),
4169         (gst_data_queue_pop), (gst_data_queue_drop_head),
4170         (gst_data_queue_set_property), (gst_data_queue_get_property):
4171         * libs/gst/base/gstdataqueue.h:
4172         New GstDataQueue object for threadsafe queueing. Most useful for
4173         elements that need some queueing functionnality.
4174         * docs/libs/gstreamer-libs-docs.sgml:
4175         * docs/libs/gstreamer-libs-sections.txt:
4176         Insert documentation for GstDataQueue
4177         * plugins/elements/Makefile.am:
4178         * plugins/elements/gstelements.c:
4179         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4180         (gst_multi_queue_class_init), (gst_multi_queue_init),
4181         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
4182         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
4183         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
4184         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
4185         (gst_multi_queue_loop), (gst_multi_queue_chain),
4186         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
4187         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
4188         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
4189         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
4190         (wake_up_next_non_linked), (compute_next_non_linked),
4191         (single_queue_overrun_cb), (single_queue_underrun_cb),
4192         (single_queue_check_full), (gst_single_queue_new):
4193         * plugins/elements/gstmultiqueue.h:
4194         New multiqueue element, using GstDataQueue. Used for queuing multiple
4195         streams.
4196         Closes #344639 and #347785
4197
4198 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
4199
4200         * docs/pwg/advanced-types.xml:
4201           add more missing type details
4202
4203         * tools/gst-run.c: (main):
4204           remove unused variable
4205
4206 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
4207
4208         * docs/libs/Makefile.am:
4209         * docs/libs/gstreamer-libs.types:
4210           add types of base classes to enable gobject specific stuff in the docs
4211
4212         * docs/random/ensonic/embedded.txt:
4213           more ideas about isolating platform specific things
4214
4215 2006-11-20  Wim Taymans  <wim@fluendo.com>
4216
4217         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
4218
4219         * libs/gst/check/gstcheck.h:
4220         Fix compilation and running against 0.9.4. Fixes #377332.
4221
4222 2006-11-20  Wim Taymans  <wim@fluendo.com>
4223
4224         * gst/gstsegment.c: (gst_segment_set_seek),
4225         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
4226         (gst_segment_to_running_time):
4227         Fix boundary checking in to_running_time() and to_stream_time().
4228         Fixes #377183.
4229
4230         * tests/check/gst/gstsegment.c: (GST_START_TEST):
4231         stream and running time can now be calculated for the complete
4232         clipped segment.
4233
4234 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
4235
4236         * gst/gstpad.c: (gst_pad_push_event):
4237           Can't access event structure after giving away ownership of
4238           the event.
4239
4240 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
4241
4242         * docs/random/ensonic/embedded.txt:
4243         * docs/random/ensonic/profiling.txt:
4244         * docs/random/ensonic/receipies.txt:
4245           more thinking
4246
4247 2006-11-13  Wim Taymans  <wim@fluendo.com>
4248
4249         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4250
4251         * gst/gstpad.c:
4252         Fix documentation for gst_pad_dispatcher. Fixes #374475.
4253
4254 2006-11-13  Wim Taymans  <wim@fluendo.com>
4255
4256         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
4257
4258         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4259         Store new length in segment duration so we don't keep on calling the
4260         potentially expensize get_size() call. Fixes #370865.
4261
4262 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
4263
4264         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
4265
4266         * win32/common/libgstreamer.def:
4267           Add two missing symbols (#366492).
4268
4269 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
4270
4271         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
4272         (gst_adapter_take_buffer):
4273         Fix format string to use all its arguments.
4274         Remove useless >= check on a guint
4275
4276 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
4277
4278         * tests/examples/adapter/.cvsignore:
4279         Ignore build file as commanded by the build-bot
4280
4281 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
4282
4283         * tests/examples/adapter/Makefile.am:
4284         * tests/examples/adapter/adapter_test.c: (run_test_take),
4285         (run_test_take_buffer), (run_tests), (main):
4286
4287         Add new files from the previous commit
4288
4289 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
4290
4291         * Makefile.am:
4292         * configure.ac:
4293         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
4294         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
4295         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
4296         * libs/gst/base/gstadapter.h:
4297         * tests/check/libs/adapter.c: (create_and_fill_adapter),
4298         (GST_START_TEST), (gst_adapter_suite):
4299         * tests/examples/Makefile.am:
4300         Do some optimisation work in GstAdapter to avoid copies in more cases.
4301         It could still do slightly better by merging buffers when
4302         gst_buffer_is_span_fast is true, but is already faster. 
4303
4304         Also, avoid traversing a single-linked list to append each incoming 
4305         buffer inside the adapter.
4306
4307         Add simple test app that times the adapter behaviour in different
4308         situations, and extend the unit test to check that bytes enter and
4309         exit the adapter in their original order.
4310
4311 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
4312
4313         * docs/random/draft-missing-plugins.txt:
4314           Update: use element message instead of adding a new message
4315           type to the core; don't provide GStreamer API to initiate the
4316           plugin download, just provide API to compose the strings needed
4317           and let an external libgimmestuff handle the rest.
4318
4319 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
4320
4321         * tools/gst-inspect.c: (print_element_properties_info):
4322         Print a string instead of 'unknown type' for GValueArray properties
4323
4324 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
4325
4326         * docs/random/draft-missing-plugins.txt:
4327         More small fixes.
4328
4329 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
4330
4331         * tests/examples/typefind/typefind.c: (type_found), (main):
4332           Make typefind element example work again (#371894); add a
4333           license header.
4334
4335 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
4336
4337         * docs/random/draft-missing-plugins.txt:
4338           Commit initial draft about how to deal with missing plugins,
4339           needs work (API too).
4340
4341 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
4342
4343         * docs/pwg/advanced-types.xml:
4344           documents the new caps elements (see #363118)
4345
4346 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4347
4348         * gst/gstplugin.c: (gst_plugin_load_file):
4349         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
4350         (gst_file_src_map_region), (gst_file_src_start):
4351         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
4352         (gst_file_index_commit):
4353           Use g_strerror() instead of strerror() - we want UTF-8.
4354
4355 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4356
4357         Patch by: Peter Kjellerstedt <pkj at axis com>
4358
4359         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4360           Another printf fix (#371493).
4361
4362 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
4363
4364         * tests/check/gst/gsttag.c:
4365           relicence (okay with author=company)
4366
4367 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
4368
4369         * gst/gstpad.c: (gst_pad_event_default_dispatch),
4370         (gst_pad_push_event):
4371           Enhance debug and improve docs
4372         
4373         * gst/gsturi.c:
4374           Fix docs
4375
4376 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
4377
4378         * docs/random/ensonic/distributed.txt:
4379         * docs/random/ensonic/profiling.txt:
4380           more ideas
4381
4382 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
4383
4384         * docs/gst/gstreamer-sections.txt:
4385           add new API and fix the build
4386           
4387         * gst/gstbin.c: (gst_bin_recalc_state):
4388         * gst/gstelement.c: (gst_element_message_full),
4389         (gst_element_get_state_func), (gst_element_set_state_func):
4390           use new API and improve logging
4391         
4392         * gst/gstutils.c: (gst_element_state_change_return_get_name):
4393         * gst/gstutils.h:
4394           API: add function to get StateChangereturn names to improve logs 
4395
4396 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
4397
4398         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4399           I'm considering shooting the next person to put strerror stuff
4400           in the translateable part of the message.
4401
4402 2006-11-03  Wim Taymans  <wim@fluendo.com>
4403
4404         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4405         Get the type and printf conversion specifiers right.
4406
4407 2006-11-03  Wim Taymans  <wim@fluendo.com>
4408
4409         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4410
4411         * gst/gstpad.c: (gst_pad_init), (pre_activate),
4412         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
4413         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
4414         Some small cleanups. Improve debugging.
4415         * gst/gstpad.h:
4416         Signal all waiting threads with a broadcast instead of just one.
4417         Fixes #369942.
4418
4419 2006-11-03  Wim Taymans  <wim@fluendo.com>
4420
4421         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4422         (gst_fd_src_create):
4423         Add some debugging. 
4424         Only update fd when it's different from the old.
4425
4426 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4427
4428         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
4429           Printf fixes for PPC/OSX, take two (#369366).
4430
4431 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4432
4433         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
4434
4435         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4436         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4437         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4438           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
4439           don't cast to long long for portability reasons, but use
4440           GLib's types instead.
4441
4442 2006-10-30  Michael Smith  <msmith@fluendo.com>
4443
4444         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4445           Get the arguments to lseek() the right way around.
4446           Fixes 367677.
4447
4448 2006-10-30  Wim Taymans  <wim@fluendo.com>
4449
4450         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
4451
4452         * gst/gstinfo.h:
4453         _declspec should be __declspec (two underscores, not one). Fixes 366572.
4454
4455 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
4456
4457         Patch by: Kjartan Maraas  <kmaraas at gnome org>
4458
4459         * docs/design/part-MT-refcounting.txt:
4460         * docs/random/wtay/capsnego2-docs:
4461         * gst/gstclock.c:
4462         * gst/gstxml.c:
4463           Typo fixes (#366212).
4464
4465 2006-10-28  Wim Taymans  <wim@fluendo.com>
4466
4467         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4468
4469         * gst/gst.c:
4470         * win32/common/libgstbase.def:
4471         * win32/common/libgstreamer.def:
4472         * win32/vs8/libgstbase.vcproj:
4473         * win32/vs8/libgstcontroller.vcproj:
4474         Add needed entries in .def files.
4475         Use HAVE_UNISTD_H.
4476         Rearrange def files in vs8 solutions. Fixes #366286.
4477
4478 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
4479
4480         * win32/common/gstconfig.h:
4481           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
4482           hand-made win32 gstconfig.h. Fixes #366321.
4483
4484 2006-10-27  Wim Taymans  <wim@fluendo.com>
4485
4486         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
4487         (gst_ghost_pad_new_full):
4488         Make acceptcaps return TRUE when we don't have a target, just like
4489         setcaps does.
4490
4491 2006-10-27  Wim Taymans  <wim@fluendo.com>
4492
4493         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4494         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
4495
4496 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
4497
4498         * gst/gststructure.c: (gst_structure_id_set_value):
4499           If someone tries to set a non-UTF8 string field on a structure,
4500           don't just print a warning, but also ignore the request and do
4501           not change/add that field to the structure.
4502
4503         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4504           Test for the above.
4505
4506 2006-10-25  David Schleef  <ds@schleef.org>
4507
4508         * gst/gstinfo.c:
4509           g_hash_table_insert() needs a cast to a non-const pointer duh.
4510
4511 2006-10-25  David Schleef  <ds@schleef.org>
4512
4513         * gst/gstinfo.c:
4514         * gst/gstinfo.h:
4515           Change name parameter of _gst_debug_register_funcptr to const
4516           to reflect the constness of its use in the function as well
4517           as to quiet a gcc warning.
4518
4519 2006-10-25  Edward Hervey  <edward@fluendo.com>
4520
4521         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4522         Don't push the buffer if it's empty.
4523         Closes #363095
4524
4525 2006-10-24  Wim Taymans  <wim@fluendo.com>
4526
4527         * gst/gstevent.h:
4528         Add small comment.
4529
4530         * libs/gst/base/gstbasetransform.c:
4531         (gst_base_transform_sink_eventfunc):
4532         Debug segment values *after* updating them as this is more
4533         interesting.
4534
4535 2006-10-23  Wim Taymans  <wim@fluendo.com>
4536
4537         * docs/design/part-events.txt:
4538         Update some docs.
4539
4540         * docs/design/part-block.txt:
4541         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
4542         (gst_pad_push_event):
4543         Revert BLOCKING patch, it tries to be smart without really having a
4544         clear idea what or how. So, now we discard all FLUSHING events again on
4545         a blocking pad. Should fix gnonlin again.
4546
4547 2006-10-23  Wim Taymans  <wim@fluendo.com>
4548
4549         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4550
4551         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4552         (gst_base_src_start), (gst_base_src_activate_push):
4553         Make sure size is always initialized. Fixes #364388.
4554
4555 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
4556
4557         * docs/random/ensonic/distributed.txt:
4558           add some ideas about doing distributed processing
4559
4560         * docs/random/ensonic/profiling.txt:
4561           get_rusage look promising
4562
4563 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
4564
4565         * docs/manual/basics-helloworld.xml:
4566           Add a cast in example to fix compile warning
4567
4568 2006-10-18  Wim Taymans  <wim@fluendo.com>
4569
4570         * gst/gstsegment.c: (gst_segment_set_last_stop),
4571         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
4572         Relax arg checking again, -1 is allowed.
4573
4574 2006-10-18  Wim Taymans  <wim@fluendo.com>
4575
4576         * gst/gstsegment.c: (gst_segment_set_last_stop),
4577         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
4578         _set_last_stop() must be with a value != -1
4579         A _TYPE_SET to -1 means seek to 0.
4580         Calc last_stop correctly for negative rates.
4581         Make sure we work with positive durations when updating a segment.
4582
4583 2006-10-18  Wim Taymans  <wim@fluendo.com>
4584
4585         * docs/design/part-live-source.txt:
4586         * gst/gstclock.h:
4587         Small docs fixes.
4588
4589 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
4590
4591         * gst/gstbuffer.h:
4592           Add an explicit cast to GstBuffer** to keep old code that added an
4593           explicit cast to GstMiniObject** for gst_mini_object_replace()
4594           compiling without warning.
4595
4596 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
4597
4598         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
4599           check for validity of dates
4600
4601 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
4602
4603         * docs/gst/gstreamer-sections.txt:
4604           Forgot this one, makes gtk-doc shut up.
4605
4606 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
4607
4608         Patch by: Peter Kjellerstedt <pkj at axis com>
4609
4610         * gst/gstobject.h:
4611           Don't define xmlNodePtr to gpointer if the core was built with
4612           --disable-loadsave and --disable-registry, this will break
4613           applications that want to use libxml2 but are buildling against a
4614           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
4615           instead so we don't have to mess with the libxml2 namespace
4616           (#361675).
4617
4618 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
4619
4620         * gst/gstbuffer.h:
4621           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
4622           type-punned pointer warnings.
4623
4624 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4625
4626         * gst/gstelement.h:
4627           Add casts to the correct return type to state <=> state transition
4628           macros.
4629
4630 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
4631
4632         * docs/design/part-live-source.txt:
4633           describe howto handle latency
4634         
4635         * docs/random/ensonic/profiling.txt:
4636           more ideas
4637
4638         * tools/gst-plot-timeline.py:
4639           fix log parsing for solaris, remove unused function
4640
4641 2006-10-16  Wim Taymans  <wim@fluendo.com>
4642
4643         * docs/design/part-trickmodes.txt:
4644         * gst/gstevent.c:
4645         Update some docs regarding reverse playback.
4646
4647 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4648
4649         Patch by: Marcus Granado  <mrc dot gran at gmail com>
4650
4651         * win32/vs8/grammar.vcproj:
4652           Error out with a warning if glib-genmarshal.exe is not in path,
4653           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
4654
4655 2006-10-13  Wim Taymans  <wim@fluendo.com>
4656
4657         * gst/gstsegment.c: (gst_segment_set_seek):
4658         When seeking to stop -1, set last_stop (current position) to the
4659         duration of the segment.
4660
4661 2006-10-13  Wim Taymans  <wim@fluendo.com>
4662
4663         * gst/gstelement.h:
4664         Clarify _NO_PREROLL a bit more.
4665
4666         * gst/gstevent.c:
4667         Fix docs.
4668
4669         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
4670         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
4671         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
4672         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
4673         due to wrong locking order. Fixes #361769.
4674         Remove some redundant/misplaced checks in pad_block.
4675
4676         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4677         For negative rates, count backwards from the duration.
4678
4679 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4680
4681         * gst/gsterror.c: (_gst_library_errors_init):
4682           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
4683           up with something better).
4684
4685 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
4686
4687         * win32/vs6/libgstreamer.dsp:
4688         * win32/vs7/libgstreamer.vcproj:
4689         * win32/vs8/libgstreamer.vcproj:
4690           Don't reference glib-compat.c which is currently not used and not
4691           disted; add gstquark.c which was recently added. Fixes #361730.
4692
4693 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
4694
4695         * win32/common/libgstbase.def:
4696         * win32/common/libgstcontroller.def:
4697         * win32/common/libgstreamer.def:
4698           Add gst_caps_merge() and a bunch of other recently-added functions.
4699           Fixes #361732.
4700
4701 2006-10-11  Wim Taymans  <wim@fluendo.com>
4702
4703         * docs/plugins/gstreamer-plugins.args:
4704         * docs/plugins/inspect/plugin-coreelements.xml:
4705         * docs/plugins/inspect/plugin-coreindexers.xml:
4706         Update element args.
4707
4708         * gst/gstsystemclock.c:
4709         Small comment update.
4710
4711         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
4712         (gst_tee_request_new_pad), (gst_tee_release_pad),
4713         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
4714         (gst_tee_sink_activate_pull):
4715         * plugins/elements/gsttee.h:
4716         Some tee loving:
4717         Add default property defines.
4718         Implement release pad function.
4719         Give properties better blubs etc.
4720         Activate pads before adding them to a running tee.
4721         Do simple buffer_alloc on the first requested pad.
4722         Post error when activation fails.
4723
4724 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
4725
4726         * gst/gst.c: (ensure_current_registry_forking):
4727           Check return value of write() to make compiler happy.
4728
4729 2006-10-11  Wim Taymans  <wim@fluendo.com>
4730
4731         Patch by: Sjoerd Simons <sjoerd at luon dot net>
4732
4733         * plugins/elements/gstqueue.c: (gst_queue_chain):
4734         Recheck queue filledness after signalling the overrun when we're about
4735         to leak downstream because we released the lock when emitting the signal
4736         and the queue could be empty again. Fixes #352345.
4737
4738 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
4739
4740         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
4741           Fix refcounting here too, just like we did for _new_valist() a few
4742           days ago (#357180) (thanks to René Stadler). Also remove all those
4743           'Since: 0.9' from the gtk-doc blobs.
4744
4745         * tests/check/libs/controller.c: (controller_refcount_new_list),
4746         (gst_controller_suite):
4747           Unit test for the above.
4748
4749 2006-10-10  Wim Taymans  <wim@fluendo.com>
4750
4751         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
4752
4753         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
4754         (gst_pad_save_thyself):
4755         Update some docs.
4756         Write pad direction in XML output. Fixes #345496.
4757
4758 2006-10-10  Wim Taymans  <wim@fluendo.com>
4759
4760         Patch by: René Stadler <mail at renestadler dot de>
4761
4762         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4763         (gst_controller_new_list), (_gst_controller_dispose),
4764         (_gst_controller_finalize), (_gst_controller_class_init):
4765         Take ref to controlled object so that it cannot disappear. 
4766         Fixes #357432.
4767
4768 2006-10-10  Wim Taymans  <wim@fluendo.com>
4769
4770         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4771         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4772         (gst_check_teardown_sink_pad):
4773         Activate/deactivate pads in setup/teardown respectively.
4774
4775 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4776
4777         Patch by: Josep Torre Valles <josep@fluendo.com>
4778
4779         * gst/Makefile.am:
4780         Cast values when making gstenumtypes.h.  This pacifies Forte
4781         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
4782         in the enumeration.
4783
4784 2006-10-09  Wim Taymans  <wim@fluendo.com>
4785
4786         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
4787         Rename some more @cur to @start to fix docs. 
4788
4789         * gst/gstsegment.c: (gst_segment_set_seek):
4790         Fix typo.
4791         time and start must always stay in sync as defined in design doc.
4792
4793         * gst/gsttaglist.c: (gst_tag_list_is_empty):
4794         Rename param to fix docs.
4795
4796         * tests/check/gst/gstsegment.c: (GST_START_TEST):
4797         Check that start and time are in sync.
4798
4799         * tests/check/pipelines/parse-launch.c:
4800         (gst_parse_test_element_change_state):
4801         Activate pad before adding to the element.
4802
4803 2006-10-09  Wim Taymans  <wim@fluendo.com>
4804
4805         * docs/design/part-qos.txt:
4806         Fix typo.
4807
4808         * gst/gstevent.c:
4809         * gst/gstevent.h:
4810         Update seek event docs regarding negative rates.
4811         Rename @cur to @start. 
4812
4813         * gst/gstsegment.c: (gst_segment_set_seek):
4814         * gst/gstsegment.h:
4815         Update set_seek docs regarding negative rates.
4816         Correctly update last_stop to @stop when dealing with negative
4817         rates.
4818         Rename @cur to @start. 
4819
4820         * tests/check/gst/gstpad.c: (GST_START_TEST):
4821         Activate pads before trying to use them.
4822
4823         * tests/check/gst/gstsegment.c: (GST_START_TEST),
4824         (gst_segment_suite):
4825         Add simple check for segments and negative rates.
4826
4827 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4828
4829         * gst/gsttaglist.c: (gst_tag_list_is_empty):
4830         * gst/gsttaglist.h:
4831         * docs/gst/gstreamer-sections.txt:
4832           API: add gst_tag_list_is_empty() (#360467).
4833
4834         * tests/check/gst/gsttag.c: (GST_START_TEST):
4835           And a test case.
4836
4837 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4838
4839         * gst/gstmessage.h:
4840         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
4841         a value that doesn't fit on enumeration.
4842
4843 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4844
4845         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4846         Remove local debugging system and use Gstreamer's instead.
4847
4848 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4849
4850         Patch by: Josep Torre Valles <josep@fluendo.com>
4851
4852         * common/m4/gst-error.m4:
4853         Disable warning of statement not reached on Forte.
4854         * gst/gstmessage.h:
4855         Fix warning on Forte (value doesn't fit on enumeration).
4856         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
4857         Fix warning on Forte (value doesn't fit on enumeration).
4858         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4859         DEBUG macro says it takes minimum of 2 args and so Forte
4860         complains about the use with just 1 arg.
4861         * plugins/elements/gstfdsink.c:
4862         * plugins/elements/gstfdsrc.c:
4863         * plugins/elements/gstfilesink.c:
4864         * plugins/elements/gstfilesrc.c:
4865         Use correct return type for the uri handler implementations.
4866
4867         All these fix warnings in Forte.  Fixes bug #360860.
4868
4869 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4870
4871         * gst/gstelement.h:
4872           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
4873           format string, so don't use G_GNUC_PRINTF for those versions.
4874
4875 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
4876
4877         * gst/gsttaglist.c: (gst_is_tag_list):
4878         * gst/gsttaglist.h:
4879           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
4880
4881         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4882           Small test for the above.
4883
4884 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
4885
4886         * gst/gsttaglist.h:
4887           Less tabs, more spaces.
4888
4889 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
4890
4891         * gst/gstinfo.h:
4892           Those two function declarations do actually belong there, revert
4893           commit from yesterday that turned them intro macros.
4894
4895 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4896
4897         Patch by: Josep Torre Valles <josep@fluendo.com>
4898
4899         * gst/gst.c: (gst_init_get_option_group):
4900         Fix empty declaration and type mismatch.
4901         * gst/gstbin.c: (gst_bin_change_state_func):
4902         Fix type mismatch.
4903         * gst/gstelement.c: (gst_element_continue_state),
4904         (gst_element_set_state_func), (gst_element_change_state),
4905         (gst_element_change_state_func):
4906         Fix type mismatches.
4907         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
4908         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
4909         Cast as appropriate.
4910         * gst/gstobject.c: (gst_class_signal_connect):
4911         Cast as appropriate.  The function pointer parameter really
4912         has the wrong type but would break API if we change it.
4913         * gst/gstquery.c:
4914         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
4915         order of including string.h.
4916         * gst/gstutils.c: (gst_element_state_get_name):
4917         Remove unreachable line.
4918         * gst/gstxml.c: (gst_xml_parse_doc):
4919         Fix type mismatch.
4920         All these caught by Forte.
4921
4922 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4923
4924         Patch by: Josep Torre Valles <josep@fluendo.com>
4925
4926         * common/m4/gst-error.m4:
4927         Fixed bug #360151.
4928         We need to disable warnings on Forte for empty declarations
4929         due to gst-indent adding ;s to lines that just use macros
4930         where the macro actually doesn't need a ; at end to end
4931         statement.
4932
4933 2006-10-06  Wim Taymans  <wim@fluendo.com>
4934
4935         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4936         (gst_file_sink_close_file), (gst_file_sink_event),
4937         (gst_file_sink_render):
4938         Add some FIXME for the NEWSEGMENT handling.
4939
4940 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4941
4942         * gst/parse/grammar.y:
4943         Remove static function gst_parse_element_lock as all it does
4944         is return.  Looks like cruft from 0.8.
4945
4946 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4947
4948         Patch by: Josep Torre Valles <josep@fluendo.com>
4949
4950         * common/m4/gst-error.m4:
4951         * configure.ac:
4952         * libs/gst/net/Makefile.am:
4953         Fix a compilation issue with Forte on Solaris.  inet_aton is in
4954         libresolv.
4955
4956 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
4957
4958         * gst/gstpad.c: (pre_activate):
4959         * gst/gstregistry.c: (gst_registry_scan_path_level):
4960         * gst/gstregistryxml.c: (load_plugin):
4961         * libs/gst/controller/gstcontroller.c:
4962         (gst_controlled_property_set_interpolation_mode):
4963         * libs/gst/dataprotocol/dataprotocol.c:
4964         (gst_dp_packet_from_event_1_0):
4965         * libs/gst/net/gstnetclientclock.c:
4966         (gst_net_client_clock_observe_times):
4967         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4968           Printf fixes.
4969
4970 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
4971
4972         * configure.ac:
4973         * docs/gst/gstreamer-sections.txt:
4974         * gst/gstconfig.h.in:
4975         * gst/gstelement.h:
4976         * gst/gstinfo.h:
4977           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
4978           whether we can use G_GNUC_PRINTF in other header files and at
4979           least check the printf format/arguments of debug messages and
4980           GST_ELEMENT_ERROR messages when the printf extension is not
4981           being used.
4982           Replace more tabs with spaces in gstinfo.h and remove two spurious
4983           function declarations in GST_DISABLE_DEBUG part with macros.
4984
4985 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
4986
4987         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
4988           More docs for the sync-message signal (mention that it is not
4989           emitted by default); log message structures of messages posted on
4990           the bus as well.
4991
4992 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
4993
4994         * gst/gst.c: (ensure_current_registry_forking):
4995         Use a pipe pair to receive status results from the forked child, and
4996         ignore the result from waitpid. Fixes #355499
4997
4998 2006-10-02  Wim Taymans  <wim@fluendo.com>
4999
5000         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5001         (gst_ghost_pad_suite):
5002         Fix leak in check.
5003
5004 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
5005
5006         * gst/gstpad.c:
5007           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
5008
5009 2006-10-02  Edward Hervey  <edward@fluendo.com>
5010
5011         * docs/design/part-block.txt:
5012         Further explain the use of flushing on blocked pads.
5013         * docs/gst/gstreamer-sections.txt:
5014         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
5015         (gst_pad_push_event):
5016         * gst/gstpad.h:
5017         Added new GstPadFlag : GST_PAD_BLOCKING.
5018         Adds the notion of pads really blocking, which enables to properly
5019         handle FLUSH_START/FLUSH_STOP events on blocked pads.
5020         Fixes #358999
5021         API: gst_pad_is_blocking()
5022         API: GST_PAD_IS_BLOCKING() macro
5023         API: GST_PAD_BLOCKING GstPadFlag
5024         
5025 2006-10-02  Wim Taymans  <wim@fluendo.com>
5026
5027         Patch by: mrcgran <mrc.gran at gmail dot com>
5028
5029         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
5030         Filter the proxied caps against the padtemplate if we have one.
5031
5032         * gst/gstquery.c: (gst_query_new_segment):
5033         Add include for gstinfo.h so that compilation with
5034         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
5035
5036 2006-10-02  Wim Taymans  <wim@fluendo.com>
5037
5038         Patch by: Alessandro Decina  <alessandro at nnva org>
5039
5040         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
5041         (gst_file_sink_set_location), (gst_file_sink_open_file),
5042         (gst_file_sink_close_file), (gst_file_sink_event),
5043         (gst_file_sink_render):
5044         Set file to NULL when closing filesink so that we can set a new filename
5045         in READY. Fixes #358613.
5046
5047 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
5048
5049         Patch by: Alessandro Decina  <alessandro at nnva org>
5050
5051         * gst/gstevent.c: (_gst_event_copy):
5052           Fix gst_mini_object_make_writable() and gst_event_copy() for events
5053           with event structures by setting the parent refcount address of the
5054           copied structure to the address of the refcount member of the newly
5055           copied event rather than the address of the refcount member of the
5056           original event. Fixes #358737.
5057
5058         * tests/check/gst/gstevent.c: (GST_START_TEST):
5059           Unit test for the above.
5060
5061 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
5062
5063         * docs/design/Makefile.am:
5064           Dist some more files.
5065
5066 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5067
5068         * tests/check/libs/controller.c: (GST_START_TEST),
5069         (gst_controller_suite):
5070           Add test for the previous fix; add some more tests
5071           for correct refcounting behaviour; fix a few leaks
5072           in test cases; call gst_controller_init() at start
5073           of all tests.
5074
5075 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5076
5077         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5078         (gst_controller_set_from_list):
5079           Don't g_return_val_if_fail() on timed values with invalid timestamps
5080           inside a critical section without unlocking the mutex. Spotted by
5081           René Stadler. (#357617)
5082           Also, fix up refcounting properly: when returning an existing
5083           controller, we should increase the reference only once and not
5084           once per property and when trying to control a property again
5085           we should also increase the refcount.
5086
5087 2006-09-29  Wim Taymans  <wim@fluendo.com>
5088
5089         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5090         * libs/gst/net/gstnettimeprovider.c:
5091         (gst_net_time_provider_thread):
5092         Stop reading commands when EOF as well.
5093
5094         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
5095         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
5096         * plugins/elements/gstidentity.c: (gst_identity_class_init):
5097         Unify description of the dump property.
5098
5099 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
5100
5101         * tests/examples/manual/.cvsignore:
5102         OK, so it's actually cvsignore that needs changing. Stop laughing.
5103
5104 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
5105
5106         * tests/examples/manual/Makefile.am:
5107         Gah, declare vars *before* using them
5108
5109 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
5110
5111         * gst/gst.c: (init_pre), (scan_and_update_registry),
5112         (ensure_current_registry_nonforking),
5113         (ensure_current_registry_forking), (ensure_current_registry),
5114         (init_post), (gst_debug_help), (gst_deinit):
5115         * gst/gst_private.h:
5116         * gst/gstregistry.c: (gst_registry_finalize),
5117         (gst_registry_remove_features_for_plugin_unlocked),
5118         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5119         (gst_registry_scan_path),
5120         (_priv_gst_registry_remove_cache_plugins),
5121         (_priv_gst_registry_cleanup):
5122         * gst/gstregistry.h:
5123         Re-commit the registry changes, along with an extra fix:
5124           When a cached plugin is encountered at a different file path,
5125           update the stored path in the registry cache so that the parent
5126           process knows where it actually is now when it re-reads the registry
5127           cache. Fixes the thing that broke distcheck with the previous commit.
5128
5129         * tests/check/Makefile.am:
5130         Clean up files named 'core' too when running make clean.
5131
5132         * tests/examples/manual/Makefile.am:
5133         Set up a registry path for running these tests, and clean it properly
5134         for distcheck.
5135
5136 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
5137
5138         * configure.ac:
5139         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
5140         want gmodule-no-export-2.0.pc instead so that we don't drag in
5141         --export-dynamic on every project that links to GStreamer.
5142
5143         Also, make our export regex only match the start of symbols, rather 
5144         than any symbol that contains '_gst' somewhere.
5145
5146         * libs/gst/check/Makefile.am:
5147         The libgstcheck we build does however need export-dynamic, as it
5148         produces some symbols that don't match our _gst... style regex.
5149         Fixes: #318031
5150
5151 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
5152
5153         * gst/gst.c: (init_pre), (scan_and_update_registry),
5154         (ensure_current_registry_nonforking),
5155         (ensure_current_registry_forking), (ensure_current_registry),
5156         (init_post), (gst_debug_help), (gst_deinit):
5157         * gst/gst_private.h:
5158         * gst/gstregistry.c: (gst_registry_finalize),
5159         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5160         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
5161         (_gst_registry_cleanup):
5162         * gst/gstregistry.h:
5163           Revert previous change until I figure out why it breaks distcheck.
5164
5165 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
5166
5167         * gst/gst.c: (init_pre), (scan_and_update_registry),
5168         (ensure_current_registry_nonforking),
5169         (ensure_current_registry_forking), (ensure_current_registry),
5170         (init_post), (gst_debug_help), (gst_deinit):
5171
5172           Make init_pre and init_post take the full complement of GOptionFunc
5173           args so they can return useful GErrors. Make the registry updating
5174           functions do so.
5175
5176           Call _priv_gst_registry_remove_cache_plugins after scanning files to
5177           ensure that the registry we're about to write out doesn't contain
5178           stale information about old-deleted plugin files.
5179
5180           Make _priv_gst_registry_remove_cache_plugins return a boolean so
5181           that deletion of plugin files is considered a registry change.
5182
5183         * gst/gst_private.h:
5184         * gst/gstregistry.c: (gst_registry_finalize),
5185         (gst_registry_remove_features_for_plugin_unlocked),
5186         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5187         (gst_registry_scan_path),
5188         (_priv_gst_registry_remove_cache_plugins),
5189         (_priv_gst_registry_cleanup):
5190         * gst/gstregistry.h:
5191         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
5192         by adding _priv prefix, so that they won't appear in the global
5193         symbol table. They still do atm though because of #318031. Move the
5194         prototypes to gst_private.h
5195
5196         When removing a plugin, remove all features for that plugin too. 
5197         Fixes #340878.
5198
5199 2006-09-27  Wim Taymans  <wim@fluendo.com>
5200
5201         * docs/random/moving-plugins:
5202         Make it clear that the "compiled-in descriptions" really mean
5203         the element details.
5204
5205         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5206         (gst_base_sink_wait_preroll):
5207         Update docs.
5208
5209         * docs/libs/gstreamer-libs-sections.txt:
5210         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5211         (gst_base_src_get_range), (gst_base_src_activate_push):
5212         * libs/gst/base/gstbasesrc.h:
5213         Added function to block while waiting for PLAYING, this function
5214         is used by live sources that block on the clock.
5215         API: gst_base_src_wait_playing()
5216
5217 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5218
5219         Patch by: Peter Kjellerstedt <pkj at axis com>
5220
5221         * Makefile.am:
5222           gst-element-check.m4 is generated and should therefore be
5223           copied from the build dir rather than the source dir (#357593).
5224           'make distcheck' hasn't noticed this because we were disting
5225           the file as well, so stop doing that.
5226
5227 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5228
5229         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5230           Add some tests for gst_caps_intersect().
5231
5232         * tools/gst-launch.c: (event_loop):
5233           Print all buffering percentages we get, even the 100% one.
5234
5235 2006-09-26  Wim Taymans  <wim@fluendo.com>
5236
5237         * tools/gst-inspect.c: (print_element_properties_info),
5238         (print_signal_info):
5239         Fix printing of flags to match the look of enums.
5240
5241 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
5242
5243         * gst/gstelementfactory.c:
5244           Fix typo in docs blurb.
5245
5246 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
5247
5248         * gst/gsturi.c: (search_by_entry):
5249           Don't assert/crash here if a uri handler doesn't return any
5250           supported protocols. The list of protocols could be generated
5251           dynamically at runtime or at plugin registration, and an error
5252           in the underlying library shouldn't be fatal (#353301).
5253
5254 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
5255
5256         * gst/gstinfo.c:
5257           Fix warning if HAVE_PRINTF_EXTENSION is undefined
5258           (spotted by Peter Kjellerstedt).
5259
5260 2006-09-23  Wim Taymans  <wim@fluendo.com>
5261
5262         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
5263
5264         * libs/gst/base/gstbasesrc.c:
5265         (gst_base_src_default_check_get_range), (gst_base_src_start),
5266         (gst_base_src_activate_push), (gst_base_src_activate_pull),
5267         (gst_base_src_change_state):
5268         Match _start/_stop calls in the activate functions. Remove redundant
5269         _stop call from the state change function. Fixes #356910.
5270         Turn failure DEBUG into ERROR. 
5271
5272 2006-09-22  Wim Taymans  <wim@fluendo.com>
5273
5274         * docs/design/part-buffering.txt:
5275         * gst/gstmessage.c: (gst_message_new_buffering),
5276         (gst_message_parse_buffering):
5277         Update docs about buffering.
5278
5279         * docs/design/part-trickmodes.txt:
5280         Fix typo.
5281
5282 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
5283
5284         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5285         (gst_controller_new_list):
5286           Ref instances when returning them again (fixes #357180)
5287
5288 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5289
5290         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
5291           Don't forget to release proxy lock when there's an error.
5292
5293 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
5294
5295         * gst/gstcaps.h:
5296           Add extra initialisers for Caps things, to fix some plugin warnings
5297           when using -Wextra
5298
5299 2006-09-18  Wim Taymans  <wim@fluendo.com>
5300
5301         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5302           Also set template on the internal pad so that a getcaps from the 
5303           target pad returns the template caps.
5304
5305 2006-09-18  Wim Taymans  <wim@fluendo.com>
5306
5307         * gst/gstelement.c: (gst_element_post_message),
5308         (gst_element_dispose):
5309         Use _DEBUG_OBJECT some more.
5310
5311         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5312         Avoid typechecks.
5313
5314         * tools/gst-launch.c: (main):
5315         If the toplevel element is not a GstPipeline, it must be put in a
5316         pipeline so that a bus and clock is selected.
5317
5318 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
5319
5320         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
5321           JITTER, RATE, and LATENCY query should be handled by the
5322           default case and not by the CONVERT query code.
5323
5324 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
5325
5326         * gst/gstformat.c: (gst_format_register):
5327           Fix locking order (must take lock before using n_values).
5328
5329         * gst/gstvalue.c: (gst_value_serialize_enum),
5330         (gst_value_deserialize_enum_iter_cmp),
5331         (gst_value_deserialize_enum):
5332           Fix serialisation/deserialisation of custom registered GstFormats.
5333
5334         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5335           Unit test for custom format serialisation/deserialisation.
5336
5337 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
5338
5339         * docs/pwg/building-boiler.xml:
5340         * plugins/elements/gstcapsfilter.c:
5341         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
5342         section.
5343
5344 2006-09-16  Edward Hervey  <edward@fluendo.com>
5345
5346         * libs/gst/base/gstbasetransform.c:
5347         (gst_base_transform_buffer_alloc):
5348         Check if requested caps are the same as the sinks caps IF
5349         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
5350         is FALSE.
5351         This fixes the renegotiation issues stated in #352827.
5352
5353 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5354
5355         * configure.ac:
5356         * docs/manual/advanced-autoplugging.xml:
5357         * tests/examples/Makefile.am:
5358         * tests/examples/manual/.cvsignore:
5359         * tests/examples/manual/Makefile.am:
5360         * tests/examples/manual/extract.pl:
5361           Extract the manual examples again like we used to do.
5362           Fix one of them.
5363
5364 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5365
5366         * win32/common/config.h:
5367           update for version
5368
5369 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
5370
5371         * gst/gsterror.c:
5372           Documents how to receive errors.
5373
5374 2006-09-15  Wim Taymans  <wim@fluendo.com>
5375
5376         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
5377         (event_loop), (main):
5378         Added some comments here and there.
5379         Post an application message when an interrupt is caught instead of doing
5380         an uncontrolled state change.
5381         Clean up the event loop.
5382         Handle buffering messages, pause/resume the pipeline.
5383         Make shutdown because of an interrupt more reliable.
5384
5385 2006-09-15  Wim Taymans  <wim@fluendo.com>
5386
5387         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5388         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
5389         (gst_base_sink_preroll_object):
5390         Make sure that our internal state is correct when we commit our state
5391         asynchronously. This solves a race where a state change to PLAYING
5392         could cause the sink to remain blocked in preroll in some situations.
5393
5394 2006-09-15  Wim Taymans  <wim@fluendo.com>
5395
5396         * tools/gst-inspect.c: (print_element_properties_info),
5397         (print_signal_info):
5398         List flags as hex so it's easier to deal with.
5399
5400 2006-09-15  Wim Taymans  <wim@fluendo.com>
5401
5402         * docs/libs/gstreamer-libs-sections.txt:
5403         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
5404         (gst_base_sink_do_sync):
5405         * libs/gst/base/gstbasesink.h:
5406         Expose logic to wait for preroll so that subclasses such as audiosink
5407         can also use this method.
5408         API: gst_base_sink_wait_preroll()
5409
5410 2006-09-15  Wim Taymans  <wim@fluendo.com>
5411
5412         * gst/gstobject.c: (gst_object_set_parent):
5413         * gst/gstpipeline.c: (do_pipeline_seek):
5414         Small cleanups in docs and code.
5415
5416         * gst/gstsegment.c: (gst_segment_clip):
5417         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5418         if stop == start and start is in the segment, no clipping should be
5419         done. Also add a test for this.
5420
5421 2006-09-15  Wim Taymans  <wim@fluendo.com>
5422
5423         * docs/design/part-buffering.txt:
5424         * docs/gst/gstreamer-sections.txt:
5425         * gst/gstmessage.c: (gst_message_new_buffering),
5426         (gst_message_parse_buffering):
5427         * gst/gstmessage.h:
5428         Added methods to create and parse BUFFERING messages.
5429         Added preliminary docs about buffering.
5430         API: gst_message_new_buffering
5431         API: gst_message_parse_buffering
5432
5433 2006-09-06  Wim Taymans  <wim@fluendo.com>
5434
5435         * gst/gstbin.c:
5436         Update documentation.
5437
5438         * gst/gstelement.c: (gst_element_class_init),
5439         (gst_element_release_request_pad), (gst_element_set_clock),
5440         (gst_element_get_index), (gst_element_add_pad),
5441         (gst_element_remove_pad), (gst_element_get_random_pad),
5442         (gst_element_send_event), (gst_element_get_query_types),
5443         (gst_element_query), (gst_element_post_message),
5444         (gst_element_message_full), (gst_element_continue_state),
5445         (gst_element_lost_state), (gst_element_save_thyself),
5446         (gst_element_restore_thyself):
5447         Documentation updates.
5448         Rename last bit of the new-pad -> pad-added signal rename.
5449         Fix the case where an element query would only work if the source
5450         pad was linked.
5451         Avoid some useless type checking in message handling.
5452
5453         * gst/gstevent.c:
5454         * gst/gstevent.h:
5455         * gst/gstutils.c:
5456         Documentation updates.
5457
5458 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
5459
5460         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5461           add an INFO line for when we actually update the fd
5462
5463 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
5464
5465         * configure.ac:
5466           back to TRUNK
5467
5468 === release 0.10.10 ===
5469
5470 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
5471
5472         * configure.ac:
5473           releasing 0.10.10, "Pais"
5474
5475 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
5476
5477         * docs/manual/advanced-position.xml:
5478           Fix typo in sample code.
5479
5480 2006-09-05  Wim Taymans  <wim@fluendo.com>
5481
5482         * libs/gst/net/gstnetclientclock.c: (inet_aton),
5483         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
5484         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
5485         * libs/gst/net/gstnetclientclock.h:
5486         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5487         * libs/gst/net/gstnettimepacket.h:
5488         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
5489         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
5490         (gst_net_time_provider_thread), (gst_net_time_provider_new):
5491         * libs/gst/net/gstnettimeprovider.h:
5492         Make stuff compile on windows. Fixes #345295.
5493
5494 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
5495
5496         * gst/gst.c: (ensure_current_registry_forking):
5497           Print better details when child was terminated by signal.
5498
5499 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
5500
5501         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
5502           Print a warning rather than g_assert() if a plugin feature
5503           is a URI handler but returns no protocols (#353976).
5504
5505 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
5506
5507         * docs/random/moving-plugins:
5508         Fix two typos.         
5509
5510 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
5511
5512         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
5513           Fix locking order, handle NULL function values properly.
5514
5515         * gst/gstinfo.h:
5516           Fix docs.
5517
5518         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
5519           Initialise variable before using it and fix debug statement to
5520           print the address of the function rather than the address of the
5521           variable on the stack holding the address of the function.
5522
5523 2006-09-01  Wim Taymans  <wim@fluendo.com>
5524
5525         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
5526         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
5527         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
5528         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
5529         (gst_ghost_pad_parent_unset),
5530         (gst_ghost_pad_internal_do_activate_push),
5531         (gst_ghost_pad_internal_do_activate_pull),
5532         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5533         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5534         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
5535         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
5536         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
5537         (gst_ghost_pad_new_no_target_from_template),
5538         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5539         More cleanups.
5540         Avoid needless typechecking in macros.
5541         Since the internal pad is always present and never changes, there is
5542         no need to locking or ref when retrieving it.
5543         Improve debugging a bit.
5544         Handle link errors when setting the target. Fixes #341029.
5545
5546 2006-09-01  Wim Taymans  <wim@fluendo.com>
5547
5548         * docs/libs/gstreamer-libs-sections.txt:
5549         * docs/plugins/gstreamer-plugins-sections.txt:
5550         Fix docs some more.
5551
5552         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5553         (gst_collect_pads_event):
5554         * libs/gst/base/gstcollectpads.h:
5555         Documentation updates.
5556         Free queued buffer when removing a pad.
5557
5558 2006-08-31  Michael Smith  <msmith@fluendo.com>
5559
5560         * gst/gstutils.c: (gst_element_link_pads),
5561         (gst_element_link_pads_filtered):
5562           Ensure that we set a capsfilter to NULL if we failed to link it
5563           when doing filtered linking, to avoid criticals.
5564
5565           No need to check for unreffing srcpad, which is explicly NULLed
5566           above (a trivial code cleanup).
5567
5568 2006-08-31  Wim Taymans  <wim@fluendo.com>
5569
5570         * docs/design/part-gstghostpad.txt:
5571         Update ascii art in documentation.
5572
5573         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
5574         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
5575         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
5576         (gst_ghost_pad_internal_do_activate_push),
5577         (gst_ghost_pad_internal_do_activate_pull),
5578         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5579         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5580         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
5581         (gst_ghost_pad_set_target):
5582         Small cleanups and leak fixes.
5583         Remove some checks now that the internal pad is never NULL.
5584         Fix the case where linking pads without a target would create nasty
5585         criticals. Fixes #341029.
5586         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
5587         value of _set_target().
5588
5589         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5590         (gst_ghost_pad_suite):
5591         Some more tests for creating and linking untargeted ghostpads.
5592
5593 2006-08-31  Edward Hervey  <edward@fluendo.com>
5594
5595         * docs/gst/gstreamer-sections.txt:
5596         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
5597         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
5598         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
5599         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
5600         (gst_ghost_pad_new_from_template),
5601         (gst_ghost_pad_new_no_target_from_template):
5602         * gst/gstghostpad.h:
5603         Refactored *_new() functions.
5604         Templates are now used as a g_object_new() parameter.
5605         Use template in _do_getcaps() if we don't have a target.
5606         Small documentation cleanups.
5607         Added two new constructors:
5608         gst_ghost_pad_new_from_template()
5609         gst_ghost_pad_new_no_target_from_template()
5610         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5611         (gst_ghost_pad_suite):
5612         Added tests for new ghostpad instanciation functions.
5613
5614         API additions: gst_ghost_pad_new_from_template,
5615         gst_ghost_pad_new_no_target_from_template
5616
5617 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
5618
5619         * docs/random/ensonic/profiling.txt:
5620           Ideas about qos profiling.
5621
5622 2006-08-29  Wim Taymans  <wim@fluendo.com>
5623
5624         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
5625         Code cleanups.
5626         Fix memleak.
5627
5628 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
5629
5630         * gst/gstxml.c:
5631           Improve and detypofy docs.
5632
5633         * tests/check/Makefile.am:
5634         * tests/check/gst/.cvsignore:
5635         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
5636           Add a basic test suite for GstXML.
5637
5638 2006-08-29  Wim Taymans  <wim@fluendo.com>
5639
5640         * gst/gstelement.c: (activate_pads), (clear_caps),
5641         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
5642         Clear the pad caps when the element shut down all of the pads and
5643         is not streaming data that could modify the caps. 
5644         Fixes #352958.
5645
5646 2006-08-28  Michael Smith  <msmith@fluendo.com>
5647
5648         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5649           Revert previous change; I misunderstood single-segment mode.
5650
5651 2006-08-28  Michael Smith  <msmith@fluendo.com>
5652
5653         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5654           Unset DISCONT on buffers when using single-segment mode.
5655
5656 2006-08-28  Wim Taymans  <wim@fluendo.com>
5657
5658         * gst/gstcaps.c: (gst_caps_merge_structure):
5659         * gst/gstcaps.h:
5660         Fix docs and indentation again.
5661
5662         * tests/check/gst/gstquery.c: (GST_START_TEST):
5663         Fix leak in tests and add some more tests.
5664
5665 2006-08-28  Edward Hervey  <edward@fluendo.com>
5666
5667         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5668         Inform GstSegment of the last stop position in order for the current
5669         segment to have a proper duration if it doesn't have a specific stop
5670         position from which a duration could be calculated.
5671         This bug was noticeable when a non-flushing, non-update new segment was
5672         followed by another segment (all buffers from the new segment were being
5673         dropped).
5674
5675 2006-08-28  Wim Taymans  <wim@fluendo.com>
5676
5677         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
5678         Small comment update.
5679
5680         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5681         (gst_identity_transform_ip):
5682         Drop-probability is broken, mention this in the code with a 
5683         FIXME and also in the property description.
5684         Make silent also be silent about the drop messages.
5685
5686 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
5687
5688         * docs/manual/appendix-win32.xml:
5689           Remove mention of popt, we don't depend on that any
5690           longer (#353136). Add some comments pointing out that
5691           this section is slightly outdated.
5692
5693 2006-08-28  Wim Taymans  <wim@fluendo.com>
5694
5695         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
5696
5697         * gst/gstquery.c: (gst_query_new_segment):
5698         * tests/check/gst/gstquery.c: (GST_START_TEST):
5699         Initialize variables when creating a new segment query.
5700         Fixes #353121.
5701
5702 2006-08-28  Wim Taymans  <wim@fluendo.com>
5703
5704         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
5705
5706         * gst/gstelement.c: (gst_element_get_bus):
5707         * tests/check/gst/gstelement.c: (GST_START_TEST):
5708         Check for NULL before _reffing the bus. Fixes #353122.
5709
5710 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
5711
5712         * docs/manual/basics-bus.xml:
5713           Docs update: fix wrong callback return value explanation; add
5714           some lines about the implicit relationship between main loop
5715           and main context; remove duplicate main loop variable declaration.
5716
5717 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
5718
5719         * tests/check/gst/gstcaps.c: (GST_START_TEST):
5720           Don't leak caps in unit test; add a few more simple
5721           checks. 
5722
5723 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
5724
5725         * docs/gst/gstreamer-sections.txt:
5726         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
5727         (gst_caps_structure_is_subset), (gst_caps_merge),
5728         (gst_caps_merge_structure):
5729         * gst/gstcaps.h:
5730         * libs/gst/base/gstbasetransform.c:
5731         (gst_base_transform_transform_caps):
5732         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5733           implement caps merging (fixes #352580)
5734
5735 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
5736
5737         * tools/Makefile.am:
5738         * tools/gst-plot-timeline.py:
5739           add debug-log plotting developer tool (#340674)
5740
5741 2006-08-23  Wim Taymans  <wim@fluendo.com>
5742
5743         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
5744         (gst_pad_stop_task):
5745         Improve debugging for task functions.
5746
5747         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
5748         (gst_task_start), (gst_task_pause), (gst_task_join):
5749         Make sure that the task function started and finished after a 
5750         join(). 
5751         Don't try to push the task function on the threadpool multiple
5752         times.
5753         Improve the g_warning message with some useful suggestions
5754         about how to fix the problem. 
5755
5756 2006-08-23  Wim Taymans  <wim@fluendo.com>
5757
5758         * gst/gstutils.c: (gst_pad_proxy_getcaps):
5759         Handle RESYNC correctly in _proxy_getcaps.
5760
5761 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
5762
5763         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
5764         (gst_xml_parse_memory), (gst_xml_get_element):
5765           Chain up to parent class in dispose function and also
5766           unref the elements in the toplevel_elements GList.
5767           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
5768           Always return a reference in gst_xml_get_element() rather
5769           than only sometimes.
5770
5771         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
5772           Don't leak GstXml object.
5773
5774 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
5775
5776         * docs/gst/gstreamer-sections.txt:
5777         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
5778         (gst_caps_merge):
5779         * gst/gstcaps.h:
5780         * libs/gst/base/gstbasetransform.c:
5781         (gst_base_transform_transform_caps):
5782           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
5783           in a better way
5784
5785 2006-08-21  Edward Hervey  <edward@fluendo.com>
5786
5787         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
5788         Implement GObject::dispose virtual method in GstXML so we can free the
5789         top_elements GList.
5790
5791 2006-08-21  Wim Taymans  <wim@fluendo.com>
5792
5793         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
5794         (gst_buffer_create_sub):
5795         Copy duration/offset_end/caps when creating a subbuffer of the
5796         complete parent.
5797         Make the subbuffer read-only when we make the metadata writable for
5798         now. Fixes #351768.
5799
5800         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
5801         Added check for metadata copy when creating subbuffers.
5802
5803 2006-08-21  Edward Hervey  <edward@fluendo.com>
5804
5805         * libs/gst/base/gstbasetransform.c:
5806         (gst_base_transform_buffer_alloc):
5807         Only call downstream buffer_alloc if transform element is passthrough
5808         or always_in_place. Closes #350449.
5809
5810 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
5811
5812         * ChangeLog:
5813           ChangeLog surgery to add comments to previous changes
5814
5815 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
5816
5817         * gst/gst.c:
5818           Add comments
5819
5820         * gst/gstpad.c: (gst_pad_set_active):
5821           Be more verbose in the log
5822
5823         * libs/gst/base/gstbasetransform.c:
5824         (gst_base_transform_transform_caps):
5825           Simplify caps to get rid of duplicates, fixes #345444
5826
5827 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
5828
5829         * gst/gstvalue.c:
5830         * gst/gstvalue.h:
5831           Use these optimizations only internally.
5832
5833 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
5834
5835         * gst/gstvalue.c: (gst_value_compare_list),
5836         (gst_value_compare_fraction_range),
5837         (gst_value_intersect_fraction_fraction_range),
5838         (gst_value_intersect_fraction_range_fraction_range),
5839         (gst_value_subtract_fraction_fraction_range),
5840         (gst_value_subtract_fraction_range_fraction_range),
5841         (gst_value_get_compare_func), (gst_value_compare),
5842         (gst_value_compare_with_func):
5843         * gst/gstvalue.h:
5844           Saves the expensive lookup of the compare function in many cases
5845          (#345444)
5846
5847 2006-08-18  Edward Hervey  <edward@fluendo.com>
5848
5849         * tests/check/gst/gstinfo.c: (gst_info_suite):
5850         Disable test that require gstdebug if it wasn't built in core.
5851
5852 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
5853
5854         * docs/random/ensonic/logging.txt:
5855           update ideas
5856           
5857         * gst/gstinfo.c: (gst_debug_log_default):
5858           reorder fields, save some columns, add optional color codes for log
5859           levels
5860
5861 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
5862
5863         * docs/random/ensonic/logging.txt:
5864           add ideas about making the logs a bit more useful
5865
5866 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
5867
5868         * docs/pwg/advanced-events.xml:
5869         * docs/pwg/titlepage.xml:
5870           Update for 0.10 API (#340627). Add myself
5871           to authors list.
5872
5873 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
5874
5875         * docs/libs/gstreamer-libs-docs.sgml:
5876         * docs/libs/gstreamer-libs-sections.txt:
5877         * libs/gst/check/gstbufferstraw.c:
5878           Make gstcheck stuff show up in docs (still needs to
5879           be documented properly though).
5880
5881 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
5882
5883         * docs/gst/gstreamer-sections.txt:
5884         * gst/Makefile.am:
5885         * gst/gst.c: (init_post):
5886         * gst/gst_private.h:
5887         * gst/gstquark.c: (_priv_gst_quarks_initialize):
5888         * gst/gstquark.h:
5889         * gst/gstquery.c: (gst_query_new_position),
5890         (gst_query_set_position), (gst_query_parse_position),
5891         (gst_query_new_duration), (gst_query_set_duration),
5892         (gst_query_parse_duration), (gst_query_new_convert),
5893         (gst_query_set_convert), (gst_query_parse_convert),
5894         (gst_query_new_segment), (gst_query_set_segment),
5895         (gst_query_parse_segment), (gst_query_new_seeking),
5896         (gst_query_set_seeking), (gst_query_parse_seeking):
5897         Add internal helpers for pre-registering quarks from static strings
5898         and using the quark values directly instead of looking them up when
5899         creating and parsing queries. Can be used for event construction too.
5900         Closes #350432.
5901
5902 2006-08-16  Wim Taymans  <wim@fluendo.com>
5903
5904         * gst/gstbin.c:
5905         Fix bogus docs.
5906
5907 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
5908
5909         * gst/gstutils.c: (gst_util_set_value_from_string):
5910           Fix memleak (#351502).
5911
5912         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5913           Add unit test for most of gst_util_set_value_from_string()
5914           (not that one would want to encourage use of this function).
5915
5916 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
5917
5918         * libs/gst/check/gstcheck.h:
5919           Use const gchar * variables in fail_unless_equals_string
5920           macro to avoid compiler warnings (and don't use tabs for
5921           indenting).
5922
5923 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
5924
5925         * tools/gst-launch.c: (print_tag):
5926           More space on the left for the tag names, to cater
5927           for the 'extended comment' tag (not touching the
5928           string for the first line since it's translated).
5929
5930 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
5931
5932         * libs/gst/check/gstcheck.h:
5933           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
5934           print something when they fail.
5935
5936 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
5937
5938         * docs/gst/gstreamer-sections.txt:
5939         * gst/gsttaglist.c: (_gst_tag_initialize):
5940         * gst/gsttaglist.h:
5941           API: add GST_TAG_EXTENDED_COMMENT (#350935).
5942           Also change merge function for GST_TAG_COMMENT to
5943           use_first.
5944
5945 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
5946
5947         * gst/gstinfo.c: (gst_debug_print_object):
5948           Make GST_PTR_FORMAT print messages as well.
5949
5950         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
5951         (GST_START_TEST), (gst_info_suite):
5952           More tests.
5953
5954 2006-08-14  Edward Hervey  <edward@fluendo.com>
5955
5956         * gst/gstelementfactory.c: (gst_element_register):
5957         If the GstElementClass doesn't have a GstElementDetails with all fields
5958         filled up correctly (longname, description AND author), then error out
5959         nicely instead of crashing.
5960
5961 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
5962
5963         * gst/gststructure.c:
5964           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
5965
5966         * gst/gstvalue.h:
5967           Expand on the difference between arrays and lists as we use them.
5968           
5969 2006-08-14  Wim Taymans  <wim@fluendo.com>
5970
5971         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5972         If the parent state change function failed, don't assume we can safely
5973         stop the source, this will be done when the pads are deactivated.
5974
5975 2006-08-14  Wim Taymans  <wim@fluendo.com>
5976
5977         * gst/gstbuffer.c:
5978         * gst/gsttask.c: (gst_task_join):
5979         Small doc updates.
5980
5981         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
5982         (gst_pad_stop_task):
5983         When pad (de)activation failed for some reason, restore the old
5984         activation mode and set the pad to flushing instead of assuming the
5985         pad is deactivated.
5986         If the _task_join() failed, reinstall the task on the pad so that it can
5987         be stopped later and return an error.
5988
5989 2006-08-11  Andy Wingo  <wingo@pobox.com>
5990
5991         * configure.ac:
5992         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
5993         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
5994         is only for users of API that don't want to see deprecated
5995         functions in the headers; people that want to compile out
5996         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
5997         CFLAGS. Fixes the build of multifdsink, or will soon..
5998
5999 2006-08-11  Wim Taymans  <wim@fluendo.com>
6000
6001         * docs/gst/gstreamer-sections.txt:
6002         Add GstClockClass vmethod docs.
6003
6004         * gst/gstcaps.h:
6005         Mark #endif with comment for associated #if
6006
6007         * gst/gstclock.c: (gst_clock_id_wait):
6008         * gst/gstclock.h:
6009         Add vmethod wait_jitter to avoid an unneeded _get_time() for
6010         most clock implementations.
6011         Document vmethods.
6012         Flesh out docs about resolution methods.
6013         API: GstClockClass::wait_jitter
6014
6015         * gst/gstsystemclock.c: (gst_system_clock_class_init),
6016         (gst_system_clock_async_thread),
6017         (gst_system_clock_id_wait_jitter_unlocked),
6018         (gst_system_clock_id_wait_jitter):
6019         Use base class wait_jitter variant for improved performance
6020         due to less clock polling.
6021
6022 2006-08-11  Edward Hervey  <edward@fluendo.com>
6023
6024         * gst/gst.c: (gst_init_check), (init_post):
6025         Set gst as being initialized before scanning/updating the registry,
6026         since there might be my python plugin loader that calls gst_init() and
6027         we don't want to loop back in.
6028         Closes #350879
6029
6030 2006-08-11  Wim Taymans  <wim@fluendo.com>
6031
6032         * docs/design/part-qos.txt:
6033         Bring docs in line with the code. Mostly the sign of the jitter was
6034         wrong in the docs. Fixes #349943.
6035
6036         * gst/gstclock.c:
6037         Fix the docs for the jitter.
6038
6039         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
6040         (gst_event_parse_tag), (gst_event_new_buffer_size),
6041         (gst_event_parse_buffer_size), (gst_event_parse_qos),
6042         (gst_event_new_seek), (gst_event_parse_seek),
6043         (gst_event_new_navigation):
6044         Make sure the GstStructure has no parent when creating custom
6045         events.
6046         Add some more argument checking so that we avoid 0.0 rates.
6047         Flesh out the docs for the QoS event some more.
6048
6049 2006-08-11  Wim Taymans  <wim@fluendo.com>
6050
6051         * docs/gst/gstreamer-sections.txt:
6052         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
6053         (ensure_current_registry_forking), (ensure_current_registry),
6054         (parse_one_option), (parse_goption_arg), (gst_deinit),
6055         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
6056         * gst/gst.h:
6057         Doc updates.
6058         Added API and command line option to disable registry forking in
6059         addition to the environment variable.
6060         Constify some static arrays.
6061         Added some more debug.
6062         Don't deinit twice.
6063         API: gst_registry_fork_is_enabled()
6064         API: gst_registry_fork_set_enabled()
6065         API: --gst-disable-registry-fork command line option
6066         Fixes #348918.
6067
6068 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
6069
6070         * gst/gst.c: (gst_init):
6071           Fix typo in error message.
6072
6073 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
6074
6075         * libs/gst/controller/gstcontroller.h:
6076           fix ABI size-correction
6077
6078         * tests/check/libs/gdp.c: (gst_dp_suite):
6079           make tests that use deprecated API conditional
6080
6081 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
6082
6083         * docs/libs/gstreamer-libs-sections.txt:
6084         * libs/gst/controller/gstcontroller.c:
6085         (_gst_controller_get_property), (_gst_controller_set_property),
6086         (_gst_controller_init), (_gst_controller_class_init):
6087         * libs/gst/controller/gstcontroller.h:
6088         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
6089         (gst_object_set_control_rate):
6090           API: add gst_object_{s,g}et_control_rate(), add private data section,
6091           fix docs
6092
6093         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
6094         * libs/gst/dataprotocol/dataprotocol.h:
6095           add deprecation guards to make gtk-doc happy and allow disabling cruft
6096
6097 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
6098
6099         * tests/check/Makefile.am:
6100         * tests/check/gst/.cvsignore:
6101           Let's enable the new unit test as well.
6102
6103 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
6104
6105         * configure.ac:
6106         * docs/gst/gstreamer-sections.txt:
6107         * gst/gstconfig.h.in:
6108         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
6109         (_gst_info_printf_extension_ptr),
6110         (_gst_info_printf_extension_segment):
6111           API: add GST_SEGMENT_FORMAT, which is a printf extension we
6112           register that lets us easily dump GstSegments into debug
6113           logs (#350419).
6114
6115         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
6116         (info_segment_format_printf_extension), (gst_info_suite):
6117           Add simple unit test that logs a bunch of different segments (not
6118           valgrinded at the moment because of leaks in
6119           gst_debug_add_log_function).
6120
6121 2006-08-09  Edward Hervey  <edward@fluendo.com>
6122
6123         * libs/gst/base/gstbasetransform.c:
6124         (gst_base_transform_buffer_alloc):
6125         Even if we can't figure out the proper format to request downstream,
6126         call buffer_alloc() downstream with the input parameters without setting
6127         the caps on the srcpad. This will force negotiation in the chain
6128         function.
6129         Closes #350449
6130
6131 2006-08-08  Edward Hervey  <edward@fluendo.com>
6132
6133         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
6134         Unlinking from a pad without a target is now a perfectly valid case
6135         which should NOT raise an assertion.
6136         This case would happen if a linked ghostpad its target set to NULL after
6137         it was previously linked.
6138
6139 2006-08-08  Edward Hervey  <edward@fluendo.com>
6140
6141         * tests/check/libs/gdp.c:
6142         Also comment out the test (see below).
6143
6144 2006-08-08  Edward Hervey  <edward@fluendo.com>
6145
6146         * tests/check/libs/gdp.c: (gst_dp_suite):
6147         Use the architecture information from config.h and not gcc macros
6148         in order to properly disable a test that fails on PPC64.
6149
6150 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
6151
6152         * gst/gstelement.c: (gst_element_remove_pad):
6153           Don't crash printing the warning if the pad has no parent.
6154
6155 2006-08-02  Wim Taymans  <wim@fluendo.com>
6156
6157         * libs/gst/dataprotocol/dataprotocol.c:
6158         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
6159         (gst_dp_crc), (gst_dp_header_payload_length),
6160         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
6161         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
6162         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
6163         (gst_dp_event_from_packet), (gst_dp_validate_header),
6164         (gst_dp_validate_payload):
6165         Make debug category static
6166         Constify the crc table.
6167         Do some more arg checking in public functions.
6168         Fix some docs and do some small cleanups.
6169
6170         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
6171         Add some more checks to see if GDP deals with bogus input.
6172
6173 2006-07-31  Wim Taymans  <wim@fluendo.com>
6174
6175         * gst/gstvalue.c: (gst_value_compare_list):
6176         Fix GstValueList comparison code. Fixes #347293.
6177
6178         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6179         Check to test GstValueList comparison.
6180
6181 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
6182
6183         * gst/gstelementfactory.c: (gst_element_factory_create):
6184         Remove unnecessary ref/unref pair
6185
6186         * gst/parse/grammar.y:
6187         Make sure to free the parse buffer on all code paths.
6188         Move a g_free up to the error handler where it's easier to see.
6189
6190         * tests/check/gst/gstevent.c: (test_event):
6191         Extending timeout for downstream travelling events to 10 seconds to
6192         hopefully avoid intermittent failure on the buildbots.
6193
6194         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
6195         Don't manually set the state of the src element - it will happen as a
6196         natural consequence of the pipeline changing state, and that way it
6197         will do it in the right order too.
6198
6199 2006-07-31  Wim Taymans  <wim@fluendo.com>
6200
6201         * libs/gst/base/gstbasetransform.c:
6202         (gst_base_transform_buffer_alloc):
6203         Use OBJECT_LOCK and refcounting to get the pad caps in the
6204         buffer_alloc function because the caps could change while we are
6205         busy with them. Fixes #349105
6206
6207 2006-07-31  Wim Taymans  <wim@fluendo.com>
6208
6209         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
6210         Protect _PAD_CAPS with OBJECT_LOCK.
6211
6212 2006-07-31  Wim Taymans  <wim@fluendo.com>
6213
6214         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
6215         (gst_pad_get_property), (gst_pad_activate_pull),
6216         (gst_pad_activate_push), (gst_pad_set_blocked_async),
6217         (gst_pad_set_activate_function),
6218         (gst_pad_set_activatepull_function),
6219         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
6220         (gst_pad_set_getrange_function),
6221         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
6222         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
6223         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
6224         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
6225         (gst_pad_set_acceptcaps_function),
6226         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
6227         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
6228         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
6229         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
6230         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
6231         (gst_pad_configure_sink), (gst_pad_configure_src),
6232         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
6233         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
6234         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
6235         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
6236         (gst_pad_send_event):
6237         Use _DEBUG_OBJECT when it makes sense.
6238         Protect GST_PAD_CAPS with the OBJECT_LOCK.
6239         Small cleanups and code reflows.
6240         Avoid caps refcounting in _accept_caps.
6241         Refactor alloc_buffer so that the code performed on the peer is in a
6242         separate function. Also if the pad does not implement a buffer alloc
6243         function, we should still check if the pad is flushing before falling
6244         back to the default allocator.
6245
6246 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
6247
6248         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6249         Make all uses of identity and fakesink have silent=true to avoid
6250         serialising every passing data structure, which is breaking tests
6251         on FC4 for some unknown reason.
6252
6253 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
6254
6255         * gst/parse/Makefile.am:
6256         * gst/parse/grammar.y:
6257         * gst/parse/parse.l:
6258           Reverted previous patch as it required to bump the flex dependency to
6259           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
6260
6261 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
6262
6263         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
6264
6265         * gst/parse/Makefile.am:
6266         * gst/parse/grammar.y:
6267         * gst/parse/parse.l:
6268           push & pop the state of the lexer for reentrant use case
6269           Fixes #349180
6270
6271 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
6272
6273         * libs/gst/base/gstbasesrc.h:
6274           Note in the docs that the ::newsegment vfunc is not actually used by
6275           GstBaseSrc.
6276
6277 2006-07-28  Wim Taymans  <wim@fluendo.com>
6278
6279         * libs/gst/base/gstcollectpads.c:
6280         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
6281         (gst_collect_pads_clear), (gst_collect_pads_flush),
6282         (gst_collect_pads_event), (gst_collect_pads_chain):
6283         When flushing a pad, also clear the queued buffer so that we don't
6284         accidentally use it when we shouldn't.
6285         Fix leaks by inreffing incomming buffer.
6286         Flush out queued buffers in case of errors.
6287         Fixes #347452.
6288
6289 2006-07-28  Wim Taymans  <wim@fluendo.com>
6290
6291         * docs/random/phonon-gst:
6292         Random notes about a Phonon backend.
6293
6294 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
6295
6296         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6297         Extra debug output
6298         * tests/check/libs/gdp.c: (gst_dp_suite):
6299         Take a whack at fixing the ppc compile using a different define to
6300         disable the broken test.
6301
6302         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6303         Remove excess g_print()
6304
6305 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
6306
6307         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
6308         Oops, meant to uncomment this line too to dampen the noise a bit.
6309
6310 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
6311
6312         * gst/parse/grammar.y:
6313         * gst/parse/parse.l:
6314         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
6315         (GST_START_TEST), (parse_suite):
6316         Fix some of the leaks exposed by extending the parse-launch testsuite,
6317         and move the 3 I can't figure out into a separate test that won't run
6318         the pipelines unless the appropriate line is uncommented.
6319
6320 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
6321
6322         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6323           Requesting 0 bytes before the end of the file should result in
6324           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
6325           unit test.
6326
6327 2006-07-27  Wim Taymans  <wim@fluendo.com>
6328
6329         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
6330         Fix useless assert, a uint is always positive.
6331
6332         * gst/gststructure.c: (gst_structure_nth_field_name),
6333         (gst_structure_foreach), (gst_structure_map_in_place):
6334         Check input arguments for public functions to avoid obvious crashes.
6335
6336         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
6337         * plugins/elements/gstfakesink.h:
6338         Do less useless typechecking.
6339
6340 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
6341
6342         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
6343           Do not use mmap() by default since there are a number of error
6344           conditions that we would like to handle in a non-fatal way that
6345           will result in a SIGBUS if we use mmap(). Examples: external
6346           devices (USB harddrive, portable music player) being unplugged
6347           while in use; file on mounted CD/DVD that can't be read because
6348           the medium is partly damaged. Fixes #348455 and #348475.
6349
6350 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
6351
6352         * gst/gstquery.h:
6353         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
6354         rates are a gdouble
6355
6356 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
6357
6358         * gst/gstregistry.c:
6359           Move big documentation comment into class section header, so that it
6360           appears in the API docs.
6361
6362 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
6363
6364         * docs/gst/gstreamer-sections.txt:
6365         Oops. Commit the docs additions too for new API.
6366         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
6367
6368 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
6369
6370         * gst/gststructure.c: (gst_structure_id_set),
6371         (gst_structure_id_set_valist):
6372         * gst/gststructure.h:
6373         Add API for setting values into structures without performing
6374         a quark lookup, if the appropriate quark is already known.
6375
6376         API: gst_structure_id_set
6377         API: gst_structure_id_set_valist
6378
6379         * gst/parse/grammar.y:
6380         * gst/parse/parse.l:
6381         Remove some dead code shown by the coverage information.
6382         Don't throw a critical g_warning when encountering a syntax error,
6383         just warn and let the normal error path handle it.
6384
6385         * plugins/elements/gstelements.c:
6386         Bump the rank of filesink up to PRIMARY so that it is preferred over
6387         gnomevfssink for file:// sink uri's
6388
6389         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
6390         (GST_START_TEST), (run_delayed_test),
6391         (gst_parse_test_element_base_init),
6392         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
6393         (gst_parse_test_element_change_state),
6394         (gst_register_parse_element), (parse_suite):
6395         Beef up the tests for parse syntax to check that more error cases
6396         fail as they are supposed to. Increases the test coverage a bit.
6397
6398 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
6399
6400         * docs/manual/basics-elements.xml:
6401           Fix gst_element_link() example.
6402
6403         * gst/gstutils.c:
6404           Mention in API docs that one should usually gst_bin_add()
6405           elements to a bin or pipeline before doing the linking.
6406           
6407 2006-07-26  Wim Taymans  <wim@fluendo.com>
6408
6409         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
6410         (gst_subbuffer_get_type), (gst_buffer_create_sub):
6411         Avoid function call for known types by keeping the buffer and
6412         subbuffer GType global.
6413
6414         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6415         Random silly optimisations in read() path.
6416
6417 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
6418
6419         * tools/gst-launch.c: (main):
6420           If the top-level of the parse is a normal bin, it doesn't do the
6421           right logic to run as a top-level element, so place it inside a
6422           pipeline.
6423
6424 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
6425
6426         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
6427           Remove superfluous g_object_notify() calls, GObject does
6428           that for us automatically.
6429
6430 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
6431
6432         * gst/gstinfo.h:
6433           on Win32, use dllspec to export the debug category symbols
6434
6435 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
6436
6437         * gst/gsttaglist.c: (_gst_tag_initialize):
6438           Allow more than one GST_TAG_IMAGE per taglist.
6439
6440 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6441
6442         * gst/gstminiobject.c:
6443           update docs
6444         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
6445         (gst_fd_src_create):
6446           log recurring events at LOG level
6447           add more debug for when the fd gets set
6448
6449 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
6450
6451         * gst/gstparse.c: (gst_parse_launch):
6452           Also remove reentrance checks if flex is MT safe (#348179)
6453          Fix my empty ChangeLog entry below
6454
6455 2006-07-21  Andy Wingo  <wingo@pobox.com>
6456
6457         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
6458
6459         * libs/gst/check/Makefile.am
6460         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
6461         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
6462         * libs/gst/check/gstbufferstraw.h:
6463         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
6464         functions, thus proving I am still a GStreamer haxor. OK I wrote
6465         them a long time ago, but anyways.
6466
6467 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
6468
6469         * configure.ac:
6470         * gst/gstparse.c: (gst_parse_launch):
6471           Check for flex version and omit mutex if we have a MT save flex
6472           (fixes #348179)
6473
6474 2006-07-21  Wim Taymans  <wim@fluendo.com>
6475
6476         * gst/gstparse.c: (gst_parse_launch):
6477         Protect recursive calls to _parse with a recursive mutex
6478         and busy flag.
6479
6480 2006-07-21  Wim Taymans  <wim@fluendo.com>
6481
6482         * tests/check/gst/gstpad.c: (GST_START_TEST):
6483         Fix leak in test.
6484
6485 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
6486
6487         * gst/gstparse.c: (gst_parse_launch):
6488           Do not hang on recursive usage of gst_parse_launch()
6489
6490 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
6491
6492         * gst/gsttaglist.c:
6493           Add some more docs, comments and FIXME 0.11s here and there
6494           and also fix some typos.
6495
6496 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
6497
6498         * gst/gstsegment.h:
6499           Convert tabs to spaces for better readability. 
6500
6501 2006-07-20  Edward Hervey  <edward@fluendo.com>
6502
6503         * tests/check/libs/gdp.c: (gst_dp_suite):
6504         the test_buffer test fails at line 140 on ppc64 at the following
6505         check:
6506         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
6507                 GST_BUFFER_FLAG_IN_CAPS),
6508                 "GST_BUFFER_IN_CAPS flag should have been copied !");
6509         See bug #348114 for more details.
6510
6511 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
6512
6513         * docs/pwg/advanced-scheduling.xml:
6514         * gst/gstpad.c:
6515           Fix typos (#348000).
6516
6517 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
6518
6519         * docs/pwg/intro-basics.xml:
6520           Fix wrong links (#347927).
6521
6522 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
6523
6524         * gst/gstregistry.h:
6525         * gst/gstregistryxml.c: (load_feature),
6526         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
6527         * win32/common/config.h:
6528           make --disable-index work (#342564)
6529
6530 2006-07-18  Wim Taymans  <wim@fluendo.com>
6531
6532         Patch by: Peter Kjellerstedt <pkj at axis dot com>
6533
6534         * gst/Makefile.am:
6535         * gst/gsttrace.h:
6536         The attached patch adds two missing defines to gsttrace.h when tracing
6537         is disabled.  It also corrects one existing define.
6538         Fixes #347756.
6539
6540 2006-07-17  Wim Taymans  <wim@fluendo.com>
6541
6542         * docs/gst/gstreamer-sections.txt:
6543         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
6544         * gst/gst.h:
6545         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
6546         Add two functions to check and change the SIGSEGV behaviour
6547         when loading plugins.
6548         Don't mess with the SIGSEGV handler when we were told not to.
6549         Fixes #347794.
6550         API: gst_segtrap_is_enabled
6551         API: gst_segtrap_set_enabled
6552
6553 2006-07-14  Wim Taymans  <wim@fluendo.com>
6554
6555         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6556         * tests/check/elements/filesrc.c: (GST_START_TEST):
6557         Revert fix for regression in #347408 after release.
6558
6559 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
6560
6561         Patch by: Antoine Tremblay <hexa00 at gmail com>
6562
6563         * gst/gstutils.c: (gst_element_unlink):
6564           Free iterator when done (#347311).
6565
6566         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6567           And add a test case for this.
6568
6569 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
6570
6571         * configure.ac:
6572         Bump nano back to CVS
6573
6574 === release 0.10.9 ===
6575
6576 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
6577
6578         * configure.ac:
6579           releasing 0.10.9, "On the road again"
6580
6581 2006-07-13  Wim Taymans  <wim@fluendo.com>
6582
6583         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6584         * tests/check/elements/filesrc.c: (GST_START_TEST):
6585         Revert pull-0 fix for release. Disable check. Fixes #347408.
6586
6587 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6588
6589         * libs/gst/dataprotocol/dataprotocol.c:
6590         (gst_dp_event_from_packet_1_0):
6591           Fixes #347337: failure to deserialize event packets with
6592           empty payload (only event type)
6593
6594 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6595
6596         * gst/Makefile.am:
6597           do not install a .c file in the header directory
6598
6599 2006-07-13  Edward Hervey  <edward@fluendo.com>
6600
6601         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
6602         GhostPad no longer implicitely use the padtemplates of the targets.
6603         Fixes #347384
6604
6605 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
6606
6607         * gst/gstvalue.c: (gst_value_compare_list),
6608         (gst_value_compare_array), (_gst_value_initialize):
6609         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6610         Make GstValueArray comparison be order dependent as designed.
6611         Add checks for value lists and value array comparisons.
6612         Fixes #347221
6613
6614 2006-07-11  Edward Hervey  <edward@fluendo.com>
6615
6616         * gst/gstbin.c: (activate_pads),
6617         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
6618         (gst_bin_change_state_func):
6619         (de)activate src pads before calling state_change on the childs.
6620         This is to avoid the case where a src ghostpad is blocked (holding the
6621         stream lock), which would block the deactivation of the ghostpad's
6622         target pad.
6623         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
6624         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
6625         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
6626         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
6627         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
6628         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
6629         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
6630         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
6631         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
6632         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
6633         (gst_ghost_pad_class_init),
6634         (gst_ghost_pad_internal_do_activate_push),
6635         (gst_ghost_pad_internal_do_activate_pull),
6636         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6637         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6638         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
6639         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
6640         GhostPads now create their internal GstProxyPad at creation (and not
6641         when they're linked, as it was being done previously).
6642         The internal and target pads are linked straight away.
6643         The data will also travel through the other pad in order to make
6644         pad blocking and probes non-hackish (the probe/block now really happens
6645         on the GhostPad and not on the target).
6646         * gst/gstpad.c: (gst_pad_set_blocked_async),
6647         (gst_pad_link_prepare), (gst_pad_push_event):
6648         Remove previous ghostpad cruft.
6649         * gst/gstutils.c: (gst_pad_add_data_probe),
6650         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6651         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6652         (gst_pad_remove_buffer_probe):
6653         Remove previous ghost pad cruft.
6654         Added more detailed debug statements.
6655         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6656         Fix the testsuite for refcounting changes.
6657         The comments about who has references were correct, but the refcount
6658         being checked wasn't the same (!?!).
6659
6660         Fixes #341029
6661
6662 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
6663
6664         * docs/gst/gstreamer-sections.txt:
6665         * gst/gstconfig.h.in:
6666         More docs for configuration options, add docs to gtk-doc.
6667
6668 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
6669
6670         * gst/Makefile.am:
6671         * gst/gstconfig.h.in:
6672         * win32/common/config.h:
6673         Fix build when disabling tracing (fixes #344016). Also start to document
6674         the defines that disable the sub-systems.
6675
6676 2006-07-10  Edward Hervey  <edward@fluendo.com>
6677
6678         * gst/gst.c: (ensure_current_registry_forking):
6679         let's make valgrind happy...
6680
6681 2006-07-09  Wim Taymans  <wim@fluendo.com>
6682
6683         * gst/gstelement.c: (activate_pads),
6684         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
6685         Better pad activation code: Reset the collect value too on resync.
6686         Add some comments.
6687
6688 2006-07-09  Wim Taymans  <wim@fluendo.com>
6689
6690         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
6691         (gst_pad_activate_push):
6692         Use some more macros where it makes sense.
6693         Allow pad mode switching instead of asserting. When a pad
6694         is activated in one mode and we activate it in another, 
6695         deactivate it first before activating it in a different mode.
6696         Fixes #329198.
6697
6698 2006-07-08  Andy Wingo  <wingo@pobox.com>
6699
6700         * tools/gst-launch.c (main): Handle err == NULL.
6701
6702         * gst/gst.c (init_post, ensure_current_registry)
6703         (ensure_current_registry_forking)
6704         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
6705         factoring out the registry scanning into separate functions. Don't
6706         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
6707         Better environment var name/interface suggestions accepted.
6708
6709 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
6710
6711         * gst/gstobject.c: (gst_object_set_name_default),
6712         (gst_object_set_name):
6713           Random micro-optimisation: don't use a hash table
6714           with strings as keys and the usual strdup/strcmp
6715           involved, but rather just use the GQuark of the
6716           type name as key, since it needs to be looked up
6717           anyway to get the type name string.
6718
6719         * tests/check/gst/gstobject.c: (GST_START_TEST):
6720           Fix various leaks.
6721
6722 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
6723
6724         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
6725         (gst_bin_iterate_all_by_interface):
6726           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
6727           GTypes are gulongs and thus the top 4 bytes might be cut
6728           off on some platforms when doing GPOINTER_TO_INT, leading
6729           to invalid GTypes and bad things happening (see RH bug #179654).
6730           Also add a check to make sure the type passed in is really
6731           an interface type.
6732
6733 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
6734
6735         * .cvsignore:
6736           Ignore more.
6737
6738 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
6739
6740         * Makefile.am:
6741         * configure.ac:
6742         * gst-element-check.m4:
6743         * gst-element-check.m4.in:
6744           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
6745           instead of the unversioned gst-inspect (#324176, #168659).
6746
6747 2006-07-06  Wim Taymans  <wim@fluendo.com>
6748
6749         * gst/gstmessage.h:
6750         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
6751         warnings.
6752
6753 2006-07-06  Wim Taymans  <wim@fluendo.com>
6754
6755         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6756         (gst_base_src_wait), (gst_base_src_update_length),
6757         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
6758         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
6759         (gst_base_src_loop), (gst_base_src_start),
6760         (gst_base_src_activate_pull):
6761         Update docs.
6762         blocksize == 0 now means the default blocksize when working in push
6763         based mode.
6764         Remove some pointless asserts in _wait function.
6765         Fix offset/length calculations and EOS handling. We can now pull 0
6766         bytes as well, which is allowed.
6767         use _check_get_range() to decide if we can operate in _pull based
6768         mode.
6769         Fix refcounting leak when check_get_range function was not 
6770         implemented.
6771         API GstBaseSrc::blocksize range can be 0 too now (default)
6772
6773         * tests/check/elements/filesrc.c: (GST_START_TEST),
6774         (filesrc_suite):
6775         Added check to test _get_range() behaviour.
6776
6777 2006-07-06  Wim Taymans  <wim@fluendo.com>
6778
6779         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
6780         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
6781         (gst_pad_pull_range):
6782         * gst/gstpad.h:
6783         Lots of comments and docs added to the pad functions.
6784         Flesh out the expected behaviour of the get_range() functions.
6785
6786 2006-07-06  Wim Taymans  <wim@fluendo.com>
6787
6788         * gst/gstbus.h:
6789         * gst/gstclock.h:
6790         * gst/gstevent.h:
6791         * gst/gstiterator.h:
6792         * gst/gstpad.h:
6793         * gst/gstplugin.h:
6794         * gst/gsttask.h:
6795         Remove comma at end of enumerator list. 
6796
6797 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
6798
6799         * win32/common/libgstbase.def:
6800         * win32/common/libgstdataprotocol.def:
6801         * win32/common/libsgtreamer.def:
6802         Add new exported functions.
6803
6804 2006-07-05  Wim Taymans  <wim@fluendo.com>
6805
6806         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
6807         Add some more docs here and there.
6808
6809 2006-07-05  Wim Taymans  <wim@fluendo.com>
6810
6811         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
6812         (gst_base_sink_loop), (gst_base_sink_get_position):
6813         When operating in pull mode update the offset so that we
6814         read sequentially.
6815
6816 2006-07-05  Wim Taymans  <wim@fluendo.com>
6817
6818         * gst/gstregistryxml.c: (read_string):
6819         Avoid strdup. (will happen in libxml, but hey!)
6820
6821         * gst/gsturi.c:
6822         Add some more docs.
6823
6824 2006-07-05  Wim Taymans  <wim@fluendo.com>
6825
6826         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
6827         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6828         (gst_buffer_suite):
6829         No point in checking if the size of the subbuffer > 0, the
6830         code handles it correclty as demonstrated by unit test.
6831         Also add a unit test for the zero sized _new_and_alloc and
6832         _copy. Fixes #346663.
6833
6834 2006-07-05  Wim Taymans  <wim@fluendo.com>
6835
6836         * libs/gst/base/gstbasetransform.c:
6837         (gst_base_transform_prepare_output_buffer),
6838         (gst_base_transform_buffer_alloc),
6839         (gst_base_transform_handle_buffer):
6840         Make sure the buffer we pass to transform_ip has a refcount of
6841         1 and thus is writable. Fixes #343196
6842
6843 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
6844
6845         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6846         (gst_file_src_init), (gst_file_src_set_property),
6847         (gst_file_src_get_property), (gst_file_src_map_region):
6848         * plugins/elements/gstfilesrc.h:
6849         Add "sequential" property, off by default, to use madvise and hint
6850         to the kernel that sequential access is desired.
6851         Touch all retrieved pages by default to ensure they are pulled
6852         into memory. (Closes #345720)
6853
6854 2006-07-03  Wim Taymans  <wim@fluendo.com>
6855
6856         * docs/design/part-block.txt:
6857         * docs/design/part-dynamic.txt:
6858         Small docs updates.
6859
6860 2006-07-03  Wim Taymans  <wim@fluendo.com>
6861
6862         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
6863         (gst_caps_unref), (gst_static_caps_get),
6864         (gst_caps_append_structure):
6865         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
6866         Use GSlice when the glib we build against is >= 2.10
6867
6868 2006-07-03  Wim Taymans  <wim@fluendo.com>
6869
6870         * gst/gstelement.c: (gst_element_pads_activate):
6871         Small cleanup in pad activation code.
6872
6873 2006-07-03  Wim Taymans  <wim@fluendo.com>
6874
6875         Patch by: Peter Kjellerstedt <pkj at axis dot com>
6876
6877         * gst/gst-i18n-app.h:
6878         * gst/gst-i18n-lib.h:
6879         * tools/gst-inspect.c: (print_signal_info):
6880         The attached patch will make the inclusion of gettext.h unconditional in
6881         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
6882         libintl.h in tools/gst-inspect.c.
6883         This allows use of --disable-nls again and fixes #344642.
6884
6885 2006-07-03  Edward Hervey  <edward@fluendo.com>
6886
6887         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
6888         Implement pad blocking on events according to part-block.txt.
6889         More comments on behaviour.
6890         * tests/check/gst/gstevent.c: (test_event):
6891         Send event to peer pad of blocked pad (else it will block).
6892
6893 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6894
6895         * libs/gst/check/gstcheck.c: (gst_check_message_error),
6896         (gst_check_run_suite):
6897           if we get the wrong message, give us the types as string
6898         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6899           Fix a translatable
6900         * tests/check/elements/filesrc.c: (GST_START_TEST):
6901           add a test for trying to open a non-existing file
6902
6903 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6904
6905         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6906           add a test for adding self
6907
6908 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6909
6910         * libs/gst/check/gstcheck.h:
6911           add some assert_ as alias for fail_unless_*
6912         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
6913           increase test coverage
6914
6915 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6916
6917         * Makefile.am:
6918           include lcov.mak for lcov coverage generation
6919         * tools/Makefile.am:
6920           add to CLEANFILES
6921
6922 2006-07-02  Edward Hervey  <edward@fluendo.com>
6923
6924         * tests/check/elements/.cvsignore:
6925         moaping
6926
6927 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6928
6929         * configure.ac:
6930           don't set CFLAGS and friends for gcov, done from GST_GCOV now
6931         * tests/check/Makefile.am:
6932           clean up gcov files
6933
6934 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6935
6936         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
6937           remove gst_caps_simplify; it was not declared and not used
6938           and deprecated in 0.8
6939
6940 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6941
6942         * docs/faq/gst-uninstalled:
6943           don't put empty paths on PYTHONPATH
6944         * docs/gst/gstreamer-sections.txt:
6945           remove some symbols that are not there
6946
6947 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6948
6949         * gst/gstcaps.c: (gst_caps_compare_structures):
6950           whitespace fixes
6951         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6952         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6953           add more tests
6954
6955 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6956
6957         * libs/gst/dataprotocol/Makefile.am:
6958           build dataprotocol test by linking to the lib, instead of
6959           compiling the source, so we get coverage
6960         * tests/check/Makefile.am:
6961         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
6962         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
6963           add a test for filesrc
6964
6965 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6966
6967         * tests/check/gst/gststructure.c: (GST_START_TEST),
6968         (gst_structure_suite):
6969           Push coverage from 59.04% to 70.00%
6970
6971 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6972
6973         * tests/check/Makefile.am:
6974           gst-inspect every element; this makes sure that we also get
6975           coverage on element's get/set functions
6976
6977 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6978
6979         * configure.ac:
6980           set CFLAGS and friends to -O0 if gcov is being used
6981           add GCOV LIBS
6982         * gst/Makefile.am:
6983         * libs/gst/base/Makefile.am:
6984         * libs/gst/check/Makefile.am:
6985         * libs/gst/controller/Makefile.am:
6986         * libs/gst/dataprotocol/Makefile.am:
6987         * libs/gst/net/Makefile.am:
6988         * plugins/elements/Makefile.am:
6989         * plugins/indexers/Makefile.am:
6990           add makefile rules to generate gcov data and clean up
6991         * tests/check/Makefile.am:
6992           add a coverage target that generates an html overview
6993           of coverage data
6994
6995 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6996
6997         * tests/check/elements/fakesink.c:
6998         * tests/check/elements/fakesrc.c:
6999         * tests/check/elements/fdsrc.c:
7000         * tests/check/elements/identity.c:
7001         * tests/check/generic/sinks.c: (gst_sinks_suite):
7002         * tests/check/generic/states.c:
7003         * tests/check/gst/gst.c:
7004         * tests/check/gst/gstabi.c:
7005         * tests/check/gst/gstbin.c:
7006         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
7007         * tests/check/gst/gstbus.c: (gst_bus_suite):
7008         * tests/check/gst/gstcaps.c: (GST_START_TEST):
7009         * tests/check/gst/gstelement.c:
7010         * tests/check/gst/gstevent.c: (gst_event_suite):
7011         * tests/check/gst/gstghostpad.c:
7012         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
7013         * tests/check/gst/gstmessage.c: (gst_message_suite):
7014         * tests/check/gst/gstminiobject.c:
7015         * tests/check/gst/gstobject.c:
7016         * tests/check/gst/gstpad.c:
7017         * tests/check/gst/gstpipeline.c:
7018         * tests/check/gst/gstplugin.c:
7019         * tests/check/gst/gstquery.c: (gst_query_suite):
7020         * tests/check/gst/gstsegment.c: (gst_segment_suite):
7021         * tests/check/gst/gststructure.c:
7022         * tests/check/gst/gstsystemclock.c:
7023         * tests/check/gst/gsttag.c:
7024         * tests/check/gst/gsttask.c: (gst_task_suite):
7025         * tests/check/gst/gstutils.c:
7026         * tests/check/gst/gstvalue.c:
7027         * tests/check/libs/adapter.c:
7028         * tests/check/libs/basesrc.c:
7029         * tests/check/libs/collectpads.c:
7030         * tests/check/libs/controller.c:
7031         * tests/check/libs/gdp.c: (gst_dp_suite):
7032         * tests/check/libs/gstnetclientclock.c:
7033         * tests/check/libs/gstnettimeprovider.c:
7034         * tests/check/libs/libsabi.c: (libsabi_suite):
7035         * tests/check/libs/typefindhelper.c:
7036         * tests/check/pipelines/cleanup.c:
7037         * tests/check/pipelines/parse-launch.c:
7038         * tests/check/pipelines/simple-launch-lines.c:
7039         * tests/check/pipelines/stress.c: (stress_suite):
7040           use the new macro
7041
7042 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7043
7044         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
7045         * libs/gst/check/gstcheck.h:
7046           create a macro and function so that the simple unit test
7047           case can be just one macro to create main()
7048
7049 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
7050
7051         * gst/gstbin.c: (gst_bin_restore_thyself):
7052         * gst/gstxml.c: (gst_xml_make_element):
7053           Fix deserialisation from XML. Set parent manually
7054           instead of using gst_bin_add(), since gst_bin_add()
7055           will unlink all pads of the element being added.
7056           Fixes #341667.
7057
7058 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
7059
7060         Patch by: Peter Kjellerstedt <pkj at axis com>
7061
7062         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
7063           Fix missing g_strdup() and double free when using the
7064           --gst-plugin-load command line option (#346097).
7065
7066 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
7067
7068         * gst/gstinfo.c:
7069           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
7070
7071         * libs/gst/net/gstnetclientclock.c:
7072         * libs/gst/net/gstnettimeprovider.c:
7073           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
7074
7075 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
7076
7077         * docs/manual/advanced-dataaccess.xml:
7078           Fix buffer probe example compilation in
7079           ADM (#345708).
7080         
7081 2006-06-22  Edward Hervey  <edward@fluendo.com>
7082
7083         * gst/gstelement.c: (gst_element_pads_activate):
7084         We need to deactivate src pads first and then sink pads.
7085         The reason is the src pads might be blocking while holding the streaming
7086         lock, so we need to deactivate them first so that deactivating the sink
7087         pads doesn't block (since it will require the streaming lock).
7088
7089 2006-06-22  Wim Taymans  <wim@fluendo.com>
7090
7091         * libs/gst/base/gstbasetransform.c:
7092         (gst_base_transform_buffer_alloc):
7093         Forgot to remove two unneeded unrefs.
7094         Simplify a check _is_equal allready checks the obvious case.
7095
7096 2006-06-22  Wim Taymans  <wim@fluendo.com>
7097
7098         * docs/design/part-block.txt:
7099         Some docs about what pad_block should do.
7100
7101 2006-06-22  Wim Taymans  <wim@fluendo.com>
7102
7103         * gst/gstcaps.c: (gst_caps_replace):
7104         Fix crasher when passed NULL. Doc clarification.
7105         Optimize for the trivial case.
7106
7107         * gst/gstpipeline.c: (gst_pipeline_change_state):
7108         Small cleanups.
7109
7110         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7111         Small documentation cleanup.
7112
7113         * libs/gst/base/gstbasetransform.c:
7114         (gst_base_transform_buffer_alloc):
7115         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
7116         is what we need and it avoids a whole lot of redundant 
7117         refcount operations.
7118
7119 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
7120
7121         Patch by: Philip Jägenstedt  <philip at lysator liu se>
7122
7123         * docs/manual/advanced-dataaccess.xml:
7124           Fix 'Embedding static elements' section to use
7125           GST_PLUGIN_DEFINE_STATIC (#345607).
7126
7127 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7128
7129         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
7130           Attempt to 'fix' spuriously failing test case: it seems like the
7131           timeout of half a second is simply too small when the system is under
7132           load otherwise, and the timeout doesn't really seem to serve any
7133           particular purpose here. Give the pipeline a few seconds to preroll
7134           first, and then give it another half a second to go from PAUSED to
7135           PLAYING and marshal the message into the main thread.
7136
7137 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7138
7139         * tools/gst-feedback-m.m:
7140           Don't only use unversioned tools, try versioned tools as well
7141           (#345086).
7142
7143 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7144
7145         * gst/gstbus.c: (gst_bus_class_init):
7146           Fix some typos, make docs more explicit.
7147
7148 2006-06-20  Wim Taymans  <wim@fluendo.com>
7149
7150         * tests/check/gst/gstghostpad.c: (block_callback),
7151         (GST_START_TEST), (gst_ghost_pad_suite):
7152         Added some more ghostpad tests, mainly blocking
7153         and probes.
7154
7155 2006-06-16  Wim Taymans  <wim@fluendo.com>
7156
7157         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
7158         (gst_file_sink_close_file), (gst_file_sink_do_seek),
7159         (gst_file_sink_event), (gst_file_sink_render):
7160         * plugins/elements/gstfilesink.h:
7161         Check if we can seek in the file instead of assuming
7162         we always can. Post an error when we are asked to seek in a
7163         non-seekable file (like a fifo). Fixes #343312.
7164         Some cleanups.
7165
7166 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
7167
7168         * tools/gst-launch.1.in:
7169           Un-garble (fourcc) bit in filtered caps section.
7170
7171 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
7172
7173         * docs/manual/advanced-autoplugging.xml:
7174         * docs/manual/basics-helloworld.xml:
7175         * docs/manual/highlevel-components.xml:
7176           Don't leak bus reference in sample code.
7177
7178 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
7179
7180         * autogen.sh:
7181           Add default for new --enable-plugin-docs switch.
7182
7183         * configure.ac:
7184           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
7185           Fixes #344039.
7186
7187         * docs/Makefile.am:
7188           Use new ENABLE_PLUGIN_DOCS conditional.
7189
7190 2006-06-14  Wim Taymans  <wim@fluendo.com>
7191
7192         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
7193         Make it clear with a FIXME and a real define what the #if 0
7194         previously disabled.
7195
7196 2006-06-14  Wim Taymans  <wim@fluendo.com>
7197
7198         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7199         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
7200         * libs/gst/base/gstbasetransform.c:
7201         (gst_base_transform_sink_eventfunc):
7202         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
7203         Don't randomly and silently reset a segment when the format 
7204         changes as this is a bug somewhere upstream. Fixes #330379.
7205
7206 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
7207
7208         Patch by: Wouter Paesen  <wouter at kangaroot net>
7209
7210         * libs/gst/controller/gstcontroller.c:
7211         (gst_controlled_property_new):
7212           Fix controlling of float properties (#344849).
7213
7214         * tests/check/libs/controller.c:
7215         (gst_test_mono_source_get_property),
7216         (gst_test_mono_source_set_property),
7217         (gst_test_mono_source_class_init), (GST_START_TEST):
7218           While we're at it, add some float stuff to unit test.
7219
7220 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7221
7222         * docs/README:
7223         * docs/images/gdp-header.svg:
7224           add a gdp image
7225         * docs/libs/Makefile.am:
7226         * docs/libs/gdp-header.png:
7227         * libs/gst/dataprotocol/dataprotocol.c:
7228           add it to the API docs
7229         * docs/manual/intro-motivation.xml:
7230           fix typo
7231
7232 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
7233
7234         * gst/gst.c: (scan_and_update_registry), (init_post):
7235           If the fork()'ed child process can't write the updated registry cache
7236           file to disk for some reason, make it exit with a failure exit code,
7237           so that the parent can then re-scan the plugins itself and update the
7238           registry structures in memory and work with that (rather than failing
7239           when creating elements because seemingly no plugins are available).
7240           Refactor registry scanning code into separate function for this and
7241           also separate fork() and non-fork() code paths. Fixes #344748.
7242
7243 2006-06-13  Wim Taymans  <wim@fluendo.com>
7244
7245         * docs/manual/advanced-dataaccess.xml:
7246         Fix wrong PluginDesc. Fixes #344755.
7247
7248 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
7249
7250         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
7251           Fix silly bug that prevented us from creating
7252           ~/.gstreamer-0.10 and writing the registry in one
7253           go (the first call to g_mkstemp() would overwrite the
7254           placeholder in the template string, so the second call
7255           to g_mkstemp() after creating the missing directory
7256           would then error out with 'invalid argument').
7257
7258 2006-06-13  Edward Hervey  <edward@fluendo.com>
7259
7260         * gst/gst.c: (init_post):
7261         Free string.
7262
7263 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7264
7265         * gst/glib-compat-private.h:
7266         * gst/glib-compat.c:
7267         * gst/glib-compat.h:
7268         * gst/gstvalue.c: (gst_value_serialize_flags):
7269           remove GLib 2.6 compatibility code
7270
7271 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
7272
7273         * gst/parse/Makefile.am:
7274           Fix build with 'make -j N' even more (#340016).
7275
7276 2006-06-12  Wim Taymans  <wim@fluendo.com>
7277
7278         * docs/gst/gstreamer-sections.txt:
7279         Fix docs.
7280
7281 2006-06-12  Wim Taymans  <wim@fluendo.com>
7282
7283         * gst/gstsegment.c: (gst_segment_set_duration),
7284         (gst_segment_set_last_stop), (gst_segment_set_seek),
7285         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
7286         (gst_segment_to_running_time), (gst_segment_clip):
7287         Use G_UNLIKELY to help the compiler a bit.
7288
7289 2006-06-12  Wim Taymans  <wim@fluendo.com>
7290
7291         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
7292
7293         * gst/gstevent.c: (gst_event_get_type):
7294         * gst/gstmessage.c:
7295         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
7296         (gst_pad_push):
7297         constify quark registration strings. Fixes #344115
7298         Avoid unneeded type checking is _pad_push() by internally
7299         calling gst_pad_chain_unchecked().
7300
7301 2006-06-12  Wim Taymans  <wim@fluendo.com>
7302
7303         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
7304         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
7305         (gst_subbuffer_finalize), (gst_buffer_create_sub),
7306         (gst_buffer_is_span_fast), (gst_buffer_span):
7307         Init _type for consistency.
7308         Use _FLAGS macro to avoid type check.
7309         Avoid unneeded type checks in subbufer code.
7310
7311 2006-06-12  Wim Taymans  <wim@fluendo.com>
7312
7313         * gst/gst.c: (gst_debug_help):
7314         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
7315         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7316         (gst_plugin_feature_list_free):
7317         * gst/gstregistry.c: (gst_registry_add_plugin),
7318         (gst_registry_add_feature), (gst_registry_plugin_filter),
7319         (gst_registry_feature_filter), (gst_registry_find_plugin),
7320         (gst_registry_find_feature), (gst_registry_get_plugin_list),
7321         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
7322         * gst/gstregistryxml.c: (load_feature),
7323         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
7324         * gst/gstminiobject.c: (gst_mini_object_unref),
7325         (gst_mini_object_replace), (gst_value_mini_object_free),
7326         (gst_value_mini_object_copy):
7327         Use _CAST macros to avoid unneeded type checking.
7328         Added some more G_UNLIKELY.
7329
7330 2006-06-12  Wim Taymans  <wim@fluendo.com>
7331
7332         * gst/gstbuffer.h:
7333         Avoid unneeded type checking.
7334         API: GST_BUFFER_IS_DISCONT
7335
7336         * gst/gstminiobject.h:
7337         Avoid type check in flag accessor.
7338
7339         * gst/gstelementfactory.h:
7340         * gst/gstplugin.h:
7341         * gst/gstpluginfeature.h:
7342         Add _CAST macros.
7343         API: GST_ELEMENT_FACTORY_CAST
7344         API: GST_PLUGIN_CAST
7345         API: GST_PLUGIN_FEATURE_CAST
7346
7347 2006-06-12  Wim Taymans  <wim@fluendo.com>
7348
7349         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
7350         (gst_object_unref):
7351         Add G_UNLIKELY in type registration.
7352         Avoid type check in _ref/_unref since that is also
7353         done in glib.
7354
7355 2006-06-12  Wim Taymans  <wim@fluendo.com>
7356
7357         * gst/gsterror.c: (gst_g_error_get_type):
7358         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
7359         (gst_static_pad_template_get_type):
7360         * gst/gsttaglist.c: (gst_tag_list_get_type):
7361         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
7362         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
7363         * gst/gsturi.c: (gst_uri_handler_get_type):
7364         * gst/gstvalue.c: (gst_date_get_type):
7365         * gst/gstxml.c: (gst_xml_get_type):
7366         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
7367         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
7368         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
7369         Add G_UNLIKELY in type registration.
7370
7371 2006-06-12  Wim Taymans  <wim@fluendo.com>
7372
7373         * tools/gst-inspect.c: (print_signal_info):
7374         Properly print enum values.
7375
7376 2006-06-12  Wim Taymans  <wim@fluendo.com>
7377
7378         * gst/gstinfo.c: (gst_debug_set_active),
7379         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
7380         * gst/gstinfo.h:
7381         Add some G_[UN]LIKELY.
7382         Maintain __gst_debug_min to avoid formatting the arguments of
7383         debug messages that will be dropped anyway to avoid a lot of 
7384         overhead from the debugging system.
7385
7386 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
7387
7388         * po/POTFILES.in:
7389         * po/POTFILES.skip:
7390           add missing files containing translatable strings, tell intltool about
7391           one exception
7392
7393 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
7394
7395         * tests/check/libs/.cvsignore:
7396         add test-binary to ignore list
7397
7398 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
7399
7400         * docs/libs/gstreamer-libs-docs.sgml:
7401         reorder (put dp into a chapter) and indent
7402
7403 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7404
7405         * configure.ac:
7406           back to HEAD
7407
7408 === release 0.10.8 ===
7409
7410 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
7411
7412         * configure.ac:
7413           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
7414
7415 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7416
7417         * gst/gst.c: (init_post):
7418           move pid declaration to declaration block
7419
7420 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7421
7422         * gst/gst.c: (init_post):
7423           use _exit() instead of exit() in our forked child; this ensures
7424           that none of the registered exit handlers from whatever is using
7425           GStreamer get executed.  This fixes gnome-mixer-applet failing
7426           to load, because ORBit would shut down.
7427           Spotted by: Edward Hervey  <edward@fluendo.com>
7428           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
7429           Fixes #344474
7430
7431 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7432
7433         * configure.ac:
7434           back to TRUNK
7435
7436 === release 0.10.7 ===
7437
7438 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
7439
7440         * configure.ac:
7441           releasing 0.10.7, "Soepeke, ik zie ou"
7442
7443 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
7444
7445         * configure.ac:
7446         * po/af.po:
7447         * po/az.po:
7448         * po/bg.po:
7449         * po/ca.po:
7450         * po/cs.po:
7451         * po/de.po:
7452         * po/en_GB.po:
7453         * po/fr.po:
7454         * po/it.po:
7455         * po/nb.po:
7456         * po/nl.po:
7457         * po/ru.po:
7458         * po/sq.po:
7459         * po/sr.po:
7460         * po/sv.po:
7461         * po/tr.po:
7462         * po/uk.po:
7463         * po/vi.po:
7464         * po/zh_CN.po:
7465         * po/zh_TW.po:
7466         * win32/common/config.h:
7467           0.10.6.2 prerelease
7468
7469 2006-06-07  Wim Taymans  <wim@fluendo.com>
7470
7471         * gst/gstindex.c: (gst_index_gtype_resolver):
7472         * tools/gst-xmlinspect.c: (print_plugin_info):
7473         Fix leak spotted by coverity checker. Fixes #343827
7474         Fix another other leak found by paolo borelli.
7475
7476 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7477
7478         * libs/gst/dataprotocol/dataprotocol.c:
7479         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7480         (gst_dp_version_get_type), (gst_dp_init),
7481         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
7482         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
7483         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
7484         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
7485         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
7486         (gst_dp_packetizer_free):
7487         * libs/gst/dataprotocol/dataprotocol.h:
7488           API: add a GstDPPacketizer object, and create/free functions
7489           API: add GstDPVersion enum
7490           Add 1.0 event function that uses the string serialization
7491           Serialize more useful buffer flags
7492           Fixes #343988
7493
7494 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7495
7496         * tests/check/Makefile.am:
7497         * tests/check/gst/gstabi.c:
7498         * tests/check/gst/struct_ppc64.h:
7499         * tests/check/libs/libsabi.c:
7500         * tests/check/libs/struct_ppc64.h:
7501           add ppc64 structure sizes
7502
7503 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7504
7505         * tests/check/Makefile.am:
7506         * tests/check/gst/gstabi.c:
7507         * tests/check/gst/struct_x86_64.h:
7508         * tests/check/libs/libsabi.c:
7509         * tests/check/libs/struct_x86_64.h:
7510           generate and add structure size lists for x86_64
7511
7512 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7513
7514         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
7515         * libs/gst/check/gstcheck.h:
7516           factor out the method from tests that checks size of structures,
7517           and add code to generate the header containing these sizes
7518         * tests/check/gst/gstabi.c: (GST_START_TEST):
7519         * tests/check/gst/struct_i386.h:
7520         * tests/check/libs/libsabi.c: (GST_START_TEST):
7521         * tests/check/libs/struct_i386.h:
7522           use it
7523
7524 2006-06-06  Michael Smith  <msmith@fluendo.com>
7525
7526         * gst/gstsegment.h:
7527           Don't use c++-style comments, fixes #343929
7528
7529 2006-06-05  Edward Hervey  <edward@fluendo.com>
7530
7531         * gst/gst.c:
7532         plugin_paths is not used if we build without registry support.
7533
7534         * gst/gstsegment.c: (gst_segment_copy): 
7535         _copy() was always returning NULL...
7536
7537 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7538
7539         * libs/gst/dataprotocol/dataprotocol.c:
7540         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
7541         (gst_dp_packet_from_event):
7542           factor out CRC code
7543
7544 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7545
7546         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
7547           make sure we unset caps
7548
7549 2006-06-02  Michael Smith  <msmith@fluendo.com>
7550
7551         * libs/gst/check/gstcheck.c: (gst_check_init),
7552         (gst_check_chain_func):
7553         * libs/gst/check/gstcheck.h:
7554           Add a cond/mutex to the check support lib, signal this whenever we
7555           add to the buffers list. This will allow tests to not busy-wait on
7556           the buffer-list.
7557
7558 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7559
7560         * libs/gst/dataprotocol/dataprotocol.c:
7561         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
7562         (gst_dp_packet_from_event):
7563           factor out some common header init code
7564
7565 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7566
7567         * docs/libs/gstreamer-libs-sections.txt:
7568         * docs/libs/tmpl/gstdataprotocol.sgml:
7569         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
7570         * libs/gst/dataprotocol/dataprotocol.h:
7571           API: make gst_dp_crc() public
7572
7573 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
7574
7575         * plugins/indexers/gstindexers.c: (plugin_init):
7576         conditionally register fileindexer (fixes #343598)
7577
7578 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
7579
7580         * gst/gsttagsetter.h:
7581         Can't cast ifaces to a class
7582
7583         * libs/gst/net/gstnetclientclock.h:
7584         * libs/gst/net/gstnettimeprovider.h:
7585         * plugins/elements/gstfakesink.h:
7586         * plugins/elements/gstfakesrc.h:
7587         * plugins/elements/gstfdsink.h:
7588         * plugins/elements/gstfdsrc.h:
7589         * plugins/elements/gstfilesink.h:
7590         * plugins/elements/gstfilesrc.h:
7591         * plugins/elements/gstidentity.h:
7592         * plugins/elements/gstqueue.h:
7593         * plugins/elements/gsttee.h:
7594         * plugins/indexers/gstfileindex.c:
7595         * plugins/indexers/gstmemindex.c:
7596         * tests/old/examples/plugins/example.h:
7597         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
7598
7599 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7600
7601         * libs/gst/dataprotocol/dataprotocol.c:
7602         (gst_dp_header_from_buffer):
7603           make sure we zero the whole ABI-compatible area
7604
7605 2006-06-01  Wim Taymans  <wim@fluendo.com>
7606
7607         Patch by: Alessandro Decina <alessandro at nnva dot org>
7608
7609         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
7610         Make sure the EOS flag is cleared from pads after a flush
7611         or stop. Fixes #343538.
7612
7613         * tests/check/libs/collectpads.c: (GST_START_TEST),
7614         (gst_collect_pads_suite):
7615         Added test for collectpads reusage after EOS.
7616
7617 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
7618
7619         * gst/gst.c:
7620          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
7621         * win32/common/libgstbase.def:
7622          export gst_collect_pads_set_flushing
7623         * win32/common/libgstreamer.def:
7624          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
7625          gst_value_fraction_multiply
7626         * win32/vs6/gst_inspect.dsp:
7627          add a link to intl.lib
7628
7629 2006-05-30  Wim Taymans  <wim@fluendo.com>
7630
7631         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7632         (gst_collect_pads_chain):
7633         Handle the case where a pad is removed from the collection
7634         that could cause the other pads to become collectable.
7635
7636 2006-05-30  Wim Taymans  <wim@fluendo.com>
7637
7638         * gst/gstelement.c:
7639         Clarify the use of _release_request_pad() and
7640         _get_request_pad() a bit better.
7641
7642         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
7643         (gst_adapter_take_buffer):
7644         Fix some doc and comment typos.
7645
7646 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7647
7648         * docs/gst/gstreamer-sections.txt:
7649         * docs/libs/gstreamer-libs-sections.txt:
7650           add declared symbols
7651
7652 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
7653
7654         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
7655         Add debug that can be enabled using a #define at the top of the file,
7656         for dumping stats about how late/early we were when waking up from
7657         waiting on the clock.
7658
7659 2006-05-30  Wim Taymans  <wim@fluendo.com>
7660
7661         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
7662         When rebuilding the pad list, don't leak the previous list.
7663
7664 2006-05-30  Wim Taymans  <wim@fluendo.com>
7665
7666         Patch by: Lutz Mueller <lutz at topfrose dot de>
7667
7668         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7669         (gst_base_src_get_query_types), (gst_base_src_update_length):
7670         Publish supported query types.
7671         Update last_stop field in get_range mode so the position
7672         query works. Fixes #342321.
7673
7674 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
7675
7676         * docs/gst/gstreamer-sections.txt:
7677         * gst/gsttaglist.c: (_gst_tag_initialize):
7678         * gst/gsttaglist.h:
7679           API: add GST_TAG_PREVIEW_IMAGE (#343341).
7680
7681 2006-05-30  Wim Taymans  <wim@fluendo.com>
7682
7683         Patch by: Alessandro Decina <alessandro at nnva dot org>
7684
7685         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
7686         Unlock mutex when removing an unknown pad.
7687         Fixes #343334.
7688
7689         * tests/check/Makefile.am:
7690         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
7691         (push_event), (setup), (teardown), (GST_START_TEST),
7692         (gst_collect_pads_suite), (main):
7693         Added collecpads check, disabled for now as check crashes for
7694         some reason.
7695
7696 2006-05-29  Wim Taymans  <wim@fluendo.com>
7697
7698         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
7699         Don't leak pads lists.
7700
7701 2006-05-29  Wim Taymans  <wim@fluendo.com>
7702
7703         * docs/libs/gstreamer-libs-sections.txt:
7704         * libs/gst/base/gstcollectpads.c:
7705         (gst_collect_pads_set_flushing_unlocked),
7706         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
7707         (gst_collect_pads_stop):
7708         * libs/gst/base/gstcollectpads.h:
7709         API: gst_collect_pads_set_flushing()
7710         Added api to set the pads to flushing, useful for seeking
7711         code in elements using collectpads.
7712         Clear segment when receiving a flush.
7713
7714 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
7715
7716         * gst/gst.c: (add_path_func), (init_post):
7717           Don't scan registry paths passed via --gst-plugin-path immediately
7718           (will crash, because absolutely nothing is set up and no types are
7719           registered etc.); do this later in init_post(). Fixes #343057.
7720
7721 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7722
7723         * gst/gst.c: (init_post):
7724           if we have fork, fork while reading/rebuilding the registry
7725           so the parent doesn't take the hit of having all plugins loaded
7726           in memory.  Fixes #342777.
7727         * configure.ac:
7728           Check if we have fork()
7729         * win32/common/config.h.in:
7730           no fork() on win32
7731
7732 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
7733
7734         * plugins/elements/gstelements.c:
7735         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7736         (gst_file_src_init), (gst_file_src_set_property),
7737         (gst_file_src_get_property), (gst_file_src_start):
7738         * plugins/elements/gstfilesrc.h:
7739           API: GstFileSrc::use-mmap
7740
7741         Add a use-mmap property to enable easier testing of all code paths.
7742         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
7743         in the absence of gnomevfssrc. (Closes #340501)
7744
7745 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7746
7747         * tools/gst-inspect.c:
7748         Add missing include, removes warning of ngettext not being defined on
7749         some arches.
7750
7751 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
7752
7753         * gst/gstvalue.c: (gst_value_deserialize_fraction):
7754         Handle NULL input and output pointers silently as a failed conversion,
7755         rather than g_warnings.
7756
7757 2006-05-25  Wim Taymans  <wim@fluendo.com>
7758
7759         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
7760         Initialize variable before using. Fixes #342820.
7761
7762 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
7763
7764         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
7765           Fix off-by-one bug that would only allow peeks of N-1 bytes
7766           from the start even if the buffer to typefind on contains
7767           in fact N bytes of data (makes vorbis typefinding from a
7768           vorbis identification header buffer work).
7769
7770         * tests/check/Makefile.am:
7771         * tests/check/libs/.cvsignore:
7772         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
7773         (gst_typefindhelper_suite), (main), (foobar_typefind),
7774         (plugin_init):
7775           Add very basic unit test for gst_type_find_helper_for_buffer()
7776           that checks for the problem fixed above.
7777
7778 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7779
7780         * tools/gst-inspect.c: (print_interfaces),
7781         (print_element_properties_info), (print_element_list), (main):
7782           add more translatable strings
7783
7784 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
7785
7786         Patch by: Julien Moutte  <julien at moutte net>
7787
7788         * docs/gst/gstreamer-sections.txt:
7789           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
7790           
7791         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7792         (gst_fake_sink_preroll):
7793         * plugins/elements/gstfakesink.h:
7794           API: Add new GstFakeSink::preroll-handoff signal (#337100).
7795
7796 2006-05-23  Wim Taymans  <wim@fluendo.com>
7797
7798         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
7799         * gst/gstpad.h:
7800         Added _CUSTOM error and success GstFlowReturn that can be
7801         used be elements internally. 
7802         Added macro to check for SUCCESS flowreturns.
7803         API: GST_FLOW_CUSTOM_SUCCESS
7804         API: GST_FLOW_CUSTOM_ERROR
7805         API: GST_FLOW_IS_SUCCESS
7806
7807         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
7808         Added check for GstFlowReturn sanity.
7809
7810 2006-05-23  Wim Taymans  <wim@fluendo.com>
7811
7812         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7813
7814         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7815         (gst_collect_pads_event):
7816         clear/reset segment info in FLUSH_STOP.
7817         Fixes #336929.
7818
7819 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
7820
7821         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
7822         (gst_collect_pads_check_collected):
7823         Flush queued buffer on _stop(), fixes playing again (#342454)
7824
7825 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7826
7827         * tests/check/gst/gststructure.c: (GST_START_TEST),
7828         (gst_structure_suite):
7829           add a test for a complete structure
7830
7831 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
7832
7833         * docs/faq/developing.xml:
7834         * docs/faq/faq.xml:
7835         * docs/faq/troubleshooting.xml:
7836         * docs/faq/using.xml:
7837           Some minor FAQ updates that won't change the fact that
7838           our FAQ is badly structured, full of information hardly
7839           anyone new to GStreamer needs to know and lacking lots
7840           of information people constantly ask for.
7841           
7842 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
7843
7844         * gst/gstpad.c: (gst_pad_set_caps):
7845           Short-circuit gst_pad_set_caps if setting the existing
7846           caps pointer again, and avoid printing debug and 
7847           reffing/unreffing the caps.
7848
7849         * plugins/elements/gstqueue.c: (gst_queue_push_one):
7850           There's actually no need to set the caps before pushing -
7851           the acceptcaps method will handle it anyway.
7852
7853 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
7854
7855         * docs/gst/gstreamer-sections.txt:
7856         * win32/common/libgstreamer.def:
7857         * gst/gstutils.c: (gst_element_seek_simple):
7858         * gst/gstutils.h:
7859           API: add gst_element_seek_simple() (#342238).
7860
7861 2006-05-18  Edward Hervey  <edward@fluendo.com>
7862
7863         * gst/gsttypefind.c: (gst_type_find_get_type):
7864         * gst/gsttypefind.h:
7865         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
7866         registered for GstTypeFind pointers. This allows wrapping the structure
7867         in bindings (i.e. gst-python).
7868
7869 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
7870
7871         * gst/gsttagsetter.c:
7872           Docs additions and fixes (see #339918).
7873
7874 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
7875
7876         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
7877         The caps intersection algorithm can produce multiple copies of the
7878         caps. Until that is fixed, we need to simplify the result to be
7879         sure whether the allowed caps are fixed or not.
7880
7881         * plugins/elements/gstqueue.c: (gst_queue_init),
7882         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
7883         (gst_queue_push_one):
7884         Proxied buffer alloc should not set the caps on the source pad.
7885         When pushing buffers, we always accept the caps change that triggers.
7886         This prevents negotiation errors caused by caps changing mid-stream 
7887         and then being refused on our source pad (because upstream is now
7888         refusing those caps).
7889
7890 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
7891
7892         * tests/examples/helloworld/helloworld.c: (main):
7893           Must plug audioconvert and audioresample between decoder
7894           and audio sink.
7895
7896 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
7897
7898         * gst/gstregistryxml.c: (read_string), (load_pad_template),
7899         (load_feature), (load_plugin):
7900         Allow empty strings for some of the plugin fields so we don't 
7901         drop valid plugin entries that were written out correctly
7902         (Fixes #341479)
7903
7904 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
7905         
7906         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
7907           Use g_remove and g_rename instead of remove and rename that don't 
7908           handle utf8 characters. rename was failing for users who had specific
7909           characters in their name then the registry was built at each 
7910           gstreamer init.
7911         * win32/vs6/gst_inspect.dsp:
7912         * win32/vs6/gst_launch.dsp:
7913         * win32/vs6/libgstbase.dsp:
7914         * win32/vs6/libgstcoreelements.dsp:
7915         * win32/vs6/libgstreamer.dsp:
7916           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
7917           build of libgstreamer and clean unused libraries in projects link 
7918           settings.
7919
7920 2006-05-17  Edward Hervey  <edward@fluendo.com>
7921
7922         * plugins/elements/gstqueue.c: (gst_queue_push_one):
7923         The queue is not responsible for pushing an EOS when receiving a fatal
7924         flow error. It's up to the real element driving the pipeline to do that.
7925
7926 2006-05-16  Edward Hervey  <edward@fluendo.com>
7927
7928         * plugins/elements/gstqueue.c: (gst_queue_push_one):
7929         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
7930         buffer returned a fatal error. It should just send an EOS and stop
7931         its task.
7932         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
7933         when pushing buffers on the queue and will be able to handle the event.
7934
7935 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
7936
7937         * docs/manual/basics-bins.xml:
7938         * docs/manual/basics-init.xml:
7939           Fix typos and minor errors in sample code (#341856).
7940
7941 2006-05-16  Wim Taymans  <wim@fluendo.com>
7942
7943         * docs/design/part-qos.txt:
7944         Fix indexes in formulas to make more sense.
7945
7946 2006-05-15  Wim Taymans  <wim@fluendo.com>
7947
7948         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7949         Don't report POSITION based on clock time if sync is
7950         disabled in a sink.
7951
7952 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
7953
7954         * gst/gstobject.h:
7955           Add cast to make compiler happy - refcount variable was a gint
7956           in GstObject but is a guint in GObject and g_atomic_int_get()
7957           wants a gint *.
7958
7959 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7960
7961         * gst/parse/Makefile.am:
7962           chain commands using &&, which also makes parallel make work
7963
7964 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
7965
7966         * docs/gst/gstreamer-sections.txt:
7967         * gst/gstevent.c:
7968         * gst/gstevent.h:
7969         * gst/gstmessage.h:
7970           Minor docs fixes.
7971
7972 === release 0.10.6 ===
7973
7974 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
7975
7976         * configure.ac:
7977           releasing 0.10.6, "Take the cannoli"
7978
7979 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
7980
7981         * tools/gst-launch.c: (print_tag):
7982           Fix use of uninitialized variable in the hypothetical
7983           case that some broken plugin creates a GST_TAG_IMAGE
7984           tag containing a NULL buffer (#341667).
7985
7986 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
7987
7988         * tools/gst-launch.c: (print_tag):
7989           Print something more intelligible for image tags when
7990           using the -t switch (#341556).
7991
7992 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7993
7994         * Makefile.am:
7995           updates for win32
7996         * configure.ac:
7997           define GST_MAJORMINOR so we have it available in win32/common/config.h
7998           Possibly remove it from our Makefile.am files later
7999         * win32/common/config.h:
8000         * win32/common/config.h.in:
8001           added GST_MAJORMINOR
8002         * win32/common/gstenumtypes.c: (register_gst_resource_error):
8003         * win32/common/gstversion.h:
8004           updated
8005
8006 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
8007
8008         * win32/MANIFEST:
8009           Update win32 files listing.
8010         * win32/common/gstversion.h:
8011           Add GST_MAJORMINOR definition.
8012         * win32/common/libgstreamer.def:
8013           Add new exported functions.
8014           
8015 2006-05-12  Michael Smith  <msmith@fluendo.com>
8016
8017         * gst/gstplugin.c: (gst_plugin_load_file):
8018           If an so file has no plugin entry point, unload the module.
8019
8020 2006-05-11  Wim Taymans  <wim@fluendo.com>
8021
8022         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
8023         (gst_queue_set_property):
8024         Don't forget to signal the _chain or _loop function 
8025         when the queue size or thresholds change since that might
8026         cause them to make progres again.
8027
8028 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
8029
8030         * gst/gstclock.c: (gst_clock_class_init):
8031         * gst/gstindex.c: (gst_index_class_init):
8032         * gst/gstobject.c: (gst_object_class_init):
8033         * gst/gstpad.c: (gst_pad_class_init):
8034         * gst/gstpipeline.c: (gst_pipeline_class_init):
8035         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
8036         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
8037         * libs/gst/base/gstbasetransform.c:
8038         (gst_base_transform_class_init):
8039         * libs/gst/net/gstnetclientclock.c:
8040         (gst_net_client_clock_class_init):
8041         * libs/gst/net/gstnettimeprovider.c:
8042         (gst_net_time_provider_class_init):
8043         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
8044         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
8045         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
8046         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
8047         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
8048         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
8049         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
8050         * plugins/elements/gstidentity.c: (gst_identity_class_init):
8051         * plugins/elements/gsttee.c: (gst_tee_class_init):
8052         * tests/old/examples/plugins/example.c: (gst_example_class_init):
8053         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
8054           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
8055
8056 2006-05-11  Wim Taymans  <wim@fluendo.com>
8057
8058         * gst/gstbuffer.c: (_gst_buffer_initialize):
8059         Register subbufer along with the buffer type so that
8060         it does not accidentally gets registered from N
8061         different streaming threads in a non threadsafe way.
8062
8063 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
8064
8065         * gst/gstbuffer.h:
8066         * gst/gstevent.h:
8067         * gst/gstmessage.h:
8068           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
8069           gst_event_ref() and gst_message_ref() functions again
8070           (ugly hack, please do fix if there's a better way besides
8071           overrides.txt, which doesn't seem to work).
8072
8073 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8074
8075         * libs/gst/check/gstcheck.h:
8076           add an assert for setting state to avoid lots of repetitive code
8077           in the future
8078
8079 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8080
8081         * gst/gstvalue.c: (gst_value_serialize_flags):
8082           fix a leak if no flags are set
8083         * tests/check/gst/gstvalue.c: (GST_START_TEST):
8084           fix leak in tests
8085
8086 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
8087
8088         * docs/manual/basics-pads.xml:
8089           Expand a bit on caps and filtered links and update
8090           examples that were still using the no longer existing
8091           gst_pad_link_filtered() (#338206).
8092
8093 2006-05-10  Wim Taymans  <wim@fluendo.com>
8094
8095         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8096         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8097         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
8098         (gst_collect_pads_stop):
8099         * libs/gst/base/gstcollectpads.h:
8100         No need to call _stop in _finalize.
8101         Iterate the main pad list in _finalize.
8102         Added some more debug.
8103         Free lists and data in the right order.
8104         Also free data whem doing _remove_pad when stopped for
8105         backward compatibility protect ::started with PAD_LOCK as
8106         well.
8107
8108 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8109
8110         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
8111         (gst_structure_parse_value):
8112           add some comments
8113           rename a method so that it actually says what it does better
8114
8115 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8116
8117         * gst/gstevent.c: (_gst_event_initialize):
8118         * gst/gstformat.c: (_gst_format_initialize):
8119           make sure some essential types used by events are registered
8120           as part of gst_init()
8121         * gst/gstvalue.c: (gst_value_serialize_flags):
8122           if no flags are set, serialize them to a value that represents NONE
8123           so that deserializing them works
8124         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8125           add tests for serialization and deserialization of flags
8126
8127 2006-05-10  Wim Taymans  <wim@fluendo.com>
8128
8129         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
8130         (gst_collect_pads_collect_range), (gst_collect_pads_available),
8131         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
8132         (gst_collect_pads_event), (gst_collect_pads_chain):
8133         Update docs.
8134         Better debug info.
8135         Catch and return errors from the collect function
8136         Refuse data on eos pads.
8137
8138 2006-05-10  Edward Hervey  <edward@fluendo.com>
8139
8140         * gst/gstinterface.h:
8141         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
8142         GInterface type checking.
8143         They were previously using non-defined macros.
8144
8145 2006-05-09  Wim Taymans  <wim@fluendo.com>
8146
8147         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
8148         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
8149         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
8150         (gst_collect_pads_start), (gst_collect_pads_stop),
8151         (gst_collect_pads_peek), (gst_collect_pads_pop),
8152         (gst_collect_pads_available), (gst_collect_pads_read),
8153         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
8154         (gst_collect_pads_is_collected), (gst_collect_pads_event),
8155         (gst_collect_pads_chain):
8156         * libs/gst/base/gstcollectpads.h:
8157         Clean up the mess that is collectpads, add comments and
8158         FIXMEs where needed.
8159         Maintain a separate pad list so we can add pads while
8160         collecting the other ones. For this we need a new separate 
8161         lock (see comics).
8162         Fix memory leak in finalize.
8163         Refactor some weird code to set/unset pad flushing flags, mark
8164         with comments.
8165         Don't crash in _available, _read, _flush when we're EOS.
8166
8167         * tests/check/libs/.cvsignore:
8168         Ignore adapter check binary.
8169
8170 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8171
8172         * gst/gstindex.c: (gst_index_resolver_get_type):
8173         * plugins/elements/gstfakesink.c:
8174         (gst_fake_sink_state_error_get_type):
8175         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8176         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
8177         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
8178           Const-ify GEnumValue arrays.
8179
8180 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8181
8182         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8183           Add test case for flags + gst_buffer_make_metadata_writable().
8184
8185 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8186
8187         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
8188           gst_buffer_make_metadata_writable() should maintain the
8189           buffer flags (those that make sense at least) (see #340859).
8190
8191 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8192
8193         * tools/gst-inspect.c:
8194         * tools/gst-launch.c:
8195         * tools/gst-typefind.c:
8196         * tools/gst-xmlinspect.c:
8197         * tools/tools.h:
8198           Fix up includes: need to include stdlib.h in tools.h for exit().
8199
8200 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8201
8202         * gst/gsttaglist.c: (_gst_tag_initialize):
8203         * gst/gsttaglist.h:
8204           API: add GST_TAG_IMAGE tag (#340721).
8205
8206 2006-05-08  Wim Taymans  <wim@fluendo.com>
8207
8208         * gst/gstquery.c:
8209         Added some docs for the segment query.
8210
8211 2006-05-08  Wim Taymans  <wim@fluendo.com>
8212
8213         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8214         (gst_base_src_loop), (gst_base_src_change_state):
8215         Always push non-flushing serialized events in the streaming 
8216         thread.
8217
8218 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8219
8220         * gst/gsterror.c: (_gst_stream_errors_init):
8221           Add a missing error string.
8222
8223 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
8224
8225         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
8226         Add applied_rate to the debug
8227
8228         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
8229         Copy applied_rate into the outgoing NEWSEGMENT event
8230
8231 2006-05-08  Wim Taymans  <wim@fluendo.com>
8232
8233         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
8234
8235         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
8236         (gst_base_sink_change_state):
8237         call ::unlock before taking the PREROLL_LOCK so we can safely
8238         handle elements that lock in ::render.
8239         Fixes #340174.
8240
8241 2006-05-08  Edward Hervey  <edward@fluendo.com>
8242
8243         * autogen.sh: (CONFIGURE_DEF_OPT): 
8244         Darwin's libtoolize is in fact called glibtoolize.
8245         Adding glibtoolize to the list of accepted names for libtoolize.
8246
8247 2006-05-08  Wim Taymans  <wim@fluendo.com>
8248
8249         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8250         Unify error handling, don't post an error message
8251         when a push() returns EOS but perform our normal EOS
8252         handling code. Fixes #340772.
8253
8254 2006-05-08  Wim Taymans  <wim@fluendo.com>
8255
8256         * docs/design/part-overview.txt:
8257         Make upsteam/downstream concepts more clear.
8258         Give an example of serialized/non-serialized events.
8259
8260         * docs/design/part-events.txt:
8261         * docs/design/part-streams.txt:
8262         Mention applied_rate.
8263
8264         * docs/design/part-trickmodes.txt:
8265         Mention applied rate, flesh out some more use cases.
8266
8267         * gst/gstevent.c: (gst_event_new_new_segment),
8268         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
8269         (gst_event_parse_new_segment_full), (gst_event_new_tag),
8270         (gst_event_parse_tag), (gst_event_new_buffer_size),
8271         (gst_event_parse_buffer_size), (gst_event_new_qos),
8272         (gst_event_parse_qos), (gst_event_parse_seek),
8273         (gst_event_new_navigation):
8274         * gst/gstevent.h:
8275         Add applied_rate field to NEWSEGMENT event.
8276         API: gst_event_new_new_segment_full()
8277         API: gst_event_parse_new_segment_full()
8278
8279         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
8280         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
8281         (gst_segment_to_stream_time), (gst_segment_to_running_time):
8282         * gst/gstsegment.h:
8283         Add applied_rate to GstSegment structure.
8284         Make calculation of stream_time and running_time more correct
8285         wrt rate/applied_rate.
8286         Add some more docs.
8287         API: GstSegment::applied_rate field
8288         API: gst_segment_set_newsegment_full();
8289
8290         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8291         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
8292         * libs/gst/base/gstbasetransform.c:
8293         (gst_base_transform_sink_eventfunc),
8294         (gst_base_transform_handle_buffer):
8295         Parse and use applied_rate in the GstSegment field.
8296
8297         * tests/check/gst/gstevent.c: (GST_START_TEST):
8298         Add check for applied_rate field.
8299
8300         * tests/check/gst/gstsegment.c: (GST_START_TEST),
8301         (gstsegments_suite):
8302         Add more checks for various GstSegment operations.
8303
8304 2006-05-08  Wim Taymans  <wim@fluendo.com>
8305
8306         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
8307         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
8308         (gst_base_sink_get_position), (gst_base_sink_change_state):
8309         Store the sync time of the buffer end position separatly in a
8310         new variable eos_rtime so we can properly sync the EOS event.
8311         Fixes #340697.
8312         Fix the docs for gst_base_sink_set_qos_enabled().
8313         Don't set segment start to invalid value when we receive a 
8314         non TIME newsegment.
8315         get closer to handling position reporting for negative rates 
8316         correctly.
8317
8318 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
8319
8320         * gst/gstcaps.c:
8321         Docs about how to print caps for debug purposes.
8322
8323         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
8324         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
8325
8326 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
8327
8328         * gst/gstelement.c:
8329           use full enum names and preprend a '%' in docs strings to make recent 
8330           gtk-doc turn that into a link
8331
8332 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
8333
8334         * docs/manual/basics-bins.xml:
8335         * docs/manual/basics-bus.xml:
8336         * docs/manual/basics-pads.xml:
8337           Some typo fixes, some additions, some clarifications. 
8338
8339 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
8340
8341         * tools/gst-inspect.c: (main):
8342         * tools/gst-launch.c: (main):
8343         * tools/gst-run.c: (main):
8344         * tools/gst-typefind.c: (main):
8345         * tools/gst-xmlinspect.c: (main):
8346           Use the string passed to g_option_context_new() for
8347           what it's intended for - the program name is already
8348           printed elsewhere.
8349
8350 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
8351
8352         * tools/Makefile.am:
8353         * tools/gst-inspect.c: (main):
8354         * tools/gst-launch.c: (main):
8355         * tools/gst-xmlinspect.c: (main):
8356         * tools/tools.h:
8357           Add back --version command line option (#340460).
8358
8359         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
8360           Add --version option and use GOption for argument parsing; refactor a
8361           bit; accept directories as arguments and recurse into them; lastly,
8362           print a decent error message when things go wrong.
8363
8364 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
8365
8366         * docs/manual/basics-bins.xml:
8367         Don't mention GstThread (#340611)
8368         * docs/manual/basics-elements.xml:
8369         Update link to GObject tutorial (#340607)
8370         
8371 2006-05-05  Wim Taymans  <wim@fluendo.com>
8372
8373         * gst/gstbuffer.h:
8374         * gst/gstminiobject.c:
8375         Add note about refcounting and miniobject/buffer writeability
8376         to docs. Fixes #340604
8377
8378         * gst/gstelementfactory.h:
8379         Added some explanation about @klass.
8380
8381 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
8382
8383         * docs/manual/intro-motivation.xml:
8384         * docs/manual/manual.xml:
8385         Avoid CORBA & Bonobo references (#340598)
8386
8387 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
8388
8389         * docs/manual/basics-bus.xml:
8390         * docs/manual/basics-pads.xml:
8391         Fix up some inaccuracies and omissions (#340609)
8392         
8393 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
8394
8395         * gst/gstghostpad.c:
8396           Small typo in docs (#340625)
8397
8398 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
8399
8400         * gst/parse/Makefile.am:
8401           Make 'make -j' proof (see #340698).
8402
8403 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
8404
8405         * configure.ac:
8406           Require GLib-2.8 here as well.
8407
8408 2006-05-05  Wim Taymans  <wim@fluendo.com>
8409
8410         * gst/glib-compat.c:
8411         * gst/gst.c: (init_pre):
8412         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8413         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
8414         (gst_object_dispatch_properties_changed):
8415         * gst/gstobject.h:
8416         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
8417         * gst/gststructure.c: (gst_structure_set_valist):
8418         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8419         Remove pre glib2.8 compatibility, fixes #340508
8420
8421 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
8422
8423         * gst/gsttaglist.h:
8424           Mention type of tags in doc blurbs.
8425
8426 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
8427
8428         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
8429         (gst_pad_configure_src), (gst_pad_push):
8430         Restore acceptcaps checking behaviour now that good plugins have
8431         been released.
8432
8433 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
8434
8435         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
8436
8437         * gst/gst.c:
8438         * gst/gstbus.c:
8439         * gst/gstclock.c:
8440         * gst/gstevent.c:
8441         * gst/gstformat.c:
8442         * gst/gstmessage.c:
8443         * gst/gstparse.c:
8444         * gst/gstquery.c:
8445         * gst/gstutils.c:
8446         * gst/parse/Makefile.am:
8447         * libs/gst/base/gstadapter.c:
8448         * libs/gst/base/gstbasesrc.c:
8449         * libs/gst/base/gstpushsrc.c:
8450         * libs/gst/base/gsttypefindhelper.c:
8451         * plugins/elements/gstfakesrc.c:
8452         * plugins/elements/gstidentity.c:
8453           Make sure gstprivate.h and/or config.h are
8454           always included first, otherwise some of our
8455           defines (like _FILE_OFFSET_BITS) might be
8456           redefined in the system headers. Fixes build
8457           on opensolaris (#340016).
8458
8459 2006-05-04  Wim Taymans  <wim@fluendo.com>
8460
8461         * docs/libs/gstreamer-libs-sections.txt:
8462         API: addition: gst_adapter_take_buffer()
8463         
8464         * libs/gst/base/gstadapter.c: (gst_adapter_push),
8465         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
8466         (gst_adapter_available_fast):
8467         * libs/gst/base/gstadapter.h:
8468         Prepare for optimizing the hell out of this hugely inefficient
8469         piece of code. 
8470         Added gst_adapter_take_buffer() so we can at least start thinking
8471         about subbuffering and merging.
8472         Added some comments.
8473
8474         * tests/check/Makefile.am:
8475         * tests/check/libs/adapter.c: (GST_START_TEST),
8476         (gst_adapter_suite), (main):
8477         Added GstAdapter check.
8478
8479 2006-05-04  Wim Taymans  <wim@fluendo.com>
8480
8481         * docs/design/part-overview.txt:
8482         Fix some typos, add blurb about buffer flags.
8483
8484 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8485
8486         * docs/libs/gstreamer-libs-sections.txt:
8487           make sure GstBaseTransformClass shows up in the docs
8488         * libs/gst/base/gstbasetransform.c:
8489         * libs/gst/base/gstbasetransform.h:
8490           move docs so gtk-doc picks it up now
8491
8492 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
8493
8494         * docs/libs/gstreamer-libs-sections.txt:
8495           add missing symbols to docs
8496
8497 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
8498
8499         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8500           back out the newsegment handling change, see #340060 for ongoing
8501           discussion
8502
8503 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
8504
8505         * tools/gst-run.c: (get_candidates), (main):
8506           Fix wrong g_file_test() usage (see glib docs for why it doesn't
8507           work); fix typo in error message. Fixes #340079.
8508
8509 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
8510
8511         * common/Makefile.am:
8512         * docs/Makefile.am:
8513         * docs/faq/Makefile.am:
8514         * docs/gst/Makefile.am:
8515         * docs/libs/Makefile.am:
8516         * docs/manual/Makefile.am:
8517         * docs/plugins/Makefile.am:
8518         * docs/pwg/Makefile.am:
8519         * docs/slides/Makefile.am:
8520         * docs/upload.mak:
8521         * common/upload.mak:
8522           move upload.mak to common
8523
8524 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
8525
8526         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8527           add more asserts on refcounts
8528           do more cleanup at end of tests
8529           fix test leaks showing in FC5
8530
8531 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
8532
8533         * plugins/elements/gsttypefindelement.c:
8534         (gst_type_find_element_handle_event):
8535         reverted wrong change and reflowed code to avoid others falling into
8536         this trap
8537
8538 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
8539
8540         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8541           fix changelog entry about last collectpads change,
8542           add notes about proper fix
8543
8544 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
8545
8546         * gst/gst.c:
8547         * gst/gstregistry.c: (gst_registry_scan_path_level),
8548         (gst_registry_scan_path):
8549         * gst/gstregistry.h:
8550           only write out registry if it has changed, fixes #338339
8551
8552 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
8553
8554         * gst/gstbin.c:
8555         * gst/gstpipeline.c:
8556         * plugins/elements/gstcapsfilter.c:
8557         * plugins/elements/gstfakesink.c:
8558         * plugins/elements/gstfakesrc.c:
8559         * plugins/elements/gstfdsink.c:
8560         * plugins/elements/gstfdsrc.c:
8561         * plugins/elements/gstfilesink.c:
8562         * plugins/elements/gstfilesrc.c:
8563         * plugins/elements/gstidentity.c:
8564         * plugins/elements/gstqueue.c:
8565         * plugins/elements/gsttee.c:
8566         * plugins/elements/gsttypefindelement.c:
8567         (gst_type_find_element_handle_event):
8568           make GstElementDetails const
8569
8570 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
8571
8572         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
8573         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
8574         (gst_collect_pads_is_collected), (gst_collect_pads_event):
8575           more detailed debug and formatting cleanup,
8576           forward newsegments to src-pad (so that e.g. adder not eats them)
8577
8578 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
8579
8580         * gst/gstutils.c: (gst_element_link_pads):
8581           cleanup double code
8582
8583 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
8584
8585         * libs/gst/controller/gstcontroller.c:
8586         (gst_controller_sync_values):
8587           some little tuning
8588         * tests/check/libs/controller.c: (GST_START_TEST),
8589         (gst_controller_suite):
8590           a new test for live value handling
8591
8592 2006-04-28  Wim Taymans  <wim@fluendo.com>
8593
8594         * gst/gstutils.c: (push_and_ref):
8595         Added some more docs.
8596         Fix refcount issue whith gst_element_found_tags() helper 
8597         function. Fixes #338335
8598
8599         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8600         Added testsuite for gst_element_found_tags().
8601
8602 2006-04-28  Michael Smith  <msmith@fluendo.com>
8603
8604         * gst/gstvalue.c: (gst_value_serialize_flags):
8605           Avoid NULL dereference when trying to serialize flags containing
8606           invalid values.
8607
8608 2006-04-28  Michael Smith  <msmith@fluendo.com>
8609
8610         * plugins/elements/gsttypefindelement.c:
8611         (gst_type_find_element_handle_event):
8612           If we get EOS before any data is accumulated, don't use
8613           uninitialised local variables.
8614
8615 2006-04-28  Michael Smith  <msmith@fluendo.com>
8616
8617         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8618         (gst_dp_event_from_packet):
8619           Fixes in reading/writing events over GDP (not currently used?) - 
8620           dereferencing NULL events for unknown/invalid event types, memory
8621           leak, and change g_warning to GST_WARNING.
8622
8623 2006-04-28  Wim Taymans  <wim@fluendo.com>
8624
8625         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
8626         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
8627         (gst_base_sink_get_position), (gst_base_sink_change_state):
8628         When frame dropping is enabled, we should not ignore frames
8629         without a duration.
8630         Update some documentation.
8631
8632 2006-04-28  Wim Taymans  <wim@fluendo.com>
8633
8634         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8635         (gst_base_src_send_event), (gst_base_src_change_state):
8636         Documentation updates.
8637
8638 2006-04-28  Wim Taymans  <wim@fluendo.com>
8639
8640         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
8641         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
8642         handle EAGAIN, EINTR and short writes correctly. Also clean
8643         up some error cases, avoid a deadlock on bad file descriptors and
8644         use GST_DEBUG_OBJECT.
8645         Fixes #339843
8646
8647 2006-04-28  Wim Taymans  <wim@fluendo.com>
8648
8649         * gst/gstvalue.c: (gst_value_serialize_buffer),
8650         (gst_value_deserialize_buffer):
8651         Don't try to serialize a GValue with a NULL buffer. 
8652         Fixes #339821.
8653
8654         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8655         Added check for serialisation of NULL buffers.
8656
8657 2006-04-28  Wim Taymans  <wim@fluendo.com>
8658
8659         * gst/gstminiobject.c: (gst_value_take_mini_object):
8660         Taking a NULL miniobject is valid, fix the case where
8661         we try to unref the NULL miniobject.
8662
8663 2006-04-28  Wim Taymans  <wim@fluendo.com>
8664
8665         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8666
8667         * gst/gstbin.c: (gst_bin_handle_message_func):
8668         Update docs.
8669         Don't leak bin refcount when a state recalc is
8670         in progress and we delay another one #339808.
8671
8672 2006-04-28  Wim Taymans  <wim@fluendo.com>
8673
8674         * docs/design/part-TODO.txt:
8675         Mention QoS as an ongoing work item.
8676
8677         * docs/design/part-buffering.txt:
8678         New doc about buffering that needs to be fleshed out
8679         at some point.
8680
8681         * docs/design/part-qos.txt:
8682         More QoS policy for decoders/demuxers/transforms
8683
8684         * docs/design/part-trickmodes.txt:
8685         Small update.
8686
8687 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8688
8689         * configure.ac:
8690           back to HEAD
8691
8692 === release 0.10.5 ===
8693
8694 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
8695
8696         * configure.ac:
8697           releasing 0.10.5, "Fogo"
8698
8699 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
8700
8701         patch by: Wim Taymans
8702
8703         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
8704         (gst_pad_configure_src), (gst_pad_push):
8705         * gst/gstpipeline.c: (gst_pipeline_init):
8706           Fix internal data flow errors.  Fixes #338711.
8707
8708 2006-04-12  Wim Taymans  <wim@fluendo.com>
8709
8710         * tests/check/gst/gstelement.c: (GST_START_TEST):
8711         Don't leak the factory.
8712
8713 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8714
8715         * configure.ac:
8716         * win32/common/config.h:
8717           prerelease
8718
8719 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
8720
8721         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8722         (gst_controller_unset_all):
8723           Free allocated GstTimedValues when freeing list nodes.
8724           Should fix leaks 'make check-valgrind' complains about.
8725
8726         * win32/common/libgstcontroller.def:
8727           Add gst_controller_unset_all.
8728
8729 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
8730
8731         * docs/libs/gstreamer-libs-sections.txt:
8732         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8733         (gst_controller_unset_all):
8734         * libs/gst/controller/gstcontroller.h:
8735         API: Added new method gst_controller_unset_all()
8736         fixed gst_controller_unset()
8737         * tests/check/libs/controller.c: (GST_START_TEST),
8738         (gst_controller_suite):
8739         Added two testcases for new and fixed method
8740
8741 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
8742
8743         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
8744           MSG_DONTWAIT is not defined on Cygwin, so work
8745           around that (fixes #317048).
8746           
8747 2006-04-11  Wim Taymans  <wim@fluendo.com>
8748
8749         * gst/gstelementfactory.c: (gst_element_register),
8750         (gst_element_factory_create), (gst_element_factory_make):
8751         Some cleanups.
8752         Fixed a FIXME.
8753         Updated docs (Fixes #131079)
8754
8755         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8756         Small cleanups.
8757
8758         * tests/check/gst/gstelement.c: (GST_START_TEST),
8759         (gst_element_suite):
8760         Added testcase for elementfactory class field.
8761
8762 2006-04-10  Wim Taymans  <wim@fluendo.com>
8763
8764         * gst/gstsegment.c:
8765         Added some more docs.
8766
8767         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
8768         (gst_base_sink_reset_qos):
8769         Calculate more accurate rate values.
8770
8771 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
8772
8773         * gst/gst_private.h:
8774           add a new #ifdef to use __declspec(dllimport) only for
8775           other modules and not for gstreamer core
8776         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
8777           use gst_guint64_to_gdouble for conversion
8778         * win32/common/libgstreamer.def:
8779           add new exported functions
8780         * win32/vs6/gst_inspect.dsp:
8781         * win32/vs6/gst_launch.dsp:
8782         * win32/vs6/libgstbase.dsp:
8783         * win32/vs6/libgstcontroller.dsp:
8784         * win32/vs6/libgstcoreelements.dsp:
8785         * win32/vs6/libgstdataprotocol.dsp:
8786         * win32/vs6/libgstnet.dsp:
8787           update project files
8788
8789 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
8790
8791         * gst/gstbuffer.c: (gst_subbuffer_class_init):
8792         * gst/gstclock.c: (gst_clock_class_init):
8793         * gst/gstelement.c: (gst_element_class_init):
8794         * gst/gstindex.c: (gst_index_class_init):
8795         * gst/gstindexfactory.c: (gst_index_factory_class_init):
8796         * gst/gstobject.c: (gst_object_class_init),
8797         (gst_signal_object_class_init):
8798         * gst/gstpad.c: (gst_pad_class_init):
8799         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
8800         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
8801         * gst/gstregistry.c: (gst_registry_class_init):
8802         * gst/gstsystemclock.c: (gst_system_clock_class_init):
8803         * gst/gsttask.c: (gst_task_class_init):
8804         * gst/gstxml.c: (gst_xml_class_init):
8805         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
8806         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8807         (gst_base_src_loop):
8808         * libs/gst/controller/gstcontroller.c:/
8809         (_gst_controller_class_init):
8810         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
8811         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
8812         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
8813         * tests/old/examples/plugins/example.c: (gst_example_class_init):
8814         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
8815         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
8816
8817 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
8818
8819         * gst/gstpad.c: (gst_pad_link):
8820           Must set peer pads before calling the link function, otherwise
8821           a task started from a link function might get a flow-not-linked
8822           result when trying to push because the other thread where the
8823           linking happens hasn't had a chance to set the peers yet. This
8824           might happen for example when a queue gets linked to a downstream
8825           element, as queue starts a streaming task when its source pad
8826           gets linked. Happens in real life when playing back flac/musepack
8827           files in playbin (#332390).
8828           
8829 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
8830
8831         * gst/gstindex.h:
8832         * gst/gstxml.h:
8833         * libs/gst/base/gstadapter.h:
8834         * libs/gst/base/gstbasesink.h:
8835         * libs/gst/base/gstbasesrc.h:
8836         * libs/gst/base/gstbasetransform.h:
8837         * libs/gst/base/gstcollectpads.h:
8838         * libs/gst/base/gstpushsrc.h:
8839         Fix broken GObject macros
8840
8841 2006-04-07  Wim Taymans  <wim@fluendo.com>
8842
8843         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8844         Initialize start and stop times, thanks valgrind.
8845
8846 2006-04-07  Wim Taymans  <wim@fluendo.com>
8847
8848         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8849         Be a bit nicer to badly behaving upstream elements that expect
8850         us to deal with non TIME segments and timestamps (such as fakesrc
8851         in the testsuite).
8852
8853 2006-04-07  Wim Taymans  <wim@fluendo.com>
8854
8855         * gst/gstbus.c:
8856         Small documentation clarification about the signal watch.
8857
8858         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
8859         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
8860         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8861         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
8862         (gst_base_sink_get_position_last),
8863         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
8864         Convert and store timestamps in stream time and running time, the
8865         raw timestamps are not useful, also document this better.
8866         Use different window sizes for good and bad QoS observations so
8867         we react to badness a little quicker.
8868         Keep track of the amount of rendered and dropped buffers.
8869         Send QoS timestamps in running time.
8870
8871         * libs/gst/base/gstbasetransform.c:
8872         (gst_base_transform_sink_eventfunc),
8873         (gst_base_transform_handle_buffer):
8874         Compare QoS timestamps against running time.
8875
8876 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
8877
8878         * gst/gstpad.c:
8879           Typo fixes in docs.
8880
8881 2006-04-06  Michael Smith  <msmith@fluendo.com>
8882
8883         * gst/gstpad.c: (gst_pad_set_property):
8884           Use g_value_get_object() instead of g_value_dup_gst_object(),
8885           to avoid double-reffing the pad template (which we then sink,
8886           so this worked previously if (and only if) the pad template
8887           was floating.
8888
8889         * gst/gstpadtemplate.c: (gst_pad_template_init),
8890         (gst_pad_template_pad_created):
8891           Never return floating references to pad templates, create
8892           them as initially-sunken.
8893
8894           Document an extra function (and make this stop sinking our
8895           pad template, since that is now guaranteed to do nothing,
8896           since we created it sunken).
8897
8898         * gst/gstghostpad.c:
8899           Fix docs typo.
8900
8901 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
8902
8903         * gst/gstinfo.c: (__gst_in_valgrind):
8904           Add some newlines.
8905
8906         * plugins/elements/gsttypefindelement.c:
8907         (gst_type_find_element_chain):
8908           Don't leak buffer caps.
8909
8910 2006-04-06  Michael Smith  <msmith@fluendo.com>
8911
8912         * gst/parse/grammar.y:
8913           Fix a leak in parse-launch for any source-or-sink named element 
8914           references used.
8915
8916         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
8917           Unref the pipeline if it exists after we've failed parsing.
8918
8919 2006-04-05  Michael Smith  <msmith@fluendo.com>
8920
8921         * gst/gstpipeline.c: (gst_pipeline_init):
8922           When we create a pipeline bus, initially create it in flushing mode.
8923           Fixes leaks in at least one test, and makes a new pipeline work the
8924           same as one that has gone to READY and then back to NULL.
8925
8926         * gst/gstelement.c:
8927           Typo fix in docs.
8928
8929 2006-04-05  Michael Smith  <msmith@fluendo.com>
8930
8931         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8932           Unref a pad we reffed.
8933         * tests/check/gst/gstutils.c: (GST_START_TEST):
8934           Unref bins
8935
8936 2006-04-05  Michael Smith  <msmith@fluendo.com>
8937
8938         * gst/gstquery.c: (gst_query_set_formats),
8939         (gst_query_set_formatsv):
8940           Fix leaking GValues in queries, as shown by valgrind/testsuite.
8941
8942 2006-04-05  Michael Smith  <msmith@fluendo.com>
8943
8944         * tests/check/generic/sinks.c: (GST_START_TEST):
8945           Fix a variety of memleaks in sinks check, which are only sometimes 
8946           shown by running the tests under valgrind (weird?).
8947
8948 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
8949
8950         * docs/version.entities.in:
8951           Fix the substituted entity name after thomas' changes on the
8952           weekend.
8953
8954 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8955
8956         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
8957         VALGRIND_PRINTF
8958         
8959 2006-04-05  Andy Wingo  <wingo@pobox.com>
8960
8961         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
8962
8963         * libs/gst/base/gstbasetransform.c
8964         (gst_base_transform_sink_eventfunc): When resetting our segment on
8965         FLUSH_STOP, also update the flag saying we haven't seen a
8966         newsegment.
8967
8968 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
8969
8970         Patch by: Paolo Borelli  <pborelli at katamail dot com>
8971
8972         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
8973         (gst_plugin_check_license):
8974           minor clean-ups: G_DEFINE_TYPE already takes care of the
8975           parent_class stuff, no need to do it twice. Mark array of
8976           license strings as constant. (#337103)
8977           
8978 2006-04-04  Michael Smith  <msmith@fluendo.com>
8979
8980         * tools/gst-inspect.c: (print_element_list):
8981           Free the right plugin list; fixes a memory leak.
8982
8983 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
8984
8985         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
8986
8987         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
8988           Don't error out on empty buffers (#336945).
8989           
8990 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
8991
8992         * docs/libs/gstreamer-libs-sections.txt:
8993         * gst/gsttaglist.c:
8994         * libs/gst/base/gstbasesink.c:
8995         * libs/gst/base/gstbasesink.h:
8996         * libs/gst/base/gstbasesrc.c:
8997         * libs/gst/base/gstbasesrc.h:
8998           Documentation updates. Make BaseSink and BaseSrc docs contain the
8999           class structure so that people can actually see the prototypes for
9000           virtual functions they're supposed to be overriding.
9001
9002 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
9003
9004         * plugins/elements/gsttypefindelement.c:
9005         (gst_type_find_element_chain):
9006           More debug info; when skipping typefinding, send cached
9007           events in all cases.
9008
9009 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9010
9011         * configure.ac:
9012           use new AS_VERSION and AS_NANO macros
9013         * gst/gst-i18n-lib.h:
9014         * gst/gst.c:
9015         * gst/gsterror.c:
9016         * gst/gstversion.h.in:
9017         * win32/common/config.h:
9018         * win32/common/config.h.in:
9019           update accordingly
9020
9021 2006-03-31  Michael Smith  <msmith@fluendo.com>
9022
9023         * plugins/elements/gsttypefindelement.c:
9024         (gst_type_find_element_chain):
9025           Do not typefind content if the buffers already have caps.
9026           Neccesary for icydemux (#333657), and the right thing to do anyway.
9027
9028 2006-03-30  Wim Taymans  <wim@fluendo.com>
9029
9030         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9031         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
9032         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
9033         (gst_base_sink_record_qos_observation),
9034         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9035         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
9036         (gst_base_sink_change_state):
9037         More QoS measurements as described in the design doc.
9038         Get rid of ringbuffer with observations, running average is
9039         more simple and equally good.
9040         Calculates valid proportion now.
9041         Added beginning of flood measurement.
9042
9043 2006-03-29  Wim Taymans  <wim@fluendo.com>
9044
9045         * docs/design/part-qos.txt:
9046         * gst/gstclock.c:
9047         Small documentation updates and additions.
9048
9049 2006-03-29  Wim Taymans  <wim@fluendo.com>
9050
9051         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
9052         (gst_base_src_send_event), (gst_base_src_loop),
9053         (gst_base_src_change_state):
9054         Perform the EOS logic when we reach the segment stop position.
9055         Fix compilation on gcc4.1
9056
9057 2006-03-29  Wim Taymans  <wim@fluendo.com>
9058
9059         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9060
9061         * plugins/elements/gstqueue.c: (gst_queue_init),
9062         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9063         (gst_queue_set_property):
9064         * plugins/elements/gstqueue.h:
9065         In queue, when EOS is received, if minimum threshold > max_size -
9066         current_level, there is chance that queue blocks forever in conditional
9067         item del wait. This is because the queue is not emptied completely due
9068         to minimum threshold.  Here is another approach. Instead of setting
9069         cur_levels to max in EOS, just zero all minimum threshold levels. This
9070         should make sure that queue gives out all data. When going to READY
9071         (stop) state, just reset the original minimum threshold levels.
9072         Fixes #336336.
9073
9074 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
9075
9076         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
9077         (gst_type_find_element_handle_event),
9078         (gst_type_find_element_send_cached_events),
9079         (gst_type_find_element_change_state):
9080         * plugins/elements/gsttypefindelement.h:
9081           When typefinding is done in push mode, we should cache
9082           events we receive during typefinding instead of just
9083           dropping them (e.g. newsegment, custom events from
9084           dvdreadsrc etc.) and then send them out once we've
9085           determined the type of the stream (and decodebin
9086           has had a chance to plug in a decoder/demuxer).
9087           
9088 2006-03-27  Wim Taymans  <wim@fluendo.com>
9089
9090         * docs/design/part-qos.txt:
9091         First QoS ideas.
9092
9093 2006-03-27  Wim Taymans  <wim@fluendo.com>
9094
9095         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
9096
9097         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
9098         (gst_base_src_send_event), (gst_base_src_change_state):
9099         Handle element seek correctly when we are streaming.
9100         Fixes #326998.
9101
9102 2006-03-24  Michael Smith  <msmith@fluendo.com>
9103
9104         * docs/faq/gst-uninstalled:
9105           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
9106           allow you to correctly run intalled applications built against old 
9107           core, using plugins that require updated core (e.g. running
9108           installed totem against a full uninstalled gstreamer stack)
9109
9110 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
9111
9112         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
9113         more debug details
9114
9115 2006-03-24  Wim Taymans  <wim@fluendo.com>
9116
9117         * docs/gst/gstreamer-sections.txt:
9118         Rearrange the order of the methods so that related methods
9119         are grouped together in sections.
9120
9121 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
9122
9123         * gst/gstelement.c:
9124           Little clarification in the docs
9125
9126 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
9127
9128         * docs/README:
9129         formatting fix
9130         * plugins/elements/gstidentity.c:
9131         * plugins/elements/gstqueue.c:
9132         * plugins/elements/gsttee.c:
9133         * plugins/elements/gsttypefindelement.c:
9134         GST_ELEMENT_DETAILS formatting
9135
9136 2006-03-24  Wim Taymans  <wim@fluendo.com>
9137
9138         * libs/gst/base/gstbasesink.h:
9139         Only add fields, not insert or we break ABI.
9140
9141 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
9142
9143         * win32/common/libgstbase.def:
9144         * win32/common/libgstreamer.def:
9145           Update, add recently added functions.
9146
9147 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
9148
9149         * docs/gst/gstreamer-sections.txt:
9150         * gst/gstutils.c: (gst_pad_query_peer_position),
9151         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
9152         * gst/gstutils.h:
9153           API: add some new utility functions:
9154            - gst_pad_query_peer_position()
9155            - gst_pad_query_peer_duration()
9156            - gst_pad_query_peer_convert()
9157           
9158 2006-03-23  Wim Taymans  <wim@fluendo.com>
9159
9160         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9161         (gst_base_sink_init), (gst_base_sink_finalize),
9162         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
9163         (gst_base_sink_set_property), (gst_base_sink_get_property),
9164         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
9165         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
9166         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
9167         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9168         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
9169         (gst_base_sink_preroll_object), (gst_base_sink_event),
9170         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
9171         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
9172         (gst_base_sink_query), (gst_base_sink_change_state):
9173         Decouple max-lateness and the fact that QoS messages are generated
9174         with a new property (qos).
9175         added API: GstBaseSink::async_play()
9176         Add vmethod so subclasses can be notified of ASYNC playing
9177         state changes.
9178         Collect timestamp start and stop to report better current
9179         position in EOS/PLAYING/PAUSED/READY/NULL.
9180         Refactor QoS/frame dropping and other measurements.
9181         API: GstBaseSrc::qos
9182         Fixes #326311
9183
9184         * libs/gst/base/gstbasesink.h:
9185         Added Private struct.
9186         API: gst_base_sink_set_qos_enabled()
9187         API: gst_base_sink_is_qos_enabled()
9188
9189 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
9190
9191         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
9192           If compiling against GLib-2.8 or newer, try to read the
9193           registry file using GMappedFile first before falling back
9194           to fopen() + fread() (#332151).
9195
9196 2006-03-22  Wim Taymans  <wim@fluendo.com>
9197
9198         * gst/gstinfo.c: (gst_debug_set_active),
9199         (gst_debug_category_set_threshold):
9200         Disable debugging unless explicitly activated.
9201         Fixes #335480.
9202
9203 2006-03-22  Wim Taymans  <wim@fluendo.com>
9204
9205         * gst/gstelement.c: (gst_element_set_locked_state),
9206         (gst_element_dispose):
9207         Cleanup the error case.
9208
9209         * gst/gstobject.c: (gst_object_dispose):
9210         print a critical when some object was disposed with
9211         a parent, also revive the object since it might
9212         crash the parent.
9213
9214 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
9215
9216         * tools/gst-launch.1.in:
9217           Fix another typo.
9218
9219 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9220
9221         * configure.ac:
9222         * tests/check/Makefile.am:
9223           disable some tests when we don't have a registry
9224         * tests/check/gst/gstutils.c: (gst_utils_suite):
9225           don't build the part that needs parsing
9226
9227 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9228
9229         * gst/Makefile.am
9230         * tests/examples/Makefile.am:
9231           fix --disable-parse build
9232
9233 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
9234
9235         * tools/gst-feedback.1.in:
9236           Fix typo: s/feeback/feedback/ (#133494).
9237
9238 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
9239
9240         * tools/Makefile.am:
9241         * tools/gst-launch.1.in:
9242           Add FILES section and correct entry about GST_REGISTRY_PATH
9243           environment variable (#133495; #133494).
9244
9245 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
9246
9247         * tools/Makefile.am:
9248         * tools/gst-md5sum.1.in:
9249         * tools/gst-md5sum.c:
9250           Remove gst-md5sum and man page (the md5sink element
9251           required was removed ages ago)
9252
9253 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
9254
9255         * gst/gststructure.c: (gst_structure_id_set_value):
9256           Make sure that string fields in structures/taglists
9257           contain valid UTF-8 - we don't want to pass rubbish to
9258           applications because of a buggy plugin (cp. #334167).
9259
9260 2006-03-21  Edward Hervey  <edward@fluendo.com>
9261
9262         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9263         (gst_bin_handle_message_func):
9264         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
9265         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
9266         (gst_element_set_bus_func):
9267         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
9268         * gst/gstminiobject.c: (gst_value_set_mini_object),
9269         (gst_value_take_mini_object):
9270         * gst/gstpad.c: (gst_pad_set_pad_template):
9271         * gst/gstpipeline.c: (gst_pipeline_dispose),
9272         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
9273         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
9274         (gst_collect_pads_chain):
9275         * libs/gst/net/gstnettimeprovider.c:
9276         (gst_net_time_provider_set_property):
9277         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
9278         It's in fact all issues with gst_*object_replace().
9279
9280 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
9281
9282         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
9283         
9284         * pkgconfig/gstreamer-check-uninstalled.pc.in:
9285         * pkgconfig/gstreamer-check.pc.in:
9286           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
9287
9288 2006-03-21  Edward Hervey  <edward@fluendo.com>
9289
9290         * gst/gstbuffer.h:
9291         * gst/gstevent.h:
9292         * gst/gstmessage.h:
9293         gst_[buffer|event|message]_ref() macros are replaced by a static
9294         inline functions because gcc-4.1 will about if the return value
9295         isn't used.
9296         * tests/check/gst/gstevent.c: (event_probe):
9297         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
9298
9299 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
9300
9301         * gst/gstutils.h:
9302         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
9303         the type' case. (Closes: #335195 for now). In the future, when we
9304         depend on GLib 2.10, we could also intern the type name using
9305         g_intern_static_string()
9306
9307 2006-03-20  Wim Taymans  <wim@fluendo.com>
9308
9309         * gst/gstbin.c: (gst_bin_handle_message_func),
9310         (bin_query_max_init), (bin_query_position_fold),
9311         (bin_query_position_done), (gst_bin_query):
9312         Position query should also take max of all streams.
9313
9314 2006-03-20  Wim Taymans  <wim@fluendo.com>
9315
9316         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9317         (gst_fake_src_finalize):
9318         Fix leaks in fakesrc.
9319
9320         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9321         Fix leaks in the testcase.
9322
9323 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
9324
9325         * gst/gst_private.h:
9326           add win32 specific import decoration(__declspec(dllimport)) 
9327           for all extern GstDebugCategory * variables
9328         * win32/common/libgstbase.def:
9329         * win32/common/libgstcontroller.def:
9330         * win32/common/libgstreamer.def:
9331           Add some exports, remove empty lines
9332         * win32/common/libgstdataprotocol.def:
9333         * win32/common/libgstdataprotocol.dsp:
9334         * win32/common/libgstnet.def:
9335         * win32/common/libgstnet.dsp:
9336           new project files and exportation files added
9337         
9338 2006-03-19  Wim Taymans  <wim@fluendo.com>
9339
9340         * tests/check/libs/basesrc.c: (eos_event_counter):
9341         Use proper return value for probe.
9342
9343 2006-03-17  Wim Taymans  <wim@fluendo.com>
9344
9345         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
9346         (gst_pad_push):
9347         Don't leak buffers, caps and pads on negotiation errors.
9348
9349 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
9350
9351         * docs/faq/cvs.xml:
9352         * docs/faq/dependencies.xml:
9353         * docs/faq/developing.xml:
9354         * docs/faq/faq.xml:
9355         * docs/faq/general.xml:
9356         * docs/faq/getting.xml:
9357         * docs/faq/legal.xml:
9358         * docs/faq/troubleshooting.xml:
9359         * docs/faq/using.xml:
9360         Faq review and update.
9361
9362 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
9363
9364         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
9365         (gst_pad_push):
9366         Don't pound the cpu to pieces by checking get_caps when accept_caps
9367         is called with the same caps as the pad already has.
9368         Use GST_DEBUG_OBJECT when outputting caps change information.
9369
9370 2006-03-15  Wim Taymans  <wim@fluendo.com>
9371
9372         * gst/gstclock.c: (gst_clock_class_init):
9373         Fix docs.
9374
9375 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
9376
9377         * gst/gstbuffer.h:
9378         Documentation fix.
9379
9380         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
9381         (gst_pad_accept_caps), (gst_pad_configure_sink),
9382         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
9383         Make the default acceptcaps behaviour be to check the requested 
9384         caps against the gst_pad_get_caps output. 
9385
9386         Ensure that gst_pad_accept_caps is used to check caps when a pad
9387         doesn't have a setcaps function, so that pads automatically refuse 
9388         caps that they don't allow in their pad template. (Fixes #332986)
9389
9390         When a buffer with attached caps is pushed, ensure that the source 
9391         pad receives those caps even if the element didn't call
9392         gst_pad_set_caps first.
9393
9394 2006-03-15  Wim Taymans  <wim@fluendo.com>
9395
9396         * libs/gst/base/gstadapter.c:
9397         Add some docs.
9398
9399 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9400
9401         * win32/common/libgstbase.def:
9402         * win32/common/libgstcontroller.def:
9403         * win32/common/libgstreamer.def:
9404           Add a whole bunch of missing functions (#334434).
9405
9406 2006-03-14  Wim Taymans  <wim@fluendo.com>
9407
9408         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9409         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
9410         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
9411         Better debug info when we receive a segment event.
9412         Reorganize a bit so we can pass the get_times() results around.
9413         Use the segment format when calculating the running time.
9414         Don't do QoS is sync is disabled or we have no clock or the
9415         element does not want us to sync to the clock.
9416         Don't drop buffers if QoS is disabled for now.
9417
9418 2006-03-14  Wim Taymans  <wim@fluendo.com>
9419
9420         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
9421         Marked the stats property as unimplemented so people don't get
9422         wild ideas.
9423         Add debug message when regression goes wrong.
9424         Added some more docs.
9425
9426 2006-03-14  Wim Taymans  <wim@fluendo.com>
9427
9428         * gst/gstsegment.c: (gst_segment_to_stream_time):
9429         Return correct return type in case of errors.
9430
9431 2006-03-14  Wim Taymans  <wim@fluendo.com>
9432
9433         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
9434           Don't segfault on invalid formats.
9435
9436 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9437
9438         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9439           Can't use gst_segment_to_running_time() when the segment
9440           is not in GST_TIME_FORMAT (like with filesink, for example).
9441           Stops flac encoding pipelines from spewing critical warnings
9442           at EOS (#331248).
9443           
9444 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9445
9446         * gst/gstpipeline.c: (gst_pipeline_class_init):
9447           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
9448
9449         * plugins/elements/gsttypefindelement.c:
9450         (gst_type_find_element_handle_event):
9451           Don't try to typefind empty streams.
9452
9453 2006-03-14  Wim Taymans  <wim@fluendo.com>
9454
9455         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
9456         (gst_base_sink_do_qos):
9457         Separate QoS calculation.
9458         Only drop buffers when lateness is bigger than the 
9459         duration of the buffer.
9460
9461 2006-03-13  Wim Taymans  <wim@fluendo.com>
9462
9463         * gst/gstpipeline.c: (gst_pipeline_set_property),
9464         (gst_pipeline_get_property), (do_pipeline_seek),
9465         (gst_pipeline_change_state), (gst_pipeline_set_delay),
9466         (gst_pipeline_get_delay):
9467         Don't deadlock when reading properties.
9468
9469 2006-03-13  Wim Taymans  <wim@fluendo.com>
9470
9471         * libs/gst/base/gstbasetransform.c:
9472         (gst_base_transform_class_init), (gst_base_transform_init),
9473         (gst_base_transform_sink_event),
9474         (gst_base_transform_sink_eventfunc),
9475         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
9476         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9477         (gst_base_transform_set_property),
9478         (gst_base_transform_get_property),
9479         (gst_base_transform_change_state), (gst_base_transform_update_qos),
9480         (gst_base_transform_set_qos_enabled),
9481         (gst_base_transform_is_qos_enabled):
9482         * libs/gst/base/gstbasetransform.h:
9483         Make basetransform virtual method for src events too.
9484         Handle QOS in basetransform.
9485         API: gst_base_transform_update_qos()
9486         API: gst_base_transform_set_qos_enabled()
9487         API: gst_base_transform_is_qos_enabled()
9488
9489 2006-03-13  Wim Taymans  <wim@fluendo.com>
9490
9491         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9492         (gst_base_sink_do_sync):
9493         Small cleanups.
9494         Use QOS debug category.
9495
9496 2006-03-13  Wim Taymans  <wim@fluendo.com>
9497
9498         * plugins/elements/gstqueue.c:
9499         Very small doc update.
9500
9501 2006-03-13  Wim Taymans  <wim@fluendo.com>
9502
9503         * gst/gst_private.h:
9504         * gst/gstinfo.c: (_gst_debug_init):
9505         Added QOS debug category
9506
9507 2006-03-13  Wim Taymans  <wim@fluendo.com>
9508
9509         * docs/gst/gstreamer-sections.txt:
9510         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
9511         * gst/gstbin.h:
9512         * gst/gstbus.c: (gst_bus_class_init):
9513         * gst/gstbus.h:
9514         * gst/gstclock.c:
9515         * gst/gstelement.c: (gst_element_set_locked_state):
9516         * gst/gstsegment.c:
9517         Documentation updates.
9518
9519         * gst/gstpipeline.c: (gst_pipeline_get_type),
9520         (gst_pipeline_class_init), (gst_pipeline_init),
9521         (gst_pipeline_dispose), (gst_pipeline_set_property),
9522         (gst_pipeline_get_property), (do_pipeline_seek),
9523         (gst_pipeline_send_event), (gst_pipeline_change_state),
9524         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
9525         (gst_pipeline_get_delay):
9526         * gst/gstpipeline.h:
9527         Added methods for setting the delay.
9528         API: gst_pipeline_set_delay()
9529         API: gst_pipeline_get_delay()
9530         Add pipeline debug category
9531         Various cleanups.
9532         Updated docs.
9533         Don't reset stream time when seek failed.
9534
9535 2006-03-13  Wim Taymans  <wim@fluendo.com>
9536
9537         * docs/design/draft-klass.txt:
9538         * docs/design/part-clocks.txt:
9539         * docs/design/part-events.txt:
9540         * docs/design/part-gstbin.txt:
9541         * docs/design/part-gstpipeline.txt:
9542         * docs/design/part-messages.txt:
9543         * docs/design/part-negotiation.txt:
9544         * docs/design/part-overview.txt:
9545         * docs/design/part-preroll.txt:
9546         * docs/design/part-seeking.txt:
9547         * docs/design/part-states.txt:
9548         * docs/design/part-streams.txt:
9549         Documentation updates.
9550
9551 2006-03-12  Julien MOUTTE  <julien@moutte.net>
9552
9553         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
9554         us to leak strings...
9555
9556 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9557
9558         * libs/gst/net/gstnettimeprovider.c:
9559           fix docs
9560         * win32/common/config.h:
9561           update
9562
9563 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9564
9565         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
9566
9567         * configure.ac:
9568           Don't check for libgnomeui (leftover from old examples
9569           that aren't built or disted any longer) (#334303).
9570           
9571 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
9572
9573         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
9574         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
9575           Emit RESOURCE_NO_SPACE_LEFT error here as well when
9576           there's no space left on the device.
9577
9578 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
9579
9580         * gst/gstclock.h:
9581           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
9582           to cast the input to GstClockTime before comparing with
9583           another GstClockTime value.
9584
9585 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9586
9587         * configure.ac:
9588           back to trunk
9589
9590 === release 0.10.4 ===
9591
9592 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
9593
9594         * configure.ac:
9595           releasing 0.10.4, "Light"
9596
9597 2006-03-10  Michael Smith  <msmith@fluendo.com>
9598
9599         * libs/gst/dataprotocol/dataprotocol.c:
9600           Fix docs for dataprocotol to not get the return types completely
9601           wrong for a few functions.
9602
9603 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
9604
9605         * docs/gst/gstreamer-sections.txt:
9606         * gst/gstpipeline.c: (gst_pipeline_class_init),
9607         (gst_pipeline_init), (gst_pipeline_set_property),
9608         (gst_pipeline_get_property), (gst_pipeline_change_state),
9609         (gst_pipeline_set_auto_flush_bus),
9610         (gst_pipeline_get_auto_flush_bus):
9611         * gst/gstpipeline.h:
9612           Add new API: gst_pipeline_set_auto_flush_bus() and
9613           gst_pipeline_get_auto_flush_bus() to disable automatic
9614           flushing of the pipeline's GstBus when going from READY
9615           to NULL state (#332045).
9616
9617 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
9618
9619         * docs/gst/gstreamer-sections.txt:
9620         * gst/gsturi.c: (gst_uri_has_protocol):
9621         * gst/gsturi.h:
9622            Add new API: gst_uri_has_protocol() (#333779).
9623
9624 2006-03-09  Wim Taymans  <wim@fluendo.com>
9625
9626         * gst/gstclock.c: (gst_clock_entry_new),
9627         (gst_clock_id_compare_func), (gst_clock_id_wait),
9628         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
9629         (gst_clock_init), (gst_clock_get_internal_time),
9630         (gst_clock_set_master), (do_linear_regression),
9631         (gst_clock_add_observation), (gst_clock_set_property):
9632         * gst/gstclock.h:
9633         Review docs.
9634         Small cleanups.
9635         Fix a possible segfault when the window-size is made smaller.
9636         Calculate jitter before performing the clock wait. Ideally
9637         the clock implementation should calculate jitter but we need
9638         API breakage for that.
9639
9640         * gst/gstsystemclock.c: (gst_system_clock_init):
9641         Docs review.
9642         
9643         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9644         Remove leftover else
9645
9646         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9647         (gst_systemclock_suite):
9648         Added check to test GST_CLOCK_DIFF.
9649
9650 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
9651
9652         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
9653         (gst_type_find_helper_get_range):
9654           If we are provided with the size, we should implement
9655           GstTypeFind::get_length, so that typefind functions who
9656           want to can actually peek at the middle of a file.
9657
9658 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
9659
9660         * docs/manual/advanced-dataaccess.xml:
9661           Add some very very basic error checking.
9662
9663         * docs/pwg/appendix-checklist.xml:
9664           Some updates to the list of things to check when writing an element.
9665
9666 2006-03-08  Wim Taymans  <wim@fluendo.com>
9667
9668         * docs/design/part-element-transform.txt:
9669         Added some docs about the design of tranform elements.
9670
9671         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9672         (gst_base_src_loop), (gst_base_src_change_state):
9673         Mark buffers with the DISCONT flag.
9674
9675 2006-03-08  Michael Smith  <msmith@fluendo.com>
9676
9677         * gst/gstregistry.h:
9678         * gst/gstregistryxml.c: (gst_registry_save),
9679         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
9680         (gst_registry_xml_save_pad_template),
9681         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
9682         (gst_registry_xml_write_cache):
9683           Rewrite registry-saving to avoid race conditions and check for
9684           failed writes.
9685
9686 2006-03-08  Wim Taymans  <wim@fluendo.com>
9687
9688         * libs/gst/base/gstbasetransform.c:
9689         (gst_base_transform_transform_caps),
9690         (gst_base_transform_transform_size),
9691         (gst_base_transform_prepare_output_buffer),
9692         (gst_base_transform_get_unit_size),
9693         (gst_base_transform_buffer_alloc),
9694         (gst_base_transform_handle_buffer),
9695         (gst_base_transform_change_state):
9696         Cleanups, separate normal flow from errors, add sensible
9697         DEBUG lines.
9698         Don't try to renegotiate when allocating an output buffer.
9699         Also copy DISCONT buffer flag when copying a buffer.
9700         Reset the transform after we finish streaming, not during.
9701
9702 2006-03-08  Wim Taymans  <wim@fluendo.com>
9703
9704         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9705         Use last buffer timestamp in qos message.
9706
9707 2006-03-07  Wim Taymans  <wim@fluendo.com>
9708
9709         Patch by: Christophe Fergeau
9710
9711         * docs/pwg/advanced-tagging.xml:
9712         * docs/pwg/building-pads.xml:
9713           fixes #333416
9714
9715 2006-03-07  Wim Taymans  <wim@fluendo.com>
9716
9717         * docs/libs/gstreamer-libs-sections.txt:
9718         Added basesink new methods.
9719
9720         * gst/gstevent.c:
9721         * gst/gstevent.h:
9722         Docs updates. Flesh out the QoS docs.
9723
9724         * libs/gst/base/gstadapter.c:
9725         Small doc clarification about ownership and flushing.
9726
9727         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
9728         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
9729         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
9730         (gst_base_sink_get_property), (gst_base_sink_do_sync):
9731         * libs/gst/base/gstbasesink.h:
9732         API additions: 
9733         Added new methods to allow subclass to control max-lateness 
9734         and sync.
9735         Generate very basic QoS events based on last sync observation.
9736         Updated docs, fix typo, added some QoS blurb.
9737
9738         * libs/gst/base/gstbasesrc.c:
9739         Remove obsolete _get_state() calls from docs.
9740
9741 2006-03-07  Wim Taymans  <wim@fluendo.com>
9742
9743         * docs/libs/gstreamer-libs-sections.txt:
9744         * libs/gst/base/gstbasetransform.h:
9745         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
9746         Fix docs for GstBaseSrc.
9747
9748 2006-03-07  Wim Taymans  <wim@fluendo.com>
9749
9750         * docs/gst/gstreamer-sections.txt:
9751         * gst/gstbuffer.h:
9752         * gst/gstvalue.c:
9753         * libs/gst/base/gstbasetransform.h:
9754         Small documentation fixes.
9755
9756 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9757
9758         * gst/gstvalue.c:
9759           Document thread-unsafety of gst_value_register_foo_func()
9760           when used at the same time as gst_value_foo() (#322628).
9761
9762 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9763
9764         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
9765         (gst_push_src_check_get_range):
9766           Push sources don't support pull mode by default.
9767
9768 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
9769
9770         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9771         (gst_base_src_init), (gst_base_src_pad_check_get_range),
9772         (gst_base_src_default_check_get_range):
9773         * libs/gst/base/gstbasesrc.h:
9774           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
9775           provide default implementation, and rename
9776           gst_base_src_check_get_range() to
9777           gst_base_src_pad_check_get_range() for clarity.
9778
9779 2006-03-06  Wim Taymans  <wim@fluendo.com>
9780
9781         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9782         Make property overridable.
9783
9784 2006-03-06  Wim Taymans  <wim@fluendo.com>
9785
9786         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9787         (gst_base_sink_init), (gst_base_sink_set_property),
9788         (gst_base_sink_get_property), (gst_base_sink_do_sync):
9789         * libs/gst/base/gstbasesink.h:
9790         API addition: Make max-lateness a property.
9791
9792 2006-03-06  Wim Taymans  <wim@fluendo.com>
9793
9794         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
9795         (gst_base_sink_do_sync), (gst_base_sink_render_object):
9796         Don't ever draw a frame that is >10ms late.
9797
9798 2006-03-06  Michael Smith  <msmith@fluendo.com>
9799
9800         * gst/gstmessage.c: (_gst_message_copy):
9801           When copying a message, set the parent_refcount of the enclosed
9802           structure to point at the copy, not the original message.
9803
9804 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
9805
9806         Patch by: Christophe Fergeau
9807
9808         * gst/gstutils.h:
9809           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
9810           usable in c++ code (#333417)
9811
9812 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9813
9814         * gst/gstclock.h:
9815           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
9816
9817 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
9818
9819         * libs/gst/base/gstbasetransform.c:
9820         (gst_base_transform_transform_caps):
9821           Make sure caps are writable before passing them to
9822           gst_caps_append().
9823
9824 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
9825
9826         * gst/gsterror.h:
9827           Fix some minor docs errors.
9828
9829 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
9830
9831           Patch by: Ross Burton <ross at burtonini dot com>
9832
9833         * gst/gsterror.c: (_gst_resource_errors_init):
9834         * gst/gsterror.h:
9835           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
9836
9837 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
9838
9839         * gst/gst.c:
9840         Add a check and output a g_warning when GStreamer is built
9841         against GLib 2.6 but running against 2.8 or higher, and vice 
9842         versa. (Closes: #323542)
9843
9844 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
9845
9846         * gst/parse/parse.l:
9847           Commit patch for parse_launch syntax from #331255. Removes 
9848           support for quoted strings and mimetypes when writing filtered 
9849           caps. See the bug report for more details - I'm pretty sure this
9850           obscure feature is not in use by _anyone_ anywhere.
9851
9852           With this simple change, the size of the gstreamer.so here 
9853           drops from 2193KB to 1565KB.
9854
9855 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
9856
9857         * plugins/elements/gsttypefindelement.h:
9858         * plugins/elements/gsttypefindelement.c:
9859         (gst_type_find_element_src_event), (start_typefinding),
9860         (stop_typefinding), (gst_type_find_element_handle_event),
9861         (gst_type_find_element_chain),
9862         (gst_type_find_element_chain_do_typefinding):
9863           Use gst_type_find_helper_for_buffer() for chain-based
9864           typefinding.
9865
9866 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
9867
9868         * plugins/elements/gsttypefindelement.c:
9869         (gst_type_find_element_class_init),
9870         (gst_type_find_element_set_property),
9871         (gst_type_find_element_get_property):
9872           Deprecate "maximum" property (not only was it only taken into
9873           account for typefinding in push-mode anyway, it also was never
9874           actually possible to set it in the first place because the
9875           property was registered with the numeric property ID for the
9876           "minimum" property). Register "maximum" property correctly,
9877           for the sake of future copy'n'pasters. Remove some cruft
9878           from property get/set functions.
9879
9880 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
9881
9882         * plugins/elements/gsttypefindelement.c:
9883         (gst_type_find_element_activate):
9884           Use gst_type_find_helper_get_range() here, so we
9885           can honour the "minimum" property and also emit
9886           the signal with the correct probability of the found caps.
9887
9888 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
9889
9890         * docs/libs/gstreamer-libs-sections.txt:
9891         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
9892         (helper_find_suggest), (gst_type_find_helper_get_range),
9893         (gst_type_find_helper):
9894         * libs/gst/base/gsttypefindhelper.h:
9895           New API: gst_type_find_helper_get_range() (#333042).
9896
9897 2006-03-02  Michael Smith  <msmith@fluendo.com>
9898
9899         * gst/gstregistryxml.c: (load_feature):
9900           Asserting on a failure to read part of the registry is Not Cool.
9901           Just log a warning and return NULL (which is already handled)
9902
9903 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
9904
9905         * win32/common/libgstbase.def:
9906           added export of gst_type_find_helper_for_buffer
9907         * win32/common/libgstbase.def:
9908           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
9909           gst_ghost_pad_get_target
9910
9911 2006-02-28  Wim Taymans  <wim@fluendo.com>
9912
9913         * docs/design/draft-klass.txt:
9914         We use Filter now.
9915         Added Connector to mark elements that are only used to
9916         allow pipeline connections.
9917         Moved Debug to extra feature since most of them are 
9918         functionally something else.
9919
9920 2006-02-28  Wim Taymans  <wim@fluendo.com>
9921
9922         * docs/design/draft-klass.txt:
9923         Some updates and clarifications.
9924
9925 2006-02-28  Wim Taymans  <wim@fluendo.com>
9926
9927         * docs/design/draft-klass.txt:
9928         Proposal for klass field values.
9929
9930         * docs/design/part-streams.txt:
9931         Start of a doc describing stream anatomy.
9932
9933 2006-02-28  Wim Taymans  <wim@fluendo.com>
9934
9935         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
9936         Help the compiler a bit with type registration.
9937         Use existing forward cod path instead of duplicating it when 
9938         handling a message.
9939         
9940         * gst/gstbus.c: (gst_bus_get_type):
9941         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
9942         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
9943         * gst/gstclock.c: (gst_clock_get_type):
9944         * gst/gstelement.c: (gst_element_get_type),
9945         * gst/gstelementfactory.c: (gst_element_factory_get_type):
9946         * gst/gstindexfactory.c: (gst_index_factory_get_type):
9947         * gst/gstminiobject.c: (gst_mini_object_get_type):
9948         * gst/gstpad.c: (gst_pad_get_type):
9949         * gst/gstsegment.c: (gst_segment_get_type):
9950         * gst/gststructure.c: (gst_structure_get_type):
9951         * gst/gstsystemclock.c: (gst_system_clock_get_type):
9952         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
9953         * gst/gstvalue.c:
9954         Help compiler with type registration.
9955
9956         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
9957         Small doc update.
9958
9959 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
9960
9961         * plugins/elements/gsttypefindelement.c:
9962         (gst_type_find_element_handle_event):
9963           When we get an EOS event and have not found a type yet
9964           (most likely because we had not yet accumulated
9965           TYPE_FIND_MIN_SIZE of data yet), try to determine the
9966           type given the data we have so far. Fixes typefinding
9967           for very short streams again, most notably quicktime
9968           redirections as used on Apple's trailer site (#331701).
9969
9970 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
9971
9972         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
9973         (gst_type_find_helper):
9974           Try typefinding factories with the highest rank first.
9975
9976 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
9977
9978         * docs/libs/gstreamer-libs-docs.sgml:
9979         * docs/libs/gstreamer-libs-sections.txt:
9980         * libs/gst/base/gsttypefindhelper.c:
9981           Add section for typefind helper and add documentation
9982           for the old and the new function.
9983
9984 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
9985
9986         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
9987         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
9988         (gst_type_find_helper_for_buffer):
9989         * libs/gst/base/gsttypefindhelper.h:
9990           New API: gst_type_find_helper_for_buffer() (#332723).
9991           
9992 2006-02-27  Michael Smith  <msmith@fluendo.com>
9993
9994         Patch by: Loïc Minier
9995
9996         * configure.ac:
9997         * docs/Makefile.am:
9998         * docs/slides/Makefile.am:
9999           prevent CVS directories getting disted.
10000
10001 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
10002
10003         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
10004           Use the REFCOUNTING category for caps refcounting.
10005           
10006 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
10007
10008         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
10009           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
10010
10011 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
10012
10013         * plugins/elements/gsttypefindelement.c:
10014         (gst_type_find_element_activate):
10015           Use gst_pad_check_pull_range() before _activate_pull()
10016           to avoid unnecessary open/close (see #331690).
10017
10018 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
10019
10020         * gst/gstutils.c:
10021           Docs enhancement: make it crystal clear what the
10022           gst_pad_add_*_probe() callbacks should look like.
10023
10024 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
10025
10026         * libs/gst/base/gstbasesrc.c:
10027           Document how applications can stop recording from
10028           live sources (see #330996).
10029
10030 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
10031
10032         * tests/check/Makefile.am:
10033         * tests/check/libs/basesrc.c: (eos_event_counter),
10034         (basesrc_eos_events_pull), (basesrc_eos_events_push),
10035         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
10036         (gst_basesrc_suite), (main):
10037           ... and add some tests for the base source EOS stuff.
10038
10039 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
10040
10041         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
10042           Test case originally showed the problem fixed below,
10043           but was then amended. Add checks back at the place
10044           where they used to be.
10045
10046 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
10047
10048         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10049         (gst_base_src_init), (gst_base_src_loop),
10050         (gst_base_src_activate_push), (gst_base_src_activate_pull),
10051         (gst_base_src_change_state):
10052         * libs/gst/base/gstbasesrc.h:
10053           Don't unconditionally send EOS when going from PAUSED to
10054           READY state, esp. make sure we don't send two EOS events
10055           in some cases (e.g. one when reaching EOS and one when
10056           going from PAUSED to READY). Also, we don't want to send
10057           EOS events when operating in pull mode. However, we do
10058           want to send an EOS event when shutting down a live
10059           source explicitly, for example (fixes #330996).
10060           
10061 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
10062
10063         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10064           Update src->read_position after a seek when not using mmap.
10065           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
10066
10067 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
10068
10069         * gst/Makefile.am:
10070         * gst/gstparse.h:
10071         * gst/gstutils.c:
10072         * gst/gstutils.h:
10073         Make things work with --disable-parse as they do with 
10074         --disable-load-save - the symbols involved disappear, but the
10075         header is still installed and GST_DISABLE_PARSE is included via
10076         gstconfig.h
10077
10078 2006-02-20  Julien MOUTTE  <julien@moutte.net>
10079
10080         * libs/gst/base/gstbasetransform.c:
10081         (gst_base_transform_change_state): Fix a stupid bug. I was 
10082         sure I compiled that.
10083
10084 2006-02-20  Julien MOUTTE  <julien@moutte.net>
10085
10086         * gst/gstpad.c: (gst_pad_set_blocked_async):
10087         * gst/gstutils.c: (gst_pad_add_data_probe),
10088         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10089         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10090         (gst_pad_remove_buffer_probe): Make those function act on the
10091         ghostpad target when it's a ghostpad. (Closes #331727)
10092
10093 2006-02-20  Julien MOUTTE  <julien@moutte.net>
10094
10095         * libs/gst/base/gstbasetransform.c:
10096         (gst_base_transform_change_state): Make basetransform reusable.
10097         (Closes #331898)
10098
10099 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
10100
10101         * docs/random/release:
10102         Move the current documentation of how to do a release to the top
10103         of the file.
10104
10105         * gst/gstbin.c: (gst_bin_class_init),
10106         (gst_bin_handle_message_func):
10107         Allow multiple state-recalculation threads. (Closes #328873)
10108
10109 2006-02-19  Julien MOUTTE  <julien@moutte.net>
10110
10111         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
10112         * gst/gstpad.c: (gst_pad_set_event_function),
10113         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
10114         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
10115         2 strings. You can't use the STR_NULL macro on that.
10116
10117 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
10118
10119         * gst/gstpad.c: (gst_pad_set_event_function),
10120         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
10121         (gst_pad_set_getcaps_function)
10122         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
10123           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
10124           So now, we can use --gst-debug-level=5 on Windows
10125         * win32/common/libgstcontroller.def:
10126           Added export of gst_controller_init
10127         * win32/vs6/libgstcontroller.dsp:
10128           Fixed Release post build configuration
10129
10130 2006-02-17  Wim Taymans  <wim@fluendo.com>
10131
10132         * tests/check/gst/gstquery.c: (GST_START_TEST):
10133         Added another check.
10134
10135 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
10136
10137         * plugins/elements/gsttypefindelement.c: (find_peek):
10138           We can do peeks at non-zero offsets, as long as they
10139           fall within the buffer we have.
10140
10141 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
10142
10143         * tests/check/Makefile.am:
10144         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
10145         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
10146         (parse_suite), (main):
10147           Add testsuite for parse launch syntax
10148
10149 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
10150
10151         * plugins/elements/gsttypefindelement.c:
10152         (gst_type_find_element_chain):
10153           When typefinding is unsuccessful in the chain function, don't
10154           error out immediately. Only error out with NO_CAPS_FOUND if
10155           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
10156           otherwise simply wait for more data so we can try typefinding
10157           again with more data later. Also, don't attempt to typefind
10158           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
10159           this should improve typefinding from network sources where the
10160           size of the first buffer can be somewhat random.
10161
10162 2006-02-14  Wim Taymans  <wim@fluendo.com>
10163
10164         * docs/gst/gstreamer-sections.txt:
10165         * gst/gstpadtemplate.c:
10166         * gst/gstpadtemplate.h:
10167         Fix padtemplate docs, fixes #328805.
10168
10169 2006-02-14  Wim Taymans  <wim@fluendo.com>
10170
10171         * tools/gst-launch.c: (main):
10172         NO_PREROLL is not an ERROR so don't send confusing messages
10173         to the user.
10174
10175 2006-02-14  Wim Taymans  <wim@fluendo.com>
10176
10177         Patch by: Torsten Schoenfeld
10178
10179         * gst/gstregistry.c: (gst_registry_get_default),
10180         (_gst_registry_cleanup):
10181         Protect default registry with lock and ref/sink it.
10182         Fixes #324818
10183
10184 2006-02-14  Wim Taymans  <wim@fluendo.com>
10185
10186         * gst/gstbuffer.c:
10187         * gst/gstquery.c: (gst_query_list_add_format),
10188         (gst_query_set_formatsv), (gst_query_parse_formats_length),
10189         (gst_query_parse_formats_nth):
10190         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10191         Docs fixes.
10192
10193 2006-02-14  Wim Taymans  <wim@fluendo.com>
10194
10195         * docs/gst/gstreamer-sections.txt:
10196         Reworked query docs.
10197
10198         * gst/gstquery.c: (gst_query_new_formats),
10199         (gst_query_list_add_format), (gst_query_set_formats),
10200         (gst_query_set_formatsv), (gst_query_parse_formats_length),
10201         (gst_query_parse_formats_nth):
10202         * gst/gstquery.h:
10203         Flesh out formats query, added some new methods.
10204         Fix part of #324398.
10205
10206         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
10207         Added query creation tests.
10208
10209 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
10210
10211         * gst/gstpad.c: (fixate_value):
10212         Add a default fixation for fraction lists.
10213
10214 2006-02-13  Wim Taymans  <wim@fluendo.com>
10215
10216         * gst/gsttask.c: (gst_task_init), (gst_task_func),
10217         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
10218         (gst_task_join):
10219         * gst/gsttask.h:
10220         Detect and warn for obvious deadlocks. fixes #320340
10221         Fix error case where lock was not released.
10222
10223         * tests/check/Makefile.am:
10224         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
10225         (task_func), (gst_element_suite), (main):
10226         Add task check.
10227
10228 2006-02-13  Wim Taymans  <wim@fluendo.com>
10229
10230         * docs/gst/gstreamer-sections.txt:
10231         * gst/gstbus.c:
10232         Add new functions to docs.
10233
10234 2006-02-13  Wim Taymans  <wim@fluendo.com>
10235
10236         * docs/design/part-TODO.txt:
10237         Updated TODO list, basesrc supports seeking to non-bytes
10238         formats.
10239
10240         * docs/design/part-element-sink.txt:
10241         Update docs.
10242
10243         * gst/gstbin.c: (bin_replace_message),
10244         (gst_bin_handle_message_func):
10245         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
10246         * gst/gstevent.c: (gst_event_finalize):
10247         * gst/gstpad.c: (gst_pad_event_default_dispatch),
10248         (gst_pad_send_event):
10249         Use shiny new _TYPE_NAME macros.
10250
10251         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
10252         Move debug statement up.
10253
10254         * gst/gstelement.c: (gst_element_set_locked_state):
10255         Add some debugging.
10256
10257 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
10258
10259         * docs/gst/gstreamer-sections.txt:
10260         * gst/gstmessage.h:
10261         * gst/gstquery.h:
10262           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
10263           macros (#330906). Also, document the already existing
10264           GST_QUERY_TYPE macro.
10265
10266 2006-02-13  Wim Taymans  <wim@fluendo.com>
10267
10268         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
10269         (event_probe), (GST_START_TEST):
10270         Only events up to the pipeline EOS are counted, there are
10271         some more when going to NULL currently which we don't care
10272         about for now.
10273
10274 2006-02-13  Wim Taymans  <wim@fluendo.com>
10275
10276         * gst/gstpad.c: (gst_pad_send_event):
10277         Correctly check flushing and emit probes. fixes #330125
10278
10279 2006-02-10  Andy Wingo  <wingo@pobox.com>
10280
10281         * gst/gstbus.c (gst_bus_class_init): Declare our private data
10282         structure.
10283         (gst_bus_init): Cache the location of the private data in the
10284         instance structure.
10285         (gst_bus_enable_sync_message_emission) 
10286         (gst_bus_disable_sync_message_emission): Implement new public
10287         functions.
10288         (gst_bus_post): Emit the sync-message signal if the user asked for
10289         it. Fixes #330684.
10290
10291         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
10292         location of the bus-private structure.
10293         (gst_bus_enable_sync_message_emission)
10294         (gst_bus_disable_sync_message_emission): API addition
10295
10296 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
10297
10298         Patch by: Vincent Torri
10299
10300         * docs/pwg/building-boiler.xml:
10301         PWG patch from #326800
10302
10303 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
10304
10305         * configure.ac:
10306         * docs/Makefile.am:
10307         * docs/design/Makefile.am:
10308           Dist design docs.
10309
10310 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
10311
10312         * configure.ac:
10313           back to CVS
10314
10315 === release 0.10.3 ===
10316
10317 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
10318
10319         * configure.ac:
10320           releasing 0.10.3, "Like a virgin"
10321
10322 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
10323
10324         * configure.ac:
10325           2nd prerelease of 0.10.3
10326           Bump libtool versioning.
10327
10328 2006-02-07  Andy Wingo  <wingo@pobox.com>
10329
10330         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
10331         update last_stop if we're in TIME format and the timestamp is
10332         valid.
10333
10334         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
10335         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
10336         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
10337         If we get a new newsegment with a different format, adapt
10338         accordingly.
10339
10340         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
10341         of 0. Not a problem, really.
10342
10343         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
10344         warn if sync=true.
10345
10346 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
10347
10348         * configure.ac:
10349           Prelease of 0.10.3
10350
10351 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
10352
10353         * win32/vs7:
10354           project files updated to the default vs7 configuration
10355         * win32/common/libgstbase.def:
10356         * win32/common/libgstreamer.def:
10357           added new symbols,
10358           removed empty lines,
10359           sorted all exported symbols alphabetically
10360         * win32/common/dirent.c:
10361         * win32/common/dirent.h:
10362         * win32/common/gchar.h:
10363           use windows line end.
10364           
10365 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
10366
10367         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10368           Send EOS event when stopping.
10369
10370 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
10371
10372         * docs/README:
10373           Tell folks what to do if the plugin-foobar.xml file
10374           hasn't been generated for a newly-added plugin.
10375
10376 2006-02-05  Julien MOUTTE  <julien@moutte.net>
10377
10378         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10379         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10380         (gst_collect_pads_start), (gst_collect_pads_stop),
10381         (gst_collect_pads_event): Collectpads now holds a reference
10382         to the GstPad that was added. Indeed we don't want to look
10383         at pads that might just go away with no warning...
10384
10385 2006-02-05  Julien MOUTTE  <julien@moutte.net>
10386
10387         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10388         (gst_collect_pads_start), (gst_collect_pads_stop),
10389         (gst_collect_pads_event), (gst_collect_pads_chain):
10390         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
10391         Mark Nauwelaerts's patch on bug #328491.
10392
10393 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10394
10395         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
10396         (gst_utils_suite):
10397           Add some simple tests for gst_parse_bin_from_description() and
10398           gst_bin_find_unconnected_pad() (#329069).
10399
10400 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10401
10402         * tools/gst-launch.c: (event_loop), (main):
10403           Catch errors during preroll (#320084).
10404
10405 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
10406
10407         * plugins/elements/gsttypefindelement.c:
10408         (gst_type_find_element_activate):
10409           Post TYPE_NOT_FOUND error message when typefinding
10410           is unsuccessful in the activate function as well.
10411
10412 2006-02-02  Wim Taymans  <wim@fluendo.com>
10413
10414         * docs/design/part-element-sink.txt:
10415         Updated doc.
10416
10417 2006-02-02  Wim Taymans  <wim@fluendo.com>
10418
10419         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10420         (gst_base_sink_render_object),
10421         (gst_base_sink_queue_object_unlocked):
10422         Only keep track of prerollable items when we are 
10423         prerolling.
10424         Before rendering after preroll, always check if we
10425         have queued items.
10426         Added some more debugging.
10427
10428 2006-02-02  Wim Taymans  <wim@fluendo.com>
10429
10430         * gst/gstelement.c: (gst_element_continue_state),
10431         (gst_element_set_state_func), (gst_element_change_state):
10432         Fixed #326576, been running this for quite some time with
10433         no regressions at all.
10434
10435 2006-02-02  Wim Taymans  <wim@fluendo.com>
10436
10437         * common/gst.supp:
10438         Added more suppressions
10439
10440 2006-02-02  Wim Taymans  <wim@fluendo.com>
10441
10442         * docs/design/part-element-sink.txt:
10443         Updated document.
10444
10445         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10446         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
10447         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
10448         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10449         (gst_base_sink_do_sync), (gst_base_sink_render_object),
10450         (gst_base_sink_preroll_object),
10451         (gst_base_sink_queue_object_unlocked),
10452         (gst_base_sink_queue_object), (gst_base_sink_event),
10453         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
10454         (gst_base_sink_loop), (gst_base_sink_activate_pull),
10455         (gst_base_sink_get_position), (gst_base_sink_change_state):
10456         * libs/gst/base/gstbasesink.h:
10457         Totally refactored matching the design doc.
10458         Use two segments, one to clip incomming buffers and another to
10459         perform sync.
10460         Handle queueing correctly, bypass the queue when playing.
10461         Make EOS cancelable.
10462         Handle errors correctly when operating in pull based mode.
10463
10464         * tests/check/elements/fakesink.c: (GST_START_TEST),
10465         (fakesink_suite):
10466         Added new check for sinks.
10467
10468 2006-02-02  Wim Taymans  <wim@fluendo.com>
10469
10470         * gst/gstsegment.c: (gst_segment_clip):
10471         No reason to refuse to clip when start == -1
10472
10473 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
10474
10475         * docs/README:
10476         * docs/manual/intro-basics.xml:
10477         * docs/manual/intro-preface.xml:
10478         * docs/manual/manual.xml:
10479         * docs/pwg/advanced-dparams.xml:
10480         * docs/pwg/intro-basics.xml:
10481         * docs/pwg/intro-preface.xml:
10482         * docs/pwg/pwg.xml:
10483           describe dparams (controller) for plugins
10484           unify docs a little more
10485
10486 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
10487
10488         * docs/gst/gstreamer-sections.txt:
10489         * gst/gstutils.c: (element_find_unconnected_pad),
10490         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
10491         * gst/gstutils.h:
10492           Add new API: gst_parse_bin_from_description() and
10493           gst_bin_find_unconnected_pad() (#329069).
10494
10495 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
10496
10497         * docs/manual/README:
10498           uncover a nasty detail of the docs build
10499
10500 2006-01-31  Wim Taymans  <wim@fluendo.com>
10501
10502         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
10503         Don't cache duration messages if we're not going to use or
10504         free them.
10505
10506 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
10507
10508         * docs/manual/advanced-dparams.xml:
10509         * docs/pwg/advanced-dparams.xml:
10510           more dparam docs
10511         * gst/gstindex.c:
10512           fix docs
10513         * libs/gst/controller/lib.c: (gst_controller_init):
10514           init just once
10515
10516 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
10517
10518         * gst/gstelement.c: (gst_element_message_full):
10519           also show file/line/func if no additional debug was given
10520
10521 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
10522         
10523         * win32/vs7/grammar.vcproj:
10524           activate copy of autogenerated files for Release mode
10525
10526 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
10527         
10528         * win32/common/libgstreamer.def:
10529           export gst_value_compare
10530
10531 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
10532
10533         * plugins/elements/Makefile.am:
10534         * plugins/elements/gstelements.c:
10535         * plugins/elements/gstfdsink.c: (_do_init),
10536         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
10537         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
10538         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
10539         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
10540         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
10541         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
10542         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
10543         * plugins/elements/gstfdsink.h:
10544         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
10545
10546 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
10547
10548         * docs/manual/advanced-dparams.xml:
10549           describe controller
10550         * docs/manual/advanced-position.xml:
10551         * docs/manual/basics-init.xml:
10552         * docs/manual/manual.xml:
10553         * docs/manual/titlepage.xml:
10554         * docs/pwg/pwg.xml:
10555         * docs/pwg/titlepage.xml:
10556           cleanup xml (more to come)
10557         * libs/gst/controller/gstcontroller.c:
10558           fix typo
10559
10560 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
10561         
10562         * win32/vs6/grammar.dsp:
10563           add autogen of gstmarshal.c,h for Release mode
10564                 
10565 2006-01-30  Wim Taymans  <wim@fluendo.com>
10566
10567         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10568         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
10569         (gst_base_sink_handle_object), (gst_base_sink_event),
10570         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
10571         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
10572         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
10573         (gst_base_sink_deactivate), (gst_base_sink_activate),
10574         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
10575         (gst_base_sink_query), (gst_base_sink_change_state):
10576         Basesink cleanups, remove some old code.
10577         Handle the case where a subclass can preroll in the render
10578         method (mostly audiosinks).
10579         Handle more events.
10580         Remove some locks around variables that are now protected
10581         with the PREROLL_LOCK (clock_id, flushing, ..).
10582         Optimize position query some more, do correct locking.
10583         Remove old code to push queue in state change, this is not
10584         needed anymore since preroll blocks on all prerollable items 
10585         now.
10586         Almost implemented as described in design doc.
10587
10588 2006-01-30  Wim Taymans  <wim@fluendo.com>
10589
10590         * tests/check/gst/gstbin.c: (GST_START_TEST):
10591         Wait for refcount to settle down before checking.
10592
10593 2006-01-30  Wim Taymans  <wim@fluendo.com>
10594
10595         * docs/design/part-element-sink.txt:
10596         Pseudo code overview of desired sink behaviour regarding
10597         preroll.
10598
10599 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
10600         * win32/vs6/grammar.dsp:
10601           fix some bugs in Release mode for autogenerated files
10602                 
10603 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
10604         * win32/common/libgstbase.def:
10605         * win32/common/libgstreamer.def:
10606           export some new symbols: gst_base_src_set_format,
10607           gst_iterator_next, gst_structure_set_valist
10608
10609 2006-01-29  Julien MOUTTE  <julien@moutte.net>
10610
10611         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
10612         Set pad functions unconditionally. Fixes #329105.
10613
10614 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
10615         * win32/vs8:
10616           add vs8 project files created by Sergey Scobich
10617
10618 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
10619
10620         * gst/gstutils.c: (gst_element_unlink_pads):
10621         Don't leak pad references.
10622
10623         * tests/check/elements/fakesink.c: (GST_START_TEST):
10624         * tests/check/generic/sinks.c: (GST_START_TEST):
10625         * tests/check/generic/states.c: (GST_START_TEST):
10626         * tests/check/gst/gstbin.c: (GST_START_TEST):
10627         * tests/check/gst/gstcaps.c: (GST_START_TEST):
10628         * tests/check/gst/gstelement.c: (GST_START_TEST):
10629         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10630         * tests/check/gst/gstiterator.c: (GST_START_TEST):
10631         * tests/check/gst/gstvalue.c: (GST_START_TEST):
10632         Fix a bunch of leaks. Make generic/sinks.c
10633         use a bit less cpu by slowing the buffer rate
10634         between fakesrc and fakesink.
10635         
10636 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
10637         * gst/gstcaps.c:
10638         * gst/gstelement.c: (gst_element_send_event):
10639         * gst/gstevent.c:
10640         * gst/gstinfo.c:
10641         * gst/gstiterator.c:
10642         * gst/gstiterator.h:
10643         * gst/gstpad.c: (gst_pad_send_event):
10644         * gst/gststructure.c:
10645         * gst/gsturi.c:
10646         * gst/gstutils.c:
10647         * gst/gstvalue.c:
10648         * libs/gst/base/gstadapter.c:
10649           doc fixes, to link to function, just write gst_cool_function(), don't
10650           prefix with '#'
10651
10652 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
10653
10654         * plugins/elements/gsttee.c: (gst_tee_do_push),
10655         (gst_tee_handle_buffer):
10656         Always prefer an actual return value from a src
10657         pad in place of NOT_LINKED. This means we return
10658         WRONG_STATE when all src pads are WRONG_STATE
10659         instead of NOT_LINKED.
10660
10661         Lock when replacing the last message to prevent
10662         racing with the get_property method.
10663
10664         Add debug output
10665
10666 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
10667
10668         * tests/check/Makefile.am:
10669         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
10670         (main):
10671         Add a very simple check that should have caught the memleak I fixed
10672         last night (if not for the slice allocator hiding it)
10673
10674 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
10675
10676         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10677         (gst_bin_remove_func), (gst_bin_handle_message_func),
10678         (bin_query_duration_fold), (bin_query_generic_fold):
10679         Clean up references to the clock provider when disposed or when
10680         handling a clock-lost message from it.
10681
10682         Unref sinks when performing a query via gst_iterator_fold, as the
10683         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
10684
10685         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
10686         (gst_clock_set_master):
10687         Drop our reference to the master clock, if any, when we are disposed.
10688
10689         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
10690         Chain up in dispose. 
10691
10692 2006-01-26  Wim Taymans  <wim@fluendo.com>
10693
10694         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
10695         Add some debugging.
10696
10697 2006-01-26  Julien MOUTTE  <julien@moutte.net>
10698
10699         * plugins/elements/gsttee.c: (gst_tee_do_push),
10700         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
10701         handles pad being NOT_LINKED or in WRONG_STATE.
10702
10703 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
10704
10705         * win32/MANIFEST:
10706           more updating
10707
10708 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
10709
10710         * win32/MANIFEST:
10711           remove obsolete entry
10712
10713 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
10714
10715         * docs/gst/gstreamer-sections.txt:
10716         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
10717         (gst_bin_iterate_sources), (gst_bin_send_event):
10718         * gst/gstbin.h:
10719         * gst/gstelement.c: (gst_element_send_event):
10720         * gst/gstevent.c:
10721         * gst/gstpad.c: (gst_pad_send_event):
10722           added code for downstream events, reviewed docs in gstevent.c
10723
10724 2006-01-25  Julien MOUTTE  <julien@moutte.net>
10725
10726         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10727         We only query position using the clock in the playing state.
10728         Query peer in the other cases.
10729         * win32/common/config.h: Updates.
10730
10731 2006-01-24  Wim Taymans  <wim@fluendo.com>
10732
10733         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10734         A clock entry that is scheduled for the exact time of the
10735         clock is still in time.
10736
10737         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10738         (gst_base_sink_do_sync):
10739         Add some more debug info.
10740
10741 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
10742
10743         * win32/vs7:
10744           Add new vs7 project files and solution.
10745
10746 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
10747
10748         * win32/vs7:
10749           all files removed as they were out-dated.
10750
10751 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
10752
10753         * docs/random/release:
10754           update notes
10755         * gst/gstbin.c: (gst_bin_init):
10756         * gst/gstbus.c: (gst_bus_new):
10757         * gst/gstbus.h:
10758         * gst/gstpipeline.c: (gst_pipeline_init):
10759           use gst_bus_new(), improve logging, fix docs
10760         * win32/common/config.h:
10761           update for cvs build
10762
10763 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
10764
10765         * autogen.sh:
10766           up required version of automake to 1.7
10767
10768 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
10769
10770         * win32/common/libgstreamer.def:
10771           export gst_buffer_is_metadata_writable
10772
10773 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
10774
10775         * docs/gst/gstreamer-sections.txt:
10776         * gst/gstevent.h:
10777           Add gst_event_replace() (#327001)
10778
10779 2006-01-20  Wim Taymans  <wim@fluendo.com>
10780
10781         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
10782         Make it actually compile too..
10783
10784 2006-01-20  Wim Taymans  <wim@fluendo.com>
10785
10786         * gst/gstcaps.c:
10787         Clarify behaviour of _is_equal() when passing NULL parameters.
10788
10789         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10790         (gst_pad_set_caps):
10791         Cleanups. Don't unref NULL caps.
10792         When setting the same caps, protect caps of the pad with
10793         proper lock.
10794         Use full functionality of _is_equal() when comparing caps.
10795
10796 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
10797
10798         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10799         Don't loop infinitely if there are no buffers to present. Partially
10800         fixes #327197, but collectpads is just broken for reusing elements
10801         to do multiple encodes atm.
10802
10803 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
10804
10805         * tools/gst-inspect.c: (print_element_features):
10806         * tools/gst-xmlinspect.c: (main):
10807         URL_HANDLER is not a plugin feature we can search for in
10808         the registry.
10809
10810 2006-01-19  Edward Hervey  <edward@fluendo.com>
10811
10812         * gst/gstelement.c: (gst_element_pads_activate): 
10813         When activating, do src pads first, then sink pads.
10814         When de-activating, do sink pads first, then src pads.
10815
10816 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
10817
10818         * docs/gst/gstreamer-sections.txt:
10819         Add gst_index_add_associationv to the docs
10820
10821 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
10822
10823         * gst/gstevent.c:
10824           Fix docs typo
10825
10826         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
10827         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
10828           Do some refactoring. Doesn't actually change functionality,
10829           but makes landing the DRAIN event easier later.
10830
10831 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
10832
10833         * docs/pwg/advanced-scheduling.xml:
10834           Update from 0.9.x to 0.10 API and make example a bit
10835           clearer.
10836
10837 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
10838
10839         * docs/gst/gstreamer-sections.txt:
10840         Add gst_buffer_(is|make)_metadata_writable methods.
10841
10842 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
10843
10844         * docs/design/part-sparsestreams.txt:
10845         Update sparse streams doc, hopefully for greater clarity
10846
10847 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
10848
10849         * docs/design/part-events.txt:
10850         Remove mention of FILLER events.
10851         Add DRAIN event.
10852
10853         * docs/design/part-sparsestreams.txt:
10854         Write some things about using NEWSEGMENT to keep sparse streams
10855         flowing.
10856
10857 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
10858
10859         * gst/gstbin.c: (gst_bin_dispose):
10860           Guard gst_object_unref call against a NULL object (dispose
10861           can theoretically be called multiple times).
10862           
10863 2006-01-18  Wim Taymans  <wim@fluendo.com>
10864
10865         * gst/gstbin.c: (gst_bin_element_set_state):
10866         * gst/gstclock.c: (gst_clock_id_wait):
10867         Added some more debug info.
10868
10869         * libs/gst/base/gstadapter.c:
10870         Added more docs.
10871
10872         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10873         (gst_base_sink_do_sync), (gst_base_sink_chain):
10874         Added some comments.
10875
10876 2006-01-18  Wim Taymans  <wim@fluendo.com>
10877
10878         * tests/check/Makefile.am:
10879         * tests/check/elements/fakesink.c: (chain_async_buffer),
10880         (chain_async), (chain_async_return), (GST_START_TEST),
10881         (fakesink_suite), (main):
10882         Added fakesink test that checks prerolling and clipping
10883         behaviour.
10884
10885         * tests/check/gst/gstutils.c: (GST_START_TEST):
10886         Make check run faster so that buildbots don't timeout.
10887
10888 2006-01-18  Wim Taymans  <wim@fluendo.com>
10889
10890         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10891         (gst_base_sink_do_sync):
10892         Some cleanups.
10893         When the sink finishes blocking on the preroll buffer, it can
10894         immediatly render it instead of rendering when the next buffer
10895         arrives.
10896
10897 2006-01-18  Wim Taymans  <wim@fluendo.com>
10898
10899         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
10900         (gst_base_sink_get_property), (gst_base_sink_do_sync),
10901         (gst_base_sink_chain):
10902         Small cleanups.
10903         GST_ELEMENT_CLOCK and sync are protected with LOCK.
10904         Don't store _last_stop if the buffer is dropped.
10905
10906 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
10907
10908         * plugins/elements/gsttypefindelement.c:
10909         (gst_type_find_element_class_init):
10910           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
10911           object method handler that sets the caps on the pad and we want
10912           that to happen before we emit the signal (fixes e.g. feeding a
10913           plain text file to decodebin).
10914
10915 2006-01-18  Christian Schaller  <Christian@fluendo.com>
10916
10917         * gst/gstplugin.c: Add MPL and Proprietary as license options
10918
10919 2006-01-18  Andy Wingo  <wingo@pobox.com>
10920
10921         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
10922         symbol was exported before, it appears this was just an oversight.
10923         Fixes #168703.
10924         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
10925
10926         * gst/gstindex.c (gst_index_add_associationv): Changed int in
10927         prototype to gint. OK since this prototype was not in the header.
10928
10929 2006-01-17  Andy Wingo  <wingo@pobox.com>
10930
10931         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
10932         registry while we remove plugins.
10933
10934         * tools/gst-inspect.c (print_element_info): Don't unref the
10935         factory arg, that should be the responsibility of whatever code
10936         received the ref. Fixes a double-free when called from
10937         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
10938         (main): Unref the factory if we have one.
10939         (print_element_list): No change -- relies on the
10940         plugin_feature_list_free to free the list of features.
10941
10942 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
10943
10944         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
10945         (gst_buffer_make_metadata_writable):
10946         * gst/gstbuffer.h:
10947         * libs/gst/base/gstbasetransform.c:
10948         (gst_base_transform_prepare_output_buf):
10949         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10950         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10951           Replace gst_buffer_(make|is)_metadata_writable patch now
10952           that the release is out.
10953
10954 2006-01-17  Andy Wingo  <wingo@pobox.com>
10955
10956         * gst/gstregistry.c: Reflow design comment. Update so as to speak
10957         in the present tense without reference to versions.
10958
10959         * gst/gstregistry.c (gst_registry_add_plugin)
10960         (gst_registry_remove_plugin, gst_registry_remove_feature)
10961         (gst_registry_find_feature, gst_registry_get_feature_list)
10962         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
10963         (gst_registry_lookup, gst_registry_scan_path)
10964         (_gst_registry_remove_cache_plugins)
10965         (gst_registry_get_feature_list_by_plugin): Add argument
10966         validation.
10967
10968 === release 0.10.2 ===
10969
10970 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
10971
10972         * configure.ac:
10973           releasing 0.10.2, "If man is five"
10974
10975 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
10976
10977         * gst/gstbuffer.c:
10978         * gst/gstbuffer.h:
10979         * libs/gst/base/gstbasetransform.c:
10980         (gst_base_transform_prepare_output_buf):
10981         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10982         * tests/check/gst/gstbuffer.c: (gst_test_suite):
10983           Back out patch until after the release.
10984
10985 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
10986
10987         * gst/gstminiobject.c:
10988           Spelling fix in docs.
10989         * ChangeLog - remove conflict indicator
10990
10991 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
10992
10993         Reviewed By: Andy Wingo
10994
10995         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
10996         (gst_buffer_make_metadata_writable):
10997         * gst/gstbuffer.h:
10998           Add gst_buffer_(is|make)_metadata_writable as analogues of
10999           gst_buffer_(is|make)_writable.
11000
11001         * libs/gst/base/gstbasetransform.c:
11002         (gst_base_transform_prepare_output_buf):
11003         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11004           Use name gst_buffer_(is|make)_metadata_writable functions.
11005
11006         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
11007           Test gst_buffer_(is|make)_metadata_writable
11008         
11009           (Closes: #324162)
11010
11011 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
11012
11013         * docs/manual/Makefile.am:
11014           don't do parallel make
11015         * configure.ac:
11016           AC_SUBST HOST_CPU
11017         * win32/common/config.h.in:
11018           add generations for HOST_CPU and GST_MAJORMINOR
11019         * win32/common/config.h:
11020           commit generated result
11021
11022 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
11023
11024         * docs/manual/appendix-integration.xml:
11025           Update GNOME integration section to use gst_init_get_option_group()
11026           instead of the old popt stuff (#322911). Also, GNOME applications
11027           should  now use gconf*sink and gconf*src instead of the old gconf
11028           helper lib we had.
11029
11030 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
11031
11032
11033         * docs/gst/gstreamer-docs.sgml:
11034         * docs/gst/gstreamer-sections.txt:
11035         * docs/libs/gstreamer-libs-sections.txt:
11036           add new API entries to the docs
11037         * libs/gst/controller/Makefile.am:
11038         * libs/gst/controller/gstcontroller.c:
11039         * libs/gst/controller/gstcontroller.h:
11040         * libs/gst/controller/gstcontrollerprivate.h:
11041         * libs/gst/controller/gsthelper.c:
11042         * libs/gst/controller/gstinterpolation.c:
11043           move private structs to private header
11044         * po/README:
11045           gstreamer-0.7 -> gstreamer-0.10
11046         * tests/check/libs/struct_i386.h:
11047           remove private structs
11048
11049 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11050
11051         * plugins/indexers/Makefile.am:
11052           Fixes as part of #317048
11053
11054 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11055
11056         * plugins/indexers/Makefile.am:
11057           fix #316086 - compilation when mmap is missing
11058
11059 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
11060
11061         * libs/gst/base/gstbasesink.c:
11062           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
11063           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
11064         * win32/common/config.h:
11065           added some defines GST_MAJORMINOR and HOST_CPU
11066         * win32/common/libgstbase.def:
11067         * win32/common/libgstreamer.def:
11068           added some exported functions.
11069
11070 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
11071
11072         * libs/gst/controller/gstcontroller.c:
11073         (gst_controlled_property_set_interpolation_mode),
11074         (gst_controlled_property_new):
11075         * libs/gst/controller/gstcontroller.h:
11076         * libs/gst/controller/gstinterpolation.c:
11077         (interpolate_none_get_string_value_array):
11078           make G_TYPE_STRING controlable
11079
11080 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
11081
11082         * tools/README:
11083         * tools/gst-feedback.1.in:
11084         * tools/gst-inspect.1.in:
11085         * tools/gst-launch.1.in:
11086         * tools/gst-md5sum.1.in:
11087         * tools/gst-typefind.1.in:
11088         * tools/gst-xmlinspect.1.in:
11089         * tools/gst-xmllaunch.1.in:
11090           cleanup man-pages, remove reference to gst-register, document env-vars
11091
11092 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
11093
11094         * gst/gstbuffer.c: (gst_buffer_span):
11095           gst_buffer_span should copy the timestamp of the first buffer
11096           if they were both originally overlapping subbuffers of the 
11097           same parent, using the same logic as the 'slow copy' case.
11098
11099 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
11100
11101         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
11102           Need to awaken ALL the pads when we pop a buffer, otherwise
11103           collectpads only works when there is 2 input streams.
11104
11105 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
11106
11107         * docs/random/ensonic/media-device-daemon.txt:
11108           more ideas (dbus)
11109         * gst/gstbuffer.c:
11110           fix doc example, add clarification
11111         * tools/gst-launch.1.in:
11112           add initial info about GST_PLUGIN_PATH, needs more work
11113
11114 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
11115
11116         * docs/manual/basics-bins.xml:
11117         * docs/manual/basics-elements.xml:
11118         * docs/manual/intro-basics.xml:
11119           Some more minor docs additions and updates.
11120
11121 2006-01-11  Wim Taymans  <wim@fluendo.com>
11122
11123         * docs/manual/basics-bins.xml:
11124         * docs/manual/basics-elements.xml:
11125         Some small fixes as pointed out by Ser-ver on IRC.
11126
11127 2006-01-10  Edward Hervey  <edward@fluendo.com>
11128
11129         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11130         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
11131         the single-segment mode.
11132
11133 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
11134
11135         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
11136
11137         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
11138         (gst_base_src_perform_seek), (gst_base_src_send_event),
11139         (gst_base_src_set_property), (gst_base_src_get_property),
11140         (gst_base_src_loop), (gst_base_src_start),
11141         (gst_base_src_activate_push):
11142         * libs/gst/base/gstbasesrc.h:
11143           Name (private) union; makes Sun's Forte compiler happy (#324900).
11144
11145 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
11146
11147         * README:
11148           gst-register is gone.
11149
11150 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
11151
11152         * gst/gstvalue.c: (_gst_value_initialize):
11153           make the G_TYPE_DATE instantiation work if debug is disabled
11154
11155 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
11156
11157         * gst/gstmessage.c: (gst_message_parse_tag),
11158         (gst_message_parse_error), (gst_message_parse_warning):
11159           Don't crash when return location for error/warning debug
11160           string is NULL; add fact that return locations can be
11161           NULL to docs where appropriate.
11162
11163 2006-01-05  Wim Taymans  <wim@fluendo.com>
11164
11165         * gst/gstplugin.c: (gst_plugin_load_file):
11166         Replace strdup by g_strdup.
11167
11168 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11169
11170         * docs/pwg/advanced-types.xml:
11171           fix doc borkage
11172
11173 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11174
11175         submitted by: Abel Cheung
11176
11177         * po/LINGUAS:
11178         * po/zh_TW.po:
11179           Added Chinese (traditional) translation
11180
11181 2006-01-04  Wim Taymans  <wim@fluendo.com>
11182
11183         * docs/manual/basics-pads.xml:
11184         * docs/plugins/Makefile.am:
11185         * docs/plugins/gstreamer-plugins-docs.sgml:
11186         * docs/plugins/gstreamer-plugins-sections.txt:
11187         * docs/pwg/advanced-clock.xml:
11188         * docs/pwg/advanced-scheduling.xml:
11189         * docs/pwg/advanced-types.xml:
11190         * plugins/elements/gstfdsink.c:
11191         * plugins/elements/gstfdsrc.c:
11192         * plugins/elements/gstfdsrc.h:
11193         * plugins/elements/gstidentity.c: (gst_identity_class_init):
11194         * plugins/elements/gstidentity.h:
11195         * plugins/elements/gstqueue.h:
11196         * plugins/elements/gsttee.c:
11197         * plugins/elements/gsttee.h:
11198         * plugins/elements/gsttypefindelement.c:
11199         (gst_type_find_element_class_init):
11200         * plugins/elements/gsttypefindelement.h:
11201         Small updates to various docs.
11202         Added core plugins to docs.
11203
11204 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11205
11206         * common/gst.supp:
11207           add a suppression for liboil's uninitialized variable
11208
11209 2006-01-02  James Livingston  <jrl at ids dot org dot au>
11210
11211         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
11212
11213         * gst/gstutils.h:
11214           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
11215           macro, so that gcc doesn't complain if the -Wmissing-prototypes
11216           compiler switch is being used (#325429).
11217
11218 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
11219
11220         * gst/gstbin.c: (gst_bin_query):
11221           Disable duration query caching in bins until it gets
11222           fixed (see #324807).
11223
11224 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
11225
11226         * tools/gst-inspect.c: (print_element_properties_info):
11227           Handle properties of POINTER and BOXED type.
11228
11229 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
11230
11231         * gst/gst.c: (init_post):
11232           Init tags stuff and some other things before loading
11233           any static plugins (there may be other static plugins
11234           than just the GStreamer ones, and they may want to
11235           register their own tags or formats or whatever, and
11236           preferably without segfaulting).
11237
11238         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
11239           Print at least a warning in the debug logs if we drop a
11240           query just because we don't know how to adjust the value
11241           in the particular format.
11242
11243 2005-12-24  David Schleef  <ds@schleef.org>
11244
11245         * tools/gstreamer-completion:
11246           Replacement for gst-complete written in sh and sed.  Only
11247           completes names of features, but that's 90% of what I want
11248           it for.  Properties are not available in registry.xml.  (Maybe
11249           they should be...)
11250
11251 === release 0.10.1 ===
11252
11253 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
11254
11255         * configure.ac:
11256           releasing 0.10.1, "Nollaig chridheil"
11257
11258 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
11259
11260         * docs/faq/cvs.xml:
11261           Add missing quote, should be make ERROR_CFLAGS="".
11262
11263 2005-12-20  Wim Taymans  <wim@fluendo.com>
11264
11265         * docs/design/part-trickmodes.txt:
11266         More documentation on trickmodes.
11267
11268 2005-12-20  Edward Hervey  <edward@fluendo.com>
11269
11270         * gst/gstcaps.c: (gst_static_caps_get_type):
11271         * gst/gstcaps.h:
11272           API addition: GST_TYPE_STATIC_CAPS
11273         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
11274         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
11275         * gst/gstpadtemplate.h:
11276           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
11277         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
11278         bindings.
11279
11280 2005-12-18  Wim Taymans  <wim@fluendo.com>
11281
11282         * libs/gst/base/gstadapter.c:
11283         * libs/gst/base/gstadapter.h:
11284         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11285         (gst_base_sink_get_position):
11286         * libs/gst/base/gstbasesink.h:
11287         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11288         (gst_base_src_default_query), (gst_base_src_default_do_seek),
11289         (gst_base_src_do_seek), (gst_base_src_perform_seek),
11290         (gst_base_src_send_event), (gst_base_src_update_length),
11291         (gst_base_src_get_range), (gst_base_src_loop),
11292         (gst_base_src_start):
11293         * libs/gst/base/gstbasesrc.h:
11294         * libs/gst/base/gstbasetransform.h:
11295         * libs/gst/base/gstcollectpads.h:
11296         * libs/gst/base/gstpushsrc.c:
11297         * libs/gst/base/gstpushsrc.h:
11298         * libs/gst/dataprotocol/dataprotocol.c:
11299         * libs/gst/dataprotocol/dataprotocol.h:
11300         * libs/gst/net/gstnetclientclock.h:
11301         * libs/gst/net/gstnettimeprovider.h:
11302         Documentation updates.
11303
11304 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
11305
11306         * docs/manual/basics-helloworld.xml:
11307           Remove superfluous closing bracket in helloworld example.
11308
11309 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
11310
11311         * tools/gst-launch.1.in:
11312           Update gst-launch man page; add a section with useful
11313           environment variables. Fixes #323882.
11314
11315 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
11316
11317         * gst/gst.c:
11318         * gst/gst_private.h:
11319           change some char* into char[]
11320
11321 2005-12-16  Wim Taymans  <wim@fluendo.com>
11322
11323         * gst/gstregistryxml.c: (load_feature):
11324         Cleanups.
11325         Don't use g_object_unref on GstObjects so that we avoid
11326         leaks on unsafe glibs.
11327
11328 2005-12-16  Wim Taymans  <wim@fluendo.com>
11329
11330         * gst/gstbin.c: (gst_bin_recalc_state):
11331         Small doc updates.
11332
11333 2005-12-16  Wim Taymans  <wim@fluendo.com>
11334
11335         * common/check.mak:
11336         Added make forever target for check.
11337
11338 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
11339
11340         * gst/gst.c: (init_post):
11341           make the registry cache file HOST_CPU-dependent
11342
11343 2005-12-16  Andy Wingo  <wingo@pobox.com>
11344
11345         * plugins/elements/gstbufferstore.c
11346         (gst_buffer_store_cleared_func): Pay attention to g_list_append
11347         return value.
11348
11349         * tests/check/gst/gstobject.c
11350         (test_fake_object_name_threaded_unique): Pay attention to
11351         g_list_sort return value.
11352
11353 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11354
11355         * tools/gst-feedback-m.m:
11356           Update for 0.9/0.10 (fixes #323870).
11357
11358 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
11359
11360         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
11361           Fix lcopy for mini objects, the mini object needs to be ref'ed.
11362           
11363         * tests/check/gst/gstminiobject.c: (my_foo_init),
11364         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
11365         (test_value_collection), (gst_mini_object_suite):
11366           Add test to ensure refcounts end up as expected when passing
11367           GstMiniObjects through g_object_get() and g_object_set().
11368
11369 2005-12-14  Julien MOUTTE  <julien@moutte.net>
11370
11371         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11372         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
11373         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
11374         of collectpads. This version removes a lot of races without
11375         touching API/ABI. Yay !
11376
11377 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
11378
11379         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
11380           Don't allow activation of a srcpad in pull_range if it has no
11381           getrange function.
11382           Change some debug statements to be a little clearer
11383
11384         * plugins/elements/gsttypefindelement.c:
11385         (gst_type_find_handle_src_query):
11386           Check that we have a peer before executing queries thereupon.
11387
11388         * tests/examples/metadata/read-metadata.c: (message_loop):
11389           Use gst_bus_pop instead of gst_bus_poll when we just want it to
11390           immediately return us any available message with 0 timeout.
11391
11392 2005-12-12  Michael Smith  <msmith@fluendo.com>
11393
11394         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11395           Don't unref factories after calling them.
11396         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
11397         * plugins/elements/gsttypefindelement.c:
11398         (gst_type_find_element_chain):
11399           Free lists of factories after using them. Fixing typefinding memory
11400           leaks.
11401
11402 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11403
11404         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
11405         (gst_plugin_feature_load):
11406           more meaningful debug output
11407         * configure.ac:
11408         * tests/Makefile.am:
11409         * tests/old/examples/Makefile.am:
11410           make make distcheck happy again
11411
11412 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11413
11414         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11415           Catch the special case where we are operating chain-based,
11416           but the downstream peer pad has no chain function. Emit a
11417           custom error message in this case instead of letting the
11418           core generate one implying that this is some sort of core
11419           bug. It's not, it just means that whatever got plugged
11420           into the pipeline downstream when we announced the type
11421           can only operate pull-based, while our source can only
11422           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
11423           Error string has not been marked for translation yet, as
11424           it probably needs some more work first.
11425
11426         (gst_type_find_element_get_best_possibility):
11427           Add helper function to find the best of all available
11428           found possibilities that qualify given the min. threshold.
11429
11430         (gst_type_find_element_handle_event):
11431           Fix the case where we get an EOS while still in TYPEFIND
11432           mode (we want to chose the best of all possible types,
11433           not just the first type that happens to be in our unsorted
11434           list of possible types).
11435
11436         (gst_type_find_element_chain):
11437           Make sure we return GST_FLOW_ERROR when we errored out
11438           in stop_typefinding(); also, don't just find the best of
11439           all found type entries and then use the last examined
11440           type entry, but actually use the best entry.
11441
11442 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11443
11444         * tests/examples/typefind/typefind.c: (type_found):
11445         * tests/examples/xml/runxml.c: (xml_loaded):
11446           More gcc4 fixes and a mem leak fix.
11447
11448 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11449
11450         * tests/examples/xml/createxml.c: (object_saved):
11451           gcc 4 fixes
11452
11453 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11454
11455         * tests/Makefile.am:
11456           enable the examples even more
11457
11458 2005-12-12  Andy Wingo  <wingo@pobox.com>
11459
11460         * libs/gst/net/gstnettimeprovider.c
11461         (gst_net_time_provider_class_init, gst_net_time_provider_init)
11462         (gst_net_time_provider_set_property)
11463         (gst_net_time_provider_get_property):
11464         API addition: Export "active" as a GObject property.
11465         (gst_net_time_provider_thread): Only respond to time queries if
11466         the time provider is active.
11467
11468         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
11469         NetTimeProvider, preserving binary compat.
11470
11471 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11472
11473         * tests/examples/controller/audio-example.c: (main):
11474         * tests/examples/launch/Makefile.am:
11475           convert comments again
11476
11477 2005-12-12  Wim Taymans  <wim@fluendo.com>
11478
11479         * libs/gst/base/gstpushsrc.c:
11480         Fix typo.
11481
11482 2005-12-12  Wim Taymans  <wim@fluendo.com>
11483
11484         * docs/libs/gstreamer-libs-sections.txt:
11485         Added new symbol to docs.
11486
11487         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11488         (gst_base_src_init), (gst_base_src_set_format),
11489         (gst_base_src_default_query), (gst_base_src_query),
11490         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
11491         (gst_base_src_perform_seek), (gst_base_src_send_event),
11492         (gst_base_src_default_event), (gst_base_src_event_handler),
11493         (gst_base_src_set_property), (gst_base_src_get_property),
11494         (gst_base_src_wait), (gst_base_src_do_sync),
11495         (gst_base_src_update_length), (gst_base_src_get_range),
11496         (gst_base_src_check_get_range), (gst_base_src_loop),
11497         (gst_base_src_default_negotiate), (gst_base_src_start),
11498         (gst_base_src_activate_push), (gst_base_src_activate_pull),
11499         (gst_base_src_change_state):
11500         * libs/gst/base/gstbasesrc.h:
11501         Implement seeking to other formats than _BYTES.
11502         Implement more seeking methods correctly.
11503         Doc updates.
11504         Added query vmethod.
11505         Added do_seek vmethod to make life easier for subclasses
11506         when seeking.
11507         API addition: gst_base_src_set_format()
11508
11509 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11510
11511         * tests/examples/Makefile.am:
11512           added that too
11513
11514 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11515
11516         * configure.ac:
11517         * docs/random/ensonic/media-device-daemon.txt:
11518         * tests/examples/controller/.cvsignore:
11519         * tests/examples/controller/Makefile.am:
11520         * tests/examples/controller/audio-example.c: (main):
11521         * tests/examples/helloworld/.cvsignore:
11522         * tests/examples/helloworld/Makefile.am:
11523         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
11524         * tests/examples/launch/.cvsignore:
11525         * tests/examples/launch/Makefile.am:
11526         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
11527         * tests/examples/metadata/.cvsignore:
11528         * tests/examples/metadata/Makefile.am:
11529         * tests/examples/metadata/read-metadata.c: (message_loop),
11530         (make_pipeline), (print_tag), (main):
11531         * tests/examples/queue/.cvsignore:
11532         * tests/examples/queue/Makefile.am:
11533         * tests/examples/queue/queue.c: (event_loop), (main):
11534         * tests/examples/typefind/.cvsignore:
11535         * tests/examples/typefind/Makefile.am:
11536         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
11537         (main):
11538         * tests/examples/xml/.cvsignore:
11539         * tests/examples/xml/Makefile.am:
11540         * tests/examples/xml/createxml.c: (object_saved), (main):
11541         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
11542         * tests/old/examples/Makefile.am:
11543         * tests/old/examples/TODO:
11544         * tests/old/examples/controller/.cvsignore:
11545         * tests/old/examples/controller/Makefile.am:
11546         * tests/old/examples/controller/audio-example.c:
11547         * tests/old/examples/helloworld/.cvsignore:
11548         * tests/old/examples/helloworld/Makefile.am:
11549         * tests/old/examples/helloworld/helloworld.c:
11550         * tests/old/examples/launch/.cvsignore:
11551         * tests/old/examples/launch/Makefile.am:
11552         * tests/old/examples/launch/mp3parselaunch.c:
11553         * tests/old/examples/launch/mp3play:
11554         * tests/old/examples/manual/Makefile.am:
11555         * tests/old/examples/metadata/Makefile.am:
11556         * tests/old/examples/metadata/read-metadata.c:
11557         * tests/old/examples/queue/.cvsignore:
11558         * tests/old/examples/queue/Makefile.am:
11559         * tests/old/examples/queue/queue.c:
11560         * tests/old/examples/typefind/.cvsignore:
11561         * tests/old/examples/typefind/Makefile.am:
11562         * tests/old/examples/typefind/typefind.c:
11563         * tests/old/examples/xml/.cvsignore:
11564         * tests/old/examples/xml/Makefile.am:
11565         * tests/old/examples/xml/createxml.c:
11566         * tests/old/examples/xml/runxml.c:
11567           applied some simple fixing to some examples
11568           re-enabled the working examples
11569
11570 2005-12-12  Wim Taymans  <wim@fluendo.com>
11571
11572         * gst/gstsegment.c: (gst_segment_init),
11573         (gst_segment_set_last_stop), (gst_segment_set_seek),
11574         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
11575         (gst_segment_to_running_time):
11576         Added more documentation.
11577         Make sure the last_pos value is updated properly.
11578         Make sure to_stream_time and to_running_time don't
11579         operate on wrong values.
11580
11581         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11582         Update check.
11583
11584 2005-12-12  Michael Smith  <msmith@fluendo.com>
11585
11586         * plugins/elements/gsttypefindelement.c: (free_entry),
11587         (gst_type_find_element_chain):
11588           Now that we're not leaking factories, make sure we keep references
11589           to them while we need them.
11590
11591 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11592
11593         * tests/check/gst/struct_i386.h:
11594           ifdef out the XML structs
11595
11596 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11597
11598         * gst/gstvalue.c: (gst_value_transform_double_fraction):
11599           floor is not needed, F is always positive; this obviates the
11600           need for adding -lm when building without libxml
11601
11602 2005-12-12  Wim Taymans  <wim@fluendo.com>
11603
11604         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11605         Take current playback rate into account when reporting
11606         the position.
11607
11608 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11609
11610         * docs/manual/mime-world.fig:
11611           Let's try this again, this time with a file that is
11612           actually in XFig format.
11613
11614 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11615
11616         * docs/manual/mime-world.fig:
11617           Add audioconvert element to diagram so that it
11618           matches the text and the code (fixes #319526).
11619
11620 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11621
11622         * docs/pwg/building-chainfn.xml:
11623         * docs/pwg/building-pads.xml:
11624         * docs/pwg/building-state.xml:
11625         * docs/pwg/other-source.xml:
11626           Update state change stuff for 0.10 (fixes #322969).
11627
11628 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11629
11630         * docs/manual/advanced-dataaccess.xml:
11631         * docs/manual/appendix-checklist.xml:
11632         * docs/manual/appendix-programs.xml:
11633         * docs/manual/basics-pads.xml:
11634         * docs/manual/highlevel-components.xml:
11635         * docs/manual/manual.xml:
11636           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
11637           add converters in front of pipelines; remove curly
11638           brackets for threads stuff, they no longer exist; use
11639           GST_TYPE_FRACTION for framerates; update some pieces of
11640           code to 0.10, but there's plenty more to do.
11641
11642         * docs/manual/appendix-porting.xml:
11643           Expand on asynchroneous state changes; s/0.9/0.10/;
11644           mention disappearance of gst_init_get_popt_table()
11645           (fixes #322916).
11646
11647 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11648
11649         * docs/faq/using.xml:
11650           Spider no longer exists, and neither does gst-launch-ext.
11651           Update examples to use decodebin and playbin and put
11652           converters in front of sinks (fixes #323726).
11653
11654 2005-12-09  Michael Smith  <msmith@fluendo.com>
11655
11656         * plugins/elements/gsttypefindelement.c: (find_peek),
11657         (gst_type_find_element_chain):
11658           Fix leaking element factories in typefinding.
11659           Fix problem where we forgot about a probable type on non-seekable
11660           files, and thus later mis-typefound it.
11661
11662 2005-12-09  Michael Smith  <msmith@fluendo.com>
11663
11664         * common/m4/gst-makecontext.m4:
11665         * common/m4/gst-mcsc.m4:
11666         * configure.ac:
11667         * win32/common/config.h:
11668         * win32/common/config.h.in:
11669           Remove makecontext stuff; not used in 0.10 and causes problems on
11670           HPUX according to bug #322441
11671
11672 2005-12-07  Wim Taymans  <wim@fluendo.com>
11673
11674         * tests/check/Makefile.am:
11675         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
11676         (main):
11677         * tests/check/libs/struct_i386.h:
11678         Added ABI check for libs
11679
11680 2005-12-07  Wim Taymans  <wim@fluendo.com>
11681
11682         * tests/check/Makefile.am:
11683         And add the struct_i386.h to dist.
11684
11685 2005-12-07  Wim Taymans  <wim@fluendo.com>
11686
11687         * tests/check/Makefile.am:
11688         * tests/check/gst/.cvsignore:
11689         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
11690         (main):
11691         * tests/check/gst/struct_i386.h:
11692         Added check for ABI compatibility.
11693
11694 2005-12-07  Wim Taymans  <wim@fluendo.com>
11695
11696         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11697         (gst_fake_src_get_times), (gst_fake_src_create):
11698         Fix broken sync option, fixes #323259
11699
11700 2005-12-07  Wim Taymans  <wim@fluendo.com>
11701
11702         * gst/gstbuffer.c:
11703         Small docs update.
11704
11705         * gst/gstcaps.c: (gst_caps_is_equal):
11706         Don't assert on NULL <--> X. Fixes #323260
11707
11708         * gst/gstminiobject.c: (gst_mini_object_replace):
11709         If we're doing atomic operations, we might just as well use
11710         the proper way to get an atomic pointer.
11711
11712         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11713         Clean up debugging.
11714
11715 2005-12-07  Michael Smith  <msmith@fluendo.com>
11716
11717         * gst/parse/grammar.y:
11718           Remove handling of { } for threads.
11719
11720 2005-12-06  David Schleef  <ds@schleef.org>
11721
11722         * libs/gst/base/gstbasetransform.c: speling fix.
11723
11724 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11725
11726         * docs/libs/tmpl/gstdataprotocol.sgml:
11727         * docs/random/omega/testing/gstobject.c:
11728         * gst/gst.c:
11729         * gst/gstclock.c:
11730         * gst/gstelement.c:
11731         * gst/gstelementfactory.c:
11732         * gst/gsterror.c:
11733         * gst/gstevent.c:
11734         * gst/gstghostpad.c:
11735         * gst/gstinfo.c:
11736         * gst/gstpadtemplate.c:
11737         * gst/gstregistryxml.c:
11738         * gst/gsttaglist.c:
11739         * gst/gsttagsetter.c:
11740         * gst/gsttypefind.c:
11741         * gst/gstvalue.c:
11742         * libs/gst/base/gstbasesrc.c:
11743         * libs/gst/net/gstnetclientclock.c:
11744         * libs/gst/net/gstnettimeprovider.c:
11745         * plugins/elements/gstfakesrc.c:
11746         * plugins/elements/gstfdsrc.c:
11747         * plugins/elements/gstfilesrc.c:
11748         * plugins/elements/gstidentity.c:
11749         * plugins/elements/gstqueue.c:
11750         * plugins/elements/gsttypefindelement.c:
11751         * plugins/indexers/gstfileindex.c:
11752         * plugins/indexers/gstmemindex.c:
11753         * tests/check/gst/gsttag.c:
11754         * tests/old/examples/cutter/cutter.c:
11755         * tests/old/examples/mixer/mixer.c:
11756         * tests/old/examples/xml/runxml.c: (main):
11757         * tests/old/testsuite/caps/normalisation.c:
11758         * tests/old/testsuite/debug/global.c:
11759         * tests/old/testsuite/parse/parse1.c:
11760         * tools/gst-xmlinspect.c:
11761         * win32/common/dirent.c:
11762           expand tabs
11763
11764 === release 0.10.0 ===
11765
11766 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11767
11768         * configure.ac:
11769           releasing 0.10.0, "Maroilles"
11770
11771 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11772
11773         submitted by: Funda Wang <fundawang@linux.net.cn>
11774
11775         * po/LINGUAS:
11776         * po/zh_CN.po:
11777           added Chinese (Traditional) translation
11778
11779 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11780
11781         * docs/gst/gstreamer-sections.txt:
11782         * docs/libs/tmpl/gstdataprotocol.sgml:
11783         * docs/random/thomasvs/TODO:
11784         * gst/gstutils.c:
11785         * gst/gstutils.h:
11786           fix docs
11787
11788 2005-12-05  Andy Wingo  <wingo@pobox.com>
11789
11790         patch by: Wim Taymans <wim@fluendo.com>
11791
11792         * libs/gst/base/gstbasetransform.c
11793         (gst_base_transform_prepare_output_buf)
11794         (gst_base_transform_buffer_alloc):
11795         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
11796         alloc_buffer_and_set_caps.
11797
11798         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
11799         set_caps on the source pad.
11800         (gst_pad_alloc_buffer_and_set_caps): New function, does what
11801         alloc_buffer used to do. Fixes #322874.
11802
11803         * docs/gst/gstreamer-sections.txt: 
11804         * docs/design/part-negotiation.txt: 
11805         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
11806         changes.
11807
11808 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11809
11810         patch by: Sebastien Moutte
11811
11812         * win32/MANIFEST:
11813         * win32/common/config.h.in:
11814         * win32/vs6/libgstcontroller.dsp:
11815           win32 build fixes
11816
11817 2005-12-05  Wim Taymans  <wim@fluendo.com>
11818
11819         * gst/gstcaps.c: (gst_caps_is_equal):
11820         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11821         (gst_fake_src_create):
11822         Back out previous code changes, leave doc updates, file bugs 
11823         instead. 
11824
11825 2005-12-05  Wim Taymans  <wim@fluendo.com>
11826
11827         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11828         (gst_fake_src_get_times), (gst_fake_src_create):
11829         * plugins/elements/gstfakesrc.h:
11830         Fix broken sync code.
11831
11832 2005-12-05  Wim Taymans  <wim@fluendo.com>
11833
11834         * gst/gstcaps.c: (gst_caps_is_equal):
11835         Comparing NULL against !NULL yields different caps, not a
11836         failure.
11837
11838 2005-12-05  Wim Taymans  <wim@fluendo.com>
11839
11840         * gst/gstpipeline.c:
11841         Fix small typo in docs.
11842
11843 2005-12-05  Andy Wingo  <wingo@pobox.com>
11844
11845         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
11846
11847         * gst/gst.c (init_post): remove hard-coded 0.9 location for
11848         registries/plugins with a MAJORMINOR one.
11849         (plugin_desc): Rename library from gstcoreleements to
11850         staticelements. Fixes #323222.
11851
11852 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
11853
11854         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
11855           Change debug category to 'collectpads' from 'collect_pads'
11856           (fixes #323250).
11857
11858 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11859
11860         patch by: Sebastien Moutte
11861
11862         * libs/gst/controller/gstinterpolation.c:
11863           use convert function for uint64/double
11864         * win32/vs6/libgstcontroller.dsp:
11865           link to GLib
11866
11867 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11868
11869         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
11870         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
11871         * gst/gstutils.h:
11872         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11873           add tests that seem to show that the guint64/gdouble conversions
11874           are correct.
11875
11876 2005-12-02  Wim Taymans  <wim@fluendo.com>
11877
11878         * gst/gstregistry.c: (gst_registry_add_path):
11879         * gst/gstregistry.h:
11880         * gst/gstregistryxml.c:
11881         Fix docs again.
11882
11883 2005-12-02  Wim Taymans  <wim@fluendo.com>
11884
11885         * gst/gstutils.c: (gst_util_uint64_scale_int64),
11886         (gst_util_uint64_scale_int):
11887         Small cleanup.
11888
11889         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11890         Add debug log line.
11891
11892         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
11893         Add FIXME.
11894
11895 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11896
11897         * win32/MANIFEST:
11898         * win32/common/config.h:
11899         * win32/vs6/gstreamer.dsw:
11900         * win32/vs6/libgstcoreelements.dsp:
11901         * win32/vs6/libgstelements.dsp:
11902           renamed core elements plugin
11903
11904 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11905
11906         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
11907         (get_candidates):
11908           do piece-wise major/minor comparison so 0.9 < 0.10
11909           also allow .exe extensions for tools
11910
11911 2005-12-02  Michael Smith  <msmith@fluendo.com>
11912
11913         * gst/gst.c:
11914           Escape a % to make gtkdoc happier; bug 322958.
11915
11916 === release 0.9.7 ===
11917
11918 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11919
11920         * configure.ac:
11921           releasing 0.9.7, "My Dog Has No Nose"
11922
11923 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11924
11925         * common/gst-xmlinspect.py:
11926         * configure.ac:
11927         * docs/libs/tmpl/gstdataprotocol.sgml:
11928         * docs/random/release:
11929         * po/af.po:
11930         * po/az.po:
11931         * po/bg.po:
11932         * po/ca.po:
11933         * po/cs.po:
11934         * po/de.po:
11935         * po/en_GB.po:
11936         * po/fr.po:
11937         * po/it.po:
11938         * po/nb.po:
11939         * po/nl.po:
11940         * po/ru.po:
11941         * po/sq.po:
11942         * po/sr.po:
11943         * po/sv.po:
11944         * po/tr.po:
11945         * po/uk.po:
11946         * po/vi.po:
11947         * win32/common/config.h:
11948         * win32/common/config.h.in:
11949         * win32/vs6/gst_inspect.dsp:
11950         * win32/vs6/gst_launch.dsp:
11951         * win32/vs6/libgstbase.dsp:
11952         * win32/vs6/libgstelements.dsp:
11953         * win32/vs6/libgstreamer.dsp:
11954         * win32/vs7/GStreamer.vcproj:
11955         * win32/vs7/gst-inspect.vcproj:
11956         * win32/vs7/gst-launch.vcproj:
11957         * win32/vs7/libgstbase.vcproj:
11958           bump GST_MAJORMINOR to 0.10
11959           reset libtool version
11960
11961 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11962
11963         * po/LINGUAS:
11964         * po/bg.po:
11965           Added Bulgarian translation by (Alexander Shopov)
11966
11967 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11968
11969         * tests/check/gst/gstplugin.c:
11970           fix test
11971
11972 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11973
11974         * common/gst-xmlinspect.py:
11975         * common/gtk-doc-plugins.mak:
11976         * configure.ac:
11977         * docs/Makefile.am:
11978         * docs/gst/Makefile.am:
11979         * docs/gst/gstreamer-docs.sgml:
11980         * docs/gst/gstreamer-sections.txt:
11981         * docs/gst/gstreamer.types:
11982         * docs/gst/gstreamer.types.in:
11983         * docs/plugins/Makefile.am:
11984         * docs/plugins/gstreamer-plugins-docs.sgml:
11985         * docs/plugins/gstreamer-plugins-sections.txt:
11986         * docs/plugins/gstreamer-plugins.types:
11987         * docs/plugins/inspect.stamp:
11988         * docs/plugins/inspect/plugin-coreelements.xml:
11989         * docs/plugins/inspect/plugin-coreindexers.xml:
11990         * docs/plugins/scanobj-build.stamp:
11991         * gstreamer.spec.in:
11992         * plugins/elements/Makefile.am:
11993         * plugins/elements/gstelements.c:
11994         * plugins/elements/gstfakesink.c:
11995         * plugins/elements/gstfakesrc.c:
11996         * plugins/elements/gstfilesink.c:
11997         * plugins/elements/gstfilesrc.c:
11998         * plugins/elements/gstqueue.c:
11999         * plugins/indexers/Makefile.am:
12000         * plugins/indexers/gstindexers.c:
12001           document core plugins in a separate document just like all the
12002           others
12003           rename these plugins to something starting with core
12004
12005 2005-12-01  Andy Wingo  <wingo@pobox.com>
12006
12007         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
12008         padding here before, but it missed the commit.
12009
12010 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12011
12012         * libs/gst/controller/gstinterpolation.c:
12013           whitespace prices have crashed, we should feel free to use some now
12014           use gst_guint64_to_gdouble
12015
12016 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12017
12018         * libs/gst/controller/gstcontroller.c:
12019         * libs/gst/controller/gsthelper.c:
12020         * libs/gst/controller/gstinterpolation.c:
12021         * libs/gst/controller/lib.c:
12022           wrap config.h include
12023
12024 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12025
12026         * docs/gst/gstreamer-sections.txt:
12027           update docs
12028
12029 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12030
12031         * plugins/elements/gstelements.c:
12032         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
12033         (gst_fd_sink__class_init), (gst_fd_sink__init),
12034         (gst_fd_sink__chain), (gst_fd_sink__set_property),
12035         (gst_fd_sink__get_property):
12036         * plugins/elements/gstfdsink.h:
12037         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
12038         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
12039         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
12040         (gst_fd_src_unlock), (gst_fd_src_set_property),
12041         (gst_fd_src_get_property), (gst_fd_src_create),
12042         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
12043         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
12044         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
12045         (gst_fd_src_uri_handler_init):
12046         * plugins/elements/gstfdsrc.h:
12047         * plugins/elements/gstqueue.c: (gst_queue_get_type):
12048           more anal cleanup
12049
12050 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12051
12052         * docs/gst/Makefile.am:
12053         * docs/gst/gstreamer.types.in:
12054         * gst/Makefile.am:
12055           fix the docs build
12056
12057 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12058
12059         * configure.ac:
12060         * gst/Makefile.am:
12061         * gst/gst.c:
12062         * gst/gstplugin.h:
12063         * gst/gstregistry.h:
12064         * tests/benchmarks/complexity.c:
12065         * tests/benchmarks/mass-elements.c:
12066         * tests/check/Makefile.am:
12067         * tools/Makefile.am:
12068         * tools/gst-inspect.c:
12069         * tools/gst-xmlinspect.c:
12070           various fixes to make
12071           --disable-nls --disable-registry --disable-loadsave
12072           --disable-parse --disable-gst-debug
12073           work and get the core .so down to 360444 bytes after stripping
12074
12075 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12076
12077         * Makefile.am:
12078         * configure.ac:
12079           descend into tests
12080         * docs/random/thomasvs/TODO:
12081         * tests/Makefile.am:
12082         * tests/README:
12083           add a README
12084
12085 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12086
12087         * win32/GStreamer.vcproj:
12088         * win32/MANIFEST:
12089         * win32/Makefile:
12090         * win32/Makefile.inspect:
12091         * win32/Makefile.launch:
12092         * win32/Makefile.register:
12093         * win32/README.txt:
12094         * win32/gst-inspect.vcproj:
12095         * win32/gst-launch.vcproj:
12096         * win32/gst-register.vcproj:
12097         * win32/gstelements.vcproj:
12098         * win32/gstgetbits.def:
12099         * win32/gstgetbits.vcproj:
12100         * win32/gstreamer-dbg.def:
12101         * win32/gstreamer.def:
12102         * win32/libgstbase.def:
12103         * win32/libgstbase.vcproj:
12104         * win32/link_oldruntime.c:
12105         * win32/mman.c:
12106         * win32/mman.h:
12107         * win32/mman.inl:
12108         * win32/msvc71.sln:
12109           move even more stuff, win32/ is nice and clean now
12110
12111 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12112
12113         * libs/gst/control/.cvsignore:
12114         * win32/MANIFEST:
12115         * win32/config.h:
12116         * win32/dirent.c:
12117         * win32/dirent.h:
12118         * win32/gstbytestream.def:
12119         * win32/gstbytestream.vcproj:
12120         * win32/gstconfig.h:
12121         * win32/gstenumtypes.c:
12122         * win32/gstenumtypes.h:
12123         * win32/gstoptimalscheduler.vcproj:
12124         * win32/gstversion.h:
12125         * win32/gtchar.h:
12126         * win32/testsuite/bins.vcproj:
12127         * win32/testsuite/bytestream.vcproj:
12128         * win32/testsuite/caps.vcproj:
12129         * win32/testsuite/cleanup.vcproj:
12130         * win32/testsuite/clock.vcproj:
12131         * win32/testsuite/debug.vcproj:
12132         * win32/testsuite/dlopen.vcproj:
12133         * win32/testsuite/dynparams.vcproj:
12134         * win32/testsuite/elements.vcproj:
12135         * win32/testsuite/ghostpads.vcproj:
12136         * win32/testsuite/indexers.vcproj:
12137         * win32/testsuite/negotiation.vcproj:
12138         * win32/testsuite/parse.vcproj:
12139         * win32/testsuite/plugin.vcproj:
12140         * win32/testsuite/refcounting.vcproj:
12141         * win32/testsuite/schedulers.vcproj:
12142         * win32/testsuite/states.vcproj:
12143         * win32/testsuite/tags.vcproj:
12144         * win32/testsuite/threads.vcproj:
12145           remove old win32 stuff that isn't maintained and should be
12146           reorganized
12147
12148 2005-11-30  Andy Wingo  <wingo@pobox.com>
12149
12150         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
12151         loading the gst.interfaces python module bork.
12152
12153         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
12154         available since GLib 2.2. Fixes #318031.
12155
12156 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12157
12158         * Makefile.am:
12159         * check/.cvsignore:
12160         * check/Makefile.am:
12161         * check/elements/.cvsignore:
12162         * check/elements/fakesrc.c:
12163         * check/elements/fdsrc.c:
12164         * check/elements/identity.c:
12165         * check/generic/.cvsignore:
12166         * check/generic/states.c:
12167         * check/gst-libs/.cvsignore:
12168         * check/gst-libs/controller.c:
12169         * check/gst-libs/gdp.c:
12170         * check/gst/.cvsignore:
12171         * check/gst/capslist.h:
12172         * check/gst/gst.c:
12173         * check/gst/gstbin.c:
12174         * check/gst/gstbuffer.c:
12175         * check/gst/gstbus.c:
12176         * check/gst/gstcaps.c:
12177         * check/gst/gstelement.c:
12178         * check/gst/gstevent.c:
12179         * check/gst/gstghostpad.c:
12180         * check/gst/gstiterator.c:
12181         * check/gst/gstmessage.c:
12182         * check/gst/gstminiobject.c:
12183         * check/gst/gstobject.c:
12184         * check/gst/gstpad.c:
12185         * check/gst/gstpipeline.c:
12186         * check/gst/gstplugin.c:
12187         * check/gst/gstsegment.c:
12188         * check/gst/gststructure.c:
12189         * check/gst/gstsystemclock.c:
12190         * check/gst/gsttag.c:
12191         * check/gst/gstutils.c:
12192         * check/gst/gstvalue.c:
12193         * check/net/.cvsignore:
12194         * check/net/gstnetclientclock.c:
12195         * check/net/gstnettimeprovider.c:
12196         * check/pipelines/.cvsignore:
12197         * check/pipelines/cleanup.c:
12198         * check/pipelines/simple_launch_lines.c:
12199         * check/pipelines/stress.c:
12200         * check/states/.cvsignore:
12201         * check/states/sinks.c:
12202         * configure.ac:
12203         * examples/Makefile.am:
12204         * examples/appreader/.cvsignore:
12205         * examples/appreader/Makefile.am:
12206         * examples/appreader/appreader.c:
12207         * examples/controller/.cvsignore:
12208         * examples/controller/Makefile.am:
12209         * examples/controller/audio-example.c:
12210         * examples/cutter/.cvsignore:
12211         * examples/cutter/Makefile.am:
12212         * examples/cutter/cutter.c:
12213         * examples/cutter/cutter.h:
12214         * examples/events/Makefile.am:
12215         * examples/events/seek.c:
12216         * examples/helloworld/.cvsignore:
12217         * examples/helloworld/Makefile.am:
12218         * examples/helloworld/helloworld.c:
12219         * examples/helloworld2/.cvsignore:
12220         * examples/helloworld2/Makefile.am:
12221         * examples/helloworld2/helloworld2.c:
12222         * examples/launch/.cvsignore:
12223         * examples/launch/Makefile.am:
12224         * examples/launch/mp3parselaunch.c:
12225         * examples/launch/mp3play:
12226         * examples/manual/.cvsignore:
12227         * examples/manual/Makefile.am:
12228         * examples/manual/extract.pl:
12229         * examples/metadata/Makefile.am:
12230         * examples/metadata/read-metadata.c:
12231         * examples/mixer/.cvsignore:
12232         * examples/mixer/Makefile.am:
12233         * examples/mixer/mixer.c:
12234         * examples/mixer/mixer.h:
12235         * examples/pingpong/.cvsignore:
12236         * examples/pingpong/Makefile.am:
12237         * examples/pingpong/pingpong.c:
12238         * examples/plugins/.cvsignore:
12239         * examples/plugins/Makefile.am:
12240         * examples/plugins/example.c:
12241         * examples/plugins/example.h:
12242         * examples/pwg/.cvsignore:
12243         * examples/pwg/Makefile.am:
12244         * examples/pwg/extract.pl:
12245         * examples/queue/.cvsignore:
12246         * examples/queue/Makefile.am:
12247         * examples/queue/queue.c:
12248         * examples/queue2/.cvsignore:
12249         * examples/queue2/Makefile.am:
12250         * examples/queue2/queue2.c:
12251         * examples/queue3/.cvsignore:
12252         * examples/queue3/Makefile.am:
12253         * examples/queue3/queue3.c:
12254         * examples/queue4/.cvsignore:
12255         * examples/queue4/Makefile.am:
12256         * examples/queue4/queue4.c:
12257         * examples/retag/.cvsignore:
12258         * examples/retag/Makefile.am:
12259         * examples/retag/retag.c:
12260         * examples/retag/transcode.c:
12261         * examples/thread/.cvsignore:
12262         * examples/thread/Makefile.am:
12263         * examples/thread/thread.c:
12264         * examples/typefind/.cvsignore:
12265         * examples/typefind/Makefile.am:
12266         * examples/typefind/typefind.c:
12267         * examples/xml/.cvsignore:
12268         * examples/xml/Makefile.am:
12269         * examples/xml/createxml.c:
12270         * examples/xml/runxml.c:
12271         * tests/Makefile.am:
12272         * tests/check/Makefile.am:
12273         * testsuite/.cvsignore:
12274         * testsuite/Makefile.am:
12275         * testsuite/Rules:
12276         * testsuite/caps/.cvsignore:
12277         * testsuite/caps/Makefile.am:
12278         * testsuite/caps/app_fixate.c:
12279         * testsuite/caps/audioscale.c:
12280         * testsuite/caps/caps.c:
12281         * testsuite/caps/caps.h:
12282         * testsuite/caps/caps_strings:
12283         * testsuite/caps/compatibility.c:
12284         * testsuite/caps/deserialize.c:
12285         * testsuite/caps/enumcaps.c:
12286         * testsuite/caps/eratosthenes.c:
12287         * testsuite/caps/filtercaps.c:
12288         * testsuite/caps/fixed.c:
12289         * testsuite/caps/fraction-convert.c:
12290         * testsuite/caps/fraction-multiply-and-zero.c:
12291         * testsuite/caps/intersect2.c:
12292         * testsuite/caps/intersection.c:
12293         * testsuite/caps/normalisation.c:
12294         * testsuite/caps/random.c:
12295         * testsuite/caps/renegotiate.c:
12296         * testsuite/caps/sets.c:
12297         * testsuite/caps/simplify.c:
12298         * testsuite/caps/string-conversions.c:
12299         * testsuite/caps/structure.c:
12300         * testsuite/caps/subtract.c:
12301         * testsuite/caps/union.c:
12302         * testsuite/debug/.cvsignore:
12303         * testsuite/debug/Makefile.am:
12304         * testsuite/debug/category.c:
12305         * testsuite/debug/commandline.c:
12306         * testsuite/debug/global.c:
12307         * testsuite/debug/output.c:
12308         * testsuite/debug/printf_extension.c:
12309         * testsuite/dlopen/.cvsignore:
12310         * testsuite/dlopen/Makefile.am:
12311         * testsuite/dlopen/dlopen_gst.c:
12312         * testsuite/dlopen/loadgst.c:
12313         * testsuite/elements/.cvsignore:
12314         * testsuite/elements/Makefile.am:
12315         * testsuite/elements/gst-inspect-check.in:
12316         * testsuite/elements/struct_i386.h:
12317         * testsuite/elements/struct_size.c:
12318         * testsuite/indexers/.cvsignore:
12319         * testsuite/indexers/Makefile.am:
12320         * testsuite/indexers/cache1.c:
12321         * testsuite/indexers/indexdump.c:
12322         * testsuite/parse/.cvsignore:
12323         * testsuite/parse/Makefile.am:
12324         * testsuite/parse/parse1.c:
12325         * testsuite/parse/parse2.c:
12326         * testsuite/plugin/.cvsignore:
12327         * testsuite/plugin/Makefile.am:
12328         * testsuite/plugin/README:
12329         * testsuite/plugin/dynamic.c:
12330         * testsuite/plugin/linked.c:
12331         * testsuite/plugin/loading.c:
12332         * testsuite/plugin/registry.c:
12333         * testsuite/plugin/static.c:
12334         * testsuite/plugin/static2.c:
12335         * testsuite/plugin/testplugin.c:
12336         * testsuite/plugin/testplugin2.c:
12337         * testsuite/plugin/testplugin2_s.c:
12338         * testsuite/plugin/testplugin_s.c:
12339         * testsuite/refcounting/.cvsignore:
12340         * testsuite/refcounting/Makefile.am:
12341         * testsuite/refcounting/bin.c:
12342         * testsuite/refcounting/element.c:
12343         * testsuite/refcounting/element_pad.c:
12344         * testsuite/refcounting/mainloop.c:
12345         * testsuite/refcounting/mem.c:
12346         * testsuite/refcounting/mem.h:
12347         * testsuite/refcounting/object.c:
12348         * testsuite/refcounting/pad.c:
12349         * testsuite/refcounting/sched.c:
12350         * testsuite/refcounting/thread.c:
12351         * testsuite/states/.cvsignore:
12352         * testsuite/states/Makefile.am:
12353         * testsuite/states/bin.c:
12354         * testsuite/states/locked.c:
12355         * testsuite/states/parent.c:
12356         * testsuite/threads/.cvsignore:
12357         * testsuite/threads/159566.c:
12358         * testsuite/threads/159852.c:
12359         * testsuite/threads/Makefile.am:
12360         * testsuite/threads/queue.c:
12361         * testsuite/threads/signals.c:
12362         * testsuite/threads/staticrec.c:
12363         * testsuite/threads/thread.c:
12364         * testsuite/threads/threadb.c:
12365         * testsuite/threads/threadc.c:
12366         * testsuite/threads/threadd.c:
12367         * testsuite/threads/threade.c:
12368         * testsuite/threads/threadf.c:
12369         * testsuite/threads/threadg.c:
12370         * testsuite/threads/threadh.c:
12371         * testsuite/threads/threadi.c:
12372           move all of these under tests
12373
12374 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12375
12376         * configure.ac:
12377         * tests/Makefile.am:
12378           fix distcheck
12379
12380 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12381
12382         * docs/gst/gstreamer-sections.txt:
12383         * tests/sched/.cvsignore:
12384         * tests/sched/Makefile.am:
12385         * tests/sched/cases/(fs-fs).xml:
12386         * tests/sched/cases/(fs-i-fs).xml:
12387         * tests/sched/cases/(fs-i-i-fs).xml:
12388         * tests/sched/cases/(fs-i-q[i-fs]).xml:
12389         * tests/sched/dynamic-pipeline.c:
12390         * tests/sched/interrupt1.c:
12391         * tests/sched/interrupt2.c:
12392         * tests/sched/interrupt3.c:
12393         * tests/sched/runtestcases:
12394         * tests/sched/runxml.c:
12395         * tests/sched/sched-stress.c:
12396         * tests/sched/sort.c:
12397         * tests/sched/testcases:
12398         * tests/sched/testcases1.tc:
12399         * tests/seeking/.cvsignore:
12400         * tests/seeking/Makefile.am:
12401         * tests/seeking/seeking1.c:
12402         * tests/threadstate/.cvsignore:
12403         * tests/threadstate/Makefile.am:
12404         * tests/threadstate/test1.c:
12405         * tests/threadstate/test2.c:
12406         * tests/threadstate/threadstate1.c:
12407         * tests/threadstate/threadstate2.c:
12408         * tests/threadstate/threadstate3.c:
12409         * tests/threadstate/threadstate4.c:
12410         * tests/threadstate/threadstate5.c:
12411           remove obsolete tests
12412         * configure.ac:
12413         * tests/bench-complexity.scm:
12414         * tests/bench-mass_elements.scm:
12415         * tests/complexity.c:
12416         * tests/complexity.gnuplot:
12417         * tests/instantiate/.cvsignore:
12418         * tests/instantiate/Makefile.am:
12419         * tests/instantiate/caps.c:
12420         * tests/mass_elements.c:
12421         * tests/network-clock-utils.scm:
12422         * tests/network-clock.scm:
12423         * tests/plot-data:
12424         First pass at cleaning up tests/ dir before moving the rest
12425         Combined with CVS surgery
12426
12427 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12428
12429         * po/POTFILES.in:
12430           queue has moved, update
12431
12432 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12433
12434         * docs/gst/gstreamer-sections.txt:
12435           remove double entries from the docs
12436         * gst/gst_private.h:
12437         * gst/gstinfo.c: (_gst_debug_init):
12438           remove the THREAD debug category
12439         * gst/Makefile.am:
12440         * gst/gstqueue.c:
12441         * gst/gstqueue.h:
12442         * docs/gst/gstreamer.types:
12443         * plugins/elements/gstqueue.c: (gst_queue_get_type),
12444         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
12445           completely move queue and fix up debugging categories
12446
12447 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12448
12449         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12450           make initialization portable, using LL is not
12451
12452 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12453
12454         * win32/common/gstconfig.h:
12455           add large padding
12456
12457 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12458
12459         * win32/common/libgstreamer.def:
12460           rename symbols; sort base section
12461
12462 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12463
12464         * gst/gstclock.c: (do_linear_regression):
12465           remove crack non-portable handrolled DEBUG macro
12466
12467 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12468
12469         * docs/random/release:
12470           update notes
12471         * win32/common/gstenumtypes.c: (register_gst_object_flags),
12472         (gst_object_flags_get_type), (register_gst_bin_flags),
12473         (gst_bin_flags_get_type), (register_gst_buffer_flag),
12474         (gst_buffer_flag_get_type), (register_gst_bus_flags),
12475         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
12476         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
12477         (gst_caps_flags_get_type), (register_gst_clock_return),
12478         (gst_clock_return_get_type), (register_gst_clock_entry_type),
12479         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
12480         (gst_clock_flags_get_type), (register_gst_state),
12481         (gst_state_get_type), (register_gst_state_change_return),
12482         (gst_state_change_return_get_type), (register_gst_state_change),
12483         (gst_state_change_get_type), (register_gst_element_flags),
12484         (gst_element_flags_get_type), (register_gst_core_error),
12485         (gst_core_error_get_type), (register_gst_library_error),
12486         (gst_library_error_get_type), (register_gst_resource_error),
12487         (gst_resource_error_get_type), (register_gst_stream_error),
12488         (gst_stream_error_get_type), (register_gst_event_type_flags),
12489         (gst_event_type_flags_get_type), (register_gst_event_type),
12490         (gst_event_type_get_type), (register_gst_seek_type),
12491         (gst_seek_type_get_type), (register_gst_seek_flags),
12492         (gst_seek_flags_get_type), (register_gst_format),
12493         (gst_format_get_type), (register_gst_index_certainty),
12494         (gst_index_certainty_get_type), (register_gst_index_entry_type),
12495         (gst_index_entry_type_get_type),
12496         (register_gst_index_lookup_method),
12497         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
12498         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
12499         (gst_index_resolver_method_get_type), (register_gst_index_flags),
12500         (gst_index_flags_get_type), (register_gst_debug_level),
12501         (gst_debug_level_get_type), (register_gst_debug_color_flags),
12502         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
12503         (gst_iterator_result_get_type), (register_gst_iterator_item),
12504         (gst_iterator_item_get_type), (register_gst_message_type),
12505         (gst_message_type_get_type), (register_gst_mini_object_flags),
12506         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
12507         (gst_pad_link_return_get_type), (register_gst_flow_return),
12508         (gst_flow_return_get_type), (register_gst_activate_mode),
12509         (gst_activate_mode_get_type), (register_gst_pad_direction),
12510         (gst_pad_direction_get_type), (register_gst_pad_flags),
12511         (gst_pad_flags_get_type), (register_gst_pad_presence),
12512         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
12513         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
12514         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
12515         (gst_plugin_error_get_type), (register_gst_plugin_flags),
12516         (gst_plugin_flags_get_type), (register_gst_rank),
12517         (gst_rank_get_type), (register_gst_query_type),
12518         (gst_query_type_get_type), (register_gst_tag_merge_mode),
12519         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
12520         (gst_tag_flag_get_type), (register_gst_task_state),
12521         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
12522         (gst_alloc_trace_flags_get_type),
12523         (register_gst_type_find_probability),
12524         (gst_type_find_probability_get_type), (register_gst_uri_type),
12525         (gst_uri_type_get_type), (register_gst_parse_error),
12526         (gst_parse_error_get_type):
12527         * win32/common/gstenumtypes.h:
12528         * win32/common/gstversion.h:
12529           update visual studio generated files
12530
12531 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12532
12533         * win32/vs6/libgstbase.dsp:
12534         * win32/vs6/libgstelements.dsp:
12535           update project files for new locations
12536
12537 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12538
12539         * Makefile.am:
12540           remove some files
12541         * README:
12542           reinstate and update
12543         * DEVEL:
12544         * REQUIREMENTS:
12545           removed
12546         * LICENSE:
12547         * docs/random/LICENSE:
12548           moved to random
12549
12550 2005-11-30  Edward Hervey  <edward@fluendo.com>
12551
12552         * gst/gsttypefind.c: (gst_type_find_register):
12553         * gst/gsttypefind.h:
12554         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
12555         (gst_type_find_factory_dispose):
12556         * gst/gsttypefindfactory.h:
12557         Fix memory leak in GstTypeFindFactory.
12558
12559 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12560
12561         * gst/gst.c:
12562         * plugins/elements/Makefile.am:
12563         * plugins/elements/gstelements.c:
12564         * plugins/elements/gstqueue.c:
12565           move queue from core to the elements plugin
12566
12567 2005-11-29  Andy Wingo  <wingo@pobox.com>
12568
12569         * libs/gst/base/gstbasetransform.h: 
12570         * libs/gst/base/gstbasesrc.h: 
12571         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
12572
12573         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
12574         of pointers by which to pad very extensible base classes (like the
12575         ones in libs/gst/base).
12576
12577 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12578
12579         * docs/gst/gstreamer-docs.sgml:
12580         * docs/gst/gstreamer-sections.txt:
12581         * docs/libs/gstreamer-libs-docs.sgml:
12582         * docs/libs/gstreamer-libs-sections.txt:
12583           moving documentation from core to lib
12584
12585 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12586
12587         * check/Makefile.am:
12588         * configure.ac:
12589         * docs/gst/Makefile.am:
12590         * gst/Makefile.am:
12591         * gst/base/.cvsignore:
12592         * gst/base/Makefile.am:
12593         * gst/base/README:
12594         * gst/base/gstadapter.c:
12595         * gst/base/gstadapter.h:
12596         * gst/base/gstbasesink.c:
12597         * gst/base/gstbasesink.h:
12598         * gst/base/gstbasesrc.c:
12599         * gst/base/gstbasesrc.h:
12600         * gst/base/gstbasetransform.c:
12601         * gst/base/gstbasetransform.h:
12602         * gst/base/gstcollectpads.c:
12603         * gst/base/gstcollectpads.h:
12604         * gst/base/gstpushsrc.c:
12605         * gst/base/gstpushsrc.h:
12606         * gst/base/gsttypefindhelper.c:
12607         * gst/base/gsttypefindhelper.h:
12608         * gst/check/Makefile.am:
12609         * gst/check/gstcheck.c:
12610         * gst/check/gstcheck.h:
12611         * gst/net/Makefile.am:
12612         * gst/net/gstnet.h:
12613         * gst/net/gstnetclientclock.c:
12614         * gst/net/gstnetclientclock.h:
12615         * gst/net/gstnettimepacket.c:
12616         * gst/net/gstnettimepacket.h:
12617         * gst/net/gstnettimeprovider.c:
12618         * gst/net/gstnettimeprovider.h:
12619         * libs/gst/Makefile.am:
12620         * libs/gst/base/Makefile.am:
12621         * libs/gst/base/gstbasetransform.c:
12622         * libs/gst/check/Makefile.am:
12623         * plugins/elements/Makefile.am:
12624         * po/POTFILES.in:
12625           CVS surgery + support to move base, check, and net out of gst
12626           and into libs/gst
12627
12628 2005-11-29  Andy Wingo  <wingo@pobox.com>
12629
12630         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
12631
12632         * gst/gststructure.h (struct _GstStructure): Only one pointer of
12633         padding.
12634
12635         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
12636
12637         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
12638
12639         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
12640
12641         * gst/gstobject.h: (struct _GstObject): Only one pointer of
12642         padding; reduces object size by about 30%. We don't expect
12643         anything else to go into gstobject.
12644
12645         * gst/gstminiobject.h (struct _GstMiniObject)
12646         (struct _GstMiniObjectClass): Only one pointer of padding; the
12647         payload is only a pointer and two ints anyway. For the class there
12648         are only two methods as well.
12649         
12650         * gst/gstelement.h (struct _GstElementClass): Removed
12651         the state_changed signal callback, it is not used.
12652
12653 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12654
12655         * docs/gst/gstreamer.types:
12656           fix includes, though they are a little dinky
12657
12658 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12659
12660         * check/Makefile.am:
12661           look in the right place for elements, a lot more chance of
12662           success
12663         * gst/Makefile.am:
12664           remove indexers and elements subdirs
12665         * plugins/Makefile.am:
12666           make indexers conditional
12667
12668 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12669
12670         * Makefile.am:
12671         * configure.ac:
12672         * plugins/elements/Makefile.am:
12673         * plugins/elements/gstcapsfilter.c:
12674         * plugins/elements/gstfilesink.c:
12675         * plugins/elements/gstfilesrc.c:
12676         * plugins/elements/gstidentity.c:
12677         * plugins/indexers/Makefile.am:
12678           do CVS surgery and related build fixery to move elements
12679           and indexers in a new gstreamer/plugins directory, out of the
12680           gst/ directory
12681
12682 2005-11-29  Andy Wingo  <wingo@pobox.com>
12683
12684         * check/Makefile.am:
12685         * pkgconfig/gstreamer-net-uninstalled.pc.in:
12686         * pkgconfig/gstreamer-net.pc.in:
12687         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
12688         #322257.
12689
12690 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12691
12692         * tools/Makefile.am:
12693         * tools/gst-complete.1.in:
12694         * tools/gst-complete.c:
12695         * tools/gst-compprep.1.in:
12696         * tools/gst-compprep.c:
12697           removing -compprep and -complete
12698
12699 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12700
12701         * gst/gstevent.c: (gst_event_new_new_segment),
12702         (gst_event_parse_new_segment):
12703         * gst/gstevent.h:
12704           fix #320529 - clean up new_segment API and structure.
12705           Let's hope everyone was using the methods, and not the structure.
12706
12707 2005-11-29  Edward Hervey  <edward@fluendo.com>
12708
12709         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12710         (gst_base_sink_event), (gst_base_sink_do_sync),
12711         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
12712         Properly handle non GST_FORMAT_TIME segment
12713         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12714         Properly handle non GST_FORMAT_TIME segment
12715         * gst/gstsegment.c:
12716         This function is valid if the accumulator is 0 and the format
12717         is different from the requested format.
12718         
12719 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
12720
12721         * docs/gst/gstreamer-sections.txt:
12722         Add gst_query_new_seeking and gst_query_parse_seeking to the
12723         docs.
12724
12725 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
12726
12727         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
12728           Treat a pad alloc with new caps the same as if we were not
12729           negotiated, in order to allow a changing upstream output
12730           to produce a new format of data.
12731
12732 2005-11-29  Edward Hervey  <edward@fluendo.com>
12733
12734         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12735         (gst_base_transform_event), (gst_base_transform_eventfunc):
12736         The event virtual method is now properly implemented, with a default
12737         handler
12738         Sub classes should call the parent_class event method. They should
12739         return FALSE if they had a problem handling the given event, or don't
12740         want GstBaseTransform to send that even downstream
12741         * gst/elements/gstidentity.c: (gst_identity_class_init),
12742         (gst_identity_init), (gst_identity_event),
12743         (gst_identity_transform_ip), (gst_identity_set_property),
12744         (gst_identity_get_property):
12745         * gst/elements/gstidentity.h:
12746         Added the single-segment boolean property.
12747         If set to TRUE, it will output a single segment of data, starting from
12748         0, will eat up all incoming newsegment, and modify the timestamp of the
12749         buffers accordingly
12750
12751 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
12752
12753         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
12754           Don't ref NULL target pad (#322751). Improve docs.
12755
12756 2005-11-29  Michael Smith  <msmith@fluendo.com>
12757
12758         * gst/gstregistryxml.c: (load_plugin):
12759           Don't crash if we failed to load a feature from a plugin. 
12760
12761 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12762
12763         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12764         (GST_START_TEST):
12765           use more check API and less GLib API
12766
12767 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12768
12769         * Makefile.am:
12770           don't run checks if we don't have check
12771         * common/check.mak:
12772           remove the registry when running make torture
12773         * docs/gst/gstreamer-sections.txt:
12774           remove second multiply
12775         * gst/gstqueue.c: (gst_queue_loop):
12776           fix a compile warning when disabling debug
12777
12778 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
12779
12780         * gst/gstinfo.h:
12781         Hey! Let's print the pad name if the pointer != NULL instead
12782         of when it == NULL :-)
12783
12784 2005-11-28  Wim Taymans  <wim@fluendo.com>
12785
12786         * check/gst/gstutils.c: (GST_START_TEST):
12787         Updated check, add some scaling accuracy checking code.
12788
12789         * gst/gstutils.c: (gst_util_div128_64),
12790         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
12791         (gst_util_uint64_scale_int):
12792         Fix 6 times faster division code. Optimize for common 
12793         1/1 and less common X/1 cases.
12794
12795 2005-11-28  Wim Taymans  <wim@fluendo.com>
12796
12797         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12798         More checks.
12799
12800         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
12801         (do_linear_regression), (gst_clock_add_observation):
12802         Cleanups.
12803         Release lock when the clock cannot be slaved.
12804         Catch the case where the regression returned an invalid denominator.
12805
12806         * gst/gstutils.c: (gst_util_div128_64_iterate),
12807         (gst_util_div128_64), (gst_util_uint64_scale_int64),
12808         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
12809         Add protentially more performant non-iterative 128/64 divide function
12810         that unfortunatly does not work yet.
12811         Shortcut the trivial 0/X = 0 case.
12812         Remove the warnings on overflow.
12813
12814 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12815
12816         * gst/gstplugin.c: (gst_plugin_register_func):
12817           everything causing a plugin not to load should be at least a WARNING
12818
12819 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
12820
12821         * docs/random/ensonic/dparams.txt:
12822           some TODOs for the next dev cycle
12823         * libs/gst/controller/gstcontroller.c:
12824         (gst_controlled_property_set_interpolation_mode),
12825         (gst_controlled_property_new):
12826         * libs/gst/controller/gstcontroller.h:
12827           use base type to assign acccessor functions
12828
12829 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
12830
12831         * check/Makefile.am:
12832         Oops, that should have been top_srcdir
12833
12834 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
12835
12836         * check/Makefile.am:
12837         * check/elements/fdsrc.c: (GST_START_TEST):
12838         Use a cmdline define to specify the location of a file to use for
12839         testing, to avoid breaking distcheck.
12840
12841 2005-11-28  Andy Wingo  <wingo@pobox.com>
12842
12843         * gst/gstpad.c (fixate_value): Use array functions for arrays.
12844
12845 2005-11-28  Edward Hervey  <edward@fluendo.com>
12846
12847         * tools/gst-launch.c: (main):
12848         Clarify the output strings, makes it easier to translate.
12849         Fixes #322626
12850
12851 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12852
12853         * gst/Makefile.am:
12854           don't try and build net if we don't even have <sys/socket.h>
12855
12856 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
12857
12858         * check/Makefile.am:
12859         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
12860         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
12861           Add tests for fdsrc seekability
12862
12863         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
12864         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
12865         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
12866         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
12867         * gst/elements/gstfdsrc.h:
12868           fdsrc should not be a 'live' source.
12869           Implement seeking on seekable fd's.
12870
12871         * gst/gstquery.c: (gst_query_new_seeking),
12872         (gst_query_parse_seeking):
12873         * gst/gstquery.h:
12874           Implement SEEKING query functions: 
12875             *_new_seeking and *_parse_seeking
12876
12877 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
12878
12879         * gst/gstelement.c: (gst_element_dispose):
12880           don't loop forever
12881
12882         * gst/gstiterator.c:
12883         * gst/gststructure.c:
12884           doc fixes
12885
12886         * libs/gst/controller/gstcontroller.c:
12887         (gst_controlled_property_set_interpolation_mode):
12888         * libs/gst/controller/gstcontroller.h:
12889         * libs/gst/controller/gstinterpolation.c:
12890         (interpolate_none_get_enum_value_array):
12891           support controlling enums
12892
12893 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
12894
12895         * gst/gstvalue.c:
12896           Improve documentation for gst_value_union().
12897
12898         * gst/gstvalue.h:
12899           Change return value for union, intersect and subtract functions
12900           from gint to gboolean.
12901
12902 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
12903
12904         * gst/gstvalue.c: (gst_value_serialize_any_list),
12905         (gst_value_transform_any_list_string),
12906         (gst_value_deserialize_list), (gst_value_deserialize_array),
12907         (gst_value_set_int_range), (gst_value_deserialize_int_range),
12908         (gst_value_set_double_range), (gst_value_deserialize_double_range),
12909         (gst_value_set_fraction_range_full),
12910         (gst_value_deserialize_fraction_range),
12911         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
12912         (gst_value_deserialize_boolean),
12913         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
12914         (gst_value_serialize_float), (gst_value_deserialize_float),
12915         (gst_string_wrap), (gst_value_deserialize_string),
12916         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
12917         (gst_value_union_int_range_int_range),
12918         (gst_value_intersect_int_range_int_range),
12919         (gst_value_intersect_double_range_double_range),
12920         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
12921         (gst_value_subtract_int_range_int_range),
12922         (gst_value_subtract_double_double_range),
12923         (gst_value_subtract_double_range_double_range),
12924         (gst_value_deserialize_fraction):
12925         * gst/gstvalue.h:
12926           Use gint, gdouble and gchar in our API instead of int, double and
12927           char (and make usage in gstvalue.c more consistent).
12928
12929 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
12930
12931         * check/Makefile.am:
12932         * libs/gst/controller/Makefile.am:
12933         * libs/gst/dataprotocol/Makefile.am:
12934           fix up Makefile.am and remove GST_ENABLE_NEW
12935
12936 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
12937
12938         * configure.ac:
12939         * gst/Makefile.am:
12940         * gst/base/Makefile.am:
12941         * gst/check/Makefile.am:
12942         * gst/elements/Makefile.am:
12943         * gst/net/Makefile.am:
12944           update LDFLAGS use some more
12945
12946 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
12947
12948         * common/m4/gst-doc.m4:
12949           Fixes #312589
12950
12951 2005-11-26  Edward Hervey  <edward@fluendo.com>
12952
12953         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
12954         This shouldn't issue a g_warning since it returns NULL if it
12955         couldn't find the plugin, and all functions using this behave
12956         properly on a NULL return. Switching to a GST_WARNING.
12957
12958 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
12959
12960         * gst/gstbin.c: (gst_bin_handle_message_func):
12961         Don't leak clock messages.
12962
12963 2005-11-25  Wim Taymans  <wim@fluendo.com>
12964
12965         * gst/gstutils.c: (gst_util_uint64_scale_int64),
12966         (gst_util_uint64_scale_int):
12967         Optimisations, remove unneeded vars.
12968
12969 2005-11-25  Wim Taymans  <wim@fluendo.com>
12970
12971         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12972         Added more checks for the high precision uint64 cases.
12973
12974         * gst/gstutils.c: (gst_util_uint64_scale_int64),
12975         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
12976         Implement high precision (guint64 * guint64) / guint64.
12977
12978 2005-11-24  Wim Taymans  <wim@fluendo.com>
12979
12980         * gst/base/gstbasesrc.c: (gst_base_src_query):
12981         Fix wrong percentage query.
12982
12983         * gst/gstutils.c: (gst_util_uint64_scale),
12984         (gst_util_uint64_scale_int):
12985         Add some more common cases that can be handled 
12986         efficiently to _scale.
12987
12988 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12989
12990         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
12991         (gst_mini_object_suite):
12992           don't use check calls from threads; check probably isn't
12993           threadsafe and using a lock to make it threadsafe would
12994           defeat the purpose of this check
12995         * gst/check/gstcheck.c:
12996         * gst/check/gstcheck.h:
12997           use GST_DEBUG some more
12998
12999 2005-11-24  Wim Taymans  <wim@fluendo.com>
13000
13001         * gst/gstutils.c: (gst_util_uint64_scale),
13002         (gst_util_uint64_scale_int):
13003         Chain trivial case to _scale_int.
13004
13005 2005-11-24  Wim Taymans  <wim@fluendo.com>
13006
13007         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13008         Added test for scaling.
13009
13010         * gst/gstclock.h:
13011         Small doc fix.
13012
13013         * gst/gstutils.c: (gst_util_uint64_scale_int):
13014         Implemented high precision scaling code.
13015
13016 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
13017
13018         * gst/gstinfo.h:
13019           do not crash on pad==NULL
13020
13021 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13022
13023         Patch by: Stefan Kost
13024
13025         * common/gtk-doc.mak:
13026         * docs/gst/Makefile.am:
13027         * docs/libs/Makefile.am:
13028           Fix distcheck issues for the libraries docs build
13029           Closes #319599.
13030
13031 2005-11-24  Michael Smith <msmith@fluendo.com>
13032
13033         * docs/manual/basics-helloworld.xml:
13034           Fix bug #315027: memory leak in example code in docs.
13035
13036 2005-11-24  Michael Smith <msmith@fluendo.com>
13037
13038         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13039           Unlock the PREROLL_LOCK in a failure case.
13040
13041 2005-11-24  Wim Taymans  <wim@fluendo.com>
13042
13043         * docs/gst/gstreamer-sections.txt:
13044         * gst/base/gstadapter.h:
13045         * gst/base/gstbasesink.h:
13046         * gst/base/gstbasesrc.h:
13047         * gst/base/gstbasetransform.h:
13048         * gst/base/gstpushsrc.h:
13049         * gst/elements/gstfakesink.h:
13050         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
13051         * gst/elements/gstfakesrc.h:
13052         * gst/elements/gstfilesink.h:
13053         * gst/elements/gstfilesrc.h:
13054         * gst/gst.c:
13055         * gst/gstbin.c:
13056         * gst/gstbuffer.c: (_gst_buffer_copy):
13057         * gst/gstbus.h:
13058         * gst/gstcaps.c:
13059         * gst/gstchildproxy.c:
13060         * gst/gstclock.c:
13061         * gst/gstelement.c:
13062         * gst/gstelementfactory.c:
13063         * gst/gstelementfactory.h:
13064         * gst/gstevent.c:
13065         * gst/gstghostpad.h:
13066         * gst/gstindex.h:
13067         * gst/gstinterface.h:
13068         * gst/gstminiobject.c:
13069         * gst/gstminiobject.h:
13070         * gst/gstpad.c:
13071         * gst/gstpad.h:
13072         * gst/gstpadtemplate.h:
13073         * gst/gstpipeline.h:
13074         * gst/gstpluginfeature.h:
13075         * gst/gstquery.h:
13076         * gst/gstqueue.h:
13077         * gst/gsttaglist.c:
13078         * gst/gsttaglist.h:
13079         * gst/gsttagsetter.c:
13080         * gst/gsttagsetter.h:
13081         * gst/gsttrace.c:
13082         * gst/gsttrace.h:
13083         * gst/gsttypefind.h:
13084         * gst/gsturi.h:
13085         * gst/gstvalue.c:
13086         * gst/net/gstnetclientclock.c:
13087         * gst/net/gstnetclientclock.h:
13088         * gst/net/gstnettimepacket.c:
13089         * gst/net/gstnettimeprovider.c:
13090         * gst/net/gstnettimeprovider.h:
13091         Doc fixes.
13092
13093 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13094
13095         * configure.ac: back to HEAD
13096
13097 === release 0.9.6 ===
13098
13099 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
13100
13101         * configure.ac:
13102           releasing 0.9.6, "Always On Time"
13103
13104 2005-11-23  Wim Taymans  <wim@fluendo.com>
13105
13106         * docs/gst/gstreamer-sections.txt:
13107         * gst/glib-compat.c:
13108         * gst/gsttagsetter.c:
13109         * gst/gstvalue.c:
13110         * gst/net/gstnetclientclock.c:
13111         * gst/net/gstnettimepacket.h:
13112         Doc updates.
13113
13114 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13115
13116         * docs/faq/using.xml:
13117         * docs/libs/tmpl/gstcontrol.sgml:
13118         * docs/manual/advanced-dparams.xml:
13119         * docs/manual/appendix-checklist.xml:
13120         * docs/manual/basics-elements.xml:
13121         * docs/pwg/other-source.xml:
13122         * docs/random/moving-plugins:
13123         * gst/gstpad.c:
13124         * tools/gst-launch.1.in:
13125           remove mentions of sinesrc
13126
13127 2005-11-23  Michael Smith <msmith@fluendo.com>
13128
13129         * docs/gst/gstreamer-sections.txt:
13130           Update for new API and API changes.
13131         * gst/gstobject.h:
13132           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
13133         * gst/gstvalue.c:
13134           Documentation typo fix.
13135         * gst/net/gstnettimepacket.c:
13136           Documentation fixes for arguments.
13137
13138 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
13139
13140         * gst/gststructure.c: (gst_structure_get_fraction),
13141         (gst_structure_parse_value),
13142         (gst_structure_fixate_field_nearest_fraction):
13143         * gst/gststructure.h:
13144         * gst/gstutils.c: (gst_util_uint64_scale_int):
13145         * gst/gstutils.h:
13146         * scripts/update-funcnames:
13147         API Changes. 
13148         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
13149         Make gst_structure_fixate_field_nearest_fraction take a numerator
13150         and denominator argument instead of a GValue
13151         add gst_structure_get_fraction helper function.
13152
13153 2005-11-23  Wim Taymans  <wim@fluendo.com>
13154
13155         * docs/design/part-TODO.txt:
13156         Update TODO.
13157
13158         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
13159         * gst/net/gstnetclientclock.h:
13160         Use parent fields for timeout and window_size.
13161
13162 2005-11-23  Andy Wingo  <wingo@pobox.com>
13163
13164         * check/net/gstnetclientclock.c (test_functioning): Adjust to
13165         rate_num/rate_denom change.
13166
13167         * gst/net/gstnetclientclock.c
13168         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
13169         OBJECT_LOCK. Don't call add_observation with the lock.
13170
13171         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
13172         fraction.
13173         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
13174         rate fraction.
13175         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
13176         deal with rate as a fraction whose numerator and denominator are
13177         GstClockTime values.
13178         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
13179         master; the other fields are protected by the SLAVE_LOCK.
13180         (do_linear_regression): Note that this must be called with the
13181         SLAVE_LOCK.
13182         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
13183         OBJECT_LOCK. Call set_calibration instead of touching the
13184         variables directly.
13185         (gst_clock_set_property, gst_clock_get_property): Protect
13186         master/slave parameters with the SLAVE_LOCK.
13187
13188         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
13189         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
13190         note that all of the instance variables that add_observation and
13191         the set_master functions use are protected by that lock and not
13192         the OBJECT_LOCK.
13193         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
13194
13195         * gst/gstclock.c (gst_clock_add_observation): No longer requires
13196         the caller to take the object lock.
13197
13198 2005-11-23  Wim Taymans  <wim@fluendo.com>
13199
13200         * gst/gsterror.c: (_gst_core_errors_init):
13201         * gst/gsterror.h:
13202         Add error for clock stuff.
13203
13204         * gst/gstpipeline.c: (gst_pipeline_change_state),
13205         (gst_pipeline_set_clock):
13206         Post clock error when clock cannot be used in a pipeline.
13207
13208 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
13209
13210         * docs/gst/gstreamer-sections.txt:
13211           make two symbols from gstinfo private for the docs
13212         * gst/base/gstcollectpads.h:
13213         * gst/gstutils.c:
13214           fix doc typos, update docs
13215
13216 2005-11-22  Wim Taymans  <wim@fluendo.com>
13217
13218         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13219         (gst_base_sink_wait), (gst_base_sink_do_sync),
13220         (gst_base_sink_handle_event):
13221         * gst/base/gstbasesink.h:
13222         No need to store the clock, the parent element class already
13223         has it.
13224
13225         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
13226         Updates for clock_set returning a gboolean
13227
13228         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
13229         (gst_clock_id_wait_async), (gst_clock_class_init),
13230         (gst_clock_init), (gst_clock_finalize),
13231         (gst_clock_get_internal_time), (gst_clock_get_time),
13232         (gst_clock_slave_callback), (gst_clock_set_master),
13233         (gst_clock_get_master), (do_linear_regression),
13234         (gst_clock_add_observation), (gst_clock_set_property),
13235         (gst_clock_get_property):
13236         * gst/gstclock.h:
13237         Implement master/slave. When setting a clock as a slave, a
13238         periodic timeout is scheduled to sample master and slave times.
13239         Then the slave clock is recalibrated to match offset and rate
13240         of the master clock.
13241         Update logging a bit.
13242         Add flag so that a clock can state that is cannot be slaved to
13243         another clock.
13244
13245         * gst/gstelement.c: (gst_element_set_clock):
13246         * gst/gstelement.h:
13247         The set clock returns a gboolean for when an element cannot
13248         deal with the selected clock in the pipeline. 
13249
13250         * gst/gstpipeline.c: (gst_pipeline_change_state),
13251         (gst_pipeline_set_clock):
13252         * gst/gstpipeline.h:
13253         Handle the case where the selected clock cannot be set on
13254         the pipeline.
13255
13256         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
13257         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
13258         (gst_net_client_clock_set_property),
13259         (gst_net_client_clock_get_property),
13260         (gst_net_client_clock_observe_times):
13261         * gst/net/gstnetclientclock.h:
13262         Use regression code in GstClock parent, remove duplicated
13263         functionality.
13264
13265 2005-11-22  Michael Smith <msmith@fluendo.com>
13266
13267         * gst/gstutils.c: (gst_util_clock_time_scale):
13268         * gst/gstutils.h:
13269         * docs/gst/gstreamer-sections.txt:
13270           Rename method to have extra underscore.
13271
13272 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13273
13274         * gst/elements/Makefile.am:
13275         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
13276         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13277         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
13278         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
13279         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
13280         * gst/elements/gstfakesrc.h:
13281         * gst/gstqueue.c: (queue_leaky_get_type):
13282           correctly fix GEnumValues so that nick is the short lowercase
13283           dashed tag
13284         * tools/gst-inspect.c: (print_element_properties_info):
13285           also show the nick, since it's useful to use from parse_launch
13286           syntax
13287           Fixes #322139
13288
13289 2005-11-22  Michael Smith <msmith@fluendo.com>
13290
13291         * gst/gstutils.c: (gst_util_clocktime_scale):
13292         * gst/gstutils.h:
13293         * docs/gst/gstreamer-sections.txt:
13294           Add util method for scaling a clocktime by a fraction. Useful 
13295           implementation is left as an exercise for the reader.
13296
13297 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13298
13299         * gst/gstvalue.c: (gst_value_collect_fraction_range):
13300         If needed, allocate storage in the destination value during
13301         collection.
13302
13303 2005-11-22  Edward Hervey  <edward@fluendo.com>
13304
13305         * docs/gst/gstreamer-sections.txt:
13306         * gst/Makefile.am:
13307         * gst/gst.h:
13308         * gst/gsturitype.c:
13309         * gst/gsturitype.h:
13310         * gst/gstutils.c: (gst_util_set_object_arg):
13311         * tools/gst-compprep.c: (main):
13312         * tools/gst-inspect.c: (print_element_properties_info):
13313         Removed GstURI, closes bug #321061
13314
13315 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13316
13317         * check/gst/gststructure.c: (GST_START_TEST):
13318         * gst/gststructure.c: (gst_structure_parse_value):
13319           Oops, broke automatic string type parsing.
13320           Add a test to catch it in future.
13321
13322 2005-11-22  Andy Wingo  <wingo@pobox.com>
13323
13324         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
13325         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
13326         Actually rename the function implementations. Grr.
13327
13328 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13329
13330         * check/gst/capslist.h:
13331           Comment test cases
13332         * check/gst/gststructure.c: (GST_START_TEST),
13333         (gst_structure_suite):
13334           Test automatic value type detection in gst_structure_from_string.
13335         * gst/gststructure.c: (gst_structure_parse_value):
13336           Add fraction as a type we try and guess automatically in
13337           caps/structure strings.
13338
13339 2005-11-22  Andy Wingo  <wingo@pobox.com>
13340
13341         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
13342
13343         * gst/gsttagsetter.h:
13344         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
13345         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
13346         (gst_tag_setter_add_tag_valist)
13347         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
13348         _add_values, _add_valist, and _add_valist_values. Since this is an
13349         interface the function suffixes should be more explicit so
13350         language binding don't end up with element.add_valist ->
13351         gst_tag_setter_add_valist, for example. Fixes #322069.
13352
13353 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13354
13355         * check/gst/gstcaps.c: (GST_START_TEST):
13356           Extend caps string tests to check that a caps to string
13357           conversion is reversible and produces the same caps.
13358
13359         * gst/gststructure.c: (gst_structure_value_get_generic_type):
13360           Output "fraction" as the generic type fraction range, so caps
13361           serialisation and deserialisation works.
13362         * check/gst/capslist.h:
13363         * gst/gstvalue.c: (gst_value_deserialize_fraction):
13364           Support 'MIN' and 'MAX' for deserialising fractions.
13365
13366 2005-11-22  Andy Wingo  <wingo@pobox.com>
13367
13368         * gst/gstevent.h (gst_event_new_new_segment)
13369         (gst_event_parse_new_segment, gst_event_new_buffer_size)
13370         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
13371         Renamed from *_newsegment, *_buffersize, *_notarget.
13372
13373         * scripts/update-funcnames: New script, performs the changes
13374         listed above.
13375
13376 2005-11-22  Wim Taymans  <wim@fluendo.com>
13377
13378         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13379         Make sure the GstFlowReturn is returned.
13380
13381         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
13382         (gst_bus_add_signal_watch):
13383         * gst/gstbus.h:
13384         add gst_bus_add_signal_watch_full.
13385
13386         * gst/gstplugin.c: (gst_plugin_load_file):
13387         Small style cleanup.
13388
13389 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13390
13391         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
13392           Block the fakesrc srcpad when we send an event, to avoid
13393           contention on the stream_lock causing random test failures.
13394
13395 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13396
13397         * check/gst/gstvalue.c: (GST_START_TEST):
13398         * gst/gstvalue.c: (gst_value_fraction_subtract):
13399           Fix subtraction.
13400
13401 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
13402
13403         * gst/gst.h:
13404           include "gstchildproxy.h"
13405         * gst/gstchildproxy.h:
13406         * libs/gst/controller/gstcontroller.h:
13407           use G_GNUC_NULL_TERMINATED
13408
13409 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13410
13411         * check/gst/capslist.h:
13412         * check/gst/gstcaps.c: (GST_START_TEST):
13413         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13414         * gst/gststructure.c: (gst_structure_parse_range),
13415         (gst_structure_fixate_field_nearest_fraction):
13416         * gst/gststructure.h:
13417         * gst/gstvalue.c: (gst_value_init_fraction_range),
13418         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
13419         (gst_value_collect_fraction_range),
13420         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
13421         (gst_value_set_fraction_range_full),
13422         (gst_value_get_fraction_range_min),
13423         (gst_value_get_fraction_range_max),
13424         (gst_value_serialize_fraction_range),
13425         (gst_value_transform_fraction_range_string),
13426         (gst_value_compare_fraction_range),
13427         (gst_value_deserialize_fraction_range),
13428         (gst_value_intersect_fraction_fraction_range),
13429         (gst_value_intersect_fraction_range_fraction_range),
13430         (gst_value_subtract_fraction_fraction_range),
13431         (gst_value_subtract_fraction_range_fraction),
13432         (gst_value_subtract_fraction_range_fraction_range),
13433         (gst_value_collect_fraction), (gst_value_fraction_multiply),
13434         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
13435         (gst_value_transform_string_fraction), (_gst_value_initialize):
13436         * gst/gstvalue.h:
13437           Implement fraction ranges and extend GstFraction to support
13438           arithmetic subtraction, as well as deserialization from integer
13439           strings such as "100"
13440           Add a testsuite as for int and double range set operations
13441
13442 2005-11-21  Andy Wingo  <wingo@pobox.com>
13443
13444         * gst/gsttaglist.h: 
13445         * gst/gstcaps.h: 
13446         * gst/gststructure.h: Add glib-compat.h.
13447
13448 2005-11-21  Wim Taymans  <wim@fluendo.com>
13449
13450         * gst/gstbin.c: (gst_bin_change_state_func):
13451         Fix for #321595
13452
13453 2005-11-21  Wim Taymans  <wim@fluendo.com>
13454
13455         * gst/gstsegment.h:
13456         And add a nice define too.
13457
13458 2005-11-21  Wim Taymans  <wim@fluendo.com>
13459
13460         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
13461         (gst_segment_new), (gst_segment_free), (gst_segment_init),
13462         (gst_segment_set_duration), (gst_segment_set_last_stop),
13463         (gst_segment_set_seek), (gst_segment_set_newsegment),
13464         (gst_segment_to_stream_time), (gst_segment_to_running_time),
13465         (gst_segment_clip):
13466         * gst/gstsegment.h:
13467         Make binding friendly.
13468
13469 2005-11-21  Andy Wingo  <wingo@pobox.com>
13470
13471         * gst/gsttagsetter.h: 
13472         * gst/gsttaglist.h: 
13473         * gst/gststructure.h: 
13474         * gst/gstcaps.h: 
13475         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
13476         #319940.
13477
13478         * gst/gsterror.c (_gst_core_errors_init):
13479         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
13480         category.
13481
13482         * gst/Makefile.am (gst_headers): Add glib-compat.h.
13483         (noinst_HEADERS): noinst the -private.
13484
13485 2005-11-21  Michael Smith <msmith@fluendo.com>
13486
13487         * gst/gstplugin.h:
13488         * gst/gstregistry.h:
13489           Remove unimplemented declarations for which we can see no sensible
13490           use.
13491
13492 2005-11-21  Andy Wingo  <wingo@pobox.com>
13493
13494         * gst/gst.h: Include glib-compat.h.
13495
13496         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
13497
13498         * gst/glib-compat.c: Include the public and the private header.
13499
13500         * gst/glib-compat-private.h: Copied here from glib-compat.h.
13501
13502         * gst/gstvalue.c: 
13503         * gst/gstpad.c: 
13504         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
13505
13506         * check/gst/gstevent.c (create_custom_events): Check that
13507         FLUSH_STOP is serialized.
13508
13509         * check/elements/identity.c (event_func): 
13510         * check/elements/fakesrc.c (event_func): No stream lock, the core
13511         takes it.
13512
13513         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
13514         stream lock taking, yay.
13515
13516         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
13517         ensure that core takes the stream lock.
13518
13519         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
13520         lock name change.
13521
13522         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
13523         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
13524         it already. For the flush start we do take it though so we get the
13525         right preroll state change messages.
13526
13527         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
13528         the stream lock here, the core does it for us.
13529
13530         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
13531         GST_STREAM_GET_LOCK.
13532         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
13533         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
13534         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
13535         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
13536         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
13537         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
13538
13539         * gst/gstpad.c: Update for stream lock name change.
13540
13541         * gst/base/gstbasesink.c: Update for preroll lock name change.
13542
13543 2005-11-21  Wim Taymans  <wim@fluendo.com>
13544
13545         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
13546         (gst_clock_get_master):
13547         * gst/gstclock.h:
13548         * gst/gstsystemclock.c: (gst_system_clock_init):
13549         Convert Clock flags to object flags.
13550         Added methods to manage master/slave clocks.
13551
13552 2005-11-21  Wim Taymans  <wim@fluendo.com>
13553
13554         * check/gst/gstsegment.c: (GST_START_TEST):
13555         * docs/design/part-TODO.txt:
13556         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13557         (gst_base_sink_event), (gst_base_sink_do_sync),
13558         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
13559         (gst_base_sink_query), (gst_base_sink_change_state):
13560         * gst/base/gstbasesink.h:
13561         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
13562         (gst_base_src_default_newsegment),
13563         (gst_base_src_configure_segment), (gst_base_src_do_seek),
13564         (gst_base_src_get_range), (gst_base_src_loop),
13565         (gst_base_src_change_state):
13566         * gst/base/gstbasesrc.h:
13567         * gst/base/gstbasetransform.c:
13568         (gst_base_transform_prepare_output_buf),
13569         (gst_base_transform_event), (gst_base_transform_change_state):
13570         * gst/base/gstbasetransform.h:
13571         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
13572         (gst_collect_pads_event):
13573         * gst/base/gstcollectpads.h:
13574         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
13575         (gst_fake_src_create):
13576         * gst/elements/gstfakesrc.h:
13577         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13578         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
13579         (gst_segment_set_last_stop), (gst_segment_set_seek),
13580         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
13581         (gst_segment_to_running_time), (gst_segment_clip):
13582         * gst/gstsegment.h:
13583         More segment updates, replace code in plugins with segment
13584         helper functions.
13585
13586 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
13587
13588         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
13589         Don't ignore sscanf results
13590
13591 2005-11-21  Andy Wingo  <wingo@pobox.com>
13592
13593         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
13594
13595         * *.h:
13596         * *.c: Ran scripts/update-macros. Oh yes.
13597
13598         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
13599         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
13600         GST_GET_LOCK, etc.
13601
13602         * scripts/update-macros: New script. Run it on your files to
13603         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
13604         well.
13605
13606 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
13607
13608         * docs/gst/Makefile.am:
13609         * docs/gst/gstreamer-docs.sgml:
13610         * docs/gst/gstreamer-sections.txt:
13611         * docs/gst/gstreamer.types:
13612         * gst/gstinfo.h:
13613           more docs fixes, add new api to the docs
13614
13615 2005-11-21  Andy Wingo  <wingo@pobox.com>
13616
13617         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
13618         state_broadcast call.
13619
13620         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
13621
13622 2005-11-21  Julien MOUTTE  <julien@moutte.net>
13623
13624         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
13625         function calls for arrays.
13626
13627 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
13628
13629         * docs/random/ensonic/media-device-daemon.txt:
13630           wild idea, can this be done?
13631         * docs/gst/gstreamer-sections.txt:
13632         * gst/gsterror.h:
13633         * gst/gstfilter.c:
13634         * gst/gstfilter.h:
13635         * gst/gstplugin.h:
13636         * gst/gstpluginfeature.c:
13637         * gst/gsttrace.c:
13638         * gst/gstvalue.c:
13639         * gst/gstvalue.h:
13640           doc fixes and additions
13641
13642 2005-11-21  Andy Wingo  <wingo@pobox.com>
13643
13644         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
13645         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
13646         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
13647         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
13648         private to the basesrc implementation.
13649
13650         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
13651         behalf of event function if necessary. It should no longer be
13652         necessary to take the stream lock in pad's event functions. Fixes
13653         #320299.
13654
13655 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
13656         * docs/gst/gstreamer-sections.txt:
13657         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
13658         (gst_structure_fixate_field_nearest_double),
13659         (gst_structure_fixate_field_boolean):
13660         * gst/gststructure.h:
13661         * win32/common/libgstreamer.def:
13662         * win32/gstreamer.def:
13663
13664         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
13665         (#322027)
13666
13667 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
13668
13669         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
13670         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
13671         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
13672         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
13673         (gst_fdsrc_uri_handler_init):
13674         * gst/elements/gstfdsrc.h:
13675           Port fd:// URI handler from 0.8 to fdsrc
13676
13677 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
13678
13679         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
13680         (gst_value_serialize_fourcc):
13681         * gst/gstvalue.h:
13682           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
13683           consistent with our other format defines (#320324).
13684
13685 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
13686
13687         * gst/gstvalue.c: (gst_value_is_fixed):
13688           Revert previous commit. Value lists are by definition
13689           not fixed, as they are a list of possible values.
13690
13691 2005-11-21  Andy Wingo  <wingo@pobox.com>
13692
13693         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
13694         during the stable series if we need it. Fixes #319178.
13695
13696         * gst/gstevent.c (gst_event_new_filler): Removed.
13697
13698         * check/gst/gstevent.c: Update comment about filler events.
13699
13700 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
13701
13702         * gst/gstvalue.c: (gst_value_is_fixed):
13703           Should handle both value arrays and value lists.
13704
13705 2005-11-21  Andy Wingo  <wingo@pobox.com>
13706
13707         patch by: Alessandro Dessina <alessandro nnva org>
13708
13709         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
13710         functions to access arrays. Fixes #321962.
13711
13712 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
13713
13714         * docs/gst/gstreamer.types:
13715           gst_collectpads_get_type => gst_collect_pads_get_type.
13716           
13717         * gst/base/gstbasetransform.c:
13718           Remove unused SIGNAL_HANDOFF enum.
13719
13720 2005-11-21  Andy Wingo  <wingo@pobox.com>
13721
13722         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
13723         the event type (upstream, downstream, serialized). Renamed
13724         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
13725         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
13726         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
13727
13728         * gst/gstevent.c: Update for new CUSTOM event names.
13729
13730         * check/gst/gstevent.c: Update check for new CUSTOM event names.
13731
13732         * gst/gstevent.h:
13733         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
13734         bug #319392.
13735
13736 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
13737
13738         * docs/gst/gstreamer-sections.txt:
13739         * win32/common/libgstbase.def:
13740         * win32/libgstbase.def:
13741         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13742         (gst_collect_pads_class_init), (gst_collect_pads_init),
13743         (gst_collect_pads_finalize), (gst_collect_pads_new),
13744         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
13745         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
13746         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
13747         (gst_collect_pads_start), (gst_collect_pads_stop),
13748         (gst_collect_pads_peek), (gst_collect_pads_pop),
13749         (gst_collect_pads_available), (gst_collect_pads_read),
13750         (gst_collect_pads_flush), (gst_collect_pads_event),
13751         (gst_collect_pads_chain):
13752         * gst/base/gstcollectpads.h:
13753           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
13754           unimplemented functions as unimplemented. Add padding to
13755           GstCollectData. (#320766, #320423)
13756
13757 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
13758
13759         * gst/gstmessage.c:
13760           Improve docs for DURATION message (usage of duration parameter)
13761           (#320113)
13762
13763 2005-11-20  Wim Taymans  <wim@fluendo.com>
13764
13765         * check/Makefile.am:
13766         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
13767         (main):
13768         * gst/Makefile.am:
13769         * gst/gst.h:
13770         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
13771         (gst_segment_set_seek), (gst_segment_set_newsegment),
13772         (gst_segment_to_stream_time), (gst_segment_to_running_time),
13773         (gst_segment_clip):
13774         * gst/gstsegment.h:
13775         Added segment helper structure and methods. Not fully implemented
13776         yet.
13777         Added segment check.
13778
13779 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
13780
13781         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13782           Add a deserialisation test for fractions
13783         * examples/metadata/read-metadata.c: (message_loop),
13784         (make_pipeline), (main):
13785           Fix up metadata reading sample.
13786         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13787           Debug format fix
13788         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
13789           Don't try and fixate empty caps
13790         * gst/gst_private.h:
13791           Wrap in G_BEGIN_DECLS/G_END_DECLS
13792         * gst/gstvalue.c: (gst_value_collect_fraction),
13793         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
13794         (gst_value_transform_string_fraction),
13795         (gst_value_compare_fraction):
13796           Add some extra guards to ensure that we don't end up 
13797           with an invalid denominator of 0 in a gstfraction and
13798           that fractions always get reduced.
13799
13800 2005-11-20  Wim Taymans  <wim@fluendo.com>
13801
13802         * docs/gst/gstreamer-sections.txt:
13803         * gst/gstbuffer.h:
13804         * gst/gstelement.c:
13805         * gst/gstformat.c:
13806         * gst/gstformat.h:
13807         * gst/gstindex.h:
13808         * gst/gstquery.c:
13809         * gst/gstquery.h:
13810         * gst/gstvalue.c:
13811         Doc fixes.
13812
13813 2005-11-20  Wim Taymans  <wim@fluendo.com>
13814
13815         * docs/design/part-TODO.txt:
13816         * gst/gstcaps.h:
13817         Make a proper enum of the flag.
13818
13819 2005-11-19  Wim Taymans  <wim@fluendo.com>
13820
13821         * docs/design/part-TODO.txt:
13822         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
13823         (gst_format_to_quark), (gst_format_register):
13824         * gst/gstformat.h:
13825         * gst/gstquery.c: (_gst_query_initialize),
13826         (gst_query_type_get_name), (gst_query_type_to_quark),
13827         (gst_query_type_register):
13828         * gst/gstquery.h:
13829         Add type to quark and type to string conversions.
13830
13831 2005-11-19  Andy Wingo  <wingo@pobox.com>
13832
13833         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
13834         #320097.
13835
13836 2005-11-19  Wim Taymans  <wim@fluendo.com>
13837
13838         * docs/design/part-TODO.txt:
13839         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
13840         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
13841         (gst_bin_handle_message_func):
13842         * gst/gstbin.h:
13843         Make message handling overridable.
13844
13845 2005-11-19  Andy Wingo  <wingo@pobox.com>
13846
13847         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
13848
13849         * gst/gstclock.h:
13850         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
13851         be a GstClockTime.
13852         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
13853         is a GstClockTime. Fixes #321710.
13854
13855         * gst/gstclock.h (GstClock): Remove offset property. Add
13856         internal_calibration and external_calibration. Fix padding. Pad
13857         also by GstClockTime so we don't run into problems.
13858
13859         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
13860         (gst_clock_get_rate_offset): Remove.
13861         (gst_clock_set_time_adjust): Remove. Fixes #321712.
13862
13863         * gst/gstutils.h:
13864         * gst/gstutils.c (g_static_rec_cond_wait)
13865         (g_static_rec_cond_timed_wait): Removed, no longer needed.
13866
13867         * gst/gstbin.c: Remove terrible continue_state prototype.
13868
13869         * gst/gstelement.h (gst_element_continue_state): Make public.
13870
13871         * gst/gstelement.h:
13872         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
13873         by continue_state. Fixes #319389.
13874
13875         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
13876         Really fixes #168438. However I don't see anywhere where the
13877         filter function is called... stupid GStreamer...
13878         
13879         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
13880         don't have a dispose function, so it won't get called when the
13881         object is unreffed, but oh well!
13882
13883         * gst/gstindex.c (gst_index_set_filter_full): New API function,
13884         allows a destroy function to be set so user_data can be freed.
13885         Fixes #168438.
13886         (gst_index_set_filter): Call gst_index_set_filter_full.
13887
13888         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
13889
13890         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
13891         string should produce an error, given the lack of a way to
13892         represent NULL strings. Fixes #165650.
13893         
13894         * gst/gstvalue.h: 
13895         * gst/gstvalue.c (gst_value_array_append_value) 
13896         (gst_value_array_prepend_value, gst_value_array_get_size) 
13897         (gst_value_array_get_value): New API, copied from
13898         gst_value_list_*, only operates on arrays.
13899         (gst_value_list_append_value, gst_value_list_prepend_value) 
13900         (gst_value_list_concat, gst_value_list_get_size) 
13901         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
13902
13903         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
13904         init_list, because it works on both.
13905         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
13906         (gst_value_copy_list_or_array): Renamed from copy_list.
13907         (gst_value_free_list_or_array): Renamed from free_list.
13908         (gst_value_collect_list_or_array): Renamed from collect_list.
13909         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
13910         (gst_value_list_or_array_peek_pointer): Renamed from
13911         list_peek_pointer.
13912         (_gst_value_array_value_table, _gst_value_list_value_table):
13913         Update value table functions.
13914         (gst_value_compare_list_or_array): Renamed from compare_list.
13915
13916         * gsttaglist.h: Whoops, foreach function returns void. Also fix
13917         some constness.
13918
13919         * gst/gsttaglist.c:
13920         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
13921         GstTagList*. Fixes #143472.
13922
13923         * gst/gststructure.h: Clarify what the foreach/map functions can
13924         or can't do to their arguments.
13925
13926 2005-11-18  Wim Taymans  <wim@fluendo.com>
13927
13928         * gst/gstclock.c: (gst_clock_set_calibration),
13929         (gst_clock_get_calibration):
13930         Doc and API fixes.
13931         Calibration can be set with internal time equal to current
13932         internal time too.
13933
13934 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13935
13936         * gst/gsterror.c:
13937         * gst/gsterror.h:
13938           document
13939
13940 2005-11-18  Andy Wingo  <wingo@pobox.com>
13941
13942         * configure.ac: 
13943         * pkgconfig/gstreamer-net.pc.in:
13944         * pkgconfig/gstreamer-net-uninstalled.pc.in:
13945         * pkgconfig/Makefile.am: Add net pkgconfig files.
13946
13947 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
13948
13949         * gst/gstcaps.c:
13950         * gst/gstghostpad.c:
13951         * gst/gsttrace.c:
13952         * gst/gstvalue.c:
13953         * gst/gstvalue.h:
13954           docs fixes
13955
13956 2005-11-18  Andy Wingo  <wingo@pobox.com>
13957
13958         * gst/net/gstnetclientclock.c: Turn off debugging.
13959
13960         * check/net/gstnetclientclock.c (test_functioning): Assert that the
13961         times connverge somewhat. Can't make a real test.
13962
13963         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
13964         integer arithmetic. Return the minimum of the domain, which can be
13965         set as "internal" for gst_clock_set_calibration.
13966         (gst_net_client_clock_observe_times): Call _set_calibration.
13967         (gst_net_client_clock_new): Call _set_calibration instead of
13968         rate_offset.
13969
13970         * check/net/gstnetclientclock.c (test_functioning): Use the right
13971         adjustment api.
13972
13973         * gst/gstclock.h:
13974         * gst/gstclock.c (gst_clock_get_calibration) 
13975         (gst_clock_set_calibration): New functions, obsolete the ones I
13976         added yesterday. Doh. Precision issues mean we have to extrapolate
13977         from a point in the more recent past than 1970.
13978         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
13979         obsolete.
13980         (gst_clock_adjust_unlocked): Use the right calibration data.
13981
13982 2005-11-18  Edward Hervey  <edward@fluendo.com>
13983
13984         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
13985         Also reset the ->current_* values in READY->PAUSED
13986
13987 2005-11-18  Andy Wingo  <wingo@pobox.com>
13988
13989         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
13990         Whoops, check the right fd. Also add some debugging.
13991         (gst_net_client_clock_observe_times): Adjust for int64 offset.
13992         (do_linear_regression): Add a crapload of debugging. Subtract off
13993         the minimum values from the input series to discard unneeded bits.
13994         Use only int arithmetic. There is still double arithmetic when
13995         calculating the intercept that needs fixing. Return boolean to
13996         indicate success; FALSE would mean the domain or range is too
13997         great. Still needs fixes.
13998
13999 2005-11-18  Wim Taymans  <wim@fluendo.com>
14000
14001         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
14002         For the current position in stream time, we need to subtract
14003         accumulated time.
14004         
14005         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
14006         Release lock before calling the callback function of async
14007         entries.
14008
14009 2005-11-18  Andy Wingo  <wingo@pobox.com>
14010
14011         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
14012         Port goes all the way to MAXUINT16.
14013
14014         * gst/net/gstnettimeprovider.c: Make the port range the same as
14015         for the kernel: 0 assigns, otherwise ports are less than
14016         MAXUINT16.
14017
14018         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
14019         port change.
14020
14021         * check/net/gstnetclientclock.c (test_functioning): Add the start
14022         of another test. 
14023
14024 2005-11-18  Wim Taymans  <wim@fluendo.com>
14025
14026         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14027         (gst_bin_remove_func), (bin_bus_handler):
14028         * gst/gstbin.h:
14029         Removing a clock provider from a bin, triggers a clock lost message
14030         so that a new clock will be selected.
14031         Adding a clock to a bin triggers a clock provider message.
14032         Make sure we reselect a clock when we received a clock lost message.
14033         Keep a reference to the element that provided the clock.
14034
14035 2005-11-18  Andy Wingo  <wingo@pobox.com>
14036
14037         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
14038         the clock initially so it produces values around the base time.
14039         (gst_net_client_clock_class_init): Typo fix.
14040         (gst_net_client_clock_thread): Add note on when the socket gets
14041         closed.
14042
14043 2005-11-17  Wim Taymans  <wim@fluendo.com>
14044
14045         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
14046         Free remote and local time arrays.
14047
14048 2005-11-17  Wim Taymans  <wim@fluendo.com>
14049
14050         * gst/net/gstnetclientclock.c: (do_linear_regression),
14051         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
14052         Fix compilation, uninitialized vars and a forgotten continue.
14053
14054 2005-11-17  Andy Wingo  <wingo@pobox.com>
14055
14056         * check/Makefile.am (check_PROGRAMS): 
14057         * check/net/gstnetclientclock.c: Add a most minimal test for the
14058         net client clock. More to come later.
14059
14060         * gst/net/gstnet.h: 
14061         * gst/net/Makefile.am: Add netclientclock.
14062
14063         * gst/net/gstnetclientclock.h:
14064         * gst/net/gstnetclientclock.c: New files, implement an untested
14065         GstClock that takes its time from a network time provider.
14066         Implements the algorithm in network-clock.scm.
14067
14068         * tests/network-clock.scm (*window-size*): Rename from
14069         *queue-length*.
14070         * tests/network-clock.scm (network-time): 
14071         * tests/network-clock-utils.scm (q-push): Update callers.
14072
14073 2005-11-17  Wim Taymans  <wim@fluendo.com>
14074
14075         * gst/gstbin.c: (gst_bin_provide_clock_func),
14076         (gst_bin_sort_iterator_new):
14077         And unref the child too..
14078
14079 2005-11-17  Wim Taymans  <wim@fluendo.com>
14080
14081         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14082         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
14083         Refactor the sort iterator so it can be used while holding the
14084         LOCK too.
14085         Make clock selection select a clock closest to the source.
14086
14087 2005-11-17  Michael Smith <msmith@fluendo.com>
14088
14089         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
14090         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
14091         * gst/gstclock.h:
14092           Anonymous structs are a gcc (and some other compilers) extension, so
14093           don't use them. Since this is only for ABI-compatibility, and our
14094           API/ABI freeze is over in a few days, this whole thing will only
14095           last a few days, so don't bother trying to think up a meaningful
14096           name for the struct.
14097
14098 2005-11-17  Andy Wingo  <wingo@pobox.com>
14099
14100         * gst/gstclock.h (GstClock): Add rate and offset properties,
14101         preserving ABI stability. Add rate/offset accessors. Will file bug
14102         for the freeze break.
14103
14104         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
14105         and offset, trying to keep precision and avoiding
14106         underflow/overflow.
14107         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
14108         functions. Make gst_clock_set_time_adjust obsolete.
14109         (gst_clock_set_time_adjust): Note that this function is obsolete.
14110         Will file bug soon.
14111
14112         * gst/base/gstbasetransform.h: Make the ABI-stability hack
14113         greppable by using GST_PADDING-1+1.
14114
14115 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
14116
14117         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14118
14119         * gst/gstmessage.c: (gst_message_parse_clock_lost):
14120           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
14121
14122         * gst/gstpadtemplate.h:
14123         * gst/gstpluginfeature.h:
14124           Don't use c++ style comments in headers (#321638).
14125
14126 2005-11-16  Andy Wingo  <wingo@pobox.com>
14127
14128         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
14129         buffer.
14130
14131         * check/net/gstnettimeprovider.c: Check to see that the time
14132         provider actually provides times. Works, yo!
14133
14134 2005-11-16  Wim Taymans  <wim@fluendo.com>
14135
14136         * check/Makefile.am:
14137         Enable more tests.
14138
14139         * check/elements/fakesrc.c: (GST_START_TEST):
14140         Set element to NULL before disposing it.
14141
14142 2005-11-16  Andy Wingo  <wingo@pobox.com>
14143
14144         * gst/net/Makefile.am:
14145         * gst/net/gstnet.h:
14146         * gst/net/gstnettimeprovider.c: 
14147         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
14148         provider, include it from gstnet.h, and add it to the build.
14149
14150         * gst/net/gstnettimepacket.h: 
14151         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
14152         sending and receiving.
14153
14154 2005-11-16  Wim Taymans  <wim@fluendo.com>
14155
14156         * check/Makefile.am:
14157         Enable valgrind check.
14158
14159         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
14160         (gst_fake_src_alloc_buffer):
14161         Fix memleak.
14162
14163 2005-11-16  Wim Taymans  <wim@fluendo.com>
14164
14165         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
14166         Call parent finalize too.
14167
14168 2005-11-16  Wim Taymans  <wim@fluendo.com>
14169
14170         * check/Makefile.am:
14171         Enable valgrind check that should work fine now.
14172
14173         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14174         * gst/gstqueue.c: (gst_queue_init):
14175         Fix memleaks in pad allocation.
14176
14177 2005-11-16  Andy Wingo  <wingo@pobox.com>
14178
14179         * gst/net/Makefile.am:
14180         * gst/net/gstnet.h: New part of core to hold network elements and
14181         objects. Put in core because it exposes API that applications want
14182         to use. The library is named libgstnet-tempname right now because
14183         of the existing libgstnet in gst-plugins-base. Solution is
14184         probably to rename the one in plugins-base; will file a bug for
14185         the freeze break.
14186
14187         * gst/net/gstnettimeprovider.c: 
14188         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
14189         get_time call over the network.
14190
14191         * configure.ac: 
14192         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
14193
14194         * check/Makefile.am:
14195         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
14196         get additions shortly.
14197
14198 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14199
14200         * gst/gstpad.c: (gst_pad_new_from_static_template):
14201         * gst/gstpad.h:
14202           add gst_pad_new_from_static_template functions
14203         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
14204         (gst_check_setup_sink_pad):
14205         * gst/elements/gsttee.c: (gst_tee_init):
14206           and use them
14207
14208 2005-11-16  Wim Taymans  <wim@fluendo.com>
14209
14210         * gst/gstpad.c: (gst_pad_pause_task):
14211         Removed warning, it's not really an error either.
14212
14213 2005-11-16  Wim Taymans  <wim@fluendo.com>
14214
14215         * gst/base/gstbasetransform.c:
14216         (gst_base_transform_prepare_output_buf),
14217         (gst_base_transform_event):
14218         Check if the caps are NULL, this can happen if the element
14219         is shutting down and the pad caps are set to NULL.
14220
14221 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14222
14223         * gst/elements/gsttee.c: (gst_tee_init):
14224           fix pad template leak in tee
14225
14226 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14227
14228         * gst/glib-compat.c: (g_value_dup_gst_object):
14229         * gst/glib-compat.h:
14230         * gst/gstpad.c: (gst_pad_set_property):
14231           use gst_object_ref when setting the pad template; this will
14232           trigger the pad template leaks on GLib 2.6 and the slaves
14233
14234 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14235
14236         * gst/glib-compat.c: (gst_flags_get_first_value):
14237         * gst/glib-compat.h:
14238         * gst/gstregistryxml.c:
14239           remove functions copied from GLib 2.6
14240
14241 2005-11-16  Michael Smith <msmith@fluendo.com>
14242
14243         * gst/Makefile.am:
14244           Don't link against VALGRIND_LIBS. That was always the wrong thing to
14245           do, but only breaks with newer valgrind versions. We're not a
14246           valgrind tool, we have no link-time dependencies on libcoregrind.
14247
14248 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14249
14250         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
14251           some debug changes
14252         * gst/gstmessage.h:
14253           typo fixes
14254
14255 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14256
14257         * gst/base/gstbasesrc.c: (gst_base_src_init):
14258         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14259         * gst/gstqueue.c: (gst_queue_init):
14260         * gst/gstregistryxml.c: (load_feature):
14261           Revert all these unrefs, they don't even pass make check !
14262
14263 2005-11-15  Johan Dahlin  <johan@gnome.org>
14264
14265         * gst/base/gstbasesrc.c: (gst_base_src_init):
14266         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14267         * gst/gstqueue.c: (gst_queue_init): 
14268         Free pad templates, fixes a couple of leaks.
14269
14270 2005-11-15  Daniel Fischer  <dan at f3c dot com>
14271
14272         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14273
14274         * gst/gstpad.c: (gst_pad_get_property):
14275           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
14276           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
14277           (#321452)
14278
14279 2005-11-15  Wim Taymans  <wim@fluendo.com>
14280
14281         * gst/gstevent.c:
14282         Small doc update.
14283
14284 2005-11-15  Andy Wingo  <wingo@pobox.com>
14285
14286         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
14287
14288         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
14289         using GST_CLOCK_TIME_NONE to disable base time management.
14290         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
14291         time if it was NONE before.
14292         (gst_pipeline_change_state): Only munge the base time if
14293         stream_time != GST_CLOCK_TIME_NONE.
14294
14295         * check/gst/gstpipeline.c (test_base_time): Punt around the
14296         problem of the probe not being called, because that's not the
14297         issue I'm looking at. Add a check that setting stream_time to NONE
14298         disables base time management.
14299         
14300 2005-11-15  Wim Taymans  <wim@fluendo.com>
14301
14302         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
14303         segment_stop == -1 at startup.
14304
14305         * gst/base/gstbasetransform.c: (gst_base_transform_event),
14306         (gst_base_transform_change_state):
14307         Init segment values at start.
14308
14309 2005-11-15  Wim Taymans  <wim@fluendo.com>
14310
14311         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14312         0 segment values are 0 in any format.
14313
14314         * gst/base/gstbasetransform.c: (gst_base_transform_event):
14315         * gst/base/gstbasetransform.h:
14316         Parse newsegment correctly in basetransform
14317
14318         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14319         Sync to clock using updated segment values.
14320
14321 2005-11-15  Andy Wingo  <wingo@pobox.com>
14322
14323         * check/gst/gstpipeline.c (test_base_time): Add check that the
14324         base time and stream time are reset correctly.
14325
14326 2005-11-15  Wim Taymans  <wim@fluendo.com>
14327
14328         * docs/design/part-TODO.txt:
14329         Some more TODO items.
14330
14331 2005-11-15  Andy Wingo  <wingo@pobox.com>
14332
14333         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
14334         error if the user selected "no clock" as the clocking method.
14335
14336         * check/gst/gstpipeline.c (test_base_time): New test for buffer
14337         timestamps with live capture.
14338
14339         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
14340         is 0 but we are a live source, timestamp the buffers using the
14341         element's clock.
14342
14343 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
14344
14345         * docs/gst/gstreamer-sections.txt:
14346         * gst/gsterror.c:
14347         * gst/gstghostpad.c:
14348         * gst/gstobject.h:
14349         * gst/gstxml.c:
14350           more section docs
14351
14352 2005-11-14  Wim Taymans  <wim@fluendo.com>
14353
14354         * common/gst.supp:
14355           add suppressions from Wim's Debian machine
14356
14357 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
14358
14359         * common/gst.supp:
14360           add suppressions from Andy's AMD64 Ubuntu machine
14361
14362 2005-11-14  Andy Wingo  <wingo@pobox.com>
14363
14364         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
14365         STATE_LOCK not necessary. Fixes #311489.
14366
14367         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
14368         #305291.
14369
14370         * gst/gstindex.c (gst_index_add_object): Note in the docs that
14371         this function is not implemented.
14372
14373 2005-11-14  Julien MOUTTE  <julien@moutte.net>
14374
14375         * gst/base/gstbasetransform.c:
14376         (gst_base_transform_prepare_output_buf):
14377         Ref the source pad caps while we need them.
14378         Fixes (#321386)
14379
14380 2005-11-11  Wim Taymans  <wim@fluendo.com>
14381
14382         * docs/gst/gstreamer-sections.txt:
14383         Added some docs for GstCollectData.
14384
14385         * gst/base/gstadapter.c:
14386         Some small code example fix.
14387
14388         * gst/base/gstcollectpads.c:
14389         * gst/base/gstcollectpads.h:
14390         Document some more.
14391
14392 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14393
14394         * configure.ac: back to HEAD
14395
14396 === release 0.9.5 ===
14397
14398 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
14399
14400         * configure.ac:
14401           releasing 0.9.5, "Bike Lunch Day"
14402
14403 2005-11-11  Wim Taymans  <wim@fluendo.com>
14404
14405         * gst/gstbuffer.c: (_gst_buffer_copy):
14406         Copy more flags.
14407
14408         * gst/gstcaps.c: (gst_caps_is_equal):
14409         Fix some docs.
14410         Make _is_equal fast in the trivial cases.
14411
14412         * gst/gstminiobject.c:
14413         * gst/gstminiobject.h:
14414         More docs. Spifify .h file.
14415
14416         * gst/gstutils.c:
14417         Small doc update.
14418
14419 2005-11-11  Wim Taymans  <wim@fluendo.com>
14420
14421         * gst/base/gstbasetransform.c:
14422         (gst_base_transform_prepare_output_buf),
14423         (gst_base_transform_handle_buffer):
14424         Small cleanups.
14425         If we're processing a buffer and need to allocate an output
14426         buffer, we cannot accept a format change. If we did get a 
14427         format change, we have to alloc a buffer ourselves of the 
14428         right size.
14429
14430 2005-11-11  Wim Taymans  <wim@fluendo.com>
14431
14432         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
14433         While checking the flag for reentrancy in the gstcaps function
14434         is nice to detect recursive invocations, it also makes it 
14435         impossible to call getcaps from multiple threads, which must be
14436         possible. So, checking for recursive calls has to go.
14437
14438 2005-11-11  Michael Smith <msmith@fluendo.com>
14439
14440         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14441           Don't sync on buffers that fall partially outside our current
14442           segment. Prevents an assertion failure/abort playing some files.
14443
14444 2005-11-10  Andy Wingo  <wingo@pobox.com>
14445
14446         * check/gst/gstbin.c (test_message_state_changed_children): Style
14447         fix..
14448
14449         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
14450         gst_bus_poll with the signal watch. Ensures that poll and a signal
14451         watch see the same messages.
14452
14453         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
14454         a poll and a watch at the same time get the same messages.
14455
14456 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14457
14458         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
14459         * gst/gstcaps.c: (gst_caps_intersect):
14460           Don't call gst_caps_do_simplify - it doesn't respect order of caps
14461           and it's not needed.
14462
14463 2005-11-10  Wim Taymans  <wim@fluendo.com>
14464
14465         * docs/design/part-TODO.txt:
14466         Updated todo.
14467
14468 2005-11-10  Wim Taymans  <wim@fluendo.com>
14469
14470         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14471         * gst/base/gstbasesrc.c: (gst_base_src_wait),
14472         (gst_base_src_do_sync), (gst_base_src_get_range):
14473         Implement clock sync in base class.
14474
14475 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14476
14477         patch by: Tim-Philipp Müller <tim at centricular dot net>
14478
14479         * gst/gststructure.c: (gst_structure_parse_field),
14480         (gst_structure_from_string):
14481           Forward-port a 0.8 patch to handle escaped spaces in structure string,
14482           so that gst_parse_launch() can deal with spaces in filtered link
14483           caps (fixes #164479)
14484         * check/gst/capslist.h:
14485         * check/gst/gststructure.c: (GST_START_TEST):
14486           add unit tests for this change
14487
14488 2005-11-10  Wim Taymans  <wim@fluendo.com>
14489
14490         * docs/gst/gstreamer-sections.txt:
14491         * gst/gstelement.c:
14492         * gst/gstelement.h:
14493         Fix docs, move some STATE macros to private.
14494
14495 2005-11-10  Wim Taymans  <wim@fluendo.com>
14496
14497         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
14498         Added check for bug #317341
14499
14500         * gst/gstbuffer.c:
14501         * gst/gstbuffer.h:
14502         Some more spiffifying.
14503
14504         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
14505         Call peer linkfunction if we are a source pad. Totally fixes
14506         #317341
14507
14508         * gst/gstpad.c:
14509         Update docs, source pads should call the peer linkfunction
14510         so they can atomically perform the pad link.
14511
14512 2005-11-09  Wim Taymans  <wim@fluendo.com>
14513
14514         * gst/gstbuffer.c:
14515         * gst/gstbuffer.h:
14516         Uber-spiffy-spiffify some more.
14517
14518 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
14519
14520         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
14521         * gst/elements/gstfilesink.c: (gst_file_sink_init):
14522         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14523         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
14524         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
14525         * gst/gstpad.c: (gst_pad_init):
14526           Use GST_DEBUG_FUNCPTR() more extensively.
14527
14528 2005-11-09  Wim Taymans  <wim@fluendo.com>
14529
14530         * gst/gstobject.c: (gst_object_class_init):
14531         * gst/gstobject.h:
14532         Documentation fixes.
14533
14534 2005-11-09  Edward Hervey  <edward@fluendo.com>
14535
14536         * gst/gsttypefindfactory.c:
14537         Fix docs.
14538         
14539 2005-11-09  Edward Hervey  <edward@fluendo.com>
14540
14541         * gst/base/gsttypefindhelper.c:
14542         * gst/gsttypefind.c:
14543         * gst/gsttypefind.h:
14544         Fix docs.
14545
14546 2005-11-09  Wim Taymans  <wim@fluendo.com>
14547
14548         * gst/gstiterator.c:
14549         Fix revision data.
14550
14551         * gst/gsttask.c:
14552         * gst/gsttask.h:
14553         Fix docs.
14554
14555 2005-11-09  Wim Taymans  <wim@fluendo.com>
14556
14557         * gst/gstevent.h:
14558         * gst/gsturi.h:
14559         Fix docs.
14560
14561 2005-11-09  Wim Taymans  <wim@fluendo.com>
14562
14563         * docs/gst/gstreamer-sections.txt:
14564         Moved the message async delivery private lock and cond
14565         to the private section.
14566
14567         * gst/gstmessage.c:
14568         * gst/gstmessage.h:
14569         Fixed docs.
14570
14571 2005-11-09  Edward Hervey  <edward@fluendo.com>
14572
14573         * docs/gst/gstreamer-sections.txt:
14574         * gst/gsturi.c:
14575         * gst/gsturi.h:
14576         Document GstURIHandler
14577
14578 2005-11-09  Wim Taymans  <wim@fluendo.com>
14579
14580         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
14581         (gst_iterator_find_custom):
14582         * gst/gstiterator.h:
14583         Fix iterator docs.
14584
14585 2005-11-09  Wim Taymans  <wim@fluendo.com>
14586
14587         * gst/gstbin.h:
14588         Document another field.
14589
14590         * gst/gststructure.c:
14591         * gst/gststructure.h:
14592         Document.
14593
14594 2005-11-09  Wim Taymans  <wim@fluendo.com>
14595
14596         * gst/gstbin.h:
14597         Documented structs.
14598
14599 2005-11-09  Wim Taymans  <wim@fluendo.com>
14600
14601         * docs/gst/gstreamer-sections.txt:
14602         Added some new macros.
14603
14604         * gst/gstclock.c:
14605         * gst/gstclock.h:
14606         * gst/gstobject.h:
14607         Docs updates.
14608
14609 2005-11-09  Wim Taymans  <wim@fluendo.com>
14610
14611         * docs/design/part-TODO.txt:
14612         Some more items for the TODO
14613
14614         * gst/gstcaps.c:
14615         * gst/gstcaps.h:
14616         Document GstCaps.
14617
14618 2005-11-09  Andy Wingo  <wingo@pobox.com>
14619
14620         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
14621         to work on something else now tho...
14622
14623         * gst/base/gstadapter.c: More adapter docs.
14624
14625         * gst/elements/gstfilesink.c (gst_file_sink_start) 
14626         (gst_file_sink_stop): New functions, replace the state change
14627         handler.
14628         (gst_file_sink_class_init): Hook up the start and stop functions.
14629         (gst_file_sink_base_init): Don't set the state change handler any
14630         more. It was a bit ugly too, being set from here...
14631         (gst_file_sink_get_property, gst_file_sink_set_property):
14632         Cleanups...
14633         (gst_file_sink_set_location): More robust check that doesn't call
14634         GST_STATE. Ugggggg.
14635
14636 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
14637
14638         * gst/base/gstbasetransform.c: (gst_base_transform_event):
14639           Hold STREAM_LOCK while pushing newsegment or tag events as well.
14640
14641 2005-11-08  Wim Taymans  <wim@fluendo.com>
14642
14643         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14644         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
14645         (gst_base_sink_chain), (gst_base_sink_change_state):
14646         * gst/base/gstbasesink.h:
14647         * gst/base/gstbasesrc.h:
14648         * gst/gstelement.h:
14649         * gst/gstevent.h:
14650         Avoid excessive typechecking in macros.
14651
14652         * gst/gstminiobject.c: (gst_mini_object_get_type),
14653         (gst_mini_object_init), (gst_mini_object_new),
14654         (gst_mini_object_free):
14655         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
14656         (gst_object_finalize):
14657         Remove cruft code, optimize alloc_trace.
14658
14659 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14660
14661         * docs/faq/gst-uninstalled:
14662           fix up PS1 for systems that try to reset it
14663
14664 2005-11-07  Wim Taymans  <wim@fluendo.com>
14665
14666         * gst/base/gstbasesrc.c: (gst_base_src_init),
14667         (gst_base_src_get_range):
14668         Set the segment_end to -1 initially. Fixed typefind.
14669
14670 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
14671
14672         * gst/base/gstadapter.c:
14673           Debug category should be 'adapter', not 'GstAdapter'.
14674           
14675         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
14676         (gst_collectpads_class_init), (gst_collectpads_init),
14677         (gst_collectpads_peek), (gst_collectpads_pop),
14678         (gst_collectpads_event), (gst_collectpads_chain):
14679           Add debug category and some debugging output. Use boilerplate
14680           macros. Remove some extraneous words from docs.
14681
14682 2005-11-05  Andy Wingo  <wingo@pobox.com>
14683
14684         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
14685         macro.
14686
14687 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
14688
14689         * docs/gst/gstreamer-sections.txt:
14690         * gst/gstcaps.h:
14691         * gst/gstinfo.c:
14692         * gst/gstminiobject.h:
14693         * gst/gstobject.h:
14694         * gst/gstutils.h:
14695           more docs added
14696
14697 2005-11-04  Wim Taymans  <wim@fluendo.com>
14698
14699         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14700         Small update to stop at the configured segment_end
14701         position.
14702
14703 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
14704
14705         * gst/gstregistry.c:
14706         * gst/gstregistry.h:
14707           added missing docs
14708
14709 2005-11-04  Edward Hervey  <edward@fluendo.com>
14710
14711         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14712         Check if we are doing a segment seek and have arrived at the
14713         end of that segment.
14714
14715 2005-11-04  Wim Taymans  <wim@fluendo.com>
14716
14717         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
14718         Don't leak a mutex unlock in case of an error.
14719
14720         * gst/gstbus.h:
14721         Doc fixes.
14722
14723 2005-11-04  Wim Taymans  <wim@fluendo.com>
14724
14725         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
14726         (gst_bus_post):
14727         Get the context to wake up only once.
14728
14729 2005-11-03  Wim Taymans  <wim@fluendo.com>
14730
14731         * check/states/sinks.c: (GST_START_TEST):
14732         Uncomment fixed check.
14733
14734         * docs/design/part-TODO.txt:
14735         Updated TODO.
14736
14737         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14738         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
14739         (gst_base_sink_get_position):
14740         If we are going to PLAYING, post the right pending state
14741         when we post the intermediate paused message.
14742
14743         * gst/gstelement.c: (gst_element_continue_state),
14744         (gst_element_set_state_func), (gst_element_change_state):
14745         Don't post state changes that were between the same state
14746         and were not ASYNC.
14747
14748 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
14749
14750         * docs/gst/gstreamer-sections.txt:
14751         * gst/gstcaps.h:
14752         * gst/gstinfo.c:
14753         * gst/gstminiobject.h:
14754         * gst/gstobject.h:
14755         * gst/gstutils.h:
14756           more docs and doc style fixes
14757
14758 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
14759
14760         * docs/gst/gstreamer-sections.txt:
14761         * gst/gstelement.c:
14762         * gst/gstminiobject.c:
14763         doc fixes
14764
14765 2005-11-03  Andy Wingo  <wingo@pobox.com>
14766
14767         * check/states/sinks.c (test_livesrc_sink): Add checks that the
14768         state-changed messages actually have the right order and the right
14769         values.
14770
14771 2005-11-03  Wim Taymans  <wim@fluendo.com>
14772
14773         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
14774         Added some more checks. Specifically the case where NO_PREROLL
14775         elements are in the pipeline.
14776
14777         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14778         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
14779         (gst_base_sink_get_position):
14780         Post READY->PAUSED state change messages too.
14781         Fix bug where VOID was posted as pending state...
14782
14783         * gst/gstbin.c: (gst_bin_recalc_state):
14784         use _element_continue_state() to continue the state change.
14785
14786         * gst/gstelement.c: (gst_element_continue_state),
14787         (gst_element_commit_state), (gst_element_set_state_func),
14788         (gst_element_change_state), (gst_element_change_state_func):
14789         Lots of state change cleanups, assign the STATE_RETURN in
14790         a new continue_state() function that also propagates the
14791         last return value from a state change to the app.
14792         Update some debug statements with proper category.
14793
14794 2005-11-03  Wim Taymans  <wim@fluendo.com>
14795
14796         * docs/design/part-events.txt:
14797         * docs/design/part-gstpipeline.txt:
14798         * docs/design/part-messages.txt:
14799         * docs/design/part-overview.txt:
14800         * docs/design/part-seeking.txt:
14801         * docs/design/part-states.txt:
14802         * docs/design/part-trickmodes.txt:
14803         * docs/manual/advanced-position.xml:
14804         Small docs updates.
14805
14806         * gst/gstobject.h:
14807         People think !! is ugly, this looks better.
14808
14809         * gst/gstpad.c: (gst_pad_set_blocked_async):
14810         Remove !! since it's fixed elsewhere now.
14811
14812 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
14813
14814         * gst/gstminiobject.h:
14815         * gst/gstobject.h:
14816           Add !! to _FLAG_IS_SET macros to make the result boolean.
14817
14818 2005-11-03  Edward Hervey  <edward@fluendo.com>
14819
14820         * gst/gstpad.c: (gst_pad_set_blocked_async):
14821         comparing a flag and a gboolean rarely returns coherent results...
14822         Added two characters (!!) to make that work correctly.
14823         
14824 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
14825
14826         * gst/gstbus.c: (gst_bus_class_init):
14827           Fix some typos.
14828           
14829         * gst/gstqueue.c: (gst_queue_loop):
14830           Don't assume a miniobject that isn't a buffer is an
14831           event (it could be that there is a refcounting
14832           problem somewhere and the pointer is stale and
14833           refers to an already destroyed miniobject).
14834
14835 2005-11-03  Julien MOUTTE  <julien@moutte.net>
14836
14837         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
14838
14839 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
14840
14841         * docs/manual/advanced-position.xml:
14842           Update seek example and explanations to current 0.9 API.
14843
14844         * gst/elements/gsttypefindelement.c:
14845         (gst_type_find_element_activate):
14846           Remove FIXME comment now that the found caps
14847           are unreffed.
14848
14849 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14850
14851         * gst/gstregistryxml.c: (load_feature):
14852           Add another GST_STR_NULL instance
14853
14854 2005-11-02  Edward Hervey  <edward@fluendo.com>
14855
14856         * gst/gstpad.c: (handle_pad_block):
14857         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
14858         
14859 2005-11-02  Wim Taymans  <wim@fluendo.com>
14860
14861         * gst/gstbin.c:
14862         Fix typo in docs.
14863
14864         * gst/gstelement.c: (gst_element_commit_state):
14865         Remove unused value.
14866
14867         * gst/gstiterator.c:
14868         Mention that the returned element is reffed in the docs.
14869
14870 2005-11-02  Wim Taymans  <wim@fluendo.com>
14871
14872         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
14873         (gst_pad_push), (gst_pad_push_event):
14874         Unlock blocked pads when they are flushed.
14875
14876 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14877
14878         * docs/README:
14879         * docs/gst/gstreamer-sections.txt:
14880         * gst/gstbin.c:
14881           doc updates
14882         * gst/gstregistry.c: (gst_registry_scan_path_level):
14883           fix for a nasty little missed situation where an installed plug-in
14884           which was in the cache did not get overridden by an uninstalled one
14885           which was earlier in the plugin path because the newly created plugin
14886           for the uninstalled one (not in the registry) didn't get its
14887           ->registered set to TRUE
14888
14889 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
14890
14891         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
14892         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
14893         (gst_collectpads_is_active), (gst_collectpads_collect),
14894         (gst_collectpads_collect_range), (gst_collectpads_start),
14895         (gst_collectpads_stop), (gst_collectpads_peek),
14896         (gst_collectpads_pop), (gst_collectpads_available),
14897         (gst_collectpads_read), (gst_collectpads_flush):
14898           Guard public API with assertions.
14899         
14900         * gst/gstpad.c:
14901           Fix docs for gst_pad_set_link_function().
14902
14903 2005-11-02  Johan Dahlin  <johan@gnome.org>
14904
14905         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
14906         Unref found_caps after we used it.
14907
14908 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
14909
14910         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
14911           Don't try to ref NULL.
14912
14913 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14914
14915         * win32/common/config.h.in:
14916           provide a GST_FUNCTION that just gives a string for now
14917
14918 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14919
14920         * win32/common/gstenumtypes.c: (register_gst_object_flags),
14921         (gst_object_flags_get_type), (register_gst_bin_flags),
14922         (gst_bin_flags_get_type), (register_gst_buffer_flag),
14923         (gst_buffer_flag_get_type), (register_gst_bus_flags),
14924         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
14925         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
14926         (gst_clock_return_get_type), (register_gst_clock_entry_type),
14927         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
14928         (gst_clock_flags_get_type), (register_gst_state),
14929         (gst_state_get_type), (register_gst_state_change_return),
14930         (gst_state_change_return_get_type), (register_gst_state_change),
14931         (gst_state_change_get_type), (register_gst_element_flags),
14932         (gst_element_flags_get_type), (register_gst_core_error),
14933         (gst_core_error_get_type), (register_gst_library_error),
14934         (gst_library_error_get_type), (register_gst_resource_error),
14935         (gst_resource_error_get_type), (register_gst_stream_error),
14936         (gst_stream_error_get_type), (register_gst_event_type),
14937         (gst_event_type_get_type), (register_gst_seek_type),
14938         (gst_seek_type_get_type), (register_gst_seek_flags),
14939         (gst_seek_flags_get_type), (register_gst_format),
14940         (gst_format_get_type), (register_gst_index_certainty),
14941         (gst_index_certainty_get_type), (register_gst_index_entry_type),
14942         (gst_index_entry_type_get_type),
14943         (register_gst_index_lookup_method),
14944         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
14945         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
14946         (gst_index_resolver_method_get_type), (register_gst_index_flags),
14947         (gst_index_flags_get_type), (register_gst_debug_level),
14948         (gst_debug_level_get_type), (register_gst_debug_color_flags),
14949         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
14950         (gst_iterator_result_get_type), (register_gst_iterator_item),
14951         (gst_iterator_item_get_type), (register_gst_message_type),
14952         (gst_message_type_get_type), (register_gst_mini_object_flags),
14953         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
14954         (gst_pad_link_return_get_type), (register_gst_flow_return),
14955         (gst_flow_return_get_type), (register_gst_activate_mode),
14956         (gst_activate_mode_get_type), (register_gst_pad_direction),
14957         (gst_pad_direction_get_type), (register_gst_pad_flags),
14958         (gst_pad_flags_get_type), (register_gst_pad_presence),
14959         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
14960         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
14961         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
14962         (gst_plugin_error_get_type), (register_gst_plugin_flags),
14963         (gst_plugin_flags_get_type), (register_gst_rank),
14964         (gst_rank_get_type), (register_gst_query_type),
14965         (gst_query_type_get_type), (register_gst_tag_merge_mode),
14966         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
14967         (gst_tag_flag_get_type), (register_gst_task_state),
14968         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
14969         (gst_alloc_trace_flags_get_type),
14970         (register_gst_type_find_probability),
14971         (gst_type_find_probability_get_type), (register_gst_uri_type),
14972         (gst_uri_type_get_type), (register_gst_parse_error),
14973         (gst_parse_error_get_type):
14974         * win32/common/gstversion.h:
14975           update win32 copies
14976
14977 2005-11-01  Luca Ognibene  <luogni@tin.it>
14978
14979         * gst/gst.c:
14980           fix docs. popt is dead, long live GOption.
14981
14982 2005-10-31  Wim Taymans  <wim@fluendo.com>
14983
14984         * gst/gstbuffer.h:
14985         Small doc fix.
14986
14987 2005-10-31  Andy Wingo  <wingo@pobox.com>
14988
14989         * Boo!
14990
14991         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
14992
14993         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
14994         need to serialize property notifications on GLib 2.8. GLib 2.6 has
14995         the possibility of deadlocks here if code calling notify() or
14996         set() has a lock that can be taken in another notify handler (ABBA
14997         with class lock and e.g. python GIL state lock).
14998
14999 2005-10-28  Julien MOUTTE  <julien@moutte.net>
15000
15001         * gst/gstbus.c: Doc updates.
15002
15003 2005-10-28  Wim Taymans  <wim@fluendo.com>
15004
15005         * docs/design/part-TODO.txt:
15006         * gst/gstiterator.c:
15007         * gst/gstsystemclock.c:
15008         * gst/gstsystemclock.h:
15009         Doc updates.
15010
15011 2005-10-28  Edward Hervey  <edward@fluendo.com>
15012
15013         * docs/gst/gstreamer-docs.sgml:
15014         * docs/gst/gstreamer-sections.txt:
15015         the GstURIType documentation page is private, it only defines GstURIType
15016         which should be defined in the GstURIHandler page
15017         
15018 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15019
15020         * gst/gstbin.c: (gst_bin_class_init):
15021         * gst/gstbin.h:
15022         * gst/gstutils.c:
15023         Documentation updates.
15024
15025 2005-10-28  Wim Taymans  <wim@fluendo.com>
15026
15027         * docs/gst/gstreamer-sections.txt:
15028         * gst/gstclock.c:
15029         * gst/gstclock.h:
15030         Documented the clocks.
15031
15032 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
15033
15034         * docs/gst/gstreamer-sections.txt:
15035           move some macros to private sections
15036         * gst/gstminiobject.c:
15037         * gst/gstminiobject.h:
15038           add descriptions provided by ds and some more
15039         * gst/gstpad.h:
15040           mark macro as to be removed
15041
15042 2005-10-28  Wim Taymans  <wim@fluendo.com>
15043
15044         * docs/design/part-TODO.txt:
15045         Add an item to TODO.
15046
15047         * gst/gstiterator.c: (gst_iterator_fold),
15048         (gst_iterator_find_custom):
15049         * gst/gstiterator.h:
15050         Add iterator docs.
15051
15052 2005-10-28  Wim Taymans  <wim@fluendo.com>
15053
15054         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
15055         (gst_base_transform_init):
15056         Don't leak class.
15057
15058         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
15059         An EOS event marks the queue as completely filled.
15060
15061 2005-10-27  Wim Taymans  <wim@fluendo.com>
15062
15063         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15064         (gst_base_sink_do_sync), (gst_base_sink_get_position):
15065         Some more debugging.
15066
15067         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
15068         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
15069         (gst_base_transform_event), (gst_base_transform_getrange),
15070         (gst_base_transform_chain):
15071         * gst/base/gstbasetransform.h:
15072         Fix debugging,
15073         Protect transform and concurrent buffer alloc with a new lock.
15074         Try not to break ABI/API.
15075
15076 2005-10-27  Wim Taymans  <wim@fluendo.com>
15077
15078         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15079         (gst_base_src_init), (gst_base_src_query),
15080         (gst_base_src_default_newsegment),
15081         (gst_base_src_configure_segment), (gst_base_src_do_seek),
15082         (gst_base_src_send_event), (gst_base_src_event_handler),
15083         (gst_base_src_pad_get_range), (gst_base_src_loop),
15084         (gst_base_src_unlock), (gst_base_src_default_negotiate),
15085         (gst_base_src_start), (gst_base_src_deactivate),
15086         (gst_base_src_activate_push), (gst_base_src_change_state):
15087         Move some stuff around and cleanup things.
15088
15089 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
15090
15091         * gst/base/gstbasesrc.c: (gst_base_src_query):
15092           Add missing break statements.
15093
15094 2005-10-27  Wim Taymans  <wim@fluendo.com>
15095
15096         * check/gst/gstbin.c: (GST_START_TEST):
15097         An extra refcount is taken in basesrc.
15098
15099         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
15100         (gst_base_src_get_range), (gst_base_src_pad_get_range),
15101         (gst_base_src_loop):
15102         Small cleanups, check for flushing after being unlocked from the 
15103         LIVE_LOCK. take refcounts correctly (not yet everywhere).
15104         Don't send out EOS when going to READY.
15105
15106 2005-10-27  Wim Taymans  <wim@fluendo.com>
15107
15108         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15109         (gst_base_sink_get_position):
15110         Some more debug.
15111
15112         * gst/gstbin.c: (message_check), (bin_replace_message),
15113         (bin_remove_messages), (is_eos), (gst_bin_add_func),
15114         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15115         (bin_query_duration_init), (bin_query_duration_fold),
15116         (bin_query_duration_done), (bin_query_generic_fold),
15117         (gst_bin_query):
15118         * tools/gst-launch.c: (main):
15119         Remove old option.
15120
15121 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
15122
15123         * examples/controller/audio-example.c: (main):
15124         * examples/queue/queue.c: (event_loop):
15125         * gst/base/gstbasetransform.h:
15126         * gst/gstelement.c: (gst_element_send_event):
15127         * gst/gstevent.h:
15128         * gst/gstpad.c: (gst_pad_send_event):
15129           fixing examples
15130           fixing docs typos
15131           changing log priority in error situations
15132
15133 2005-10-25  Wim Taymans  <wim@fluendo.com>
15134
15135         * gst/gstbin.c: (message_check), (bin_replace_message),
15136         (bin_remove_messages), (is_eos), (gst_bin_add_func),
15137         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15138         (bin_query_duration_init), (bin_query_duration_fold),
15139         (bin_query_duration_done), (bin_query_generic_fold),
15140         (gst_bin_query):
15141         Some doc and debug updates.
15142         Cache previously requested query DURATION for speed. invalidate
15143         cached duration if element posts a DURATION message.
15144
15145 2005-10-25  Wim Taymans  <wim@fluendo.com>
15146
15147         * docs/design/part-TODO.txt:
15148         Update TODO.
15149
15150         * gst/gstbin.c: (message_check), (bin_replace_message),
15151         (bin_remove_messages), (is_eos), (gst_bin_add_func),
15152         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15153         (bin_query_duration_init), (bin_query_duration_fold),
15154         (bin_query_duration_done), (bin_query_generic_fold),
15155         (gst_bin_query):
15156         Handle SEGMENT_START/DONE messages correctly.
15157         More evolved query algorithm that handles duration queries
15158         correctly.
15159
15160         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
15161         (gst_element_get_state_func), (gst_element_abort_state),
15162         (gst_element_commit_state), (gst_element_lost_state):
15163         Some more debugging.
15164
15165         * gst/gstmessage.h:
15166         Added doc.
15167
15168 2005-10-25  Wim Taymans  <wim@fluendo.com>
15169
15170         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15171         Don't use invalid stream_time.
15172
15173         * gst/gstevent.c: (gst_event_new_newsegment):
15174         stream_time in newsegment cannot be undefined.
15175
15176 2005-10-24  Wim Taymans  <wim@fluendo.com>
15177
15178         * gst/gstbus.c:
15179         Doc fix.
15180
15181         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15182         (gst_queue_loop):
15183         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
15184
15185 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
15186
15187         * docs/libs/tmpl/gstdparam.sgml:
15188         * docs/libs/tmpl/gstdplinint.sgml:
15189         * docs/libs/tmpl/gstdpman.sgml:
15190         * docs/libs/tmpl/gstdpsmooth.sgml:
15191         * docs/libs/tmpl/gstunitconvert.sgml:
15192           these are obsolete
15193
15194 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15195
15196         * configure.ac:
15197           back to HEAD
15198
15199 === release 0.9.4 ===
15200
15201 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15202
15203         * configure.ac:
15204           releasing 0.9.4, "Tyrannosaurus Rex"
15205
15206 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
15207
15208         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
15209         (gst_file_sink_get_current_offset):
15210           Use fseeko() and ftello() if available. When falling back on
15211           lseek() to get the current offset, fflush() first to make sure
15212           everything is up-to-date and we get the right offset.
15213
15214 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15215
15216         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15217         * gst/base/gstbasesrc.c: (gst_base_src_loop):
15218         * gst/gsterror.c: (_gst_stream_errors_init):
15219         * gst/gsterror.h:
15220         * gst/gstqueue.c: (gst_queue_loop):
15221         * po/POTFILES.in:
15222           remove prematurely added error category and clean up the instances
15223
15224 2005-10-21  Wim Taymans  <wim@fluendo.com>
15225
15226         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15227         (gst_base_sink_get_position), (gst_base_sink_query),
15228         (gst_base_sink_change_state):
15229         Simply set the right flag when going to playing, that's all
15230         we need to do instead of calling a function inside the object
15231         lock (that could take the lock as well and deadlock)
15232
15233 2005-10-21  Wim Taymans  <wim@fluendo.com>
15234
15235         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
15236         (gst_base_src_loop):
15237         Don't warn, the peer element knows what to do best when
15238         the seek failed, it might try something else.
15239
15240 2005-10-21  Wim Taymans  <wim@fluendo.com>
15241
15242         * gst/base/gstbasesrc.c: (gst_base_src_init),
15243         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15244         Fix seeking.
15245
15246 2005-10-21  Wim Taymans  <wim@fluendo.com>
15247
15248         * docs/design/part-segments.txt:
15249         More docs.
15250
15251         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15252         Correctly set caps, even on the subbufer.
15253
15254 2005-10-21  Wim Taymans  <wim@fluendo.com>
15255
15256         * docs/gst/gstreamer-docs.sgml:
15257         * docs/gst/gstreamer-sections.txt:
15258         * gst/gstelement.h:
15259         * gst/gstevent.c:
15260         * gst/gstevent.h:
15261         * gst/gstmessage.h:
15262         * gst/gstpad.h:
15263         * gst/gstparse.h:
15264         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
15265         * gst/gsttask.h:
15266         * gst/gstutils.c:
15267         * gst/gstutils.h:
15268         And 2% more doc coverage.
15269
15270 2005-10-21  Andy Wingo  <wingo@pobox.com>
15271
15272         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
15273         position reporting.
15274
15275 2005-10-20  Wim Taymans  <wim@fluendo.com>
15276
15277         * gst/gsterror.c: (gst_error_get_message):
15278         * gst/gstparse.h:
15279         * gst/gstquery.h:
15280         * gst/gststructure.c:
15281         * gst/gsttrace.c:
15282         * gst/gstutils.c:
15283         More docs.
15284
15285 2005-10-20  Wim Taymans  <wim@fluendo.com>
15286
15287         * gst/gstbuffer.h:
15288         * gst/gstpad.c:
15289         * gst/gstparse.c:
15290         Another 1% more coverage.
15291
15292 2005-10-20  Wim Taymans  <wim@fluendo.com>
15293
15294         * docs/gst/gstreamer-sections.txt:
15295         * gst/gstelement.c: (gst_element_get_state_func),
15296         (gst_element_abort_state), (gst_element_commit_state),
15297         (gst_element_lost_state):
15298         * gst/gstevent.h:
15299         * gst/gstquery.c: (gst_query_set_position),
15300         (gst_query_parse_position), (gst_query_set_duration),
15301         (gst_query_parse_duration), (gst_query_new_convert):
15302         * gst/gstutils.c:
15303         Yay! 1% more docs coverage.
15304
15305 2005-10-20  Wim Taymans  <wim@fluendo.com>
15306
15307         * gst/gstpad.h:
15308         * gst/gstquery.c: (gst_query_set_position),
15309         (gst_query_parse_position), (gst_query_set_duration),
15310         (gst_query_parse_duration), (gst_query_new_convert):
15311         * gst/gstquery.h:
15312         * gst/gstutils.c: (gst_element_query_convert):
15313         * gst/gstutils.h:
15314         Docs and consistency fixes.
15315
15316 2005-10-20  Wim Taymans  <wim@fluendo.com>
15317
15318         * gst/gsttask.c:
15319         * gst/gsttask.h:
15320         More docs.
15321
15322 2005-10-20  Wim Taymans  <wim@fluendo.com>
15323
15324         * gst/gstbin.c: (message_check), (bin_replace_message),
15325         (bin_remove_messages), (is_eos), (gst_bin_add_func),
15326         (update_degree), (gst_bin_sort_iterator_next),
15327         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
15328         Reworked the message handling a bit, cache the messages instead of
15329         only the senders. alows us to do more in the future.
15330
15331 2005-10-20  Wim Taymans  <wim@fluendo.com>
15332
15333         * docs/design/part-TODO.txt:
15334         Update TODO
15335
15336         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
15337         (gst_base_sink_query):
15338         Don't use clock time to report position when in EOS.
15339
15340 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
15341
15342         * tools/gst-inspect.c: (print_interfaces),
15343         (print_element_properties_info), (print_element_info):
15344           Fix interface output with gst-inspect -a; don't print
15345           newlines after double/float properties.
15346
15347 2005-10-20  Wim Taymans  <wim@fluendo.com>
15348
15349         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
15350         (gst_base_sink_query):
15351         Speed up current position calculation.
15352
15353         * gst/base/gstbasesrc.c: (gst_base_src_query),
15354         (gst_base_src_default_newsegment):
15355         Correctly set stream position in newsegment.
15356
15357         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
15358         (update_degree), (gst_bin_sort_iterator_next),
15359         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
15360         * gst/gstmessage.c: (gst_message_new_custom):
15361         Clean up debugging info
15362
15363         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15364         (gst_queue_loop), (gst_queue_handle_src_query):
15365         Pause task faster.
15366
15367 2005-10-19  Wim Taymans  <wim@fluendo.com>
15368
15369         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15370         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
15371         Fix query handling again.
15372
15373 2005-10-19  Wim Taymans  <wim@fluendo.com>
15374
15375         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15376         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
15377         * gst/base/gstbasesrc.c: (gst_base_src_query):
15378         * gst/elements/gstfilesink.c: (gst_file_sink_query):
15379         * gst/elements/gsttypefindelement.c:
15380         (gst_type_find_handle_src_query), (find_element_get_length),
15381         (gst_type_find_element_activate):
15382         API change fix.
15383
15384         * gst/gstquery.c: (gst_query_new_position),
15385         (gst_query_set_position), (gst_query_parse_position),
15386         (gst_query_new_duration), (gst_query_set_duration),
15387         (gst_query_parse_duration), (gst_query_set_segment),
15388         (gst_query_parse_segment):
15389         * gst/gstquery.h:
15390         Bundling query position/duration is not a good idea since duration
15391         does not change much and we don't want to recalculate it for every
15392         position query, so they are separated again..
15393         Base value in segment query is not needed.
15394
15395         * gst/gstqueue.c: (gst_queue_handle_src_query):
15396         * gst/gstutils.c: (gst_element_query_position),
15397         (gst_element_query_duration), (gst_pad_query_position),
15398         (gst_pad_query_duration):
15399         * gst/gstutils.h:
15400         Updates for query API change.
15401         Added some docs here and there.
15402
15403 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15404
15405         * check/gst/gstbin.c: (GST_START_TEST):
15406         * check/gst/gstghostpad.c: (GST_START_TEST):
15407         * check/pipelines/cleanup.c: (GST_START_TEST):
15408           wait on thread to die so we can check refcount correctly
15409
15410 2005-10-18  Wim Taymans  <wim@fluendo.com>
15411
15412         * check/pipelines/stress.c: (GST_START_TEST):
15413         Make check a little more time consuming.
15414
15415 2005-10-18  Wim Taymans  <wim@fluendo.com>
15416
15417         * check/Makefile.am:
15418         * check/pipelines/stress.c: (GST_START_TEST),
15419         (simple_launch_lines_suite), (main):
15420         Small state change torture test.
15421
15422         * docs/design/part-states.txt:
15423         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15424         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
15425         (gst_base_sink_change_state):
15426         Never take state lock from streaming thread, clean up ugly
15427         hacks. Unfortunatly core does not yet support nice ways to
15428         async commit state.
15429         
15430         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
15431         (bin_bus_handler):
15432         Start state recalc if a STATE_DIRTY message is posted, but only
15433         on the toplevel bin.
15434
15435         * gst/gstelement.c: (gst_element_sync_state_with_parent),
15436         (gst_element_get_state_func), (gst_element_abort_state),
15437         (gst_element_commit_state), (gst_element_lost_state),
15438         (gst_element_set_state_func), (gst_element_change_state):
15439         * gst/gstelement.h:
15440         State variables are now protected with the LOCK, the state
15441         lock is only used to serialize _set_state().
15442
15443 2005-10-18  Wim Taymans  <wim@fluendo.com>
15444
15445         * check/gst/gstbin.c: (GST_START_TEST):
15446         * check/gst/gstmessage.c: (GST_START_TEST):
15447         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15448         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
15449         (bin_bus_handler):
15450         * gst/gstelement.c: (gst_element_abort_state),
15451         (gst_element_commit_state), (gst_element_lost_state):
15452         * gst/gstmessage.c: (gst_message_new_state_changed),
15453         (gst_message_new_state_dirty), (gst_message_new_segment_start),
15454         (gst_message_new_segment_done), (gst_message_new_duration),
15455         (gst_message_parse_state_changed),
15456         (gst_message_parse_segment_start),
15457         (gst_message_parse_segment_done), (gst_message_parse_duration):
15458         * gst/gstmessage.h:
15459         * tools/gst-launch.c: (event_loop):
15460         Seriously, this is better than a previous commit as we only need
15461         to notify the fact that an element changed state in a streaming
15462         thread, marking the state of the parents dirty, hence the 
15463         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
15464         message.
15465
15466 2005-10-18  Wim Taymans  <wim@fluendo.com>
15467
15468         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
15469         (gst_bin_recalc_func):
15470         * gst/gstelement.c: (gst_element_set_clock),
15471         (gst_element_abort_state), (gst_element_lost_state):
15472         Cleanups, prepare for state change fixes.
15473
15474 2005-10-18  Wim Taymans  <wim@fluendo.com>
15475
15476         * gst/gstbin.h:
15477         * gst/gstelement.c: (gst_element_class_init),
15478         (gst_element_set_state), (gst_element_set_state_func):
15479         * gst/gstelement.h:
15480         Pending ABI changes.
15481         GThreadPool in GstBinClass to monitor async state changes.
15482         state_cookie in GstElement to detect concurrent gst/set state.
15483         set_state is now virtual too in case a very complicated element
15484         has to be constructed.
15485
15486 2005-10-18  Wim Taymans  <wim@fluendo.com>
15487
15488         * check/gst/gstbin.c: (GST_START_TEST):
15489         * check/gst/gstmessage.c: (GST_START_TEST):
15490         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15491         * gst/gstbin.c: (bin_bus_handler):
15492         * gst/gstelement.c: (gst_element_commit_state),
15493         (gst_element_lost_state):
15494         * gst/gstmessage.c: (gst_message_new_state_changed),
15495         (gst_message_new_segment_start), (gst_message_new_segment_done),
15496         (gst_message_new_duration), (gst_message_parse_state_changed),
15497         (gst_message_parse_segment_start),
15498         (gst_message_parse_segment_done), (gst_message_parse_duration):
15499         * gst/gstmessage.h:
15500         * tools/gst-launch.c: (event_loop):
15501         Make messages future proof.
15502         state-change gets a flag if it was a message comming from the
15503         streaming thread.
15504         segment-start/stop can also be specified in other formats.
15505         A message to notify an app that a pipeline changed playback 
15506         duration.
15507         Also fix a GstMessage leak in -launch
15508
15509 2005-10-18  Andy Wingo  <wingo@pobox.com>
15510
15511         * gst/gstelement.c (gst_element_dispose): More helpful message.
15512
15513 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15514
15515         reviewed by: <delete if not using a buddy>
15516
15517         * common/gtk-doc.mak:
15518
15519 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15520
15521         * gst/gstregistry.c: (gst_registry_scan_path_level):
15522           unref a plug-in we get that was already initialized
15523
15524 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
15525
15526         * docs/gst/gstreamer-sections.txt:
15527         * docs/libs/gstreamer-libs-sections.txt:
15528         * gst/gstelement.h:
15529           add new api entries
15530           hide internal macro
15531
15532 2005-10-17  Andy Wingo  <wingo@pobox.com>
15533
15534         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
15535         cleanup.
15536
15537         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
15538
15539         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
15540
15541         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
15542         (gst_element_get_state_func): Better debug message.
15543         (gst_element_commit_state): s/INFO/DEBUG/.
15544         (gst_element_lost_state, gst_element_change_state): 
15545
15546         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
15547         (gst_message_new_custom): s/INFO/LOG/.
15548
15549 2005-10-17  Michael Smith <msmith@fluendo.com>
15550
15551         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15552           Check if end time is valid using end time, not start time.
15553
15554 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
15555
15556         * check/gst-libs/controller.c: (GST_START_TEST),
15557         (gst_controller_suite):
15558         * libs/gst/controller/gstcontroller.c:
15559         (gst_controlled_property_set_interpolation_mode):
15560         * libs/gst/controller/gstcontroller.h:
15561         * libs/gst/controller/gstinterpolation.c:
15562         * testsuite/controller/.cvsignore:
15563         * testsuite/controller/Makefile.am:
15564         * testsuite/controller/interpolator.c:
15565           merge controller testsuites
15566           fix broken tests
15567           remove mem-chunk from docs
15568
15569 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
15570
15571         * gst/gstmemchunk.c:
15572         * gst/gstmemchunk.h:
15573         * gst/gsttrashstack.c:
15574         * gst/gsttrashstack.h:
15575           out.  get out.  you're fired.  to the Attic !
15576
15577 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
15578
15579         * gst/gstcaps.c: (gst_caps_intersect):
15580           fix signedness issues in a (hopefully) correct way
15581         * gst/gstelement.c: (gst_element_pads_activate):
15582           some debugging
15583         * gst/gstobject.c: (gst_object_set_parent):
15584           some debugging
15585
15586 2005-10-17  Julien MOUTTE  <julien@moutte.net>
15587
15588         * gst/gstvalue.h: Fix prototypes.
15589
15590 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15591
15592         * docs/gst/gstreamer-sections.txt:
15593         * gst/gst.c: (gst_version_string):
15594         * gst/gst.h:
15595         * gst/gstversion.h.in:
15596         * win32/common/libgstreamer.def:
15597           add gst_version_string ()
15598
15599 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15600
15601         * configure.ac:
15602           clean up further
15603         * gst/gst.c: (init_post):
15604         * win32/common/config.h.in:
15605           it's PLUGINDIR now
15606         * gst/gstcaps.c: (gst_caps_intersect):
15607           use gint64, the range could be bigger than a guint
15608
15609 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15610
15611         * gst/gstclock.h:
15612           document potential problem in 2038
15613
15614 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15615
15616         * gst/gstcaps.c: (gst_caps_intersect):
15617           Fix guint j diving under 0
15618
15619 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15620
15621         * configure.ac:
15622         * win32/common/config.h:
15623         * win32/common/config.h.in:
15624           check for process.h, declares getpid() on Windows
15625         * gst/gstinfo.c:
15626           include process.h if we have it
15627         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
15628         * gst/gstmemchunk.h:
15629           fix signedness issues
15630         * win32/common/libgstreamer.def:
15631           fix get_type's
15632
15633 2005-10-16  Julien MOUTTE  <julien@moutte.net>
15634
15635         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
15636         fix. Because of unsigned ints, caps intersection was going nuts and
15637         trying to access structures with G_MAXUINT index. That fixes
15638         videotestsrc ! ffmpegcolorspace ! fakesink
15639         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
15640         consistency.
15641
15642 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15643
15644         * configure.ac:
15645           use the gettext macro
15646         * gst/elements/gstelements.c:
15647         * gst/gst.c:
15648         * gst/indexers/gstindexers.c:
15649           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
15650         * win32/common/config.h:
15651           updated config.h
15652         * win32/common/config.h.in:
15653           add the template to generate config.h
15654         * win32/common/gstenumtypes.c:
15655         * win32/common/gstversion.h:
15656           updated copies
15657
15658 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15659
15660         * gst/gst.c: (gst_version):
15661         * gst/gstversion.h.in:
15662           add the nano
15663
15664 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
15665
15666         * gst/gstevent.h:
15667           Oops, add missing closing bracket.
15668
15669 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15670
15671         * configure.ac:
15672           use common m4's for argument checking
15673
15674 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
15675
15676         * docs/gst/gstreamer-sections.txt:
15677         * gst/gstevent.h:
15678           Add GST_EVENT_TYPE_NAME() macro.
15679
15680 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15681
15682         * gst/gstinfo.c:
15683         * gst/gstpluginfeature.c:
15684         * gst/gsttask.c:
15685           privatize more symbols
15686
15687 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15688
15689         * configure.ac:
15690           add srcdir, builddir includes to GST_ALL_CFLAGS, since
15691           everything that uses GStreamer API should have the includes
15692
15693 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15694
15695         * docs/gst/gstreamer-sections.txt:
15696         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15697         * gst/gstvalue.h:
15698           give each value a _get_type, removes the DATA exports
15699
15700 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15701
15702         * gst/gst.c:
15703         * gst/gst.h:
15704           remove _gst_registry_auto_load, not used anymore
15705         * gst/gstbin.c: (gst_bin_get_type):
15706         * gst/gstbin.h:
15707         * gst/gstelement.c: (gst_element_get_type):
15708         * gst/gstelement.h:
15709         * gst/gstobject.c: (gst_object_get_type):
15710         * gst/gstobject.h:
15711         * gst/gstpad.c: (gst_pad_get_type):
15712         * gst/gstpad.h:
15713           make _get_type functions similar, fixes data export from library
15714
15715 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15716
15717         * configure.ac:
15718           correctly make conditionals
15719         * gst/elements/Makefile.am:
15720         * gst/elements/gstelements.c:
15721           fix typo causing fdsrc not to build
15722
15723 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15724
15725         * testsuite/Makefile.am:
15726         * testsuite/bytestream/.cvsignore:
15727         * testsuite/bytestream/Makefile.am:
15728         * testsuite/bytestream/filepadsink.c:
15729         * testsuite/bytestream/gstbstest.c:
15730         * testsuite/bytestream/test1.c:
15731         * testsuite/bytestream/testfile1:
15732         * testsuite/caps/normalisation.c:
15733         * testsuite/caps/random.c: (main):
15734         * testsuite/cleanup/.cvsignore:
15735         * testsuite/cleanup/Makefile.am:
15736         * testsuite/cleanup/cleanup1.c:
15737         * testsuite/cleanup/cleanup2.c:
15738         * testsuite/cleanup/cleanup3.c:
15739         * testsuite/cleanup/cleanup4.c:
15740         * testsuite/cleanup/cleanup5.c:
15741         * testsuite/controller/interpolator.c:
15742         * testsuite/debug/printf_extension.c: (main):
15743         * testsuite/elements/tee.c:
15744         * testsuite/negotiation/.cvsignore:
15745         * testsuite/negotiation/Makefile.am:
15746         * testsuite/negotiation/pad_link.c:
15747         * testsuite/pad/Makefile.am:
15748         * testsuite/pad/chainnopull.c:
15749         * testsuite/pad/getnopush.c:
15750         * testsuite/pad/link.c:
15751         * testsuite/refcounting/sched.c: (create_pipeline):
15752         * testsuite/registry/Makefile.am:
15753         * testsuite/registry/gst-print-formats.c:
15754         * testsuite/schedulers/.cvsignore:
15755         * testsuite/schedulers/142183-2.c:
15756         * testsuite/schedulers/142183.c:
15757         * testsuite/schedulers/143777-2.c:
15758         * testsuite/schedulers/143777.c:
15759         * testsuite/schedulers/147713.c:
15760         * testsuite/schedulers/147819.c:
15761         * testsuite/schedulers/147894-2.c:
15762         * testsuite/schedulers/147894.c:
15763         * testsuite/schedulers/Makefile.am:
15764         * testsuite/schedulers/group_link.c:
15765         * testsuite/schedulers/queue_link.c:
15766         * testsuite/schedulers/relink.c:
15767         * testsuite/schedulers/unlink.c:
15768         * testsuite/schedulers/unref.c:
15769         * testsuite/schedulers/useless_iteration.c:
15770         * testsuite/states/bin.c:
15771           clean out/remove some stuff from the testsuite directories
15772
15773 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15774
15775         * configure.ac:
15776           check for some headers
15777         * gst/elements/Makefile.am:
15778         * gst/elements/gstelements.c:
15779           don't compile fdsrc without sys/socket.h
15780         * gst/indexers/Makefile.am:
15781         * gst/indexers/gstindexers.c: (plugin_init):
15782           don't compile fileindex without mmap
15783
15784 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15785
15786         * configure.ac:
15787           reorganize
15788           clean up
15789           document more
15790           remove cruft
15791         * check/Makefile.am:
15792         * docs/gst/Makefile.am:
15793         * examples/helloworld/Makefile.am:
15794         * gst/Makefile.am:
15795         * gst/base/Makefile.am:
15796         * gst/check/Makefile.am:
15797         * gst/elements/Makefile.am:
15798         * gst/indexers/Makefile.am:
15799         * gst/parse/Makefile.am:
15800         * libs/gst/controller/Makefile.am:
15801         * libs/gst/dataprotocol/Makefile.am:
15802         * examples/helloworld/helloworld.c: (event_loop):
15803           compile fixes, though it's not being compiled currently
15804
15805 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
15806
15807         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
15808           Add some simple tests for the new taglist date API.
15809
15810 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
15811
15812         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
15813         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
15814           Beautify 'last-message' output: print 'none' for buffer timestamps
15815           and durations if none is set; improve alignment with next messages.
15816
15817 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
15818
15819         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
15820         * gst/gstpluginfeature.h:
15821         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
15822         * gst/gstregistry.h:
15823         * docs/gst/gstreamer-sections.txt:
15824           Add new API to check plugin feature version requirements.
15825
15826         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
15827           Some basic tests for the above.         
15828
15829 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15830
15831         * gst/gststructure.c: (gst_structure_to_string):
15832           guard against NULL printf - happens when for example
15833           a message structure with GstClock gets serialized
15834
15835 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
15836
15837         * gst/base/gstcollectpads.c: (gst_collectpads_event):
15838           Fix presumable copy'n'pasto.
15839
15840 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15841
15842         * gst/elements/gstfakesrc.h:
15843         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
15844         * gst/elements/gsttypefindelement.c:
15845           fix some signedness
15846         * gst/elements/gstfilesink.c: (gst_file_sink_render):
15847           I wonder if this could actually write +2GB files before
15848
15849 2005-10-13  Andy Wingo  <wingo@pobox.com>
15850
15851         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
15852         Fix Timmeke Waymans bug.
15853         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
15854         string of the proper length to gst_caps_from_string. There's a
15855         potential for, before this fix, that this could cause someone
15856         connecting over the network to cause a segfault if the payload is
15857         not NUL-terminated.
15858
15859 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
15860
15861         * docs/design/draft-push-pull.txt:
15862         * docs/design/part-overview.txt:
15863         * docs/random/TODO-pre-0.9:
15864         * docs/random/old/ChangeLog.gstreamer:
15865         * gst/base/gstpushsrc.c:
15866         * gst/gstclock.c:
15867           fixed typos
15868
15869 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15870
15871         * gst/glib-compat.c: (gst_flags_get_first_value):
15872         * gst/glib-compat.h:
15873         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
15874         (gst_value_compare_double), (gst_value_serialize_flags):
15875           GLib 2.6 g_flags_get_first_value has a bug that triggers an
15876           infinite loop
15877
15878 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15879
15880         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15881         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15882           fix up debugging
15883         * tools/gst-launch.c: (event_loop):
15884           print out clock nicely
15885
15886 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
15887
15888         * docs/gst/gstreamer-sections.txt:
15889         * gst/gsttaglist.h:
15890         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
15891         (gst_tag_list_get_date_index):
15892           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
15893           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
15894
15895 2005-10-13  Julien MOUTTE  <julien@moutte.net>
15896
15897         * gst/base/gstcollectpads.c: (gst_collectpads_event),
15898         (gst_collectpads_chain):
15899         * gst/base/gstcollectpads.h: Handle newsegment and store informations
15900         in CollectData.
15901
15902 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
15903
15904         * docs/gst/gstreamer-sections.txt:
15905         * gst/gst.c:
15906         * gst/gsterror.h:
15907         * tools/gst-inspect.c: (main):
15908         * tools/gst-launch.c: (main):
15909         * tools/gst-run.c: (main):
15910         * tools/gst-xmlinspect.c: (main):
15911           fix GOption context leaks
15912           doc fixes
15913
15914 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15915
15916         * gst/gstbus.c:
15917           use HAVE_UNISTD_H
15918         * win32/common/config.h:
15919           update config
15920         * win32/vs6/grammar.dsp:
15921         * win32/vs6/libgstelements.dsp:
15922         * win32/vs6/libgstreamer.dsp:
15923           update vs6 files
15924
15925 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15926
15927         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15928         * gst/base/gstbasesrc.c: (gst_base_src_query):
15929           fix more guint64<->gdouble conversions
15930
15931 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15932
15933         * Makefile.am:
15934           add win32-update target
15935         * win32/common/gstconfig.h:
15936         * win32/common/gstenumtypes.c:
15937         * win32/common/gstenumtypes.h:
15938         * win32/common/gstversion.h:
15939           add files that visual studio can't generate
15940
15941 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15942
15943         * Makefile.am:
15944           add a win32-update target
15945         * configure.ac:
15946
15947 2005-10-12  Wim Taymans  <wim@fluendo.com>
15948
15949         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15950         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
15951         * gst/gstelement.c: (gst_element_commit_state),
15952         (gst_element_set_state):
15953         Protect flags with proper lock.
15954         unref provided cached clock in dispose.
15955
15956 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
15957
15958         * gst/gst.c:
15959         * gst/gstminiobject.h:
15960         * gst/gstpad.h:
15961         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
15962           removed unused flags from miniobject
15963           doc fixes
15964
15965 2005-10-12  Wim Taymans  <wim@fluendo.com>
15966
15967         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
15968         (gst_file_sink_event), (gst_file_sink_render):
15969         Flush before seeking.
15970
15971 2005-10-12  Andy Wingo  <wingo@pobox.com>
15972
15973         * gst/gst.c (gst_init_check): Ignore unknown options, as has
15974         always been the case.
15975
15976 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
15977
15978         * check/gst/gstbin.c: (GST_START_TEST):
15979         * docs/gst/gstreamer-sections.txt:
15980         * gst/base/gstbasesink.c: (gst_base_sink_init):
15981         * gst/base/gstbasesrc.c: (gst_base_src_init),
15982         (gst_base_src_get_range), (gst_base_src_check_get_range),
15983         (gst_base_src_start), (gst_base_src_stop):
15984         * gst/base/gstbasesrc.h:
15985         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
15986         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15987         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
15988         (bin_bus_handler):
15989         * gst/gstbin.h:
15990         * gst/gstbuffer.h:
15991         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
15992         * gst/gstbus.h:
15993         * gst/gstelement.c: (gst_element_is_locked_state),
15994         (gst_element_set_locked_state), (gst_element_commit_state),
15995         (gst_element_set_state):
15996         * gst/gstelement.h:
15997         * gst/gstindex.c: (gst_index_init):
15998         * gst/gstindex.h:
15999         * gst/gstminiobject.h:
16000         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
16001         (gst_object_set_parent):
16002         * gst/gstobject.h:
16003         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
16004         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
16005         * gst/gstpad.h:
16006         * gst/gstpadtemplate.h:
16007         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
16008         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16009         * gst/gstpipeline.h:
16010         * gst/indexers/gstfileindex.c: (gst_file_index_load),
16011         (gst_file_index_commit):
16012         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
16013         * testsuite/pad/link.c: (gst_test_src_init),
16014         (gst_test_filter_init), (gst_test_sink_init):
16015         * testsuite/states/locked.c: (main):
16016           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
16017           moved bitshift from macro to enum definition
16018
16019 2005-10-12  Wim Taymans  <wim@fluendo.com>
16020
16021         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
16022         * gst/elements/gstfilesink.c: (gst_file_sink_event),
16023         (gst_file_sink_render):
16024         Some more debugging info.
16025
16026 2005-10-12  Wim Taymans  <wim@fluendo.com>
16027
16028         * docs/design/part-states.txt:
16029         * tools/gst-launch.c: (main):
16030         Some doc updates.
16031         Revert non-intentional change.
16032
16033 2005-10-12  Wim Taymans  <wim@fluendo.com>
16034
16035         * check/gst/gstbin.c: (GST_START_TEST):
16036         * check/gst/gstelement.c: (GST_START_TEST):
16037         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
16038         * check/gst/gstghostpad.c: (GST_START_TEST):
16039         * check/gst/gstpipeline.c: (GST_START_TEST):
16040         * check/pipelines/simple_launch_lines.c: (run_pipeline):
16041         * check/states/sinks.c: (GST_START_TEST):
16042         * gst/elements/gsttypefindelement.c: (stop_typefinding):
16043         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
16044         (gst_bin_remove_func), (gst_bin_get_state_func),
16045         (gst_bin_recalc_state), (gst_bin_change_state_func),
16046         (bin_bus_handler):
16047         * gst/gstelement.c: (gst_element_get_state_func),
16048         (gst_element_get_state), (gst_element_abort_state),
16049         (gst_element_commit_state), (gst_element_set_state),
16050         (gst_element_change_state), (gst_element_change_state_func):
16051         * gst/gstelement.h:
16052         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
16053         (gst_pipeline_provide_clock_func):
16054         * gst/gstutils.c: (gst_element_link_pads_filtered):
16055         * tools/gst-launch.c: (main):
16056         * tools/gst-typefind.c: (main):
16057         Use GstClockTime in _get_state() instead of GTimeVal.
16058         Remove old code in gstutils.c
16059
16060 2005-10-12  Andy Wingo  <wingo@pobox.com>
16061
16062         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
16063         removed.
16064
16065         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
16066         there is no task. Shouldn't affect any code, as nothing in our
16067         plugins checks this return value.
16068         (gst_pad_stop_task): Also take the stream lock if the pad has no
16069         task. Docs updated.
16070
16071 2005-10-12  Wim Taymans  <wim@fluendo.com>
16072
16073         * gst/gstpad.c: (pre_activate), (post_activate),
16074         (gst_pad_activate_pull), (gst_pad_activate_push):
16075         Cleanup activation code. Reset old state if
16076         activation failed.
16077
16078 2005-10-12  Wim Taymans  <wim@fluendo.com>
16079
16080         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16081         (gst_base_sink_change_state):
16082         No need to prerol after receiving EOS.
16083
16084         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
16085         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
16086         * gst/elements/gstidentity.c: (gst_identity_event):
16087         Print events more verbosely.
16088
16089 2005-10-12  Wim Taymans  <wim@fluendo.com>
16090
16091         * check/Makefile.am:
16092         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16093         * check/states/sinks2.c:
16094         Moved sinks2 testcode in sinks check.
16095
16096         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
16097         (gst_bin_remove_func), (gst_bin_recalc_state),
16098         (gst_bin_change_state_func), (bin_bus_handler):
16099         Fix potential race condition when _get_state() iterated over an
16100         ASYNC element right before it posted a state completion.
16101
16102         * gst/gstclock.h:
16103         Do proper cast here.
16104
16105         * gst/gstevent.c: (gst_event_new_newsegment),
16106         (gst_event_parse_newsegment):
16107         A playback rate of 0.0 is not allowed.
16108
16109 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16110
16111         * win32/common/config.h:
16112         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
16113         (_trewinddir), (_ttelldir), (_tseekdir):
16114         * win32/common/dirent.h:
16115         * win32/common/gtchar.h:
16116         * win32/common/libgstbase.def:
16117         * win32/common/libgstreamer.def:
16118         * win32/vs6/grammar.dsp:
16119         * win32/vs6/gst_inspect.dsp:
16120         * win32/vs6/gst_launch.dsp:
16121         * win32/vs6/gstreamer.dsw:
16122         * win32/vs6/libgstbase.dsp:
16123         * win32/vs6/libgstelements.dsp:
16124         * win32/vs6/libgstreamer.dsp:
16125           Visual Studio 6 project files, and a new common directory.
16126           Phear.
16127
16128 2005-10-11  Wim Taymans  <wim@fluendo.com>
16129
16130         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16131         (gst_base_sink_do_sync), (gst_base_sink_query),
16132         (gst_base_sink_change_state):
16133         * gst/base/gstbasesink.h:
16134         Correctly parse newsegment info.
16135
16136 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16137
16138         * gst/gst.c: (init_post):
16139           split plugin paths correctly
16140
16141 2005-10-11  Wim Taymans  <wim@fluendo.com>
16142
16143         * check/gst/gstevent.c: (GST_START_TEST):
16144         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16145         (gst_base_sink_change_state):
16146         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
16147         * gst/base/gstbasetransform.c: (gst_base_transform_event):
16148         * gst/elements/gstfilesink.c: (gst_file_sink_event):
16149         * gst/gstevent.c: (gst_event_new_newsegment),
16150         (gst_event_parse_newsegment):
16151         * gst/gstevent.h:
16152         Added extra flag to newsegment for future API freeze.
16153         Updated check and base elements.
16154
16155 2005-10-11  Julien MOUTTE  <julien@moutte.net>
16156
16157         * gst/base/gstcollectpads.c: (gst_collectpads_init),
16158         (gst_collectpads_add_pad), (gst_collectpads_pop),
16159         (gst_collectpads_event), (gst_collectpads_chain):
16160         * gst/base/gstcollectpads.h: Handle EOS correctly.
16161
16162 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16163
16164         * tools/gst-launch.c: (main):
16165           more null protecting
16166
16167 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16168
16169         * gst/gst-i18n-lib.h:
16170           check for ENABLE_NLS, not GETTEXT_PACKAGE
16171         * gst/gstregistry.c: (gst_registry_add_plugin),
16172         (gst_registry_scan_path_level),
16173         (_gst_registry_remove_cache_plugins):
16174           protect possibly NULL strings
16175         * gst/parse/types.h:
16176           config.h already included before
16177         * tools/gst-inspect.c: (main):
16178           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
16179           check for ENABLE_NLS, not GETTEXT_PACKAGE
16180         * tools/gst-launch.c: (main):
16181           check for ENABLE_NLS, not GETTEXT_PACKAGE
16182
16183 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16184
16185         * configure.ac:
16186           if we don't have glib, fail before testing 2.8
16187         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
16188           fix a leak, should fix plugins-base testsuite
16189
16190 2005-10-11  Andy Wingo  <wingo@pobox.com>
16191
16192         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
16193         take the mode we're going to as an arg. Go head and set the mode
16194         and flushing flags now, so that if the activate function starts a
16195         thread all the flags will be in the right state.
16196         (post_activate): Renamed also. Just handle making sure streaming
16197         finishes for the deactivation case, and setting the deactivated
16198         mode.
16199         (gst_pad_set_active): Complain loudly if deactivation fails.
16200         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
16201         (gst_pad_activate_push): Adapt to pre/post_activate changes,
16202         remove the terrible hack.
16203
16204 2005-10-11  Wim Taymans  <wim@fluendo.com>
16205
16206         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
16207         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
16208         (gst_bin_recalc_state), (gst_bin_change_state_func),
16209         (gst_bin_dispose), (bin_bus_handler):
16210         * gst/gstbin.h:
16211         Prepare to make current EOS message queue more generic.
16212         Fix some typos.
16213
16214         * gst/gstevent.c: (gst_event_new_newsegment),
16215         (gst_event_parse_newsegment):
16216         * gst/gstevent.h:
16217         Rename base to stream_time.
16218
16219         * gst/gstmessage.h:
16220         Fix typo in docs.
16221
16222 2005-10-11  Wim Taymans  <wim@fluendo.com>
16223
16224         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
16225         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
16226         (gst_bin_change_state_func), (bin_bus_handler):
16227         * gst/gstbin.h:
16228         Work on proper clock selection.
16229
16230 2005-10-11  Edward Hervey  <edward@fluendo.com>
16231
16232         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
16233         * libs/gst/controller/gstcontroller.h:
16234         Added GList* version of _remove_properties() in order to be able to wrap
16235         it in bindings.
16236
16237 2005-10-11  Wim Taymans  <wim@fluendo.com>
16238
16239         * docs/design/part-states.txt:
16240         Some more docs.
16241
16242         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
16243         (gst_bin_change_state_func), (bin_bus_handler):
16244         Doc updates. Don't distribute the same clock over and over again.
16245
16246         * gst/gstclock.c:
16247         * gst/gstclock.h:
16248         Doc updates.
16249
16250         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
16251         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
16252         (gst_pad_send_event):
16253         * gst/gstpad.h:
16254         Make probe emission threadsafe again.
16255         Register quarks and move _get_name() from utils.
16256         Doc updates.
16257
16258         * gst/gstpipeline.c: (gst_pipeline_class_init),
16259         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
16260         Only redistribute the clock of it changed.
16261
16262         * gst/gstsystemclock.h:
16263         Doc updates. 
16264
16265         * gst/gstutils.c:
16266         * gst/gstutils.h:
16267         Moved the _flow_get_name() to GstPad.
16268
16269 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16270
16271         * check/gst-libs/gdp.c: (GST_START_TEST):
16272         * check/gst/gstcaps.c: (GST_START_TEST):
16273         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
16274         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
16275         (gst_dp_packet_from_caps):
16276           fix more valgrind warnings before turning up the heat
16277
16278 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16279
16280         * gst/parse/grammar.y:
16281           some cleanup before the hacking
16282
16283 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16284
16285         * gst/base/gstbasesrc.c: (gst_base_src_query):
16286           use conversions
16287         * gst/gstutils.c: (gst_guint64_to_gdouble),
16288         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
16289         * gst/gstutils.h:
16290           externalize, basesrc uses it
16291           obviously the implementation needs testing
16292
16293 2005-10-10  Wim Taymans  <wim@fluendo.com>
16294
16295         * tests/sched/Makefile.am:
16296         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
16297         (make_pipeline3), (make_pipeline4), (print_elem), (main):
16298
16299 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16300
16301         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
16302           apparently converting from guint64 to double is not implemented
16303           on MSVC
16304
16305 2005-10-10  Wim Taymans  <wim@fluendo.com>
16306
16307         * check/Makefile.am:
16308         * check/generic/states.c: (GST_START_TEST):
16309         * check/gst/gstbin.c: (GST_START_TEST):
16310         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16311         * check/states/sinks.c: (GST_START_TEST):
16312         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
16313         (main):
16314         Check fixes, use API as stated in design docs, remove hacks.
16315
16316         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16317         (gst_base_sink_change_state):
16318         Catch stopping our task while we're shutting down.
16319
16320         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
16321         (gst_bin_remove_func), (gst_bin_get_state_func),
16322         (gst_bin_recalc_state), (gst_bin_change_state_func),
16323         (bin_bus_handler):
16324         * gst/gstbin.h:
16325         * gst/gstelement.c: (gst_element_init),
16326         (gst_element_get_state_func), (gst_element_abort_state),
16327         (gst_element_commit_state), (gst_element_lost_state),
16328         (gst_element_set_state), (gst_element_change_state),
16329         (gst_element_change_state_func):
16330         * gst/gstelement.h:
16331         New state change algorithm (see #318116)
16332
16333         * gst/gstpipeline.c: (gst_pipeline_class_init),
16334         (gst_pipeline_init), (gst_pipeline_set_property),
16335         (gst_pipeline_get_property), (do_pipeline_seek),
16336         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
16337         * gst/gstpipeline.h:
16338         Remove crude state change hacks.
16339
16340         * gst/gstutils.h:
16341         Remove crude hacks.
16342
16343         * tools/gst-launch.c: (main):
16344         Fixes for state change. Needs some more work to fully use the
16345         new stuff.
16346
16347 2005-10-10  Andy Wingo  <wingo@pobox.com>
16348
16349         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
16350
16351         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
16352         this flag, but it's not even in GLib 2.6. Odd. Hack around the
16353         issue.
16354
16355 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
16356
16357         * gst/gstiterator.c: (gst_iterator_new):
16358           Fix my previous commit: GTypes passed to gst_iterator_new()
16359           can be fundamental types.
16360
16361 2005-10-10  Wim Taymans  <wim@fluendo.com>
16362
16363         * gst/gstelement.c: (gst_element_iterate_pad_list),
16364         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
16365         (gst_element_iterate_sink_pads):
16366         Use src/sink pads lists for the respective iterators instead
16367         of filtering.
16368
16369 2005-10-10  Andy Wingo  <wingo@pobox.com>
16370
16371         Merged in popt removal + GOption addition patch from Ronald, bug
16372         #169772.
16373
16374         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
16375         GstElement macros around, remove popt-related symbols, add goption
16376         stuff.
16377
16378         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
16379         
16380         * docs/gst/Makefile.am:
16381         * docs/libs/Makefile.am: No POPT_CFLAGS.
16382         
16383         * examples/manual/Makefile.am:
16384         * docs/manual/basics-init.xml: Doc updates with an example.
16385         
16386         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
16387         (gst_init), (parse_one_option), (parse_goption_arg):
16388         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
16389         bit of hand merging and debugging to get the GOption stuff working
16390         tho.
16391         
16392         * tests/Makefile.am:
16393         * tools/Makefile.am:
16394         * tools/gst-inspect.c: (main):
16395         * tools/gst-launch.c: (main):
16396         * tools/gst-run.c: (main):
16397         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
16398
16399 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
16400
16401         * gst/gstiterator.c: (gst_iterator_new):
16402           Add assertions to make sure passed GType is likely to really
16403           be a GType (as the compiler won't catch it if the size and
16404           GType arguments get mixed up, see #318447).
16405
16406 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
16407
16408         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16409
16410         * gst/gstbin.c: (gst_bin_iterate_sorted):
16411           Pass GType and size arguments to gst_iterator_new() in the right
16412           order (maybe we should make _new() take the GType as first argument
16413           just like _new_list()?) (#318447).
16414           
16415
16416 2005-10-10  Wim Taymans  <wim@fluendo.com>
16417
16418         * gst/gstelement.c: (gst_element_finalize):
16419         And free the GStaticRecMutex too
16420
16421 2005-10-10  Andy Wingo  <wingo@pobox.com>
16422
16423         * gst/gstelement.c (gst_element_init, gst_element_finalize):
16424         Allocate and free the mutex properly.
16425
16426         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
16427         New macros.
16428         (GstElement): The state_lock is now recursive. Rebuild your
16429         plugins, suckers. Old macros adapted.
16430
16431         * docs/gst/gstreamer-sections.txt: Doc updates.
16432
16433         * gst/gstutils.h:
16434         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
16435         (g_static_rec_cond_wait): Ported from state changes patch, while
16436         we wait on bug #317802 to be solved in a well-distributed GLib.
16437
16438         * gst/gstelement.c (gst_element_change_state_func): Renamed from
16439         gst_element_change_state, variable name changes.
16440         (gst_element_change_state): Split out of gst_element_set_state in
16441         preparation for the state change merge. Doesn't pay attention to
16442         the 'transition' argument.
16443         (gst_element_set_state): Updates, hopefully purely cosmetic.
16444         (gst_element_sync_state_with_parent): MT-safety. Ported from the
16445         state change patch.
16446         (gst_element_get_state_func): Renamed from get_state, cosmetic
16447         changes.
16448
16449 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16450
16451         * gst/elements/gstelements.c:
16452         * win32/GStreamer.vcproj:
16453         * win32/config.h:
16454         * win32/dirent.c: (_tseekdir):
16455         * win32/gst-inspect.vcproj:
16456         * win32/gst-launch.vcproj:
16457         * win32/gstconfig.h:
16458         * win32/gstelements.vcproj:
16459         * win32/gstenumtypes.c: (gst_object_flags_get_type):
16460         * win32/gstreamer.def:
16461         * win32/msvc71.sln:
16462           updates for the win32 build (patch from Sebastien Moutte)
16463
16464 2005-10-10  Andy Wingo  <wingo@pobox.com>
16465
16466         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
16467         gst_bin_get_state, cleaned up (but no logic changes).
16468         (bin_element_is_sink): Comment updates.
16469         (sink_iterator_filter): Remove needless cast.
16470         (gst_bin_iterate_sinks): Doc update.
16471         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
16472         cleaned up (but no logic changes).
16473
16474         * check/states/sinks.c (test_src_sink): Cleanups from the state
16475         change patch.
16476         (test_livesrc_sink): Sync on the state.
16477
16478         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
16479         the state change patch.
16480
16481         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
16482         change patch.
16483
16484         * check/gst/gstbin.c: Merge in some style fixes and additional
16485         checks from Wim's state change patch.
16486
16487 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
16488
16489         * gst/base/gsttypefindhelper.c: (helper_find_peek),
16490         (gst_type_find_helper):
16491           Check whether we have the requested data already in our list of
16492           cached buffers before pulling a new buffer; also make the buffer
16493           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
16494
16495 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16496
16497         * gst/gstcaps.c:
16498         * gst/gstevent.c:
16499           doc updates
16500         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
16501           don't use long long, it's not portable.  Replacing with
16502           gint64 seems to work; let's hope no skeletons fall out of the closet.
16503
16504 2005-10-10  Andy Wingo  <wingo@pobox.com>
16505
16506         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
16507
16508 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
16509
16510         * docs/gst/gstreamer-sections.txt:
16511         * gst/gstevent.c:
16512         * gst/gstevent.h:
16513         * gst/gstinfo.c:
16514         * gst/gstinfo.h:
16515         * gst/gstmessage.c: (gst_message_parse_state_changed):
16516         * gst/gstpad.c:
16517         * gst/gstpad.h:
16518           more docs, fix compilation
16519
16520 2005-10-09  Philippe Khalaf <burger@speedy.org>
16521         * gst/gstmessage.c:
16522           Fixed a few forgotten variables on previous commit
16523
16524 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
16525
16526         * gst/base/gsttypefindhelper.c: (helper_find_peek):
16527           Fix evil typefind crasher: getrange() might return a short
16528           buffer at the end of a file, but gst_type_find_peek() must
16529           either return the full data as requested or NULL, but
16530           never a short buffer.
16531
16532 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16533
16534         * gst/gstmessage.c: (gst_message_new_state_changed),
16535         (gst_message_parse_state_changed):
16536         * gst/gstmessage.h:
16537           don't use "new", it's a C++ keyword
16538
16539 2005-10-08  Wim Taymans  <wim@fluendo.com>
16540
16541         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
16542         * gst/gstelement.c: (gst_element_post_message):
16543         * gst/gstpipeline.c: (gst_pipeline_change_state):
16544         Small docs and debug updates.
16545
16546 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
16547
16548         * docs/gst/gstreamer-sections.txt:
16549         * gst/gstelementfactory.c:
16550         * gst/gstevent.c:
16551         * gst/gsttaglist.c:
16552           more docs
16553
16554 2005-10-08  Wim Taymans  <wim@fluendo.com>
16555
16556         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
16557         (gst_bin_dispose), (bin_bus_handler):
16558         Fix typos, add comments.
16559         Clear EOS list when going to PAUSED from any direction and do it
16560         in a threadsafe way.
16561         Get base time in a threadsafe way too.
16562         Fix confusing debug in the change_state function.
16563         Various other small cleanups.
16564         
16565         * gst/gstelement.c: (gst_element_post_message):
16566         Fix very verbose bus posting code.
16567
16568         * gst/gstpipeline.c: (gst_pipeline_class_init),
16569         (gst_pipeline_set_property), (gst_pipeline_get_property),
16570         (gst_pipeline_change_state):
16571         Small ARG_ -> PROP_ cleanup
16572
16573 2005-10-08  Wim Taymans  <wim@fluendo.com>
16574
16575         * gst/gstbin.c: (is_eos), (bin_bus_handler):
16576         Do a less CPU demanding EOS check because we can.
16577
16578 2005-10-08  Wim Taymans  <wim@fluendo.com>
16579
16580         * libs/gst/dataprotocol/dataprotocol.c:
16581         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
16582         (gst_dp_packet_from_event):
16583         * libs/gst/dataprotocol/dataprotocol.h:
16584         * libs/gst/dataprotocol/dp-private.h:
16585         It's about time we bump the version number.
16586         Since event types don't fit in the guint8 anymore describing
16587         the payload type, make payload type 16 bits wide.
16588
16589 2005-10-08  Wim Taymans  <wim@fluendo.com>
16590
16591         * docs/design/part-TODO.txt:
16592         * docs/design/part-clocks.txt:
16593         * docs/design/part-events.txt:
16594         * docs/design/part-gstbin.txt:
16595         * docs/design/part-gstelement.txt:
16596         * docs/design/part-gstpipeline.txt:
16597         * docs/design/part-live-source.txt:
16598         * docs/design/part-messages.txt:
16599         * docs/design/part-overview.txt:
16600         * docs/design/part-states.txt:
16601         Many doc updates.
16602
16603 2005-10-08  Wim Taymans  <wim@fluendo.com>
16604
16605         * gst/gstevent.c:
16606         * gst/gstevent.h:
16607         Fix event quark registration.
16608         Add some space between events so we can insert them in the
16609         right groups.
16610
16611 2005-10-08  Wim Taymans  <wim@fluendo.com>
16612
16613         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16614         (gst_base_sink_handle_buffer):
16615         Better log message.
16616
16617         * gst/gstbus.h:
16618         * gst/gstelement.h:
16619         More docs.
16620
16621         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
16622         (gst_queue_set_property), (gst_queue_get_property):
16623         * gst/gstqueue.h:
16624         Remove old unused properties.
16625
16626 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
16627         * docs/gst/gstreamer-sections.txt:
16628         * gst/gstmessage.c:
16629         * gst/gstmessage.h:
16630         * gst/gstminiobject.c:
16631         * gst/gstminiobject.h:
16632         * gst/gstobject.h:
16633         * gst/gstpad.h:
16634         * gst/gstutils.h:
16635           lots of new docs and doc fixes
16636
16637 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16638
16639         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
16640         * gst/gstplugin.h:
16641         * gst/gstregistry.c: (gst_registry_lookup_locked),
16642         (gst_registry_scan_path_level):
16643         * gst/gstregistryxml.c: (load_plugin):
16644           Only ever load one plugin for a given plugin basename.
16645           This ensures correct overriding of GST_PLUGIN_PATH over
16646           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
16647           system installed plugins.
16648
16649 2005-10-08  Wim Taymans  <wim@fluendo.com>
16650
16651         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16652         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
16653         Prepare for doing QOS.
16654
16655 2005-10-08  Wim Taymans  <wim@fluendo.com>
16656
16657         * check/gst/gstbin.c: (GST_START_TEST):
16658         * check/pipelines/cleanup.c: (GST_START_TEST):
16659         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16660         Allow new clock message too.
16661
16662 2005-10-08  Wim Taymans  <wim@fluendo.com>
16663
16664         * gst/gstmessage.c: (gst_message_new_error),
16665         (gst_message_new_warning), (gst_message_new_tag),
16666         (gst_message_new_state_changed), (gst_message_new_clock_provide),
16667         (gst_message_new_clock_lost), (gst_message_new_new_clock),
16668         (gst_message_new_segment_start), (gst_message_new_segment_done),
16669         (gst_message_parse_state_changed),
16670         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
16671         (gst_message_parse_new_clock):
16672         * gst/gstmessage.h:
16673         Also carry the clock in question.
16674
16675 2005-10-08  Wim Taymans  <wim@fluendo.com>
16676
16677         * gst/gstmessage.c: (gst_message_new_custom),
16678         (gst_message_new_eos), (gst_message_new_error),
16679         (gst_message_new_warning), (gst_message_new_tag),
16680         (gst_message_new_state_changed), (gst_message_new_clock_provide),
16681         (gst_message_new_new_clock), (gst_message_new_segment_start),
16682         (gst_message_new_segment_done), (gst_message_parse_state_changed),
16683         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
16684         * gst/gstmessage.h:
16685         Clean up.
16686         Added clock related messages.
16687
16688         * gst/gstpipeline.c: (gst_pipeline_change_state):
16689         Post message when the clock changed.
16690
16691         * tools/gst-launch.c: (event_loop):
16692         Print new clock.
16693
16694 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
16695
16696         * tools/gst-inspect.c: (print_element_properties_info):
16697           Can't pass NULL strings to g_print() on windows.
16698
16699 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16700
16701         * docs/Makefile.am:
16702         * docs/gst/Makefile.am:
16703         * docs/gst/gstreamer-docs.sgml:
16704         * docs/gst/running.xml:
16705         * docs/version.entities.in:
16706           add a chapter on running GStreamer.
16707           document GST_DEBUG and GST_PLUGIN* env vars
16708
16709 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16710
16711         * Makefile.am:
16712           remove include dir
16713         * configure.ac:
16714           remove PLUGINS_BUILDDIR stuff
16715         * gst/gst.c: (init_post):
16716           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
16717         * idiottest.mak:
16718           remove, it was condescending and not needed
16719
16720 2005-10-08  Wim Taymans  <wim@fluendo.com>
16721
16722         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
16723         (gst_base_sink_handle_object), (gst_base_sink_event),
16724         (gst_base_sink_wait), (gst_base_sink_handle_event),
16725         (gst_base_sink_change_state):
16726         * gst/base/gstbasesink.h:
16727         Repost EOS message while going to PLAYING if still EOS.
16728         Make sure that when receiving a FLUSH_START we don't attempt
16729         to sync on the clock anymore.
16730
16731 2005-10-08  Wim Taymans  <wim@fluendo.com>
16732
16733         * tools/gst-launch.c: (event_loop):
16734         Better message printout.
16735
16736 2005-10-08  Wim Taymans  <wim@fluendo.com>
16737
16738         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
16739         (gst_bin_child_proxy_get_children_count):
16740         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
16741         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
16742         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
16743         (gst_child_proxy_set_valist):
16744         * gst/parse/grammar.y:
16745         Make ChildProxy threadsafe and fix mem leaks.
16746
16747 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16748
16749         * gst/gst.c: (init_post):
16750           debug the GST_PLUGIN_ env vars
16751
16752 2005-10-08  Wim Taymans  <wim@fluendo.com>
16753
16754         * check/gst/gstbin.c: (GST_START_TEST):
16755         * check/gst/gstmessage.c: (GST_START_TEST):
16756         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16757         * gst/gstelement.c: (gst_element_commit_state),
16758         (gst_element_lost_state):
16759         * gst/gstmessage.c: (gst_message_new_state_changed),
16760         (gst_message_parse_state_changed):
16761         * gst/gstmessage.h:
16762         * tools/gst-launch.c: (event_loop):
16763         Added extra field to STATE_CHANGE message with the pending
16764         state, which will be different from the new state soon.
16765
16766 2005-10-08  Wim Taymans  <wim@fluendo.com>
16767
16768         * gst/gstbus.c: (gst_bus_pop):
16769         * gst/gstclock.c:
16770         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
16771         Small cleanups and doc updates.
16772
16773 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16774
16775         * gst/gst.c: (init_pre):
16776         * gst/gstbin.c: (gst_bin_add_func):
16777           log distributing clocks and base time
16778         * gst/gstregistry.c: (gst_registry_add_plugin),
16779         (gst_registry_scan_path_level), (gst_registry_scan_path):
16780           clean up the debugging output a little
16781         * gst/gstutils.c: (gst_element_state_get_name):
16782           warn about a memleak (I've actually seen this be used, though
16783           it was probably a bug)
16784
16785 2005-10-07  Wim Taymans  <wim@fluendo.com>
16786
16787         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16788         (gst_base_src_init), (gst_base_src_default_newsegment),
16789         (gst_base_src_newsegment), (gst_base_src_do_seek),
16790         (gst_base_src_loop), (gst_base_src_start):
16791         * gst/base/gstbasesrc.h:
16792         Make the newsegment event customizable by subclasses.
16793
16794 2005-10-07  Wim Taymans  <wim@fluendo.com>
16795
16796         * gst/gstevent.c: (gst_event_new_buffersize),
16797         (gst_event_parse_buffersize):
16798         * gst/gstevent.h:
16799         New event for future idea.
16800
16801 2005-10-07  Andy Wingo  <wingo@pobox.com>
16802
16803         * gst/gstelement.c (gst_element_post_message): Doc update.
16804
16805         * docs/gst/gstreamer-sections.txt: Update.
16806
16807         * gst/gstmessage.c (gst_message_new_application): Made into a
16808         function like honest API calls.
16809         (gst_message_new_element): New message type.
16810
16811         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
16812
16813         * check/elements/fakesrc.c (test_no_preroll): New check, checks
16814         that setting a live fakesrc to PAUSED returns NO_PREROLL both
16815         times.
16816
16817         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
16818         NO_PREROLL from gst_element_change_state to fall through.
16819
16820 2005-10-07  Wim Taymans  <wim@fluendo.com>
16821
16822         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
16823         (gst_ghost_pad_do_activate_push):
16824         Activating a ghostpad with no internal pad in push mode
16825         is ok.
16826
16827 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16828
16829         * gst/gstobject.h:
16830           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
16831           Fixes compilation on Windows.
16832
16833 2005-10-07  Michael Smith <msmith@fluendo.com>
16834
16835         * tools/gst-inspect.c:
16836           Print out feature and plugin count at the end when printing out
16837           all features.
16838
16839 2005-10-04  Michael Smith <msmith@fluendo.com>
16840
16841         * gst/gsterror.c: (_gst_stream_errors_init):
16842           Add another error string used in a few existing plugins.
16843
16844         * gst/gstplugin.c:
16845         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16846         * tools/gst-inspect.c: (print_element_info):
16847           When a feature disappears from a plugin (and the feature exists in
16848           the cached registry file), things went horribly wrong. This isn't a
16849           complete fix, we should actually be removing the 'missing' features
16850           from the features list when we load the actual plugin. That's not
16851           yet implemented. 
16852
16853 2005-10-04  Johan Dahlin  <johan@gnome.org>
16854
16855         * check/gst/gstiterator.c: (GST_START_TEST):
16856         * gst/gstbin.c: (gst_bin_iterate_elements),
16857         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
16858         * gst/gstelement.c: (gst_element_iterate_pads):
16859         * gst/gstformat.c: (gst_format_iterate_definitions):
16860         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
16861         (gst_iterator_new_list), (gst_iterator_filter):
16862         * gst/gstiterator.h:
16863         * gst/gstquery.c: (gst_query_type_iterate_definitions):
16864         Add a GType to GstIterator, update callsites and tests.
16865
16866 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16867
16868         * gst/gstpad.c: (gst_pad_event_default_dispatch):
16869           give events a chance to be handled by event probes when the pad
16870           is not linked
16871
16872 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16873
16874         * gst/gstevent.c: (gst_event_type_get_name),
16875         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
16876         * gst/gstevent.h:
16877           add string representations for event types
16878
16879 2005-10-06  Wim Taymans  <wim@fluendo.com>
16880
16881         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
16882         Don't use NULL pointers.
16883
16884 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16885
16886         * gst/gst_private.h:
16887         * gst/gstbus.c:
16888         * gst/gstelement.c:
16889         * gst/gstinfo.c:
16890         * gst/gstpluginfeature.c:
16891           widen the debug category in output to fit the biggest one we have
16892           add a bus category and use it
16893           play with the colors
16894           fix up some categories
16895
16896 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16897
16898         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
16899           add push activation of sink ghost pads.
16900           Andye, please verify
16901
16902 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16903
16904         * gst/gstutils.c: (gst_element_link_pads):
16905           fix a bug in the case where neither element has a pad
16906         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
16907           add a test for that case
16908
16909 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16910
16911         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
16912           emit have-data before checking for peers.  This allows
16913           for probe handlers to connect elements.  This helps autopluggers.
16914         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
16915         (gst_pad_suite):
16916           add six checks, linked/unlinked with no/true/false probe
16917
16918 2005-10-04  Wim Taymans  <wim@fluendo.com>
16919
16920         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
16921         (gst_fake_sink_event), (gst_fake_sink_preroll),
16922         (gst_fake_sink_render), (gst_fake_sink_change_state):
16923         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
16924         (gst_fake_src_get_property), (gst_fake_src_create),
16925         (gst_fake_src_stop):
16926         * gst/elements/gstidentity.c: (gst_identity_stop):
16927         Protect last_message with lock.
16928
16929 2005-10-04  Edward Hervey  <edward@fluendo.com>
16930
16931         * gst/gstformat.h: 
16932         Added precision in the comments for GST_FORMAT_DEFAULT
16933
16934 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
16935
16936         * tools/gst-launch.c: (main):
16937           Don't try to run erroneous pipelines.
16938
16939 2005-10-04  Julien MOUTTE  <julien@moutte.net>
16940
16941         * gst/gstbus.c: We don't need this header.
16942
16943 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16944
16945         * configure.ac:
16946           back to development
16947
16948 === release 0.9.3 ===
16949
16950 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16951
16952         * README:
16953         * configure.ac:
16954           Releasing 0.9.3, "Unregistered"
16955
16956 2005-10-03  Andy Wingo  <wingo@pobox.com>
16957
16958         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
16959         whereby calling a pad's activatepush() function can start a thread
16960         that starts to push or pull before the pad gets the FLUSHING flag
16961         unset. Hack around it by holding the stream lock until the flag is
16962         set. Need to replace this with a proper solution. Together with
16963         the ghost pad fixes, this fixes mp3 playing/tagreading.
16964
16965         * docs/design/part-gstghostpad.txt: Add a note about activation of
16966         proxy pads outside of ghost pads.
16967
16968         * gst/gstghostpad.c: Implement the ghost pad activation design.
16969
16970 2005-10-02  Andy Wingo  <wingo@pobox.com>
16971
16972         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
16973         It is volatile, after all.
16974
16975         * docs/design/part-gstghostpad.txt: Flesh out activation with
16976         ghost pads.
16977
16978         * gst/base/gstbasesrc.c (gst_base_src_init): Use
16979         GST_DEBUG_FUNCPTR.
16980
16981 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
16982
16983         * configure.ac:
16984           Fix (unused) AM_CONDITIONAL tests.
16985
16986 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
16987
16988         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16989
16990         * gst/gstutils.c: (gst_pad_query_convert):
16991           Add assertion that makes sure src_val is >=0, just like
16992           gst_query_new_convert() has. (#315895)
16993
16994 2005-09-30  Edward Hervey  <edward@fluendo.com>
16995
16996         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
16997         Let's not iterate pads we're not interested in, it avoids getting 
16998         sky-high refcounts on sinkpad.
16999
17000 2005-09-30  Wim Taymans  <wim@fluendo.com>
17001
17002         * gst/gstelement.c: (gst_element_set_state),
17003         (gst_element_change_state):
17004         Small tweak, element in ASYNC remains ASYNC.
17005
17006 2005-09-30  Wim Taymans  <wim@fluendo.com>
17007
17008         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
17009         Only error is an error.
17010
17011         * gst/gstbin.c: (gst_bin_change_state):
17012         Better debugging.
17013
17014         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
17015         Also call pad_block in pad alloc.
17016
17017         * gst/gstutils.c: (gst_flow_get_name):
17018         Better debugging.
17019
17020 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
17021
17022         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17023         (gst_base_src_get_range):
17024           Fix documentation typos. Add some more debug info.
17025
17026 2005-09-29  David Schleef  <ds@schleef.org>
17027
17028         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
17029           more end-user friendly.
17030         * tools/gst-inspect.c: (main): Check if command-line argument is
17031           a file and attempt to load that file as a plugin.
17032
17033 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17034
17035         * check/gst/gstbin.c:
17036         * check/states/sinks.c:
17037           fix tests for the new warning
17038         * check/gst/gstpipeline.c:
17039           add a test for pipeline and bus interaction
17040         * gst/gstelement.c:
17041           elements should be NULL if they get disposed; add a warning if not
17042
17043 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17044
17045         * gst/gstobject.c:
17046           for 2.6 refcounting, make debug log more correct by printing
17047           the actual refcounts at the time of swap (Wim)
17048
17049 2005-09-29  Andy Wingo  <wingo@pobox.com>
17050
17051         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
17052         removes signal watches previously added via
17053         gst_bus_add_signal_watch.
17054         (gst_bus_add_signal_watch): Don't return the source id, just store
17055         it on the bus if there wasn't an id already.
17056
17057         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
17058         add_signal_watch and remove_signal_watch.
17059
17060 2005-09-29  Edward Hervey  <edward@fluendo.com>
17061
17062         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
17063         Better if we actually iterate the list :)
17064
17065 2005-09-29  Wim Taymans  <wim@fluendo.com>
17066
17067         * check/gst/gstbin.c: (GST_START_TEST):
17068         Change for new bus API.
17069
17070         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
17071         (send_messages), (GST_START_TEST), (gstbus_suite):
17072         Change for new bus signal API.
17073
17074         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
17075         (gst_bus_source_prepare), (gst_bus_source_check),
17076         (gst_bus_create_watch), (gst_bus_add_watch_full),
17077         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
17078         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
17079         * gst/gstbus.h:
17080         Remove support for multiple GSources operating on different
17081         message types as it is too complex and unneeded when using
17082         signals.
17083         Added support for receiving signals from the bus.
17084
17085 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17086
17087         * docs/libs/tmpl/gstdataprotocol.sgml:
17088         * docs/manual/advanced-dataaccess.xml:
17089         * gst/elements/gstcapsfilter.c:
17090         * gst/gstutils.c:
17091           rename filter-caps to caps property
17092
17093 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
17094
17095         * gst/gstvalue.c: (gst_value_deserialize_fraction):
17096           More robust fraction string parsing.
17097
17098         * docs/pwg/appendix-porting.xml:
17099           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
17100
17101 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
17102
17103         * gst/gstcaps.c: (gst_caps_do_simplify):
17104           Thou shalt not free a structure and then continue using it
17105           in the next loop iteration.
17106
17107         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
17108         (gst_caps_suite):
17109           Add test case for caps simplification.
17110
17111 2005-09-29  Wim Taymans  <wim@fluendo.com>
17112
17113         * check/gst/gstbin.c: (GST_START_TEST):
17114         Oops.
17115
17116 2005-09-29  Wim Taymans  <wim@fluendo.com>
17117
17118         * check/gst/gstbin.c: (GST_START_TEST):
17119         Add bus to bin.
17120
17121         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
17122         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
17123         (find_element), (gst_bin_sort_iterator_next),
17124         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17125         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17126         (gst_bin_change_state), (gst_bin_dispose):
17127         A bin does not have a bus, it gets the bus from the parent.
17128
17129         * gst/gstelement.c: (gst_element_requires_clock),
17130         (gst_element_provides_clock), (gst_element_is_indexable),
17131         (gst_element_is_locked_state), (gst_element_change_state),
17132         (gst_element_set_bus_func):
17133         Small cleanups.
17134
17135         * gst/gstpipeline.c: (gst_pipeline_class_init),
17136         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
17137         The pipeline provides a bus.
17138
17139 2005-09-28  Johan Dahlin  <johan@gnome.org>
17140
17141         * gst/gstmessage.c (gst_message_parse_state_changed): Use
17142         gst_structure_get_enum instead of gst_structure_get_int
17143
17144         * gst/gststructure.c (gst_structure_get_enum): Impl.
17145
17146         * gst/gststructure.h (gst_structure_get_enum): Add
17147
17148         * docs/gst/gstreamer-sections.txt: Ditto
17149
17150         * gst/gstmessage.c (gst_message_new_state_changed): Use
17151         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
17152         which does introspection.
17153         Reviewed by Christian Schaller
17154
17155 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
17156
17157         * gst/gstinfo.c: (gst_debug_log_default):
17158           don't do dummy g_strdup()s
17159         * libs/gst/controller/gstcontroller.c:
17160         (on_object_controlled_property_changed),
17161         (gst_controlled_property_new), (gst_controller_new_valist),
17162         (gst_controller_new_list),
17163         (gst_controller_remove_properties_valist), (gst_controller_set),
17164         (gst_controller_get), (gst_controller_sync_values),
17165         (gst_controller_get_value_array), (_gst_controller_class_init),
17166         (gst_controller_get_type):
17167         * libs/gst/controller/gstcontroller.h:
17168         * libs/gst/controller/gstinterpolation.c:
17169         (gst_controlled_property_find_timed_value_node):
17170           convert // to /**/ comments
17171
17172 2005-09-28  Wim Taymans  <wim@fluendo.com>
17173
17174         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
17175         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
17176         (gst_bus_sync_signal_handler):
17177         * gst/gstbus.h:
17178         Added async-message and sync-message signals to the bus.
17179         Added helper BusFunc to emit signals for all posted messages.
17180
17181         * gst/gstmessage.c: (gst_message_type_get_name),
17182         (gst_message_type_to_quark), (gst_message_get_type):
17183         * gst/gstmessage.h:
17184         Register quarks for message names.
17185
17186 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
17187
17188         * docs/libs/gstreamer-libs-sections.txt:
17189         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
17190         (gst_controller_new_list):
17191         * libs/gst/controller/gstcontroller.h:
17192           added another constructor for language bindings
17193
17194 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17195
17196         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17197           add another check
17198         * gst/gstbus.c:
17199           add some doc
17200         * gst/gstinfo.c: (_gst_debug_init):
17201           slightly more readable color for refcount debugging
17202
17203 2005-09-28  Wim Taymans  <wim@fluendo.com>
17204
17205         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
17206         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
17207         (find_element), (gst_bin_sort_iterator_next),
17208         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17209         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17210         (gst_bin_change_state), (gst_bin_dispose):
17211         Small doc fixes. get_clock -> provide_clock.
17212
17213         * gst/gstelement.c: (gst_element_class_init),
17214         (gst_element_provides_clock), (gst_element_provide_clock),
17215         (gst_element_get_clock), (gst_element_commit_state),
17216         (gst_element_lost_state):
17217         * gst/gstelement.h:
17218         Make get/set_clock() symetric. Add provide_clock vmethod since
17219         that is actually what this function does.
17220
17221         * gst/gstpipeline.c: (gst_pipeline_class_init),
17222         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
17223         (gst_pipeline_get_clock):
17224         get_clock -> provide_clock.
17225
17226 2005-09-28  Andy Wingo  <wingo@pobox.com>
17227
17228         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
17229         lieu of real docs...
17230
17231         * gst/elements/gstfdsrc.c: Cleaned up a bit.
17232
17233 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
17234
17235         * gst/elements/gstcapsfilter.c:
17236         * gst/elements/gstfakesink.c:
17237         * gst/elements/gstfakesrc.c:
17238         * gst/elements/gstfdsink.c:
17239         * gst/elements/gstfdsrc.c:
17240         * gst/elements/gstfilesink.c:
17241         * gst/elements/gstfilesrc.c:
17242         * gst/elements/gstidentity.c:
17243         * gst/elements/gsttee.c:
17244         * gst/elements/gsttypefindelement.c:
17245           Make element details static.
17246
17247 2005-09-28  Wim Taymans  <wim@fluendo.com>
17248
17249         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
17250         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17251         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17252         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17253         (gst_bin_change_state), (gst_bin_dispose):
17254         Some documentation updates.
17255         Clean up dispose handlers.
17256
17257         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
17258         * gst/gstpad.c: (gst_pad_dispose):
17259         Clean up dispose handler.
17260
17261         * gst/gstpipeline.c: (gst_pipeline_change_state):
17262         Removed spurious UNLOCK.
17263
17264 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
17265
17266         * docs/gst/gstreamer-sections.txt:
17267         * gst/base/gstbasesrc.h:
17268         * gst/gstelement.h:
17269         * gst/gstevent.h:
17270         * gst/gstobject.h:
17271         * gst/gstpad.h:
17272         * gst/gstpipeline.c:
17273         * gst/gstpipeline.h:
17274         * gst/gstutils.h:
17275         * gst/gstxml.h:
17276           added two new functions to the docs
17277                 documents all undocumented GstXXXFlags
17278                 completed some incomplete docs 
17279
17280 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17281
17282         * gst/gstbin.c: (gst_bin_dispose):
17283         * gst/gstelement.c: (gst_element_dispose):
17284           remove now useless and leaky resurrection code in dispose
17285         * gst/base/gstbasesrc.c: (gst_base_src_init):
17286         * gst/gstelementfactory.c: (gst_element_factory_create):
17287         * gst/gstobject.c: (gst_object_set_parent):
17288           add some debugging
17289
17290 2005-09-27  Wim Taymans  <wim@fluendo.com>
17291
17292         * docs/design/part-TODO.txt:
17293         Update TODO.
17294
17295         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
17296         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17297         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17298         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17299         (gst_bin_change_state):
17300         * gst/gstelement.h:
17301         Remove element variable, we keep element info in the iterator now.
17302
17303 2005-09-27  Andy Wingo  <wingo@pobox.com>
17304
17305         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
17306         values.
17307
17308 2005-09-27  Wim Taymans  <wim@fluendo.com>
17309
17310         * check/gst/gstbin.c: (GST_START_TEST):
17311         Enable check that works now.
17312
17313         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
17314         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17315         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17316         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17317         (gst_bin_change_state):
17318         * gst/gstbin.h:
17319         Redid the state change algorithm using a topological sort algo.
17320         Handles all cases correctly.
17321         Exposed iterator for state change order.
17322
17323         * gst/gstelement.h:
17324         Temp storage for state changes. Need to get rid of this soon.
17325
17326 2005-09-27  Wim Taymans  <wim@fluendo.com>
17327
17328         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
17329         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
17330         (link_fold_func), (gst_pad_proxy_setcaps):
17331         Leak fixes, the fold functions need to unref the passed object and
17332         _get_parent_*() returns ref to parent.
17333
17334 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
17335
17336         * check/gst/gstbuffer.c: (test_make_writable):
17337           Plug leak in test case and fix 'make check-valgrind'
17338
17339 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
17340
17341         * gst/gstbuffer.c: (gst_subbuffer_init):
17342           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
17343           works correctly in all circumstances (we could have just copied
17344           the parent buffer's readonly flag, but conceptually it seems
17345           cleaner to mark all subbuffers as read-only). (based on patch
17346           by Alessandro Decina, #314710).
17347         
17348         * check/gst/gstbuffer.c: (create_read_only_buffer),
17349         (test_make_writable), (test_subbuffer_make_writable),
17350         (gst_test_suite):
17351           Add some tests for gst_buffer_make_writable().
17352
17353 2005-09-27  Wim Taymans  <wim@fluendo.com>
17354
17355         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
17356         use gst_object_has_ancestor().
17357
17358         * gst/gstobject.c: (gst_object_has_ancestor):
17359         * gst/gstobject.h:
17360         gst_object_has_ancestor() copied from gstbin.c as it is a
17361         useful function.
17362
17363         * tests/instantiate/create.c: (create_all_elements):
17364         * tests/lat.c: (handoff_src), (handoff_sink):
17365         * tests/sched/runxml.c: (main):
17366         * tests/seeking/seeking1.c: (main):
17367         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
17368         (main):
17369         Fix compilation of some tests.
17370
17371 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
17372
17373         * gst/gsterror.h:
17374           Remove comment. GST_TYPE_G_ERROR is here to stay,
17375           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
17376           (#316961, #300610).
17377
17378 2005-09-26  Wim Taymans  <wim@fluendo.com>
17379
17380         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
17381         Added check that shows error in state change order.
17382
17383 2005-09-26  Wim Taymans  <wim@fluendo.com>
17384
17385         * gst/gstbin.c: (gst_bin_change_state):
17386         Make state change function use 3 queues again, we were
17387         adding elements in the wrong order.
17388
17389         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
17390         Some debug info,
17391
17392         * gst/gstpad.c: (gst_pad_dispose):
17393         Added some debug info first.
17394
17395 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
17396
17397         * docs/design/draft-push-pull.txt:
17398         * docs/design/part-events.txt:
17399         * docs/design/part-overview.txt:
17400         * docs/design/part-scheduling.txt:
17401           Replace all _pull_region() with _pull_range()
17402           
17403 2005-09-26  Andy Wingo  <wingo@pobox.com>
17404
17405         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
17406
17407         * check/gst-libs/controller.c: Update for controller api change.
17408
17409         * configure.ac: 
17410         * tests/Makefile.am:
17411         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
17412         over by GLib bug 118439.
17413         
17414         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
17415         routines to a function.
17416
17417         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
17418
17419         * libs/gst/controller/gsthelper.c:
17420         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
17421         (gst_object_sync_values): Renamed from sink_values. Ugh.
17422
17423         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
17424
17425         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
17426         Renamed from controller_key, as it is exported.
17427
17428         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
17429
17430 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
17431
17432         * gst/Makefile.am:
17433         * gst/gst.h:
17434         * gst/gstpad.h:
17435         * gst/gstpadtemplate.h:
17436         * gst/gstquery.c:
17437         * gst/gstquery.h:
17438         * gst/gstqueryutils.c:
17439         * gst/gstqueryutils.h:
17440           remove queryutils headers after moving the two used functions
17441           to gstquery.  also fixes build problem for gstsiddec
17442
17443 2005-09-26  Michael Smith <msmith@fluendo.com>
17444
17445         * tools/gst-launch.1.in:
17446         Correct documentation in manpage of debug syntax
17447
17448 2005-09-26  Wim Taymans  <wim@fluendo.com>
17449
17450         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
17451         (gst_base_src_is_seekable), (gst_base_src_change_state):
17452         Some more debugging info.
17453
17454 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
17455
17456         * docs/gst/gstreamer-sections.txt:
17457         * gst/base/gstbasetransform.h:
17458         * gst/gstindex.h:
17459           added more docs
17460
17461 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
17462
17463         * docs/gst/.cvsignore:
17464         * docs/gst/tmpl/.cvsignore:
17465         * docs/gst/tmpl/gstpipeline.sgml:
17466         * docs/gst/tmpl/gstplugin.sgml:
17467         * gst/gstpipeline.c:
17468         * gst/gstplugin.c:
17469         * gst/gstplugin.h:
17470           inlined the last two docs files
17471           removed the tmpl directory from cvs (no more conflicts here!)
17472
17473 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
17474
17475         * docs/gst/gstreamer-sections.txt:
17476         * docs/gst/tmpl/.cvsignore:
17477         * docs/gst/tmpl/gstpad.sgml:
17478         * docs/gst/tmpl/gstpadtemplate.sgml:
17479         * gst/Makefile.am:
17480         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
17481         (gst_pad_finalize), (gst_pad_set_pad_template):
17482         * gst/gstpad.h:
17483         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
17484         (gst_pad_template_class_init), (gst_pad_template_init),
17485         (gst_pad_template_dispose), (name_is_valid),
17486         (gst_static_pad_template_get), (gst_pad_template_new),
17487         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
17488         (gst_pad_template_pad_created):
17489         * gst/gstpadtemplate.h:
17490           inlined two more docs
17491           factored gstpadtemplate out of gstpad
17492
17493 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
17494
17495         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
17496         (test_children_state_change_order_semi_sink):
17497           Fix test case: we can't rely on a fixed state change order when
17498           going from READY => PAUSED because the sink might commit its 
17499           new state first when the first buffer created by the source 
17500           reaches the sink before the source has finished its change state.
17501           (Test case still fails at times, see #316856, comment 5 onwards)
17502
17503 2005-09-24  Wim Taymans  <wim@fluendo.com>
17504
17505         * docs/design/part-events.txt:
17506         * docs/design/part-gstbus.txt:
17507         * docs/design/part-gstpipeline.txt:
17508         * docs/design/part-messages.txt:
17509         * docs/design/part-overview.txt:
17510         * docs/design/part-segments.txt:
17511         * gst/gstbin.c:
17512         * gst/gstbuffer.c:
17513         * gst/gstclock.c:
17514         * gst/gstelement.c:
17515         * gst/gstevent.c:
17516         * gst/gstfilter.c:
17517         * gst/gstiterator.c:
17518         Various documentation updates.
17519
17520 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17521
17522         * gst/gstclock.h:
17523           Well, that's embarassing.  Luckily we weren't using
17524           GST_CLOCK_DIFF anywhere.
17525
17526 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17527
17528         * common/gtk-doc.mak:
17529           don't fail on building XML, FC4 slave shows a bunch of doc
17530           missing bits that I don't get
17531         * gst/gstpad.c:
17532         * gst/gstpipeline.c:
17533         * gst/gststructure.c:
17534           some doc updates
17535
17536 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
17537
17538         * docs/design/part-gstbin.txt:
17539         * docs/design/part-gstbus.txt:
17540         * gst/gstbus.c:
17541           Add blurb about how the bus goes into flushing mode and
17542           drops all messages when its bin goes from READY into NULL 
17543           state.
17544
17545 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17546
17547         * docs/gst/gstreamer-sections.txt:
17548         * gst/gststructure.c: (gst_structure_get_clock_time):
17549         * gst/gststructure.h:
17550           add a method to get a GstClockTime out of a structure
17551
17552 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
17553
17554         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
17555         (test_children_state_change_order_semi_sink), (gst_bin_suite):
17556           Added test to check state change order in bins (can still be made
17557           to fail here under heavy disk load; bails out with 'Push on pad
17558           fakesink:sink0, but it was not activated in push mode').
17559
17560         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
17561           Fix state change order when there is only a semi sink (#316856)
17562
17563         * gst/gstbus.c: (gst_bus_class_init):
17564           Use _class_peek_parent(), not _class_ref(); fix docs to say
17565           'default main context' instead of 'mainloop' where that is
17566           what's meant.
17567
17568         * gst/gstelement.c: (gst_element_commit_state),
17569         (gst_element_set_state):
17570           Fix typos in debug messages
17571
17572 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17573
17574         * docs/README:
17575         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
17576         * gst/gstpluginfeature.c:
17577         * gst/gstutils.c:
17578           various doc updates
17579         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17580           change an assert into an error until it gets fixed properly
17581
17582 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
17583
17584         * docs/gst/gstreamer-sections.txt:
17585         * docs/gst/tmpl/.cvsignore:
17586         * docs/gst/tmpl/gstelement.sgml:
17587         * docs/gst/tmpl/gstinfo.sgml:
17588         * docs/gst/tmpl/gstobject.sgml:
17589         * gst/gstelement.c:
17590         * gst/gstelement.h:
17591         * gst/gstinfo.c:
17592         * gst/gstinfo.h:
17593         * gst/gstobject.c: (gst_object_class_init):
17594         * gst/gstobject.h:
17595           inlined 3 more biiiig doc files and added some missing docs on the fly
17596
17597 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17598
17599         * check/gst/.cvsignore:
17600         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
17601         * gst/gstregistryxml.c: (load_plugin),
17602         (gst_registry_xml_save_plugin):
17603           put back source in registry.  add checks for find_plugin.
17604         * testsuite/states/bin.c: (assert_state), (empty_bin),
17605         (test_adding_one_element), (main):
17606         * testsuite/states/locked.c: (main):
17607           some compile/run fixes
17608
17609 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17610
17611         * check/gst/gstvalue.c: (GST_START_TEST):
17612           fix leaks in the test itself
17613
17614 2005-09-22  Wim Taymans  <wim@fluendo.com>
17615
17616         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17617         (gst_base_sink_send_event), (gst_base_sink_peer_query),
17618         (gst_base_sink_query):
17619         Prepare for more accurate position reporting and query
17620         handling.
17621
17622         * gst/gstelement.c: (gst_element_send_event),
17623         (gst_element_set_state):
17624         Add some comment.
17625
17626 2005-09-22  Wim Taymans  <wim@fluendo.com>
17627
17628         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
17629         (gst_query_parse_segment):
17630         * gst/gstquery.h:
17631         More documentation.
17632         Add segment query for future use.
17633
17634 2005-09-22  Wim Taymans  <wim@fluendo.com>
17635
17636         * gst/gstbin.c: (gst_bin_add_func):
17637         Some more debug info.
17638
17639         * gst/gstelement.c: (gst_element_send_event):
17640         Simplify send_event
17641
17642         * gst/gstelement.h:
17643         Don't know how flags got broken.
17644
17645         * gst/gstquery.h:
17646         Added new query.
17647
17648 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
17649
17650         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
17651           Add simplistic test suite for GST_TYPE_DATE serialisation and
17652           deserialisation.
17653
17654 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
17655
17656         * docs/gst/gstreamer-sections.txt:
17657         * gst/gststructure.c: (gst_structure_set_valist),
17658         (gst_structure_get_date):
17659         * gst/gststructure.h:
17660         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
17661         (gst_date_copy), (gst_value_compare_date),
17662         (gst_value_serialize_date), (gst_value_deserialize_date),
17663         (gst_value_transform_date_string),
17664         (gst_value_transform_string_date), (_gst_value_initialize):
17665         * gst/gstvalue.h:
17666           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
17667           bunch of utility functions along with a hack that checks that
17668           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
17669           is required. Part of the grand scheme in #170777.
17670
17671 2005-09-22  Andy Wingo  <wingo@pobox.com>
17672
17673         * gst/gstconfig.h.in: Psych out gtk-doc.
17674
17675         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
17676
17677         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
17678
17679         * tools/gst-inspect.c (print_element_list): Plug some
17680         inconsequential leaks.
17681
17682         * gst/gstregistry.c (gst_registry_get_default): Doc.
17683
17684         * check/gst/gstplugin.c: 
17685         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
17686         * gst/gstelementfactory.c (gst_element_factory_create): 
17687         * gst/gstindexfactory.c (gst_index_factory_create): Update for
17688         refcount changes.
17689
17690         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
17691         (gst_plugin_feature_load): Doc, don't eat refs.
17692
17693         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
17694         (gst_plugin_list_free): Doc.
17695         (gst_plugin_load_file): Doc updates.
17696
17697         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
17698         accessors returning refcounted objects, return a ref.
17699
17700         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
17701         accessor for caps. IDEMPOTENCE. Oh yes.
17702
17703 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
17704
17705         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17706
17707         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
17708         (_gst_debug_register_funcptr):
17709           Add mutex to serialise access to the hash table with
17710           the function pointer => function name string mapping;
17711           make that hash table static scope (#316809).
17712
17713         * gst/registries/.cvsignore:
17714           Remove left-over file.
17715
17716 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
17717
17718         * docs/pwg/appendix-porting.xml:
17719           And something about newsegment events and caps-on-buffers to
17720           the porting guide (feel free to improve).
17721
17722 2005-09-21  Andy Wingo  <wingo@pobox.com>
17723
17724         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
17725         data and event probes on the same pad.
17726         (test_buffer_probe_once): Test that removing probes from within
17727         the probe functions works.
17728
17729 2005-09-21  Andy Wingo  <wingo@pobox.com>
17730
17731         * check/gst/gstutils.c: New file.
17732         (test_buffer_probe_n_times): A simple buffer probe test. More to
17733         come, foolios.
17734
17735         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
17736         have-data::buffer, not have-data.
17737         (gst_pad_add_event_probe): Likewise for have-data::event.
17738         (gst_pad_add_data_probe): More docs. The part about 'resolving the
17739         peer' isn't quite right yet though.
17740         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
17741         (gst_pad_remove_data_probe): Change to take the guint handler_id
17742         as their arg, not the function+data, which is more glib-like.
17743
17744         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
17745         the signal emission to indicate if the data is a buffer or an
17746         event.
17747         (gst_pad_get_type): Initialize buffer and event quarks.
17748         (gst_pad_class_init): have-data is now a detailed signal, yes it
17749         is.
17750
17751 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
17752
17753         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
17754         * gst/gstutils.c: (gst_util_set_value_from_string),
17755         (gst_util_set_object_arg):
17756           Don't put functional code in g_return_if_fail() or
17757           g_return_val_if_fail() statements, otherwise things will 
17758           break when G_DISABLE_CHECKS is defined during compilation.
17759
17760 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
17761
17762         * docs/gst/tmpl/.cvsignore:
17763         * docs/gst/tmpl/gstvalue.sgml:
17764         * gst/gstvalue.c:
17765         * gst/gstvalue.h:
17766           inlied another one and added  some obvious docs
17767
17768 2005-09-21  Wim Taymans  <wim@fluendo.com>
17769
17770         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17771         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
17772         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
17773         (gst_fdsrc_get_property), (gst_fdsrc_create):
17774         * gst/elements/gstfdsrc.h:
17775         Properly implement fdsrc. Removed signal and timeout,
17776         better implemented somewhere else.
17777
17778 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
17779
17780         * docs/gst/tmpl/.cvsignore:
17781         * docs/gst/tmpl/gstimplementsinterface.sgml:
17782         * gst/gstinterface.c:
17783           inlined more docs
17784
17785 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
17786
17787         * docs/gst/gstreamer-sections.txt:
17788         * docs/gst/tmpl/.cvsignore:
17789         * docs/gst/tmpl/gstenumtypes.sgml:
17790           remove obsolete doc file
17791
17792 2005-09-21  David Schleef  <ds@schleef.org>
17793
17794         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
17795         little beer, fix a little leak.
17796
17797 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
17798
17799         * docs/gst/gstreamer-docs.sgml:
17800         * docs/gst/gstreamer-sections.txt:
17801         * docs/gst/tmpl/.cvsignore:
17802         * gst/Makefile.am:
17803         * gst/gst.h:
17804         * gst/gstbin.c:
17805         * gst/gstelement.h:
17806         * gst/gstindex.c: (gst_index_class_init):
17807         * gst/gstindex.h:
17808         * gst/gstindexfactory.c: (gst_index_factory_get_type),
17809         (gst_index_factory_class_init), (gst_index_factory_init),
17810         (gst_index_factory_finalize), (gst_index_factory_new),
17811         (gst_index_factory_destroy), (gst_index_factory_find),
17812         (gst_index_factory_create), (gst_index_factory_make):
17813         * gst/gstindexfactory.h:
17814         * gst/gstpluginfeature.c:
17815         * gst/gstpluginfeature.h:
17816         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17817           more docs inlined, splitted gstindex.{c,h}
17818
17819 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17820
17821         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17822           fix a leak
17823
17824 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
17825
17826         * gst/elements/gstfilesink.c: (gst_file_sink_init):
17827           Set sync to FALSE by default.
17828
17829 2005-09-20  Wim Taymans  <wim@fluendo.com>
17830
17831         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17832         (gst_base_sink_init):
17833         Make sync property settable from subclass.
17834
17835         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
17836         (gst_fake_sink_change_state):
17837         Set sync to FALSE by default.
17838
17839 2005-09-20  Wim Taymans  <wim@fluendo.com>
17840
17841         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
17842         * tools/gst-launch.c: (main):
17843         The timeout handler should have lower priority than the source
17844         so we don't timeout before popping a message with 0 timeout.
17845         Dump error messages after failed state change.
17846
17847 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
17848
17849         * tools/gst-inspect.c: (print_element_properties_info):
17850           Fix two typos.
17851
17852 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17853
17854         * check/gst/gstevent.c:
17855         * gst/elements/gstfakesink.c:
17856         * gst/elements/gstfakesink.h:
17857           remove the sync property from fakesink.
17858           has the side effect of setting sync TRUE
17859           for fakesink, which is a change.  Anyone who knows how
17860           to fix this nicely in a GObject-y way, feel free.
17861
17862 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
17863
17864         * docs/gst/gstreamer-docs.sgml:
17865           remove probe refsection
17866
17867 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
17868
17869         * check/Makefile.am:
17870           disable valgrinding the controller test again
17871         * docs/gst/gstreamer-sections.txt:
17872           update for api-changes
17873
17874 2005-09-20  Wim Taymans  <wim@fluendo.com>
17875
17876         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17877         (gst_base_sink_set_property), (gst_base_sink_get_property),
17878         (gst_base_sink_do_sync):
17879         * gst/base/gstbasesink.h:
17880         Added sync property to basesink to disable clock sync.
17881
17882 2005-09-20  Andy Wingo  <wingo@pobox.com>
17883
17884         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
17885         eating the caller's refcount.
17886
17887         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
17888         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
17889         refcount.
17890
17891         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
17892         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
17893         of GLib 2.8 public, so we can know which refcount to check in
17894         tests.
17895
17896         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
17897         (gst_object_init): Only set the gst refcount if we're going ahead
17898         with the refcount hack.
17899
17900 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
17901
17902         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
17903         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17904           more leaks plumbed, added more debug-logging
17905         * gst/gstmacros.h:
17906           whitespace fix
17907
17908 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17909
17910         * gst/gstmessage.c:
17911           remove include of gstmemchunk.h
17912
17913 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17914
17915         * gst/gstclock.c: (_gst_clock_id_free):
17916           Commit from the Political Party For More Atomic CVS Commits,
17917           so that people don't waste too much of their day fishing
17918           out obvious leaks out of massive commits.
17919           Oh, and fix a pretty damn obvious leak in the memchunk
17920           removal code.
17921
17922 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
17923
17924         * check/Makefile.am:
17925         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
17926           plug mem-leak, re-add to valgrindable tests
17927
17928 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17929
17930         * gst/gstplugin.h:
17931           unbreak the build for those who have chronic arthritis
17932           and typing "make check" is just too taxing on the hands
17933
17934 2005-09-20  Andy Wingo  <wingo@pobox.com>
17935
17936         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
17937         really want it out, you should fix plugins at the same time.
17938
17939 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
17940
17941         * configure.ac:
17942         * docs/gst/gstreamer-sections.txt:
17943         * gst/gstobject.c:
17944           added missing symbols to api docs
17945           disable ref-count hack if we have glib >= 2.8
17946
17947 2005-09-19  David Schleef  <ds@schleef.org>
17948
17949         * docs/gst/Makefile.am: Ignore a few more internal headers
17950         * docs/gst/gstreamer-docs.sgml: Remove old sections
17951         * docs/gst/gstreamer-sections.txt: Remove old sections
17952         * docs/gst/tmpl/gstobject.sgml: update
17953         * docs/gst/tmpl/gstplugin.sgml: update
17954         * docs/gst/tmpl/gstpluginfeature.sgml: update
17955         * docs/random/ds/0.9-suggested-changes: update.
17956         * gst/Makefile.am: remove memchunk and trashstack, since they're
17957           not used.
17958         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
17959         * gst/gst.h: don't include some headers
17960         * gst/gstchildproxy.c: add gstmarshal.h
17961         * gst/gstclock.c: Don't use memchunks
17962         * gst/gstminiobject.c: Add some docs
17963         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
17964         * gst/gstobject.h: same
17965         * gst/gstplugin.c: include gstmacros.h
17966         * gst/gstplugin.h: don't include gstmacros.h, since it's private
17967         * gst/gstquery.c: don't use memchunks
17968         * gst/gstregistry.c: rename gst_registry_deinit()
17969         * gst/gstregistry.h: same
17970
17971 2005-09-19  David Schleef  <ds@schleef.org>
17972
17973         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
17974         * docs/libs/gstreamer-libs-sections.txt:
17975         * docs/libs/tmpl/gstgetbits.sgml:
17976         * docs/libs/tmpl/gstputbits.sgml:
17977
17978 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
17979
17980         * win32/gstenumtypes.c:
17981         * win32/gstenumtypes.h:
17982           Update.
17983
17984 2005-09-19  Wim Taymans  <wim@fluendo.com>
17985
17986         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
17987         Automatically PAUSE and RESUME a pipeline when a flushing seek
17988         is performed.
17989
17990 2005-09-19  Andy Wingo  <wingo@pobox.com>
17991
17992         * gst/gstregistry.h: Spacing fixen.
17993
17994 2005-09-19  Wim Taymans  <wim@fluendo.com>
17995
17996         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
17997         Handle state change failure more correctly.
17998
17999 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
18000
18001         * check/Makefile.am:
18002         * check/pipelines/cleanup.c: (run_pipeline):
18003         * check/pipelines/simple_launch_lines.c: (run_pipeline),
18004         (GST_START_TEST):
18005           enable cleanup again after fixing the leak
18006         * docs/README:
18007           some more info on docs
18008
18009 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
18010
18011         * check/Makefile.am:
18012           re-enable tests now that leaks are plugged
18013         * check/gst/gst.c:
18014         * check/gst/gstbin.c:
18015         * check/gst/gstpipeline.c:
18016           add some more tests while fixing leaks
18017         * common/check.mak:
18018           make sure binaries are uptodate when valgrinding/gdbing
18019         * gst/gst.c:
18020         * gst/gstelementfactory.c:
18021           remove a ref too many, and add a FIXME for when we get
18022           round to disposing of classes
18023         * gst/gstplugin.c:
18024           fix the refcounting when loading a plugin from a file and
18025           the code pretends that the pointer is the same even though
18026           of course it can change
18027         * gst/gstpluginfeature.c:
18028           unref plugins marked cached (a bit confusing as a name)
18029           as the docs state should be done
18030           various doc additions to explain refcounting
18031         * gst/gstregistry.c:
18032         * gst/gstregistryxml.c:
18033           debugging
18034
18035 2005-09-19  Wim Taymans  <wim@fluendo.com>
18036
18037         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
18038         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18039         (send_messages), (GST_START_TEST), (gstbus_suite):
18040         * check/gst/gstpipeline.c: (GST_START_TEST):
18041         * check/pipelines/cleanup.c: (run_pipeline):
18042         * check/pipelines/simple_launch_lines.c: (run_pipeline),
18043         (GST_START_TEST):
18044         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
18045         (gst_bus_source_check), (gst_bus_source_dispatch),
18046         (gst_bus_create_watch), (gst_bus_add_watch_full),
18047         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
18048         * gst/gstbus.h:
18049         * tools/gst-launch.c: (event_loop):
18050         * tools/gst-md5sum.c: (event_loop):
18051         GstBusHandler -> GstBusFunc, return value has the same meaning as
18052         any other GSource (FALSE == remove source).
18053         _add_watch() and _add_watch_full() now take a MessageType mask to
18054         only handle specific types of messages.
18055         _poll() returns the GstMessage instead of the message type to avoid
18056         race conditions.
18057         _have_pending() takes a MessageType mask now too.
18058         Added testsuite for multiple bus watches.
18059         Fix testsuites and applications for new bus API.
18060
18061 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
18062
18063         * check/Makefile.am:
18064           mark a bunch of the tests as to fix until we fix them
18065
18066 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
18067
18068         * common/check.mak:
18069           use GST_PLUGIN settings for valgrind tests as well, so we're
18070           valgrinding the correct thing
18071         * gst/gst.c: (init_post):
18072           plug another leak
18073
18074 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
18075
18076         * gst/gst.c: (init_post), (gst_deinit):
18077         * gst/gstelementfactory.c: (gst_element_factory_class_init),
18078         (gst_element_factory_finalize), (gst_element_factory_cleanup):
18079         * gst/gstindex.c: (gst_index_factory_class_init),
18080         (gst_index_factory_finalize):
18081         * gst/gstobject.c: (gst_object_dispose):
18082         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
18083         (gst_plugin_load_file), (gst_plugin_desc_free):
18084         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
18085         (gst_plugin_feature_finalize):
18086         * gst/gstregistry.c: (gst_registry_class_init),
18087         (gst_registry_init), (gst_registry_finalize),
18088         (gst_registry_get_default), (gst_registry_deinit):
18089         * gst/gstregistry.h:
18090         * gst/gstregistryxml.c: (load_feature), (load_plugin):
18091           various cleanups and memleak plugging.  make valgrind is happy now.
18092
18093 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
18094
18095         * common/check.mak:
18096           add a check-valgrind target
18097
18098 2005-09-18  David Schleef  <ds@schleef.org>
18099
18100         * tools/gst-inspect.c: Revert the GOption code.
18101
18102 2005-09-17  David Schleef  <ds@schleef.org>
18103
18104         * check/Makefile.am: Fix environment variables.
18105         * check/gst/gstplugin.c: Fix for API changes.
18106         * tools/gst-inspect.c: Fix for API changes.
18107         * tools/gst-xmlinspect.c: Fix for API changes.
18108         * gst/gstelementfactory.c:
18109         * gst/gstplugin.c:
18110         * gst/gstplugin.h:
18111         * gst/gstpluginfeature.c:
18112         * gst/gstpluginfeature.h:
18113         * gst/gstregistry.c:
18114         * gst/gstregistry.h:
18115         * gst/gstregistryxml.c:
18116         * gst/gsttypefind.c:
18117         * gst/gsttypefindfactory.c:
18118         * gst/indexers/gstfileindex.c:
18119         * gst/indexers/gstmemindex.c:
18120         * gst/schedulers/Makefile.am:
18121           Change registry to keep track of both plugins and features,
18122           removing the feature tracking from plugins themselves.
18123
18124 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18125
18126         * check/Makefile.am:
18127         * tools/gst-register.1.in:
18128           remove gst-register
18129
18130 2005-09-15  David Schleef  <ds@schleef.org>
18131
18132         * check/gst/gstplugin.c:
18133         * gst/gstelementfactory.c:
18134         * gst/gstplugin.c:
18135         * gst/gstpluginfeature.c:
18136         * gst/gstregistry.c:
18137           Getting tired of debugging.  Disabled all the unreffing of
18138           plugins and features, which fixes the segfaults, but of
18139           course leaks like crazy.  At least playbin works.
18140
18141 2005-09-15  David Schleef  <ds@schleef.org>
18142
18143         * check/gst/gstplugin.c: (register_check_elements),
18144         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
18145         More testing
18146         * gst/elements/gsttypefindelement.c: Fix refcounting.
18147         * gst/gsttypefind.c:
18148         * gst/gsttypefindfactory.c:
18149         * gst/gsttypefindfactory.h:
18150
18151 2005-09-15  David Schleef  <ds@schleef.org>
18152
18153         * gst/gstindex.c: get refcounting correct.
18154         * gst/gstregistry.c: Handle the case where a feature/plugin is
18155           not found.
18156
18157 2005-09-15  David Schleef  <ds@schleef.org>
18158
18159         * check/Makefile.am:
18160         * check/gst/gstplugin.c: Add test
18161         * gst/gstplugin.c: Fix problems noticed by testsuite
18162         * gst/gstplugin.h:
18163         * gst/gstregistry.c: 
18164         * gst/gstregistry.h:
18165
18166 2005-09-15  David Schleef  <ds@schleef.org>
18167
18168         * gst/gstplugin.c: Implement semi-decent recounting and locking
18169           in plugins and plugin features.
18170         * gst/gstplugin.h:
18171         * gst/gstpluginfeature.c:
18172         * gst/gstpluginfeature.h:
18173         * gst/gstregistry.c:
18174
18175 2005-09-15  Michael Smith <msmith@fluendo.com>
18176
18177         * gst/gstregistry.c: (gst_registry_get_feature_list):
18178           Implement this. Makes oggdemux work; decodebin still broken.
18179
18180 2005-09-14  David Schleef  <ds@schleef.org>
18181
18182         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
18183           #316076)
18184         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
18185         * gst/check/Makefile.am:
18186         * libs/gst/controller/Makefile.am:
18187         * libs/gst/dataprotocol/Makefile.am:
18188
18189 2005-09-14  David Schleef  <ds@schleef.org>
18190
18191         * configure.ac: Remove getbits library.  Nothing uses it, and
18192           it should be in something like liboil if someone did want
18193           to use it.
18194         * libs/gst/Makefile.am:
18195         * libs/gst/getbits/Makefile.am:
18196         * libs/gst/getbits/gbtest.c:
18197         * libs/gst/getbits/getbits.c:
18198         * libs/gst/getbits/getbits.h:
18199         * libs/gst/getbits/gstgetbits_generic.c:
18200         * libs/gst/getbits/gstgetbits_i386.s:
18201         * libs/gst/getbits/gstgetbits_inl.h:
18202
18203 2005-09-14  David Schleef  <ds@schleef.org>
18204
18205         * gst/Makefile.am: Dist glib-compat.h
18206
18207 2005-09-14  David Schleef  <ds@schleef.org>
18208
18209         * configure.ac: Remove gst/registries, since it's no longer used.
18210         * gst/registries/Makefile.am:
18211         * gst/registries/gstlibxmlregistry.c:
18212         * gst/registries/gstlibxmlregistry.h:
18213         * gst/registries/gstxmlregistry.c:
18214         * gst/registries/gstxmlregistry.h:
18215         * gst/registries/registrytest.c:
18216
18217 2005-09-14  David Schleef  <ds@schleef.org>
18218
18219         * gst/glib-compat.h:
18220         * gst/gstregistryxml.c:
18221           Convergence is near.  Seriously.
18222
18223 2005-09-14  David Schleef  <ds@schleef.org>
18224
18225         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18226         * gst/glib-compat.h:
18227           Attempt #4 to appease the buildbots.
18228
18229 2005-09-14  David Schleef  <ds@schleef.org>
18230
18231         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18232           Attempt #3.
18233
18234 2005-09-14  David Schleef  <ds@schleef.org>
18235
18236         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18237         Attempt #2.
18238
18239 2005-09-14  David Schleef  <ds@schleef.org>
18240
18241         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
18242           the new functions.
18243
18244 2005-09-14  David Schleef  <ds@schleef.org>
18245
18246         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18247         * gst/glib-compat.h: Add some functions that are in newer versions
18248           of glib than we care to require.
18249         * gst/gstregistryxml.c: Use them.
18250
18251 2005-09-14  David Schleef  <ds@schleef.org>
18252
18253         * po/POTFILES.in: remove gst-register.c
18254
18255 2005-09-14  David Schleef  <ds@schleef.org>
18256
18257         * docs/gst/gstreamer-docs.sgml:
18258         * docs/gst/gstreamer-sections.txt:
18259         * docs/gst/gstreamer.types:
18260         * docs/gst/tmpl/gstelement.sgml:
18261         * docs/gst/tmpl/gstplugin.sgml:
18262         * docs/gst/tmpl/gstpluginfeature.sgml:
18263           Documentation updates for registry changes.
18264
18265 2005-09-14  David Schleef  <ds@schleef.org>
18266
18267         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
18268           because we don't require glib-2.8.
18269
18270 2005-09-14  David Schleef  <ds@schleef.org>
18271
18272         * gst/gstregistryxml.c: Added.  Essentially moved out of the
18273           registries directory.
18274
18275 2005-09-14  David Schleef  <ds@schleef.org>
18276
18277         * check/Makefile.am:
18278         * check/generic/states.c:
18279         * gst/Makefile.am:
18280         * gst/gst.c:
18281         * gst/gst.h:
18282         * gst/gst_private.h:
18283         * gst/gstelementfactory.c:
18284         * gst/gstindex.c:
18285         * gst/gstinfo.c:
18286         * gst/gstplugin.c:
18287         * gst/gstplugin.h:
18288         * gst/gstpluginfeature.c:
18289         * gst/gstpluginfeature.h:
18290         * gst/gstregistry.c:
18291         * gst/gstregistry.h:
18292         * gst/gstregistrypool.c: remove
18293         * gst/gstregistrypool.h: remove
18294         * gst/gsttypefind.c:
18295         * gst/gsttypefindfactory.c:
18296         * gst/gsturi.c:
18297         * tools/Makefile.am:
18298         * tools/gst-compprep.c:
18299         * tools/gst-inspect.c:
18300         * tools/gst-register.c: remove
18301         * tools/gst-xmlinspect.c:
18302           Registry rewrite.  Changes registry from being a file created
18303           by a tool into a simple cache file created automatically by 
18304           libgstreamer.  Removed gst-register (because it's no longer
18305           needed).  Remove registry pools, because we only have one
18306           registry implementation (XML).  Fix up other subsystems as
18307           necessary.
18308
18309 2005-09-13  Michael Smith <msmith@fluendo.com>
18310
18311         * gst/gstconfig.h.in:
18312           Don't Use windows linking attributes for MinGW. Fixes #316157
18313
18314 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18315
18316         * gst/gstutils.c: (set_state_async_thread_func),
18317         (gst_element_set_state_async):
18318           Apparently people think it's better if this function doesn't
18319           try to set the state to whatever state was asked for on the first
18320           call to this function for any object.  Seriously.
18321
18322 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18323
18324         * check/gst/gstpipeline.c: (GST_START_TEST):
18325         * docs/gst/gstreamer-sections.txt:
18326         * gst/gstutils.c: (set_state_async_thread_func),
18327         (gst_element_set_state_async):
18328         * gst/gstutils.h:
18329           add a "gst_element_set_state_async" method that
18330           sets the state and starts a thread to make sure the state
18331           change completes as best as it can
18332
18333 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18334
18335         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18336           codify design+behaviour in testsuite after discussion
18337
18338 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18339
18340         * docs/gst/tmpl/gstelement.sgml:
18341         * docs/manual/appendix-quotes.xml:
18342           add a quote
18343         * gst/gstelement.c: (gst_element_set_state):
18344           add some debug
18345
18346 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
18347
18348         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18349         (gst_base_transform_prepare_output_buf),
18350         (gst_base_transform_handle_buffer):
18351         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
18352         (gst_capsfilter_prepare_buf):
18353           Remove the requirement for sub-classes to call the parent
18354           implementation of prepare_output_buffer with a wrapper function.
18355           
18356         * gst/gsttaglist.h:
18357         * gst/gsttagsetter.h:
18358           Fix #define wrapper
18359
18360 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
18361
18362         * docs/gst/gstreamer-sections.txt:
18363           more doc cleanups
18364
18365 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18366
18367         * docs/gst/gstreamer-sections.txt:
18368         * docs/gst/tmpl/gstelement.sgml:
18369         * docs/gst/tmpl/gstplugin.sgml:
18370         * gst/gstminiobject.c:
18371         * gst/gstvalue.h:
18372           docs now stop throwing warnings
18373
18374 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18375
18376         * docs/gst/gstreamer-sections.txt:
18377         * docs/gst/gstreamer.types:
18378         * docs/gst/tmpl/gstpad.sgml:
18379         * docs/gst/tmpl/gsttypes.sgml:
18380         * gst/base/gstadapter.h:
18381         * gst/base/gstbasesink.h:
18382         * gst/base/gstbasesrc.h:
18383         * gst/gstbin.h:
18384         * gst/gstbuffer.h:
18385         * gst/gstbus.h:
18386         * gst/gstcaps.h:
18387         * gst/gstclock.h:
18388         * gst/gstelement.h:
18389         * gst/gstevent.h:
18390         * gst/gstmessage.h:
18391         * gst/gstpad.h:
18392         * gst/gststructure.c:
18393         * gst/registries/gstlibxmlregistry.h:
18394           various documentation fixes
18395
18396 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18397
18398         * docs/gst/gstreamer-sections.txt:
18399         * docs/gst/tmpl/gstvalue.sgml:
18400           rearrange gstvalue section
18401         * gst/gstutils.c: (gst_element_state_get_name):
18402           NONE -> VOID
18403         * gst/gstvalue.c: (_gst_value_initialize):
18404         * gst/gstvalue.h:
18405           doc updates
18406
18407 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
18408
18409         * check/gst-libs/controller.c:
18410           Header include fix.
18411         * gst/base/gstbasetransform.c:
18412         (gst_base_transform_default_prepare_buf),
18413         (gst_base_transform_handle_buffer):
18414         * gst/base/gstbasetransform.h:
18415           Some more basetransform changes and fixes to enable sub-classes
18416           that modify buffer metadata only.
18417         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
18418         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
18419         (gst_capsfilter_prepare_buf):
18420           If the output pad has fixed allowed caps and input buffers 
18421           don't have any, set the fixed caps on outgoing buffers.
18422
18423 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
18424         * check/elements/identity.c: (GST_START_TEST):
18425           Make the error a little clearer when the test fails because
18426           identity made a copy of the buffer.
18427         * docs/gst/gstreamer-sections.txt:
18428           New symbols in gstbasetransform.h
18429         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18430         (gst_base_transform_init), (gst_base_transform_transform_size),
18431         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18432         (gst_base_transform_default_prepare_buf),
18433         (gst_base_transform_get_unit_size),
18434         (gst_base_transform_buffer_alloc),
18435         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
18436         (gst_base_transform_change_state),
18437         (gst_base_transform_set_passthrough),
18438         (gst_base_transform_set_in_place),
18439         (gst_base_transform_is_in_place):
18440         * gst/base/gstbasetransform.h:
18441           Change BaseTransform to separate in_place operate from same_caps
18442           output. in_place implies that the element can perform the transform
18443           on incoming buffers in-place, even if the caps on the output are
18444           different.
18445           Sub-class elements can now implement special buffer allocation
18446           methods for outgoing buffers if they wish to.
18447           Big documentation addition.
18448         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
18449         * gst/elements/gstelements.c:
18450           Changes for basetransform modifications.
18451         * gst/elements/Makefile.am:
18452         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
18453           Compile fix. Extra debug output.
18454
18455 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18456
18457         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
18458         (gst_pad_suite):
18459           add tests for valid pad naming
18460         * gst/check/gstcheck.c: (gst_check_log_message_func),
18461         (gst_check_log_critical_func):
18462           add ASSERT_WARNING
18463           remove printing of code, it is fragile when the code contains
18464           % and the line number is enough info
18465         * gst/check/gstcheck.h:
18466         * gst/gstpad.c: (gst_pad_template_new):
18467           fix memleaks
18468
18469 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18470
18471         * configure.ac:
18472           say what CHECK flags we use
18473         * docs/libs/gstreamer-libs.types:
18474         * libs/gst/controller/Makefile.am:
18475         * libs/gst/controller/gst-controller.c:
18476         * libs/gst/controller/gst-controller.h:
18477         * libs/gst/controller/gst-helper.c:
18478         * libs/gst/controller/gst-interpolation.c:
18479         * libs/gst/controller/gstcontroller.c:
18480         * libs/gst/controller/gsthelper.c:
18481         * libs/gst/controller/gstinterpolation.c:
18482         * tools/gst-inspect.c: (print_plugin_info):
18483           we don't use dashes in header names
18484
18485 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18486
18487         * check/Makefile.am:
18488         * check/gst/.cvsignore:
18489         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
18490         (gst_pipeline_suite), (main):
18491           adding a test for pipelines and state changes
18492         * gst/gstutils.c: (get_state_func):
18493           add some debugging
18494         * gstreamer.spec.in:
18495           fix up spec file
18496
18497 2005-09-08  Michael Smith <msmith@fluendo.com>
18498
18499         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
18500         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
18501         (gst_file_src_is_seekable), (gst_file_src_get_size),
18502         (gst_file_src_start):
18503         * gst/elements/gstfilesrc.h:
18504           Various fixes for unseekable, unmmapable, and non-normal files, so
18505           that fallback to read() rather than mmap() works.
18506         * gst/gstevent.c: (gst_event_new_newsegment):
18507           Allow newsegment events with segment_start == segment_end, as will
18508           correctly happen if you use filesrc on a zero-size file, for
18509           example.
18510
18511 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
18512
18513         * gst/gstplugin.c: (gst_plugin_load_file):
18514           Call g_module_close when we don't load the module
18515
18516         * gst/registries/gstlibxmlregistry.c:
18517         (gst_xml_registry_get_property):
18518           Port leak fix from 0.8
18519
18520 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
18521
18522         * docs/gst/gstreamer-docs.sgml:
18523         * docs/gst/tmpl/.cvsignore:
18524         * docs/gst/tmpl/gsttrace.sgml:
18525         * docs/gst/tmpl/gsttrashstack.sgml:
18526         * gst/Makefile.am:
18527         * gst/gst.h:
18528         * gst/gstelement.h:
18529         * gst/gstevent.h:
18530         * gst/gstmessage.c:
18531         * gst/gstmessage.h:
18532         * gst/gsttag.c:
18533         * gst/gsttag.h:
18534         * gst/gsttaginterface.c:
18535         * gst/gsttaginterface.h:
18536         * gst/gsttaglist.c:
18537         * gst/gsttaglist.h:
18538         * gst/gsttagsetter.c:
18539         * gst/gsttagsetter.h:
18540         * gst/gsttrace.c:
18541         * gst/gsttrace.h:
18542         * gst/gsttrashstack.c:
18543           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
18544           inlined docs for gsttrace, gsttrashstack
18545
18546 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
18547
18548         * gst/Makefile.am:
18549         * gst/elements/gstbufferstore.h:
18550         * gst/elements/gsttypefindelement.c:
18551         * gst/elements/gsttypefindelement.h:
18552         * gst/gst.h:
18553         * gst/gsttypefind.c:
18554         * gst/gsttypefind.h:
18555         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
18556         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
18557         (gst_type_find_factory_dispose),
18558         (gst_type_find_factory_unload_thyself),
18559         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
18560         (gst_type_find_factory_get_caps),
18561         (gst_type_find_factory_get_extensions),
18562         (gst_type_find_factory_call_function):
18563         * gst/gsttypefindfactory.h:
18564         * gst/registries/gstlibxmlregistry.c:
18565         * gst/registries/gstxmlregistry.c:
18566           splitted gsttypefind into gsttypefind, gsttypefindfactory
18567
18568 2005-09-07  Andy Wingo  <wingo@pobox.com>
18569
18570         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
18571         condition whereby the pad's task function is entered before the
18572         pad_mode variable was set.
18573
18574 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
18575
18576         * gst/gstpad.c: (gst_pad_alloc_buffer):
18577           Catch misbehaving pad_alloc functions that don't
18578           set up caps and do it for them.
18579
18580 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
18581
18582         * check/pipelines/simple_launch_lines.c: (run_pipeline):
18583           test for pipe!=NULL
18584         * docs/gst/tmpl/.cvsignore:
18585         * docs/gst/tmpl/gstmemchunk.sgml:
18586         * docs/gst/tmpl/gstparse.sgml:
18587         * docs/gst/tmpl/gsttaglist.sgml:
18588         * docs/gst/tmpl/gsttagsetter.sgml:
18589         * docs/gst/tmpl/gsttypefind.sgml:
18590         * docs/gst/tmpl/gsttypefindfactory.sgml:
18591         * gst/gstmemchunk.c:
18592         * gst/gstparse.c:
18593         * gst/gsttag.c:
18594         * gst/gsttaginterface.c:
18595         * gst/gsttypefind.c:
18596         * gst/gsttypefind.h:
18597           inlined more docs
18598
18599 === release 0.9.2 ===
18600
18601 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18602
18603         * NEWS:
18604         * RELEASE:
18605         * configure.ac:
18606           releasing 0.9.2, "South"
18607
18608 2005-09-05  Andy Wingo  <wingo@pobox.com>
18609
18610         * gst/registries/gstxmlregistry.h:
18611         * gst/registries/gstxmlregistry.c: Um... resurrect...
18612         
18613         * gst/registries/gstxmlregistry.h:
18614         * gst/registries/gstxmlregistry.c: and update to newer API.
18615         Incidentally they should be a bit faster now that they don't have
18616         to parse the caps.
18617         
18618 2005-09-05  Andy Wingo  <wingo@pobox.com>
18619
18620         * gst/registries/gstxmlregistry.h:
18621         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
18622         replaced by the libxml registry a while back
18623
18624 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18625
18626         * docs/gst/tmpl/gstplugin.sgml:
18627         * gst/elements/gstelements.c:
18628         * gst/gst.c:
18629         * gst/gstplugin.c: (gst_plugin_register_func),
18630         (gst_plugin_desc_copy), (gst_plugin_desc_free),
18631         (gst_plugin_get_source):
18632         * gst/gstplugin.h:
18633         * gst/registries/gstlibxmlregistry.c: (load_plugin),
18634         (gst_xml_registry_save_plugin):
18635         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
18636         (gst_xml_registry_save_plugin):
18637         * tools/gst-inspect.c: (print_plugin_info):
18638           add a "source" plugin description field, to represent the source
18639           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
18640           will set it to PACKAGE, which is automake's idea of the name of
18641           the source project.
18642
18643 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18644
18645         * Makefile.am:
18646         * autogen.sh:
18647         * configure.ac:
18648         * docs/Makefile.am:
18649         * docs/faq/Makefile.am:
18650         * docs/gst/tmpl/gstelement.sgml:
18651         * docs/gst/tmpl/gsttypes.sgml:
18652         * docs/htmlinstall.mak:
18653         * docs/manual/Makefile.am:
18654         * docs/pwg/Makefile.am:
18655           reorganize doc build a little
18656           split out docbook and gtk-doc stuff
18657           have two separate --enable's and enable them through autogen
18658           but disable by default in configure (to be similar to other
18659           projects)
18660         * gstreamer.spec.in:
18661           clean up docs install
18662         * po/af.po:
18663         * po/az.po:
18664         * po/ca.po:
18665         * po/cs.po:
18666         * po/de.po:
18667         * po/en_GB.po:
18668         * po/fr.po:
18669         * po/it.po:
18670         * po/nb.po:
18671         * po/nl.po:
18672         * po/ru.po:
18673         * po/sq.po:
18674         * po/sr.po:
18675         * po/sv.po:
18676         * po/tr.po:
18677         * po/uk.po:
18678         * po/vi.po:
18679           translation updates
18680
18681 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
18682
18683         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
18684           Add comment.
18685           
18686         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
18687         (gst_fake_sink_change_state):
18688           Make state change function thread-safe.
18689           
18690         * gst/gstpad.c: (gst_pad_alloc_buffer):
18691           Set offset on generic buffer allocated by fallback.
18692
18693 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
18694
18695         * docs/gst/gstreamer-sections.txt:
18696         * docs/gst/tmpl/gstelement.sgml:
18697         * gst/gstpad.c:
18698         * libs/gst/controller/gst-controller.c:
18699         (gst_controlled_property_set_interpolation_mode),
18700         (gst_controlled_property_new),
18701         (gst_controller_find_controlled_property):
18702          run the wingo-magic script against the docs
18703
18704 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
18705
18706         * docs/gst/gstreamer-docs.sgml:
18707         * docs/gst/gstreamer-sections.txt:
18708         * docs/gst/tmpl/.cvsignore:
18709         * docs/gst/tmpl/gstelementdetails.sgml:
18710         * docs/gst/tmpl/gstelementfactory.sgml:
18711         * gst/gst.c:
18712         * gst/gstbus.c:
18713         * gst/gstelementfactory.c:
18714         * gst/gstelementfactory.h:
18715           merged elementdetails docs into elementfactory docs
18716           inlined both
18717
18718 2005-09-02  Andy Wingo  <wingo@pobox.com>
18719
18720         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
18721         consider this enum an enum and not a flags.
18722
18723 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
18724
18725         * docs/gst/gstreamer-docs.sgml:
18726         * docs/gst/tmpl/.cvsignore:
18727         * docs/gst/tmpl/gstghostpad.sgml:
18728         * docs/gst/tmpl/gstiterator.sgml:
18729         * docs/gst/tmpl/gstmacros.sgml:
18730         * docs/gst/tmpl/gstrealpad.sgml:
18731         * docs/gst/tmpl/gstregistry.sgml:
18732         * docs/gst/tmpl/gstregistrypool.sgml:
18733         * docs/gst/tmpl/gststructure.sgml:
18734         * docs/gst/tmpl/gstsystemclock.sgml:
18735         * docs/gst/tmpl/gsttrace.sgml:
18736         * gst/gstghostpad.c:
18737         * gst/gstmacros.h:
18738         * gst/gstmemchunk.c:
18739         * gst/gstmemchunk.h:
18740         * gst/gstqueue.c:
18741         * gst/gstregistry.c:
18742         * gst/gstregistrypool.c:
18743         * gst/gststructure.c:
18744         * gst/gstsystemclock.c:
18745           more docs inlined
18746
18747 2005-09-02  Andy Wingo  <wingo@pobox.com>
18748
18749         * gst/gstelement.h (GstState): Renamed from GstElementState,
18750         changed to be a normal enum instead of flags.
18751         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
18752         munged to be GST_STATE_CHANGE_*.
18753         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
18754         work with the new state representation.
18755         (GstStateChange): New enumeration of possible state transitions.
18756         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
18757         (GstElementClass::change_state): Pass the GstStateChange along as
18758         an argument. Helps language bindings, so they don't have to use
18759         tricky lock-needing macros like GST_STATE_CHANGE ().
18760
18761         * scripts/update-states (file): New script. Run it on a file to
18762         update it for state naming and API changes. Updates files in
18763         place.
18764
18765         * All files updated for the new API.
18766
18767 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18768
18769         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
18770         * gst/gstutils.c: (gst_util_set_value_from_string),
18771         (gst_util_set_object_arg):
18772           fix a bunch of unchecked return values
18773         * tools/gst-complete.c: (main):
18774         * gstreamer.spec.in:
18775           clean up a little
18776
18777 2005-09-01  Wim Taymans  <wim@fluendo.com>
18778
18779         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18780         (gst_base_sink_event), (gst_base_sink_do_sync),
18781         (gst_base_sink_handle_event):
18782         * gst/base/gstbasesink.h:
18783         Handle newsegments more correctly.
18784
18785         * gst/gstbus.c:
18786         Fix docs.
18787
18788         * gst/gstevent.c: (gst_event_new_newsegment):
18789         A newsegment cannot have a start_time of -1
18790
18791 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
18792
18793         * win32/gstenumtypes.c:
18794         * win32/gstenumtypes.h:
18795           Update
18796
18797 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
18798
18799         * libs/gst/controller/gst-controller.c:
18800         (gst_controlled_property_set_interpolation_mode),
18801         (gst_controlled_property_new):
18802          fixed boolean again
18803
18804 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
18805
18806         * docs/faq/gst-uninstalled:
18807           add -good
18808         * gst/gstevent.c:
18809         * gst/gstevent.h:
18810           remove wrong docs
18811         * gst/gstutils.c: (gst_element_link_filtered):
18812         * gst/gstutils.h:
18813           add gst_element_link_filtered
18814
18815 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
18816
18817         * docs/gst/gstreamer-docs.sgml:
18818         * docs/gst/gstreamer-sections.txt:
18819         * docs/gst/tmpl/.cvsignore:
18820         * docs/gst/tmpl/gsterror.sgml:
18821         * docs/gst/tmpl/gstfilter.sgml:
18822         * docs/gst/tmpl/gsturihandler.sgml:
18823         * docs/gst/tmpl/gsturitype.sgml:
18824         * docs/gst/tmpl/gstutils.sgml:
18825         * docs/gst/tmpl/gstxml.sgml:
18826         * gst/gsterror.c:
18827         * gst/gsterror.h:
18828         * gst/gstfilter.c:
18829         * gst/gsturi.c:
18830         * gst/gsturitype.c:
18831         * gst/gstutils.c:
18832         * gst/gstxml.c:
18833           inlined more docs, fixed double id-ref
18834
18835 2005-08-31  Wim Taymans  <wim@fluendo.com>
18836
18837         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18838         (gst_base_transform_handle_buffer):
18839         Passthrough elements don't need the caps as they don't care.
18840
18841 2005-08-31  Wim Taymans  <wim@fluendo.com>
18842
18843         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18844         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
18845         Don't leak refcounts on buffers.
18846
18847 2005-08-31  Wim Taymans  <wim@fluendo.com>
18848
18849         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
18850         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
18851         (gst_base_transform_chain), (gst_base_transform_change_state):
18852         * gst/base/gstbasetransform.h:
18853         Handle the case where we are not negotiated more gracefully.
18854
18855 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
18856
18857         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
18858         (gst_file_src_map_region):
18859           Set READONLY flag on mmap'ed buffers, otherwise
18860           gst_buffer_make_writable() won't work properly (#314708).
18861
18862 2005-08-31  Wim Taymans  <wim@fluendo.com>
18863
18864         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
18865         passthrough elements can even do inplace on non writable
18866         buffers (as they don't touch them).
18867
18868 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
18869
18870         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
18871         (gst_test_mono_source_set_property),
18872         (gst_test_mono_source_class_init), (GST_START_TEST),
18873         (gst_controller_suite):
18874           more tests (hehe I have the most)
18875         * gst/gstbus.c:
18876           describe popping messages whenusing mulltiple sources
18877         * libs/gst/controller/gst-controller.c:
18878         (gst_controlled_property_set_interpolation_mode),
18879         (gst_controlled_property_new):
18880         * libs/gst/controller/gst-controller.h:
18881         * libs/gst/controller/gst-interpolation.c:
18882           implement boolean properties
18883
18884 2005-08-31  Wim Taymans  <wim@fluendo.com>
18885
18886         * gst/gstminiobject.c: (gst_mini_object_ref):
18887         Cannot assert that the refcount has to be positive
18888         since a disposed object can be resurrected.
18889
18890 2005-08-31  Wim Taymans  <wim@fluendo.com>
18891
18892         * gst/gstpad.c: (gst_pad_init):
18893         Revert change, need to first fix badly behaving 
18894         apps.
18895
18896 2005-08-30  Wim Taymans  <wim@fluendo.com>
18897
18898         * check/elements/fakesrc.c: (setup_fakesrc):
18899         * check/elements/identity.c: (setup_identity):
18900         Activate pads before using them.
18901
18902 2005-08-30  Wim Taymans  <wim@fluendo.com>
18903
18904         * gst/base/gstadapter.c: (gst_adapter_flush):
18905         Flushing out 0 bytes is ok for this function.
18906
18907         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18908         no newsegment gives a warning and sets the start/stop to 
18909         invalid.
18910
18911         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
18912         (gst_base_transform_set_passthrough):
18913         Some debug info.
18914
18915         * gst/gstminiobject.c: (gst_mini_object_ref):
18916         Check refcount here too.
18917
18918         * gst/gstpad.c: (gst_pad_init):
18919         Pads are initially flushing and refusing data.
18920
18921         * gst/gstutils.c: (gst_element_link_pads_filtered):
18922         When adding a capsfilter element make sure it has the
18923         same state as the parent bin.
18924
18925 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
18926
18927         * docs/gst/tmpl/.cvsignore:
18928         * docs/gst/tmpl/gstformat.sgml:
18929         * docs/gst/tmpl/gstversion.sgml:
18930         * gst/gstbus.h:
18931         * gst/gstformat.c:
18932         * gst/gstformat.h:
18933         * gst/gstversion.h.in:
18934           more docs and two more inlined
18935
18936 2005-08-30  Wim Taymans  <wim@fluendo.com>
18937
18938         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
18939         Don't sync to clock.
18940
18941 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
18942
18943         * docs/gst/gstreamer-sections.txt:
18944           ultral33t func10ns deserve to appear in the docs actually
18945         * docs/gst/tmpl/.cvsignore:
18946         * docs/gst/tmpl/gstcompat.sgml:
18947         * docs/gst/tmpl/gstconfig.sgml:
18948         * gst/check/gstcheck.c:
18949         * gst/gstcompat.h:
18950         * gst/gstconfig.h.in:
18951           inlined more docs
18952
18953 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
18954
18955         * docs/gst/tmpl/.cvsignore:
18956         * docs/gst/tmpl/gstquery.sgml:
18957         * docs/gst/tmpl/gstutils.sgml:
18958         * gst/gstquery.c:
18959         * gst/gstquery.h:
18960           inlined and extended docs
18961
18962 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
18963
18964         * check/gst-libs/controller.c: (GST_START_TEST),
18965         (gst_controller_suite):
18966           more tests
18967         * docs/gst/tmpl/gstutils.sgml:
18968         * docs/libs/gstreamer-libs-sections.txt:
18969         * docs/libs/tmpl/gstdataprotocol.sgml:
18970           include path fixes
18971         * examples/controller/audio-example.c: (main):
18972           controller example works now
18973         * gst/gstclock.h:
18974           doc fixes
18975         * tools/gst-inspect.c: (print_element_properties_info):
18976           show param spec flags
18977
18978 2005-08-29  Andy Wingo  <wingo@pobox.com>
18979
18980         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
18981
18982 2005-08-28  Andy Wingo  <wingo@pobox.com>
18983
18984         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
18985         as having two arguments instead of just one. Allows superclasses
18986         to access information on subclasses -- see the terrible for() loop
18987         in gtype.c:g_type_create_instance for the reason why. All callers
18988         changed.
18989
18990 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
18991
18992         * docs/design/part-messages.txt:
18993           update info
18994         * docs/gst/tmpl/.cvsignore:
18995         * docs/gst/tmpl/gstcaps.sgml:
18996         * docs/gst/tmpl/gstclock.sgml:
18997         * gst/gstbus.c:
18998         * gst/gstcaps.c:
18999         * gst/gstcaps.h:
19000         * gst/gstclock.c:
19001         * gst/gstclock.h:
19002         * gst/gstmessage.c:
19003           added descriptions for bus and message
19004           inline caps and clock docs
19005
19006 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
19007
19008         * gst/gstmessage.c:
19009         * gst/gstmessage.h:
19010           doc fixes
19011
19012 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
19013
19014         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19015           fix div-by-zero
19016
19017 2005-08-26  Andy Wingo  <wingo@pobox.com>
19018
19019         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
19020         element_set_state's return val.
19021         (test_2_elements): Add test that's been disabled for months.
19022
19023         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
19024         can-activate-pull properties.
19025
19026         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
19027         can-activate-pull properties. Implement is_seekable so fakesrc can
19028         operate in pull mode.
19029
19030         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
19031         properties.
19032         (gst_base_sink_activate, gst_base_sink_activate_pull)
19033         (gst_base_sink_activate_push): Make activation mode choosing work.
19034         Cleanups.
19035         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
19036         is right. Make pull mode work. Post an eos before pausing in pull
19037         mode.
19038         (gst_base_sink_change_state): Pay attention to the core's
19039         change_state() return val.
19040         
19041         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
19042         has-getrange properties. Cleanups.
19043         
19044         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
19045         has_getrange and replace with can_activate_pull and
19046         can_activate_push.
19047
19048         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
19049         locking comments. Remove has_loop, has_chain and replace with
19050         can_activate_pull and can_activate_push.
19051
19052 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
19053
19054         * configure.ac:
19055         * examples/Makefile.am:
19056         * examples/metadata/Makefile.am:
19057         * examples/metadata/read-metadata.c: (message_loop),
19058         (have_pad_handler), (make_pipeline), (print_tag), (main):
19059           Add metadata reading example that loops over a list of filenames,
19060           dumping any tags found.
19061
19062         * gst/gstbus.c: (gst_bus_dispose):
19063         * gst/gstelement.c: (gst_element_dispose):
19064           Release a few potentially-held references in dispose.
19065
19066 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
19067
19068         * docs/gst/tmpl/gstminiobject.sgml:
19069           do *not* add tmpl/*.sgml files to CVS!
19070
19071 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
19072
19073         * libs/gst/bytestream/.cvsignore:
19074         * libs/gst/bytestream/Makefile.am:
19075         * libs/gst/bytestream/adapter.c:
19076         * libs/gst/bytestream/adapter.h:
19077         * libs/gst/bytestream/bytestream.c:
19078         * libs/gst/bytestream/bytestream.h:
19079         * libs/gst/bytestream/filepad.c:
19080         * libs/gst/bytestream/filepad.h:
19081           removing obsolete files
19082
19083 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
19084
19085         * docs/gst/gstreamer-docs.sgml:
19086         * docs/libs/gstreamer-libs-docs.sgml:
19087           disabed additional index entries again, as this makes docs-gen just
19088           slow and they aren't useful yet
19089         * docs/libs/gstreamer-libs-sections.txt:
19090           little -section.txt cleanup for libs
19091
19092 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
19093
19094         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19095         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
19096           fix up some debugging
19097         (gst_base_transform_get_unit_size),
19098         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
19099         (gst_base_transform_handle_buffer):
19100         * gst/base/gstbasetransform.h:
19101           handle and store timed NEWSEGMENT events so that subclasses that
19102           calculate time by counting samples have a segment_start time they
19103           need to add to their timestamps - see audioresample
19104
19105 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
19106
19107         * gst/gstbin.h:
19108           removed ';' from the end of macro defs
19109         * docs/gst/gstreamer-docs.sgml:
19110         * docs/gst/gstreamer-sections.txt:
19111         * docs/gst/tmpl/.cvsignore:
19112         * gst/gstbus.h:
19113         * gst/gstelement.c: (gst_element_class_init),
19114         (gst_element_set_state), (activate_pads),
19115         (gst_element_save_thyself):
19116         * gst/gstevent.c: (gst_event_new_newsegment):
19117         * gst/gstevent.h:
19118         * gst/gstiterator.c:
19119         * gst/gstiterator.h:
19120         * gst/gstpad.c:
19121         * gst/gstprobe.h:
19122         * gst/gstutils.c: (gst_pad_query_convert):
19123         * gst/gstutils.h:
19124           fixed parameter name mismatches between source, header and docs
19125           added some more docs, resolved the last batch of unused elements in
19126           docs (now someone needs to doc them)
19127
19128 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
19129
19130         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
19131         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
19132           don't walk through the plugins backwards.  Where is all this
19133           reversed logic coming from ?
19134
19135 2005-08-25  Wim Taymans  <wim@fluendo.com>
19136
19137         * gst/base/gstbasetransform.c: (gst_base_transform_init),
19138         (gst_base_transform_transform_size),
19139         (gst_base_transform_configure_caps),
19140         (gst_base_transform_get_unit_size),
19141         (gst_base_transform_buffer_alloc),
19142         (gst_base_transform_change_state):
19143         * gst/base/gstbasetransform.h:
19144         Cache caps unit_size.
19145         Make sure we cannot negotiate up and downstream at the
19146         same time.
19147
19148 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
19149
19150         * gst/gst.c: (init_pre), (init_post):
19151           register the installed plugin path after the env var
19152         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
19153         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
19154           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
19155           directories, so the tests can prefer uninstalled over installed
19156
19157 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
19158
19159         * gst/base/gstbasetransform.h:
19160           comment
19161         * gst/gstpad.c:
19162           add to docs
19163
19164 2005-08-25  Wim Taymans  <wim@fluendo.com>
19165
19166         * gst/gstbin.c: (bin_bus_handler):
19167         Be a bit more conservative about the posted message.
19168         
19169         * gst/gstbus.c: (gst_bus_post):
19170         Some cleanups, warn wrong return values.
19171
19172 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
19173
19174         * check/gst/gstbin.c: (GST_START_TEST):
19175         * gst/gstbin.c: (bin_bus_handler):
19176         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
19177         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
19178         (gst_message_new_warning), (gst_message_new_tag),
19179         (gst_message_new_state_changed), (gst_message_new_segment_start),
19180         (gst_message_new_segment_done), (gst_message_new_custom):
19181         * gst/gstmessage.h:
19182         * tools/gst-launch.c: (event_loop):
19183         * tools/gst-md5sum.c: (event_loop):
19184           Revert unpopular change for GST_MESSAGE_SRC to GObject.
19185
19186 2005-08-25  Wim Taymans  <wim@fluendo.com>
19187
19188         * check/generic/states.c: (GST_START_TEST):
19189         Cleanup can be done at the end.
19190
19191         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
19192         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
19193         (gst_task_get_state), (gst_task_start), (gst_task_pause):
19194         Oh boy.. Thanks for finding this, Thomas. 
19195
19196 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
19197
19198         * docs/gst/gstreamer.types:
19199           added missing types
19200
19201 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
19202
19203         * docs/gst/gstreamer-docs.sgml:
19204         * docs/gst/gstreamer-sections.txt:
19205         * docs/gst/tmpl/.cvsignore:
19206         * gst/gstbin.c:
19207         * gst/gstiterator.c:
19208         * gst/gstutils.c:
19209         * gst/registries/gstxmlregistry.h:
19210           added missing classes and symbols (123 more to go)
19211           removed removed symbols from section file
19212           fixed many doc-comments
19213
19214 2005-08-24  Wim Taymans  <wim@fluendo.com>
19215
19216         * check/generic/states.c: (GST_START_TEST):
19217         Make sure all tasks are stopped.
19218
19219         * check/gst/gstbin.c: (GST_START_TEST):
19220         Unref after usage for proper valgrinding.
19221
19222         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
19223         Really wait for the task to stop before destroying the
19224         mutex.
19225
19226         * gst/gstqueue.c: (gst_queue_sink_activate_push),
19227         (gst_queue_src_activate_push):
19228         Small cleanups. Don't stop the task when we did not start
19229         it.
19230
19231         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
19232         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
19233         (gst_task_get_state), (gst_task_start), (gst_task_pause),
19234         (gst_task_join):
19235         * gst/gsttask.h:
19236         Protect the stream lock with the object lock.
19237         Disallow setting the stream lock when running.
19238         Add cleanup_all to wait for the threadpool to finish.
19239         Remove code to autoallocate a mutex if none was provided.
19240         Add _join() to wait for a task to stop.
19241         Protect the thread pool with a global lock.
19242
19243 2005-08-24  Wim Taymans  <wim@fluendo.com>
19244
19245         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19246         (gst_base_sink_get_times), (gst_base_sink_do_sync),
19247         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
19248         * gst/base/gstbasesink.h:
19249         Handle newsegment events correctly.
19250         Drop buffers out of the segment range.
19251
19252 2005-08-22  Andy Wingo  <wingo@pobox.com>
19253
19254         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
19255         macro, implements an interface and gstimplementsinterface for a
19256         new type.
19257
19258 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19259
19260         * check/Makefile.am:
19261         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
19262           add a test that does a bunch of state changes on elements
19263           needs some fixing for valgrind
19264         * check/states/sinks.c: (gst_object_suite):
19265           whitespace
19266         * gst/gstcaps.h:
19267           add prototype for gst_caps_is_equal_fixed
19268         * gst/gstplugin.c:
19269         * gst/gstregistrypool.c:
19270           doc fixes
19271
19272 2005-08-24  Andy Wingo  <wingo@pobox.com>
19273
19274         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
19275         convert a negative value. Doesn't make much sense. Mostly this is
19276         here to force callers to ensure -1 maps to -1.
19277
19278 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
19279
19280         * docs/pwg/advanced-types.xml:
19281           Well done to Michael for catching my deliberate introduction
19282           of this spelling mistake. 
19283         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
19284         * gst/gstelement.h:
19285           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
19286           unlink pads before removing the element from the bin.
19287
19288 2005-08-24  Andy Wingo  <wingo@pobox.com>
19289
19290         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
19291         the same thing as GST_DEBUG=*:4.
19292         (parse_debug_level, parse_debug_category): New helper parsers.
19293
19294 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19295
19296         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19297         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
19298         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
19299         (gst_base_transform_buffer_alloc),
19300         (gst_base_transform_handle_buffer):
19301           use gboolean return values and pointers to size so we can use the
19302           full GST_BUFFER_SIZE range (guint) for buffer sizes
19303           use GstPadDirection for transform_caps
19304         * gst/base/gstbasetransform.h:
19305           rename get_size to get_unit_size since that's what it is
19306         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
19307           use GstPadDirection for transform_caps
19308         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19309         * gst/gstutils.h:
19310           cleanup and debugging
19311
19312 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
19313
19314         * gst/gstelement.c: (gst_element_class_init),
19315         (gst_element_set_state), (activate_pads),
19316         (gst_element_save_thyself):
19317         * tools/gst-compprep.c: (main):
19318         * tools/gst-inspect.c: (print_element_properties_info):
19319         * tools/gst-xmlinspect.c: (print_element_properties):
19320           Fixed long standing mem-leak
19321
19322 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
19323
19324         * check/gst/gstbin.c: (GST_START_TEST):
19325         * gst/gstbin.c: (bin_bus_handler):
19326         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
19327         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
19328         (gst_message_new_warning), (gst_message_new_tag),
19329         (gst_message_new_state_changed), (gst_message_new_segment_start),
19330         (gst_message_new_segment_done), (gst_message_new_custom):
19331         * gst/gstmessage.h:
19332         * tools/gst-launch.c: (event_loop):
19333         * tools/gst-md5sum.c: (event_loop):
19334           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
19335           that applications can sensibly post custom messages with references
19336           to their own objects.
19337
19338 2005-08-24  Andy Wingo  <wingo@pobox.com>
19339
19340         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
19341         already.
19342
19343 2005-08-24  Wim Taymans  <wim@fluendo.com>
19344
19345         * gst/base/gstbasetransform.c: (gst_base_transform_init),
19346         (gst_base_transform_transform_caps),
19347         (gst_base_transform_transform_size),
19348         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19349         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
19350         (gst_base_transform_handle_buffer):
19351         * gst/base/gstbasetransform.h:
19352         Many fixes and new features added by Thomas. Can now also do
19353         transforms with variable sizes and a custom fixate_caps function.
19354
19355 2005-08-24  Wim Taymans  <wim@fluendo.com>
19356
19357         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19358         Some debugging.
19359
19360         * gst/gstclock.h:
19361         Cast to ClockTime before formatting to time.
19362
19363         * gst/gstutils.h:
19364         Cleanups.
19365
19366 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
19367
19368         * check/gst-libs/controller.c: (GST_START_TEST),
19369         (gst_controller_suite):
19370         * docs/gst/tmpl/gstcaps.sgml:
19371         * docs/gst/tmpl/gstghostpad.sgml:
19372         * docs/gst/tmpl/gstquery.sgml:
19373         * docs/gst/tmpl/gstutils.sgml:
19374         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
19375         (gst_object_sink_values), (gst_object_get_value_arrays),
19376         (gst_object_get_value_array):
19377           gracefully handle helper method calls to objects that are not beeing
19378           controlled, added test case for that          
19379
19380 2005-08-23  Wim Taymans  <wim@fluendo.com>
19381
19382         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
19383         (gst_event_new_newsegment), (gst_event_parse_newsegment),
19384         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
19385         (gst_event_parse_qos), (gst_event_new_seek),
19386         (gst_event_parse_seek):
19387         * gst/gstevent.h:
19388         Some more debugging output and doc cleanups.
19389
19390         * gst/gstqueue.c: (gst_queue_handle_sink_event):
19391         Fix possible deadlock.
19392
19393 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
19394
19395         * docs/gst/gstreamer-docs.sgml:
19396         * docs/gst/gstreamer-sections.txt:
19397         * docs/gst/gstreamer.types:
19398         * docs/gst/tmpl/.cvsignore:
19399         * gst/gstbin.h:
19400         * gst/gstbus.c:
19401         * gst/gstelement.c:
19402         * gst/gstevent.h:
19403           added 100 symbols from gstreamer-unused.txt to the right sections
19404           fixed more broken comments
19405           added GstBus to docs
19406
19407 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
19408
19409         * docs/gst/gstreamer-sections.txt:
19410         * docs/gst/tmpl/.cvsignore:
19411         * docs/gst/tmpl/gstbin.sgml:
19412         * docs/gst/tmpl/gstbuffer.sgml:
19413         * gst/base/gstbasesrc.c:
19414         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
19415         * gst/gstbuffer.c:
19416         * gst/gstbuffer.h:
19417         * tools/gst-launch.1.in:
19418           inlined more doc comments, added missing comments and fixed comments
19419           fixed typos
19420
19421 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19422
19423         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19424           some debugging
19425         * gst/gstcaps.h:
19426           whitespace fixes
19427         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
19428           more debugging
19429         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
19430         * gst/gststructure.h:
19431           add a fixate function for booleans; add a FIXME that these func
19432           names should probably be gst_structure_fixate_*
19433
19434 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
19435
19436         * docs/gst/gstreamer-docs.sgml:
19437         * docs/gst/gstreamer-sections.txt:
19438         * gst/Makefile.am:
19439         * gst/gstbin.c: (gst_bin_get_type),
19440         (gst_bin_child_proxy_get_child_by_index),
19441         (gst_bin_child_proxy_get_children_count),
19442         (gst_bin_child_proxy_init):
19443         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
19444         (gst_child_proxy_get_child_by_index),
19445         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
19446         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
19447         (gst_child_proxy_get), (gst_child_proxy_set_property),
19448         (gst_child_proxy_set_valist), (gst_child_proxy_set),
19449         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
19450         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
19451         * gst/gstchildproxy.h:
19452         * gst/parse/grammar.y:
19453         * tools/gst-inspect.c: (print_interfaces),
19454         (print_element_properties_info), (print_element_info):
19455           ported gstchildproxy over from 0.8
19456           ported gst-inspect fixes and enhancements over from 0.8
19457
19458 2005-08-22  Wim Taymans  <wim@fluendo.com>
19459
19460         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19461         (gst_base_transform_handle_buffer):
19462         Also call the transform function if we have ANY caps.
19463
19464         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
19465         Fix debug info.
19466
19467 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
19468
19469         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
19470           Don't pretend to handle seek events if the source is not seekable
19471
19472 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
19473
19474         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19475           Remove extra parameter to debug output
19476
19477         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19478         (gst_base_src_do_seek), (gst_base_src_activate_push):
19479           Fix seek event handling.
19480
19481         * gst/gstpipeline.c: (gst_pipeline_change_state):
19482         * gst/gstqueue.c: (gst_queue_handle_sink_event),
19483         (gst_queue_src_activate_push):
19484           Don't start the src pad task on FLUSH_STOP if the pad
19485           isn't linked.
19486           Debug changes.
19487
19488 2005-08-22  Wim Taymans  <wim@fluendo.com>
19489
19490         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
19491         Added check for gst_static_caps_get() refcounting.
19492
19493 2005-08-22  Wim Taymans  <wim@fluendo.com>
19494
19495         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
19496         Make _static_caps_get() refcounting sane.
19497         
19498         * gst/gstelement.c: (gst_element_set_state):
19499         Add g_return_val_if_fail() to protect against segfaults.
19500
19501 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
19502
19503         * docs/gst/tmpl/gstevent.sgml:
19504         * gst/gstevent.c:
19505         * gst/gstevent.h:
19506           inlined remaining docs, added missing doc comments
19507
19508 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
19509
19510         * check/gst/gstbin.c: (GST_START_TEST):
19511           since we don't know when preroll is done, use refcount range
19512           check for the sink
19513         * gst/check/gstcheck.h:
19514           add macro for checking refcount range
19515
19516 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
19517
19518         * check/Makefile.am:
19519           clean up environment for when registry gets built versus
19520           when actual tests are run; valgrind seems to not report
19521           leaks if GST_PLUGIN_PATH is set to some specific values
19522         * check/gst/gstbin.c: (GST_START_TEST):
19523           add more refcounting checks; maybe this exposes a
19524           preroll lock bug ?
19525         * common/check.mak:
19526         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19527         * gst/check/gstcheck.h:
19528         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
19529         (gst_bin_change_state):
19530         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
19531           add/fix debugging/whitespace
19532
19533 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
19534
19535         * check/gst/gstevent.c: (event_probe), (test_event),
19536         (GST_START_TEST):
19537          Er, don't call gst_bin_watch_for_state_change you idiot.
19538
19539 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
19540
19541         * check/Makefile.am:
19542           Use CHECK_CFLAGS and CHECK_LIBS
19543         * check/gst/gstevent.c: (event_probe), (test_event),
19544         (GST_START_TEST):
19545           Don't leak events.
19546         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19547         (gst_base_src_start), (gst_base_src_stop),
19548         (gst_base_src_activate_push), (gst_base_src_activate_pull),
19549         (gst_base_src_change_state):
19550           Sprinkle gst_base_src_stop liberally around error paths to fix
19551           problems reusing a source after failed state changes.
19552         * gst/base/gsttypefindhelper.c: (helper_find_peek),
19553         (helper_find_suggest), (gst_type_find_helper):
19554           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
19555         * gst/gstevent.h:
19556         * docs/gst/tmpl/gstevent.sgml:
19557           Migrate part of the docs from the SGML file. Wait for ensonic to
19558           tell me how I did it wrong ;)
19559         * tools/gst-typefind.c: (main):
19560           Extra robustness to state changes between files.
19561
19562 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
19563
19564         * check/Makefile.am:
19565           don't valgrind the controller test - it's leaking - Stefan, HELP
19566         * gst/check/gstcheck.c: (gst_check_message_error),
19567         (gst_check_chain_func), (gst_check_setup_element),
19568         (gst_check_teardown_element), (gst_check_setup_src_pad),
19569         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
19570         (gst_check_teardown_sink_pad):
19571         * gst/check/gstcheck.h:
19572           add a bunch of methods to set up elements, and src and sink pads
19573         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
19574         * check/elements/identity.c: (setup_identity), (cleanup_identity),
19575         (GST_START_TEST):
19576           use them
19577         * gst/gstmessage.c:
19578         * gst/gsttag.h:
19579           whitespace/doc fixes
19580
19581 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19582
19583         * gst/gstelement.h:
19584           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
19585           be handled by the application and not always printed as well
19586
19587 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19588
19589         * check/Makefile.am:
19590           set GST_TOOLS_DIR
19591         * gst/check/gstcheck.c: (gst_check_message_error):
19592         * gst/check/gstcheck.h:
19593           add a fail_unless_equals_int
19594           add fail_unless for error messages
19595
19596 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19597
19598         * check/Makefile.am:
19599         * check/gst.supp:
19600         * common/Makefile.am:
19601         * common/check.mak:
19602         * common/gst.supp:
19603           factor out some of the common stuff so we can use it
19604
19605 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19606
19607         * check/Makefile.am:
19608         * check/gst/gstiterator.c: (GST_START_TEST):
19609         * check/gst/gstsystemclock.c: (GST_START_TEST),
19610         (gst_systemclock_suite):
19611         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19612         * gst/gstclock.c:
19613           valgrind more tests
19614
19615 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19616
19617         * check/elements/.cvsignore:
19618         * check/elements/gstfakesrc.c:
19619           rename to name of element
19620         * check/elements/identity.c: (chain_func), (event_func),
19621         (setup_identity), (cleanup_identity), (GST_START_TEST),
19622         (identity_suite), (main):
19623           add a test for identity
19624         * check/Makefile.am:
19625         * pkgconfig/Makefile.am:
19626         * pkgconfig/gstreamer-check.pc.in:
19627         * pkgconfig/gstreamer-check-uninstalled.pc.in:
19628         * gst/check:
19629         * gst/Makefile.am:
19630         * configure.ac:
19631           move the check stuff to a library that gets installed
19632         * check/gst-libs/controller.c: (GST_START_TEST):
19633         * check/gst-libs/gdp.c:
19634         * check/gst/gst.c: (GST_START_TEST):
19635         * check/gst/gstbin.c:
19636         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19637         * check/gst/gstbus.c:
19638         * check/gst/gstcaps.c: (GST_START_TEST):
19639         * check/gst/gstelement.c:
19640         * check/gst/gstghostpad.c:
19641         * check/gst/gstiterator.c:
19642         * check/gst/gstmessage.c:
19643         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
19644         * check/gst/gstobject.c:
19645         * check/gst/gstpad.c: (GST_START_TEST):
19646         * check/gst/gststructure.c: (GST_START_TEST):
19647         * check/gst/gstsystemclock.c: (GST_START_TEST),
19648         (gst_systemclock_suite):
19649         * check/gst/gsttag.c: (gst_tag_suite):
19650         * check/gst/gstvalue.c:
19651         * check/pipelines/cleanup.c:
19652         * check/pipelines/simple_launch_lines.c:
19653         * check/states/sinks.c:
19654           change include statement
19655
19656         * docs/gst/gstreamer-sections.txt:
19657         * docs/gst/tmpl/gstpad.sgml:
19658           document more pad stuff
19659         * gst/gstminiobject.c: (gst_mini_object_ref),
19660         (gst_mini_object_unref):
19661           debug refcounting
19662
19663 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
19664
19665         * docs/gst/tmpl/gst.sgml:
19666         * gst/gst.c:
19667           eliminate another tmpl file, fix spelling in the long-description
19668
19669 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
19670
19671         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19672         (test_event), (timediff), (gstevents_suite):
19673           Should fix build on 64-bit arch's
19674
19675 2005-08-18  Andy Wingo  <wingo@pobox.com>
19676
19677         Make sure that when a pipeline goes to PLAYING, that data has
19678         actually hit the sink.
19679
19680         * check/states/sinks.c (test_sink): A sink that doesn't get any
19681         data shouldn't return SUCCESS for going to either PLAYING or
19682         PAUSED. Test also the return values on the way back down.
19683
19684         * gst/gstelement.c (gst_element_set_state): When changing the
19685         state of an element currently changing state asynchronously, go to
19686         lost-state after commiting the pending state. Makes future calls
19687         to get_state continue to return ASYNC.
19688
19689         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
19690         ASYNC when going to PLAYING if we still don't have preroll, as can
19691         happen with live sources.
19692
19693 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
19694
19695         * docs/pwg/advanced-types.xml:
19696           Hack long paragraph into 2 chunks as a workaround for buggy
19697           jadetex version in sid and breezy that loops infinitely and
19698           eats all RAM.
19699
19700 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
19701
19702         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19703         (test_event), (timediff), (gstevents_suite):
19704           Provide more error margin in clock measurements to allow for 
19705           g_get_current_time inaccuracies.
19706
19707 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
19708
19709         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19710         (test_event), (timediff), (gstevents_suite):
19711            Fix error message output so I might be able to tell why the
19712            test works here but fails on the build farm.
19713
19714 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
19715
19716         * check/Makefile.am:
19717         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19718         (test_event), (timediff), (gstevents_suite), (main):
19719           I wrote a test!
19720
19721         * docs/design/part-seeking.txt:
19722           Spelling correction
19723
19724         * docs/gst/tmpl/gstevent.sgml:
19725         * docs/gst/tmpl/gstfakesrc.sgml:
19726           Docs updates.
19727
19728         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19729           Treat a buffer-without-newsegment the same as a receiving 
19730           a newsegment not in time format, and disable syncing to the clock
19731           with a warning.
19732
19733         * gst/gstbus.c: (gst_bus_set_sync_handler):
19734           Assert if anyone tries to replace the existing sync_handler for bus, 
19735           as only the owner should be setting it.
19736
19737         * gst/gstevent.h:
19738           Have a fixed set of custom event enums with events identified by
19739           their structure name (as in 0.8), rather than a free-for-all
19740           allowing collisions between enum values from different plugins.
19741
19742         * gst/gstpad.c: (gst_pad_class_init):
19743           Docs change.
19744           
19745         * gst/gstqueue.c: (gst_queue_handle_sink_event):
19746           Handle out-of-band downstream events from the sending thread.
19747
19748 2005-08-17  Andy Wingo  <wingo@pobox.com>
19749
19750         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
19751         play-timeout==0 to mean no timeout at all. In that case, don't
19752         bother with a get_state or a warning, just return directly, even
19753         if it's ASYNC.
19754
19755         * gst/base/gstbasetransform.c: Debug changes.
19756
19757         * gst/gstutils.h:
19758         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
19759         ensure bins post state change messages. A bit of a hack but I can't
19760         think of a way to avoid it.
19761
19762         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
19763
19764 2005-08-16  Andy Wingo  <wingo@pobox.com>
19765
19766         * gst/base/gstadapter.h:
19767         * gst/base/gstadapter.c (gst_adapter_take): New function, like
19768         peek() but you own the data. Not terribly efficient atm.
19769
19770 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19771
19772         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
19773         (gst_element_found_tags):
19774         * gst/gstutils.h:
19775           Add two utility functions for tag handling.
19776
19777 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19778
19779         * docs/manual/advanced-dataaccess.xml:
19780         * docs/manual/basics-helloworld.xml:
19781           Fix docs to use _bin_add() before _link(), which fixes the examples
19782           with recent core versions (reported by Madhan Raj M
19783           <raj_madan@rediffmail.com>, #313199).
19784
19785 2005-08-16  Wim Taymans  <wim@fluendo.com>
19786
19787         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19788         Added subtract checks.
19789
19790         * docs/design/part-events.txt:
19791         Some more docs about newsegment
19792
19793         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19794         Fix FIXME
19795
19796         * gst/gstcaps.c: (gst_caps_to_string):
19797         Add comments, cleanups.
19798         
19799         * gst/gstelement.c: (gst_element_save_thyself):
19800         cleanups
19801         
19802         * gst/gstvalue.c: (gst_value_collect_int_range),
19803         (gst_string_unwrap), (gst_value_union_int_int_range),
19804         (gst_value_union_int_range_int_range),
19805         (gst_value_intersect_int_int_range),
19806         (gst_value_intersect_int_range_int_range),
19807         (gst_value_intersect_double_double_range),
19808         (gst_value_intersect_double_range_double_range),
19809         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
19810         (gst_value_subtract_int_range_int),
19811         (gst_value_subtract_double_range_double),
19812         (gst_value_subtract_double_range_double_range),
19813         (gst_value_subtract_from_list), (gst_value_subtract_list),
19814         (gst_value_can_compare), (gst_value_compare_fraction):
19815         Cleanups, add comments, remove unneeded asserts.
19816
19817 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19818
19819         * tools/gst-launch.c: (event_loop):
19820           don't convert NULL structures to strings
19821
19822 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
19823
19824         * docs/gst/gstreamer-sections.txt:
19825           made some defines private
19826         * docs/gst/tmpl/gstconfig.sgml:
19827         * docs/gst/tmpl/gstqueue.sgml:
19828         * docs/gst/tmpl/gsttaglist.sgml:
19829         * docs/gst/tmpl/gsttypes.sgml:
19830         * docs/gst/tmpl/gstutils.sgml:
19831         * docs/pwg/appendix-porting.xml:
19832         * gst/base/gstbasesink.h:
19833         * gst/base/gstbasesrc.c:
19834         * gst/base/gstbasesrc.h:
19835         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
19836         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
19837         * gst/gstelement.c: (gst_element_class_init):
19838         * gst/gstpad.c: (gst_pad_class_init):
19839         * gst/gstqueue.c: (gst_queue_class_init):
19840         * gst/gstxml.c: (gst_xml_class_init):
19841           documented all undocumented signal inline
19842         * libs/gst/controller/gst-controller.h:
19843           added padding
19844
19845 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19846
19847         * docs/pwg/appendix-porting.xml:
19848           Document _set_link_function -> _set_setcaps_function.
19849
19850 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19851
19852         * check/Makefile.am:
19853           add a .check target for running the check
19854         * check/gst-libs/controller.c: (GST_START_TEST):
19855           cosmetic fixups
19856         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19857           complete checks for gstbuffer; would be nice if I could get the
19858           gcov stuff to work so I can see if I actually completed gstbuffer.c
19859         * check/gstcheck.h:
19860           add ASSERT_BUFFER_REFCOUNT
19861
19862 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
19863
19864         * docs/gst/gstreamer-sections.txt:
19865         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
19866         * gst/gsttag.h:
19867           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
19868           spew out a warning if a tag that is already registered
19869           is re-registered, unless it is re-registered with a 
19870           different type (#308438).
19871
19872 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
19873
19874         * docs/pwg/appendix-porting.xml:
19875         * docs/pwg/building-state.xml:
19876           Add some paragraphs about state changes in 0.9 to the PWG
19877           and the porting guide, in particular about the new meaning
19878           of GST_STATE_PAUSED and how to write state change functions
19879           with concurrent access by multiple threads in mind.
19880
19881 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
19882
19883         * docs/gst/gstreamer-docs.sgml:
19884         * docs/libs/gstreamer-libs-docs.sgml:
19885           added deprecation and since indexes
19886         * libs/gst/controller/gst-controller.c:
19887         * libs/gst/controller/gst-helper.c:
19888           added since tags
19889
19890
19891 2005-08-11  Wim Taymans  <wim@fluendo.com>
19892
19893         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
19894         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
19895         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
19896         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
19897         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
19898         (gst_ghost_pad_set_target):
19899         Actually implement (re)setting the target on a ghostpad
19900         as described in the docs.
19901
19902 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
19903
19904         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
19905           Check whether GST_DEBUG_NO_COLOR environment variable is
19906           set and disable coloured debug output if that is the case.
19907
19908 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
19909
19910         * gst/base/gsttypefindhelper.c: (helper_find_peek),
19911         (gst_type_find_helper):
19912           The memory returned by gst_type_find_peek() needs to
19913           stay valid until the end of a typefind function, and
19914           typefind functions may keep results from different 
19915           offsets around, so we can't just unref the buffer from
19916           the previous _peek(), but have to save all buffers 
19917           returned by _peek() until typefinding is done and only
19918           free them then.
19919
19920 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
19921
19922         * docs/gst/gstreamer-sections.txt:
19923         * gst/gstutils.h:
19924           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
19925
19926 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19927
19928         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19929           Fix a pretty good memleak.
19930
19931 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
19932
19933         * gst/gstiterator.h:
19934           Fix wrong include and 'make distcheck'.
19935
19936 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19937
19938         * gst/gstbin.c: (bin_bus_handler):
19939           Use gst_element_post_message() instead.
19940
19941 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
19942
19943         * gst/base/gstadapter.h:
19944         * gst/base/gstbasesink.h:
19945         * gst/base/gstbasesrc.h:
19946         * gst/base/gstbasetransform.h:
19947         * gst/base/gstcollectpads.h:
19948         * gst/base/gstpushsrc.h:
19949         * gst/gstiterator.h:
19950           Add padding to our base elements' class and instance structs and
19951           to GstIterator (you will need to rebuild all plugins and apps!)
19952
19953 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19954
19955         * gst/gstbin.c: (bin_bus_handler):
19956           Make default message forwarding from child->bus to bin->bus
19957           threadsafe and make it not emit warnings if the parent has no bus.
19958
19959 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19960
19961         * gst/gstelement.c: (activate_pads):
19962           On paused->ready, set pad->caps to NULL, as is the documented
19963           behaviour in this state change. Fixes playback of series of
19964           media files when visualization is enabled in Totem.
19965
19966 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19967
19968         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
19969           Allow NULL as filter-caps (which means "any").
19970
19971 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
19972
19973         * docs/libs/gstreamer-libs-sections.txt:
19974         * libs/gst/controller/gst-controller.c:
19975         * libs/gst/controller/gst-controller.h:
19976         * libs/gst/controller/gst-helper.c:
19977           adding more entries to the docs and fix small doc-bugs
19978
19979 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
19980
19981         * docs/gst/gstreamer-docs.sgml:
19982         * docs/gst/gstreamer-sections.txt:
19983         * docs/gst/gstreamer.types:
19984         * docs/gst/tmpl/gstbasesink.sgml:
19985         * docs/gst/tmpl/gstbasesrc.sgml:
19986         * docs/gst/tmpl/gstbasetransform.sgml:
19987         * docs/gst/tmpl/gstfakesrc.sgml:
19988         * gst/base/gstcollectpads.c:
19989         * gst/base/gstcollectpads.h:
19990         * libs/gst/controller/gst-controller.c:
19991         * libs/gst/controller/gst-controller.h:
19992         * libs/gst/controller/gst-helper.c:
19993         * libs/gst/controller/gst-interpolation.c:
19994         * libs/gst/controller/lib.c:
19995           added long/short desc for controller docs
19996           added collectpads base class docs
19997           added correct includes to base-class docs
19998
19999 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
20000
20001         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20002         (gst_test_mono_source_set_property),
20003         (gst_test_mono_source_class_init), (GST_START_TEST),
20004         (gst_controller_suite):
20005         * docs/gst/gstreamer-docs.sgml:
20006         * docs/gst/gstreamer-sections.txt:
20007         * docs/gst/gstreamer.types:
20008         * docs/libs/gstreamer-libs-docs.sgml:
20009         * docs/libs/gstreamer-libs-sections.txt:
20010         * gst/base/gstadapter.c:
20011         * libs/gst/controller/gst-controller.c:
20012         (gst_controlled_property_new), (gst_controlled_property_free),
20013         (gst_controller_new_valist),
20014         (gst_controller_remove_properties_valist),
20015         (gst_controller_sink_values), (_gst_controller_finalize):
20016         * libs/gst/controller/gst-controller.h:
20017         * libs/gst/controller/gst-helper.c:
20018         (gst_object_control_properties), (gst_object_uncontrol_properties),
20019         (gst_object_get_controller), (gst_object_set_controller),
20020         (gst_object_sink_values), (gst_object_get_value_arrays),
20021         (gst_object_get_value_array):
20022           more tests (and fixes) for the controller
20023           more docs for the controller
20024           integrated companies docs for the adapter 
20025
20026 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
20027
20028         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
20029         (GST_START_TEST), (fakesrc_suite):
20030           add tests for sizetype
20031
20032 2005-08-04  Andy Wingo  <wingo@pobox.com>
20033
20034         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
20035         fixes buffer_alloc proxying among other things.
20036
20037         * gst/base/gstbasetransform.c:
20038         * gst/base/gstbasetransform.h:
20039         Revert patch to gstbasetransform from 7-28 removing
20040         delay_configure.
20041
20042         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
20043         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
20044         Semantics changed, should return not the size of the output buffer
20045         but the byte size of a buffer with a given caps.
20046
20047         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
20048         debug object.
20049         (gst_base_transform_configure_caps): Don't set out_size here: (in,
20050         out) are not the pad caps until setcaps finishes.
20051         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
20052         not-in-place case as well. Deal with changing from in-place to
20053         not-in-place within calling pad_alloc_buffer. Still a bit
20054         concerned about the overhead here...
20055
20056 2005-08-03  Andy Wingo  <wingo@pobox.com>
20057
20058         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
20059         fixating is an error.
20060
20061 2005-08-04  Edward Hervey  <edward@fluendo.com>
20062
20063         * gst/base/gstadapter.h: 
20064         Added gst_adapter_get_type() to the header
20065
20066 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
20067
20068         * check/Makefile.am:
20069         * check/gst-libs/controller.c:
20070         * libs/gst/controller/gst-controller.c:
20071         (gst_controller_new_valist):
20072           added check test suite for the controller
20073         * gst/base/gstpushsrc.c:
20074           fixed a doc typo
20075
20076 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
20077
20078         * docs/gst/Makefile.am:
20079         * docs/gst/gstreamer-docs.sgml:
20080         * docs/gst/gstreamer-sections.txt:
20081         * docs/gst/gstreamer.types:
20082         * docs/gst/tmpl/gstfakesrc.sgml:
20083         * gst/base/README:
20084         * gst/base/gstbasesink.c:
20085         * gst/base/gstbasesink.h:
20086         * gst/base/gstbasesrc.c:
20087         * gst/base/gstbasesrc.h:
20088         * gst/base/gstbasetransform.c:
20089         * gst/base/gstpushsrc.c:
20090         * gst/base/gstpushsrc.h:
20091           add short/long description docs to base classes
20092           add pushsrc to the docs
20093           remove consolidated doc fragments
20094
20095 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
20096
20097         * configure.ac:
20098         * docs/libs/Makefile.am:
20099         * docs/libs/gstreamer-libs-docs.sgml:
20100         * docs/libs/gstreamer-libs-sections.txt:
20101         * docs/libs/gstreamer-libs.types:
20102         * examples/Makefile.am:
20103         * examples/controller/.cvsignore:
20104         * examples/controller/Makefile.am:
20105         * examples/controller/audio-example.c: (main):
20106         * libs/gst/Makefile.am:
20107         * libs/gst/controller/.cvsignore:
20108         * libs/gst/controller/Makefile.am:
20109         * libs/gst/controller/gst-controller.c:
20110         (on_object_controlled_property_changed), (gst_timed_value_compare),
20111         (gst_timed_value_find),
20112         (gst_controlled_property_set_interpolation_mode),
20113         (gst_controlled_property_new), (gst_controlled_property_free),
20114         (gst_controller_find_controlled_property),
20115         (gst_controller_new_valist), (gst_controller_new),
20116         (gst_controller_remove_properties_valist),
20117         (gst_controller_remove_properties), (gst_controller_set),
20118         (gst_controller_set_from_list), (gst_controller_unset),
20119         (gst_controller_get), (gst_controller_get_all),
20120         (gst_controller_sink_values), (gst_controller_get_value_arrays),
20121         (gst_controller_get_value_array),
20122         (gst_controller_set_interpolation_mode),
20123         (_gst_controller_finalize), (_gst_controller_init),
20124         (_gst_controller_class_init), (gst_controller_get_type):
20125         * libs/gst/controller/gst-controller.h:
20126         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
20127         (g_object_uncontrol_properties), (g_object_get_controller),
20128         (g_object_set_controller), (g_object_sink_values),
20129         (g_object_get_value_arrays), (g_object_get_value_array):
20130         * libs/gst/controller/gst-interpolation.c:
20131         (gst_controlled_property_find_timed_value_node),
20132         (interpolate_none_get), (interpolate_trigger_get),
20133         (interpolate_trigger_get_value_array):
20134         * libs/gst/controller/lib.c: (gst_controller_init):
20135         * pkgconfig/Makefile.am:
20136         * pkgconfig/gstreamer-control-uninstalled.pc.in:
20137         * pkgconfig/gstreamer-control.pc.in:
20138         * testsuite/Makefile.am:
20139         * testsuite/controller/.cvsignore:
20140         * testsuite/controller/Makefile.am:
20141         * testsuite/controller/interpolator.c: (main):
20142           added controller code
20143           removed dparam pc files
20144
20145 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
20146         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
20147         (gst_collectpads_stop):
20148           Broadcast the condition when shutting down, to make sure we wake all
20149           threads up. Shut down pads on finalize, for safety.
20150
20151 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
20152         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20153         (gst_base_transform_handle_buffer),
20154         (gst_base_transform_change_state):
20155           Handle PAUSED->READY->PAUSED transition after negotiation
20156           occurred already.
20157         * gst/gstmessage.c: (gst_message_init):
20158           Extra piece of debug for new messages.
20159
20160 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
20161
20162         * configure.ac:
20163         * docs/gst/tmpl/gstbasesrc.sgml:
20164         * docs/gst/tmpl/gstelement.sgml:
20165         * docs/gst/tmpl/gstevent.sgml:
20166         * docs/gst/tmpl/gstfakesrc.sgml:
20167         * docs/gst/tmpl/gstformat.sgml:
20168         * docs/gst/tmpl/gstghostpad.sgml:
20169         * docs/gst/tmpl/gstpad.sgml:
20170         * docs/gst/tmpl/gstquery.sgml:
20171         * docs/gst/tmpl/gststructure.sgml:
20172         * docs/gst/tmpl/gsttaglist.sgml:
20173         * docs/gst/tmpl/gstvalue.sgml:
20174         * docs/libs/gstreamer-libs-docs.sgml:
20175         * docs/libs/gstreamer-libs-sections.txt:
20176         * docs/libs/gstreamer-libs.types:
20177         * libs/gst/Makefile.am:
20178         * libs/gst/control/.cvsignore:
20179         * libs/gst/control/Makefile.am:
20180         * libs/gst/control/control.c:
20181         * libs/gst/control/control.h:
20182         * libs/gst/control/dparam.c:
20183         * libs/gst/control/dparam.h:
20184         * libs/gst/control/dparam_smooth.c:
20185         * libs/gst/control/dparam_smooth.h:
20186         * libs/gst/control/dparamcommon.h:
20187         * libs/gst/control/dparammanager.c:
20188         * libs/gst/control/dparammanager.h:
20189         * libs/gst/control/dplinearinterp.c:
20190         * libs/gst/control/dplinearinterp.h:
20191         * libs/gst/control/unitconvert.c:
20192         * libs/gst/control/unitconvert.h:
20193         * testsuite/Makefile.am:
20194         * testsuite/dynparams/.cvsignore:
20195         * testsuite/dynparams/Makefile.am:
20196         * testsuite/dynparams/dparamstest.c:
20197         * tools/Makefile.am:
20198         * tools/gst-inspect.c: (print_element_info), (main):
20199         * tools/gst-xmlinspect.c: (print_element_info), (main):
20200           deactivate and remove dparams (libgstcontrol)
20201
20202 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
20203
20204         * gst/elements/gsttypefindelement.c:
20205         (gst_type_find_element_have_type), (gst_type_find_element_init),
20206         (stop_typefinding), (gst_type_find_element_handle_event),
20207         (gst_type_find_element_chain), (gst_type_find_element_getrange):
20208         * gst/elements/gsttypefindelement.h:
20209           Set caps on all outgoing buffers, not just the first one.
20210
20211 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
20212
20213         * gst/elements/gsttypefindelement.c:
20214         (gst_type_find_element_have_type),
20215         (gst_type_find_element_check_set_buffer_caps),
20216         (gst_type_find_element_init), (stop_typefinding),
20217         (gst_type_find_element_handle_event),
20218         (gst_type_find_element_chain), (gst_type_find_element_getrange):
20219         * gst/elements/gsttypefindelement.h:
20220           Set caps on first outgoing buffer when we've found the type.
20221
20222 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
20223
20224         * docs/gst/gstreamer-docs.sgml:
20225         * docs/gst/gstreamer-sections.txt:
20226         * docs/gst/tmpl/gstscheduler.sgml:
20227         * docs/gst/tmpl/gstschedulerfactory.sgml:
20228           Remove some old cruft from docs.
20229
20230 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
20231
20232         * gst/gstpad.h:
20233           Fix inline docs for GstPadLinkReturn.
20234           
20235         * gst/gststructure.c: (gst_structure_has_name):
20236         * gst/gststructure.h:
20237         * docs/gst/gstreamer-sections.txt:
20238           New API: gst_structure_has_name().
20239
20240 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
20241
20242         * configure.ac:
20243           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
20244           and _LARGEFILE_SOURCE in config.h as required. Do not 
20245           export those flags in our .pc files any longer (#142209).
20246
20247           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
20248
20249         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
20250         (gst_file_sink_do_seek), (gst_file_sink_event),
20251         (gst_file_sink_get_current_offset), (gst_file_sink_render):
20252           Redo seek/tell calls with large file support in mind; add some
20253           debugging messages; add log message that tells us when large
20254           file support is unavailable or not enabled for some reason.
20255
20256         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
20257           Add log message that tells us when large file support 
20258           is unavailable or not enabled for some reason.
20259
20260 2005-07-29  Wim Taymans  <wim@fluendo.com>
20261
20262         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20263         Added test for removing an element with ghostpad from a bin.
20264         Fixed test as current implementation does the right thing.
20265
20266         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
20267         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
20268         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
20269         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
20270         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
20271         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
20272         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
20273         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
20274         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
20275         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
20276         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
20277         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
20278         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
20279         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
20280         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
20281         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
20282         * gst/gstghostpad.h:
20283         Clean up ghostpads, remove properties for internal stuff.
20284         Make threadsafe.
20285         Fix refcounting.
20286         Prepare for switching targets, not all use cases work yet.
20287
20288 2005-07-29  Wim Taymans  <wim@fluendo.com>
20289
20290         * docs/design/part-gstghostpad.txt:
20291         Small update.
20292
20293         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
20294         (gst_bin_remove_func):
20295         Unlinking pads while holding the bin LOCK is not a good
20296         idea.
20297
20298         * gst/gstpad.c: (gst_pad_class_init),
20299         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
20300         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
20301         No prob setting template after creating the pad.
20302
20303 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
20304
20305         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
20306         (gst_bus_peek), (gst_bus_source_dispatch),
20307         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
20308         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
20309           gst_bus_poll may be called from other threads. Handle
20310           this nicely by not making poll_data disappear off the
20311           stack once gst_bus_poll returns.
20312           gst_bus_peek now increments the refcount on the returned
20313           message.
20314
20315 2005-07-29  Wim Taymans  <wim@fluendo.com>
20316
20317         * docs/design/part-gstghostpad.txt:
20318         Overview of current GhostPad datastructures and use
20319         cases for changing the target.
20320
20321 2005-07-28  Wim Taymans  <wim@fluendo.com>
20322
20323         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
20324         Added checks for hierarchy consistency whan adding linked
20325         elements to bins.
20326
20327         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
20328         Added check to test element scheduling without bin/pipeline.
20329
20330         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
20331         First add elements to bin, then link.
20332         
20333         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
20334         (gst_bin_remove_func):
20335         Unlink pads from elements added/removed from bin to maintain
20336         hierarchy consistency.
20337
20338 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20339
20340         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20341         (gst_base_transform_handle_buffer):
20342         * gst/base/gstbasetransform.h:
20343           Remove broken delay_configure (fixes renegotiation of software
20344           scaling pipelines); remove some leftover printf()s.
20345
20346 2005-07-28  Wim Taymans  <wim@fluendo.com>
20347
20348         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20349         Added some more tests for wrong hierarchy
20350
20351         * docs/design/part-overview.txt:
20352         Some updates.
20353
20354         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
20355         Cleanups.
20356
20357         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
20358         (gst_element_dispose):
20359         Some more cleanups.
20360
20361         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20362         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
20363         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20364         (gst_pad_set_caps), (gst_pad_send_event):
20365         Check for correct hierarchy when linking pads. Moving to
20366         strict requirement for ghostpads when linking elements in
20367         different bins.
20368
20369         * gst/gstpad.h:
20370         Clean ups. Added WRONG_HIERARCHY return value.
20371
20372 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20373
20374         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
20375           Better debug if no transform is possible.
20376
20377 2005-07-27  Wim Taymans  <wim@fluendo.com>
20378
20379         * docs/random/wtay/network-transp:
20380         Some old doc I had.
20381
20382 2005-07-27  Wim Taymans  <wim@fluendo.com>
20383
20384         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20385         (gst_dp_event_from_packet):
20386         Fix serialization of seek events.
20387
20388 2005-07-27  Wim Taymans  <wim@fluendo.com>
20389
20390         * check/gst-libs/gdp.c: (GST_START_TEST):
20391         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20392         Fix compilation and fix event serialization.
20393
20394 2005-07-27  Wim Taymans  <wim@fluendo.com>
20395
20396         * CHANGES-0.9:
20397         * docs/design/part-TODO.txt:
20398         * docs/design/part-events.txt:
20399         Some docs updates
20400
20401         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20402         (gst_base_sink_event), (gst_base_sink_do_sync),
20403         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
20404         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20405         (gst_base_src_do_seek), (gst_base_src_event_handler),
20406         (gst_base_src_loop):
20407         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20408         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20409         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20410         (gst_base_transform_event), (gst_base_transform_handle_buffer),
20411         (gst_base_transform_set_passthrough),
20412         (gst_base_transform_is_passthrough):
20413         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20414         * gst/elements/gstfilesink.c: (gst_file_sink_event):
20415         Event updates.
20416
20417         * gst/gstbuffer.h:
20418         Use faster casts.
20419
20420         * gst/gstelement.c: (gst_element_seek):
20421         * gst/gstelement.h:
20422         Update gst_element_seek.
20423
20424         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
20425         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
20426         (gst_event_new_flush_start), (gst_event_new_flush_stop),
20427         (gst_event_new_eos), (gst_event_new_newsegment),
20428         (gst_event_parse_newsegment), (gst_event_new_tag),
20429         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
20430         (gst_event_parse_qos), (gst_event_new_seek),
20431         (gst_event_parse_seek), (gst_event_new_navigation):
20432         * gst/gstevent.h:
20433         Make GstEvent use GstStructure. Add parsing code, make sure the
20434         API is sufficiently generic.
20435         Mark possible directions of events and serialization.
20436
20437         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
20438         (_gst_message_copy), (gst_message_new_segment_start),
20439         (gst_message_new_segment_done), (gst_message_new_custom),
20440         (gst_message_parse_segment_start),
20441         (gst_message_parse_segment_done):
20442         Small cleanups.
20443
20444         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20445         (gst_pad_set_caps), (gst_pad_send_event):
20446         Update for new events. 
20447         Catch events sent in wrong directions.
20448
20449         * gst/gstqueue.c: (gst_queue_link_src),
20450         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20451         (gst_queue_handle_src_query):
20452         Event updates.
20453
20454         * gst/gsttag.c:
20455         * gst/gsttag.h:
20456         Remove event code from this file.
20457
20458         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20459         (gst_dp_event_from_packet):
20460         Event updates.
20461
20462 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20463
20464         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
20465         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20466         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
20467           Make debugging actually useful.
20468
20469 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20470
20471         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
20472         (gst_pad_fixate_caps):
20473           Implement default fixation once again, so that gst_pad_fixate()
20474           actually does anything at all. This probably needs to be some
20475           sort of a last resort, and use profile-based fixation first, but
20476           since that doesn't exist yet, this is the best we have. Fixes
20477           visualization in Totem.
20478
20479 2005-07-22  Wim Taymans  <wim@fluendo.com>
20480
20481         * docs/design/part-events.txt:
20482         Small update.
20483
20484         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20485         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
20486         (gst_base_sink_activate_pull):
20487         Some more comments.
20488
20489         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
20490         (gst_fake_src_create):
20491         Fix handoff marshall.
20492
20493         * gst/elements/gstidentity.c: (gst_identity_class_init),
20494         (gst_identity_transform_ip):
20495         We're a real inplace element.
20496
20497         * gst/gstbus.c: (gst_bus_post):
20498         Added some comments.
20499
20500         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
20501         * tests/muxing/case1.c: (main):
20502         * tests/sched/dynamic-pipeline.c: (main):
20503         * tests/sched/interrupt1.c: (main):
20504         * tests/sched/interrupt2.c: (main):
20505         * tests/sched/interrupt3.c: (main):
20506         * tests/sched/runxml.c: (main):
20507         * tests/sched/sched-stress.c: (main):
20508         * tests/seeking/seeking1.c: (event_received), (main):
20509         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
20510         (main):
20511         * tests/threadstate/threadstate3.c: (main):
20512         * tests/threadstate/threadstate4.c: (main):
20513         * tests/threadstate/threadstate5.c: (main):
20514         Fix the tests.
20515
20516 2005-07-21  Wim Taymans  <wim@fluendo.com>
20517
20518         * docs/design/part-seeking.txt:
20519         Some small additions.
20520
20521         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20522         (gst_base_sink_get_times), (gst_base_sink_do_sync),
20523         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
20524         * gst/base/gstbasesink.h:
20525         discont values are gint64, handle the math correctly.
20526
20527         * gst/base/gstbasesrc.c: (gst_base_src_loop):
20528         Make the basesrc report error if the source pad is not linked.
20529
20530         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20531         (gst_queue_loop), (gst_queue_handle_src_query),
20532         (gst_queue_src_activate_push):
20533         Make queue collect data even if the srcpad is not linked.
20534         Start pushing out data as soon as it is linked.
20535
20536         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
20537         * gst/gstutils.h:
20538         Added gst_flow_get_name() to ease error reporting.
20539
20540 2005-07-20  Wim Taymans  <wim@fluendo.com>
20541
20542         * gst/gstmessage.c: (gst_message_new_segment_start),
20543         (gst_message_new_segment_done), (gst_message_parse_segment_start),
20544         (gst_message_parse_segment_done):
20545         * gst/gstmessage.h:
20546         Added a bunch of messages for advanced seeking.
20547
20548         * gst/parse/grammar.y:
20549         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
20550         (gst_dpman_state_changed):
20551         Fix some new-pad -> pad-added signals
20552
20553 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20554
20555         * docs/manual/appendix-porting.xml:
20556         * docs/pwg/appendix-porting.xml:
20557           Document new-pad/state-change signal renames and the FixedList
20558           type rename.
20559
20560 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20561
20562         * docs/manual/advanced-autoplugging.xml:
20563         * docs/manual/basics-helloworld.xml:
20564         * docs/manual/basics-pads.xml:
20565         * docs/random/ds/0.9-suggested-changes:
20566         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
20567         * gst/gstelement.h:
20568         * gst/gstevent.h:
20569         * gst/gstformat.h:
20570         * gst/gstquery.h:
20571         * gst/gststructure.c: (gst_structure_value_get_generic_type),
20572         (gst_structure_parse_array), (gst_structure_parse_value):
20573         * gst/gstvalue.c: (gst_type_is_fixed),
20574         (gst_value_list_prepend_value), (gst_value_list_append_value),
20575         (gst_value_list_get_size), (gst_value_list_get_value),
20576         (gst_value_transform_array_string), (gst_value_serialize_array),
20577         (gst_value_deserialize_array), (gst_value_intersect_array),
20578         (gst_value_is_fixed), (_gst_value_initialize):
20579         * gst/gstvalue.h:
20580           GstElement::new-pad -> pad-added, GstElement::state-change ->
20581           state-changed, GstValueFixedList -> GstValueArray, add format and
20582           flags as their own arguments in gst_element_seek() (should improve
20583           "bindeability"), remove function generators since they don't work
20584           under a whole bunch of compilers (they were deprecated already
20585           anyway).
20586
20587 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20588
20589         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
20590         (_gst_debug_register_funcptr):
20591         * gst/gstinfo.h:
20592           Fix illegal cast on some platforms (#309253).
20593
20594 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20595
20596         * gst/gstmessage.c: (gst_message_new_custom):
20597         * gst/gstmessage.h:
20598           Add _new_custom, make _new_application a macro to _new_custom.
20599
20600 2005-07-20  Wim Taymans  <wim@fluendo.com>
20601
20602         * gst/base/gstbasesrc.c: (gst_base_src_init),
20603         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20604         * gst/base/gstbasesrc.h:
20605         Add a gboolean to decide when to push out a discont.
20606
20607         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20608         (gst_queue_loop), (gst_queue_handle_src_query),
20609         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
20610         (gst_queue_set_property), (gst_queue_get_property):
20611         Some cleanups.
20612
20613         * tests/threadstate/threadstate1.c: (main):
20614         Make a thread test compile and run... very silly..
20615
20616
20617 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20618
20619         * docs/manual/appendix-porting.xml:
20620           Mention removal of libgstgconf-0.9.la and existence of gconf
20621           elements.
20622
20623 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20624
20625         * docs/pwg/advanced-clock.xml:
20626         * docs/pwg/appendix-porting.xml:
20627         * docs/pwg/intro-preface.xml:
20628         * docs/pwg/other-base.xml:
20629         * docs/pwg/other-manager.xml:
20630         * docs/pwg/other-nton.xml:
20631         * docs/pwg/other-ntoone.xml:
20632         * docs/pwg/other-oneton.xml:
20633         * docs/pwg/pwg.xml:
20634           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
20635           demuxer), remove n-to-n (was never written), fix some code examples
20636           and links and update the porting section to include all this.
20637
20638 2005-07-19  Wim Taymans  <wim@fluendo.com>
20639
20640         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
20641         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
20642         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
20643         (gst_queue_src_activate_push), (gst_queue_change_state),
20644         (gst_queue_get_property):
20645         * gst/gstqueue.h:
20646         Propagate GstFlowReturn more intelligently upstream and output
20647         an ERROR/EOS when streaming stopped due to fatal error.
20648
20649 2005-07-19  Wim Taymans  <wim@fluendo.com>
20650
20651         * tools/gst-launch.c: (check_intr), (event_loop), (main):
20652         Don't block forever for the state change to complete, the
20653         pipeline already did with a sensible timeout.
20654
20655 2005-07-19  Wim Taymans  <wim@fluendo.com>
20656
20657         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20658         Make sure we never call the create function is we
20659         got deactivated.
20660
20661 2005-07-19  Andy Wingo  <wingo@pobox.com>
20662
20663         * gst/parse/parse.l: Attempt to solve bug #172815.
20664
20665 2005-07-19  Wim Taymans  <wim@fluendo.com>
20666
20667         * docs/design/part-clocks.txt:
20668         * docs/design/part-events.txt:
20669         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
20670         Small docs updates.
20671         Only update the seeking values when we are not
20672         busy streaming.
20673
20674 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
20675
20676         * gst/base/gstbasesrc.c: (gst_base_src_loop):
20677           Oops, ignore the result of gst_pad_push_event here.
20678
20679 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
20680
20681         * gst/base/gstbasesrc.c: (gst_base_src_loop),
20682         (gst_base_src_activate_push):
20683           Send discont event from the loop function, as pads
20684           aren't activated yet in the activate_push handler.
20685
20686         * gst/gstbin.c: (bin_bus_handler):
20687           Don't leak element name.
20688
20689 2005-07-18  Andy Wingo  <wingo@pobox.com>
20690
20691         * configure.ac: Use AS_LIBTOOL_TAGS.
20692
20693 2005-07-18  Wim Taymans  <wim@fluendo.com>
20694
20695         * docs/gst/gstreamer.types:
20696         Remove deleted types.
20697
20698 2005-07-18  Wim Taymans  <wim@fluendo.com>
20699
20700         * check/elements/gstfakesrc.c: (GST_START_TEST):
20701         * configure.ac:
20702         * gst/Makefile.am:
20703         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
20704         (init_popt_callback):
20705         * gst/gst.h:
20706         * gst/gst_private.h:
20707         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
20708         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
20709         * gst/gstbin.h:
20710         * gst/gstbus.h:
20711         * gst/gstconfig.h.in:
20712         * gst/gstelement.c: (gst_element_class_init),
20713         (gst_element_set_base_time), (gst_element_get_base_time),
20714         (iterator_fold_with_resync), (gst_element_change_state),
20715         (gst_element_dispose), (gst_element_get_bus):
20716         * gst/gstelement.h:
20717         * gst/gstelementfactory.h:
20718         * gst/gsterror.c: (_gst_core_errors_init):
20719         * gst/gsterror.h:
20720         * gst/gstevent.h:
20721         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
20722         * gst/gstindex.c:
20723         * gst/gstinfo.c: (_gst_debug_init):
20724         * gst/gstmessage.c: (_gst_message_copy):
20725         * gst/gstmessage.h:
20726         * gst/gstminiobject.h:
20727         * gst/gstobject.c:
20728         * gst/gstobject.h:
20729         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20730         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
20731         * gst/gstpad.h:
20732         * gst/gstparse.h:
20733         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
20734         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
20735         (gst_pipeline_get_last_stream_time):
20736         * gst/gstpipeline.h:
20737         * gst/gstpluginfeature.h:
20738         * gst/gstquery.h:
20739         * gst/gstscheduler.c:
20740         * gst/gstscheduler.h:
20741         * gst/gststructure.h:
20742         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
20743         (gst_task_finalize), (gst_task_func), (gst_task_create),
20744         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
20745         (gst_task_stop), (gst_task_pause):
20746         * gst/gsttask.h:
20747         * gst/gsttypefind.h:
20748         * gst/gsttypes.h:
20749         * gst/registries/gstlibxmlregistry.c: (load_feature),
20750         (gst_xml_registry_load), (gst_xml_registry_save_feature):
20751         * gst/registries/gstxmlregistry.c:
20752         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
20753         * gst/schedulers/threadscheduler.c:
20754         * libs/gst/control/dparammanager.h:
20755         * tools/gst-inspect.c: (print_element_list),
20756         (print_plugin_features), (print_element_features):
20757         * tools/gst-xmlinspect.c: (print_element_list),
20758         (print_plugin_info), (main):
20759         Removed plugable schedulers.
20760         Removed Scheduler/Manager from elements.
20761         Removed gsttypes.h, rearranged includes.
20762         Removed dependency pad<->element, element<>pipeline, and
20763         various others,  fix includes.
20764         implement gst_pad_get_parent() with gst_object_get_parent()
20765         Make GstTask sefcontained.
20766         Fix _get_state() on GstBin, it did not return ASYNC with a 0
20767         timeout.
20768         Fix endless loop in iterator_fold_with_resync.
20769
20770
20771 2005-07-18  Wim Taymans  <wim@fluendo.com>
20772
20773         * gst/Makefile.am:
20774         * gst/gstarch.h:
20775         Remove old file.
20776
20777 2005-07-18  Wim Taymans  <wim@fluendo.com>
20778
20779         * gst/Makefile.am:
20780         No more cothreads.h
20781
20782 2005-07-18  Wim Taymans  <wim@fluendo.com>
20783
20784         * gst/cothreads.c:
20785         * gst/cothreads.h:
20786         Let's remove these.
20787
20788 2005-07-18  Wim Taymans  <wim@fluendo.com>
20789
20790         * docs/design/part-dynamic.txt:
20791         * docs/design/part-events.txt:
20792         * docs/design/part-seeking.txt:
20793         Some more docs in the works.
20794
20795         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20796         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
20797         (gst_base_transform_setcaps), (gst_base_transform_get_size),
20798         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20799         (gst_base_transform_handle_buffer),
20800         (gst_base_transform_sink_activate_push),
20801         (gst_base_transform_src_activate_pull),
20802         (gst_base_transform_set_passthrough),
20803         (gst_base_transform_is_passthrough):
20804         Refcounting fixes.
20805
20806         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
20807         Cleanups.
20808
20809         * gst/gstevent.c: (gst_event_finalize):
20810         Set SRC to NULL.
20811
20812         * gst/gstutils.c: (gst_element_unlink),
20813         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
20814         (gst_pad_proxy_setcaps):
20815         * gst/gstutils.h:
20816         Add _get_parent_element() to get a pads parent as an element.
20817
20818 2005-07-18  Wim Taymans  <wim@fluendo.com>
20819
20820         * check/gst/gstbin.c: (GST_START_TEST):
20821         Remove bogus test.
20822
20823 2005-07-18  Wim Taymans  <wim@fluendo.com>
20824
20825         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
20826         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
20827         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
20828         (gst_base_sink_event), (gst_base_sink_do_sync),
20829         (gst_base_sink_chain), (gst_base_sink_loop),
20830         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
20831         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
20832         Refcounting fixes.
20833         Fix logic for returning ASYNC when not prerolled.
20834
20835 2005-07-18  Wim Taymans  <wim@fluendo.com>
20836
20837         * gst/gstqueue.c: (gst_queue_handle_sink_event):
20838         Fix nasty refcount bug.
20839
20840 2005-07-16 Philippe Khalaf <burger@speedy.org>
20841
20842         * gst/elements/gstfdsrc.c:
20843         * gst/elements/gstfdsrc.h:
20844         * gst/elements/gstelements.c:
20845         * gst/elements/Makefile.am:
20846         Ported fdsrc to 0.9.
20847
20848 2005-07-16  Wim Taymans  <wim@fluendo.com>
20849
20850         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20851         (gst_base_sink_do_sync):
20852         Fix compile error.
20853
20854 2005-07-16  Wim Taymans  <wim@fluendo.com>
20855
20856         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20857         (gst_base_sink_event), (gst_base_sink_get_times),
20858         (gst_base_sink_do_sync), (gst_base_sink_change_state):
20859         * gst/base/gstbasesink.h:
20860         Store and use discont values when syncing buffers as described
20861         in design docs.
20862         
20863         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20864         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
20865         (gst_base_src_activate_push):
20866         Push discont event when starting.
20867
20868         * gst/elements/gstidentity.c: (gst_identity_transform):
20869         Small cleanups.
20870
20871         * gst/gstbin.c: (gst_bin_change_state):
20872         Small cleanups in base_time  distribution.
20873
20874         * gst/gstelement.c: (gst_element_set_base_time),
20875         (gst_element_get_base_time), (gst_element_change_state):
20876         * gst/gstelement.h:
20877         Added methods for the base_time of the element.
20878         Some MT fixes.
20879
20880         * gst/gstpipeline.c: (gst_pipeline_send_event),
20881         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
20882         (gst_pipeline_get_last_stream_time):
20883         * gst/gstpipeline.h:
20884         MT fixes.
20885         Handle seeking as described in design doc, remove stream_time
20886         hack.
20887         Cleanups clock and stream_time selection code. Added accessors
20888         for the stream_time.
20889         
20890
20891 2005-07-16  Andy Wingo  <wingo@pobox.com>
20892
20893         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
20894         (#305291).
20895
20896 2005-07-16  Wim Taymans  <wim@fluendo.com>
20897
20898         * check/gst/gstbin.c: (GST_START_TEST):
20899         Make elements silent as the deep_notify refs the
20900         parent, which might make the test fail.
20901
20902         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
20903         Don't hold the lock for too long.
20904
20905 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
20906
20907         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20908           Don't unref the caps we passed to gst_caps_make_writable() after
20909           passing them. gst_caps_make_writable() will do that for us.
20910
20911 2005-07-15  Andy Wingo  <wingo@pobox.com>
20912
20913         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
20914         (#157311).
20915
20916         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
20917         own marshalling function for the handoff signal. Properly type the
20918         buffer as a buffer. Fixes some warnings. Should do a more general
20919         solution.
20920         (gst_identity_class_init): Plug into the right marshaller.
20921
20922 2005-07-15  Wim Taymans  <wim@fluendo.com>
20923
20924         * docs/design/part-TODO.txt:
20925         * docs/design/part-clocks.txt:
20926         * docs/design/part-element-sink.txt:
20927         * docs/design/part-events.txt:
20928         * docs/design/part-gstpipeline.txt:
20929         Updated docs, mostly DISCONT related.
20930
20931 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
20932
20933         * docs/pwg/building-pads.xml:
20934           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
20935
20936 2005-07-15  Andy Wingo  <wingo@pobox.com>
20937
20938         * tools/gst-typefind.c: Update, add copyright block.
20939
20940         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
20941         Normalize and truncate caps before fixation.
20942
20943         * gst/gstcaps.h:
20944         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
20945         discards all but the first structure from its argument.
20946
20947 2005-07-15  Wim Taymans  <wim@fluendo.com>
20948
20949         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20950         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
20951         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20952         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20953         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
20954         (gst_base_transform_chain), (gst_base_transform_change_state),
20955         (gst_base_transform_set_passthrough),
20956         (gst_base_transform_is_passthrough):
20957         * gst/base/gstbasetransform.h:
20958         Make passthrough work using the bufferpools.
20959         Changed API a bit, subclasses have to write into a buffer
20960         provided by the base class.
20961         More debug info in nego functions.
20962         
20963         * gst/elements/gstidentity.c: (gst_identity_init),
20964         (gst_identity_transform):
20965         Port to new base class.
20966
20967 2005-07-15  Wim Taymans  <wim@fluendo.com>
20968
20969         * gst/gstmessage.c: (gst_message_new_state_changed):
20970         * tools/gst-launch.c: (event_loop), (main):
20971         Totally dump messages in -launch with the -m option.
20972         Fix message name for State messages,
20973
20974 2005-07-14  Wim Taymans  <wim@fluendo.com>
20975
20976         * gst/base/gstbasesrc.c: (gst_base_src_loop):
20977         Post error messages on errors.
20978
20979 2005-07-14  Wim Taymans  <wim@fluendo.com>
20980
20981         * gst/gstcaps.c: (gst_caps_do_simplify):
20982         Remove debug info.
20983
20984         * gst/gsterror.h:
20985         Define error for stream stopped.
20986
20987         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20988         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
20989         Do proper return values.
20990
20991         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20992         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
20993         (gst_pad_get_range):
20994         Better return values.
20995
20996         * gst/gstpad.h:
20997         Reorganise return values, add macro to check for fatal errors.
20998
20999         * gst/gstqueue.c: (gst_queue_chain):
21000         Return proper GstFlowReturn values,
21001
21002 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
21003
21004         * docs/gst/gstreamer-sections.txt:
21005         * docs/gst/gstreamer.types:
21006         * docs/gst/tmpl/gst.sgml:
21007         * docs/gst/tmpl/gstbasesink.sgml:
21008         * docs/gst/tmpl/gstbasesrc.sgml:
21009         * docs/gst/tmpl/gstbasetransform.sgml:
21010         * docs/gst/tmpl/gstbin.sgml:
21011         * docs/gst/tmpl/gstbuffer.sgml:
21012         * docs/gst/tmpl/gstcaps.sgml:
21013         * docs/gst/tmpl/gstclock.sgml:
21014         * docs/gst/tmpl/gstcompat.sgml:
21015         * docs/gst/tmpl/gstconfig.sgml:
21016         * docs/gst/tmpl/gstelement.sgml:
21017         * docs/gst/tmpl/gstelementdetails.sgml:
21018         * docs/gst/tmpl/gstelementfactory.sgml:
21019         * docs/gst/tmpl/gstenumtypes.sgml:
21020         * docs/gst/tmpl/gsterror.sgml:
21021         * docs/gst/tmpl/gstevent.sgml:
21022         * docs/gst/tmpl/gstfakesink.sgml:
21023         * docs/gst/tmpl/gstfakesrc.sgml:
21024         * docs/gst/tmpl/gstfilesink.sgml:
21025         * docs/gst/tmpl/gstfilesrc.sgml:
21026         * docs/gst/tmpl/gstfilter.sgml:
21027         * docs/gst/tmpl/gstformat.sgml:
21028         * docs/gst/tmpl/gstghostpad.sgml:
21029         * docs/gst/tmpl/gstimplementsinterface.sgml:
21030         * docs/gst/tmpl/gstindex.sgml:
21031         * docs/gst/tmpl/gstindexfactory.sgml:
21032         * docs/gst/tmpl/gstinfo.sgml:
21033         * docs/gst/tmpl/gstiterator.sgml:
21034         * docs/gst/tmpl/gstmacros.sgml:
21035         * docs/gst/tmpl/gstmemchunk.sgml:
21036         * docs/gst/tmpl/gstminiobject.sgml:
21037         * docs/gst/tmpl/gstobject.sgml:
21038         * docs/gst/tmpl/gstpad.sgml:
21039         * docs/gst/tmpl/gstpadtemplate.sgml:
21040         * docs/gst/tmpl/gstparse.sgml:
21041         * docs/gst/tmpl/gstpipeline.sgml:
21042         * docs/gst/tmpl/gstplugin.sgml:
21043         * docs/gst/tmpl/gstpluginfeature.sgml:
21044         * docs/gst/tmpl/gstquery.sgml:
21045         * docs/gst/tmpl/gstqueue.sgml:
21046         * docs/gst/tmpl/gstregistry.sgml:
21047         * docs/gst/tmpl/gstregistrypool.sgml:
21048         * docs/gst/tmpl/gstscheduler.sgml:
21049         * docs/gst/tmpl/gstschedulerfactory.sgml:
21050         * docs/gst/tmpl/gststructure.sgml:
21051         * docs/gst/tmpl/gstsystemclock.sgml:
21052         * docs/gst/tmpl/gsttaglist.sgml:
21053         * docs/gst/tmpl/gsttagsetter.sgml:
21054         * docs/gst/tmpl/gsttrace.sgml:
21055         * docs/gst/tmpl/gsttrashstack.sgml:
21056         * docs/gst/tmpl/gsttypefind.sgml:
21057         * docs/gst/tmpl/gsttypefindfactory.sgml:
21058         * docs/gst/tmpl/gsttypes.sgml:
21059         * docs/gst/tmpl/gsturihandler.sgml:
21060         * docs/gst/tmpl/gsturitype.sgml:
21061         * docs/gst/tmpl/gstutils.sgml:
21062         * docs/gst/tmpl/gstvalue.sgml:
21063         * docs/gst/tmpl/gstversion.sgml:
21064         * docs/gst/tmpl/gstxml.sgml:
21065         * docs/libs/tmpl/gstcontrol.sgml:
21066         * docs/libs/tmpl/gstdataprotocol.sgml:
21067         * docs/libs/tmpl/gstdparam.sgml:
21068         * docs/libs/tmpl/gstdplinint.sgml:
21069         * docs/libs/tmpl/gstdpman.sgml:
21070         * docs/libs/tmpl/gstdpsmooth.sgml:
21071         * docs/libs/tmpl/gstgetbits.sgml:
21072         * docs/libs/tmpl/gstunitconvert.sgml:
21073         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
21074         (gst_push_src_base_init), (gst_push_src_class_init),
21075         (gst_push_src_init), (gst_push_src_create):
21076         * gst/base/gstpushsrc.h:
21077         * gst/elements/gstelements.c:
21078         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
21079         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
21080         (gst_fake_sink_init), (gst_fake_sink_set_property),
21081         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
21082         (gst_fake_sink_event), (gst_fake_sink_preroll),
21083         (gst_fake_sink_render), (gst_fake_sink_change_state):
21084         * gst/elements/gstfakesink.h:
21085         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
21086         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
21087         (gst_fake_src_base_init), (gst_fake_src_class_init),
21088         (gst_fake_src_init), (gst_fake_src_event_handler),
21089         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
21090         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
21091         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
21092         (gst_fake_src_create_buffer), (gst_fake_src_create),
21093         (gst_fake_src_start), (gst_fake_src_stop):
21094         * gst/elements/gstfakesrc.h:
21095         * gst/elements/gstfilesink.c: (_do_init),
21096         (gst_file_sink_base_init), (gst_file_sink_class_init),
21097         (gst_file_sink_init), (gst_file_sink_dispose),
21098         (gst_file_sink_set_location), (gst_file_sink_set_property),
21099         (gst_file_sink_get_property), (gst_file_sink_open_file),
21100         (gst_file_sink_close_file), (gst_file_sink_query),
21101         (gst_file_sink_event), (gst_file_sink_render),
21102         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
21103         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
21104         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
21105         * gst/elements/gstfilesink.h:
21106         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
21107         (gst_file_src_class_init), (gst_file_src_init),
21108         (gst_file_src_finalize), (gst_file_src_set_location),
21109         (gst_file_src_set_property), (gst_file_src_get_property),
21110         (gst_file_src_map_region), (gst_file_src_map_small_region),
21111         (gst_file_src_create_mmap), (gst_file_src_create_read),
21112         (gst_file_src_create), (gst_file_src_is_seekable),
21113         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
21114         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
21115         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
21116         (gst_file_src_uri_handler_init):
21117         * gst/elements/gstfilesrc.h:
21118           more autistic cleanliness in functions/names/defines
21119
21120 2005-07-13  Andy Wingo  <wingo@pobox.com>
21121
21122         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
21123         source couldn't negotiate.
21124
21125         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
21126         connections again.
21127
21128         * gst/gstutils.h:
21129         * gst/gstutils.c (gst_element_link_pads_filtered): New old
21130         function. I am channeling Hades. Put your boots on suckers!!!
21131
21132 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21133
21134         * testsuite/caps/Makefile.am:
21135         * testsuite/caps/value_compare.c:
21136         * testsuite/caps/value_intersect.c:
21137         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21138           move two testsuite apps over to the check dir
21139
21140 2005-07-12  Wim Taymans  <wim@fluendo.com>
21141
21142         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21143         Added more debug info in the negotiate process.
21144
21145         * gst/gstmessage.h:
21146         Prepare for segment playback.
21147
21148         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
21149         Better debugging.
21150
21151         * gst/gstutils.c:
21152         Some more docs.
21153
21154         * tools/gst-launch.c: (main):
21155         NULL pipeline on errors.
21156
21157 2005-07-12  Andy Wingo  <wingo@pobox.com>
21158
21159         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
21160         not it comes from a malloc region. Make sure our copy gets freed.
21161
21162 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21163
21164         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21165         * check/gst/gstmessage.c: (GST_START_TEST):
21166         * check/gst/gststructure.c: (GST_START_TEST),
21167         (gst_structure_suite), (main):
21168           more testing
21169         * gst/gstelement.c: (gst_element_message_full):
21170           clean up GError and debug string now that they get copied
21171         * gst/gstmessage.c: (gst_message_new_error),
21172         (gst_message_new_warning), (gst_message_parse_error),
21173         (gst_message_parse_warning):
21174           use GST_TYPE_G_ERROR for structure_new, and take copies of
21175           arguments, so that we don't mess up refcounting
21176
21177 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21178
21179         * check/Makefile.am:
21180           add per-test valgrind targets
21181         * check/gst-libs/gdp.c: (GST_START_TEST),
21182         (gst_data_protocol_suite), (main):
21183           clean up
21184
21185 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21186
21187         * check/Makefile.am:
21188           instate more valgrindable tests
21189         * check/elements/gstfakesrc.c: (chain_func), (event_func),
21190         (GST_START_TEST), (fakesrc_suite):
21191         * check/gst/gstpad.c: (GST_START_TEST):
21192         * check/gst/gststructure.c: (GST_START_TEST):
21193           fix test leaks
21194         * docs/gst/tmpl/gstminiobject.sgml:
21195         * gst/gstpad.c: (gst_pad_finalize):
21196           fix the static mutex leak
21197
21198 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21199
21200         * check/Makefile.am:
21201           add two more tests for valgrinding
21202         * check/gst/gstvalue.c: (GST_START_TEST):
21203           test refcount of deserialized buffer, found a leak
21204         * docs/gst/gstreamer-docs.sgml:
21205         * docs/gst/gstreamer-sections.txt:
21206         * docs/gst/gstreamer.types:
21207         * docs/gst/tmpl/gstminiobject.sgml:
21208           add miniobject to docs
21209         * gst/gstminiobject.c:
21210           add some docs
21211         * gst/gstvalue.c: (gst_value_deserialize_buffer),
21212         (gst_string_unwrap):
21213           fix a hard-to-find invalid write for one of the tests
21214           fix a leak for deserialized buffers
21215
21216 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21217
21218         * docs/pwg/advanced-events.xml:
21219         * docs/pwg/advanced-request.xml:
21220         * docs/pwg/advanced-scheduling.xml:
21221         * docs/pwg/appendix-porting.xml:
21222         * docs/pwg/building-boiler.xml:
21223         * docs/pwg/intro-preface.xml:
21224         * docs/pwg/other-ntoone.xml:
21225           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
21226           of example code and explanation for pad activation, loop() and
21227           getrange() functions and a bit more. Remove old comments pointing
21228           to loop-functions.
21229         * examples/pwg/Makefile.am:
21230           Add loop/getrange examples.
21231
21232 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21233
21234         * configure.ac:
21235           check for valgrind binary + some fixes
21236         * check/gst.supp:
21237           valgrind suppressions for the tests
21238         * check/Makefile.am:
21239           add a valgrind: target that valgrinds the unit tests
21240         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
21241         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
21242         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21243         * check/gst/gstghostpad.c:
21244           added some cleanup
21245         * check/gst/gstdata.c:
21246           removed
21247         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
21248         (thread_unref), (gst_mini_object_suite), (main):
21249           added
21250         * gst/gst.c: (gst_deinit):
21251         * gst/gst.h:
21252           add a method to clean up.
21253         * gst/gstsystemclock.c: (gst_system_clock_dispose),
21254         (gst_system_clock_obtain):
21255           allow for disposing the system clock.
21256         * tools/gst-launch.c: (main):
21257           deinit
21258
21259 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21260
21261         * docs/gst/tmpl/gstbasesrc.sgml:
21262         * docs/gst/tmpl/gstfakesrc.sgml:
21263         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21264         (gst_base_src_init), (gst_base_src_set_property),
21265         (gst_base_src_get_property), (gst_base_src_get_range),
21266         (gst_base_src_start):
21267         * gst/base/gstbasesrc.h:
21268           add num-buffers property
21269         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21270         (gst_fakesrc_init), (gst_fakesrc_set_property),
21271         (gst_fakesrc_get_property), (gst_fakesrc_create),
21272         (gst_fakesrc_start):
21273           remove num-buffers property
21274
21275 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21276
21277         * docs/gst/gstreamer-sections.txt:
21278         * docs/gst/tmpl/gstbasesink.sgml:
21279         * docs/gst/tmpl/gstbasesrc.sgml:
21280         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
21281         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
21282         (gst_base_sink_finalize), (gst_base_sink_set_clock),
21283         (gst_base_sink_set_property), (gst_base_sink_get_property),
21284         (gst_base_sink_handle_object), (gst_base_sink_event),
21285         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21286         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
21287         (gst_base_sink_loop), (gst_base_sink_deactivate),
21288         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
21289         (gst_base_sink_change_state):
21290         * gst/base/gstbasesink.h:
21291         * gst/base/gstbasesrc.h:
21292         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
21293         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
21294         (gst_filesink_init):
21295           more macro splitting
21296
21297 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21298
21299         * gst/gstelement.c: (gst_element_get_bus):
21300           add debug
21301         * tools/gst-launch.c: (check_intr), (event_loop):
21302           fix bus leaks
21303
21304 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21305
21306         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
21307           fix a caps leak
21308
21309 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21310
21311         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21312         (gst_base_src_finalize):
21313           add finalize method and clean up properly
21314         * gst/gstpipeline.c: (gst_pipeline_dispose):
21315           add debug
21316
21317 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21318
21319         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
21320         (gst_bin_suite):
21321           add more things to check
21322         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21323         * gst/gstelement.c:
21324           more debug
21325
21326 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21327
21328         * check/elements/gstfakesrc.c: (chain_func), (event_func),
21329         (GST_START_TEST), (fakesrc_suite):
21330         * check/gst-libs/gdp.c: (GST_START_TEST):
21331         * check/gst/gst.c: (GST_START_TEST):
21332         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21333         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21334         * check/gst/gstbus.c: (GST_START_TEST):
21335         * check/gst/gstcaps.c: (GST_START_TEST):
21336         * check/gst/gstdata.c: (GST_START_TEST):
21337         * check/gst/gstelement.c: (GST_START_TEST):
21338         * check/gst/gstghostpad.c: (GST_START_TEST):
21339         * check/gst/gstiterator.c: (GST_START_TEST):
21340         * check/gst/gstmessage.c: (GST_START_TEST):
21341         * check/gst/gstobject.c: (GST_START_TEST):
21342         * check/gst/gstpad.c: (GST_START_TEST):
21343         * check/gst/gststructure.c: (GST_START_TEST):
21344         * check/gst/gstsystemclock.c: (GST_START_TEST),
21345         (gst_systemclock_suite):
21346         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21347         * check/gst/gstvalue.c: (GST_START_TEST):
21348         * check/pipelines/cleanup.c: (GST_START_TEST):
21349         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21350         * check/states/sinks.c: (GST_START_TEST):
21351         * check/gstcheck.c: (gst_check_init):
21352         * check/gstcheck.h:
21353           add debugging category
21354           use GST_START_TEST now, so we add a debug line
21355
21356 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21357
21358         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
21359           add test for state change message on a bin
21360         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
21361           add another test
21362         * gst/gstbin.c: (gst_bin_init):
21363         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
21364         * gst/gstelement.c: (gst_element_post_message),
21365         (gst_element_set_state):
21366         * gst/gstelementfactory.c: (gst_element_factory_create):
21367         * gst/gstmessage.c: (gst_message_new):
21368         * gst/gstscheduler.c:
21369           various debugging additions and cleanups
21370
21371 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21372
21373         * check/Makefile.am:
21374         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
21375         (main):
21376           adding tests for elements
21377         * gst/gstelement.c: (gst_element_dispose):
21378
21379 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21380
21381         * gst/registries/gstlibxmlregistry.c: (load_feature):
21382           plug more leaks.  A simple gst_init() now is leakfree, yay.
21383
21384 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21385
21386         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
21387         (gst_xml_registry_load):
21388           plug another memleak
21389
21390 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21391
21392         * configure.ac:
21393           use GST_SET_ERROR_CFLAGS
21394         * docs/faq/cvs.xml:
21395           change to ERROR_CFLAGS
21396
21397 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21398
21399         * configure.ac:
21400           make GST_ERROR_CFLAGS overridable and re-enable Werror
21401         * docs/faq/cvs.xml:
21402           add a note about error CFLAGS
21403         * docs/gst/tmpl/gstfakesrc.sgml:
21404         * gst/elements/gstfakesrc.c:
21405           comment out some unused code
21406         * gst/gst.c: (split_and_iterate):
21407         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
21408         (load_feature):
21409           plug some memleaks
21410
21411 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21412
21413         * common/Makefile.am:
21414         * common/gtk-doc.mak:
21415         * docs/gst/Makefile.am:
21416           factor out gtk-doc.mak
21417
21418 2005-07-07  Wim Taymans  <wim@fluendo.com>
21419
21420         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
21421         (gst_thread_scheduler_dispose):
21422         Unlock the STREAM_LOCK completely.
21423
21424 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21425
21426         * check/Makefile.am:
21427         * check/elements/.cvsignore:
21428         * check/elements/gstfakesrc.c: (chain_func), (event_func),
21429         (START_TEST), (fakesrc_suite), (main):
21430         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21431         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
21432         (gst_fakesrc_create), (gst_fakesrc_start):
21433         * gst/elements/gstfakesrc.h:
21434           adding a first element test
21435
21436 2005-07-07  Andy Wingo  <wingo@pobox.com>
21437
21438         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
21439         debug message.
21440
21441 2005-07-07  Wim Taymans  <wim@fluendo.com>
21442
21443         * gst/gstquery.c:
21444         * gst/gstquery.h:
21445         Remove old types
21446
21447 2005-07-07  Wim Taymans  <wim@fluendo.com>
21448
21449         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
21450         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
21451         Allow subclasses to implement their own negotiation.
21452
21453 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
21454
21455         * docs/design/part-gstbin.txt:
21456         * docs/design/part-gstpipeline.txt:
21457           Update design notes to reflect the movement of
21458           responsibility for bus handling from GstPipeline to
21459           GstBin
21460
21461 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
21462
21463         * configure.ac:
21464           Remove unnecessary queue2/3/4 examples.
21465
21466 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
21467
21468         * examples/Makefile.am:
21469         * examples/helloworld/helloworld.c: (event_loop), (main):
21470         * examples/queue/queue.c: (event_loop), (main):
21471         * examples/queue2/queue2.c: (main):
21472           Update a couple of the examples to work again.
21473
21474         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21475         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
21476          Spelling corrections and extra debug.
21477         
21478         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
21479         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
21480         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
21481         * gst/gstbin.h:
21482         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
21483         (gst_pipeline_change_state):
21484         * gst/gstpipeline.h:
21485           Move the bus handler for children to the GstBin, and create a
21486           separate bus for receiving messages from children to the one the
21487           bus sends 'upwards' on.
21488
21489 2005-07-06  Wim Taymans  <wim@fluendo.com>
21490
21491         * gst/base/README:
21492         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21493         (gst_base_sink_handle_object), (gst_base_sink_loop),
21494         (gst_base_sink_change_state):
21495         * gst/base/gstbasesink.h:
21496         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21497         (gst_base_src_init), (gst_base_src_setcaps),
21498         (gst_base_src_getcaps), (gst_base_src_loop),
21499         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
21500         (gst_base_src_start), (gst_base_src_change_state):
21501         * gst/base/gstbasesrc.h:
21502         Make basesrc negotiate.
21503         Handle the case where preroll fails in basesink.
21504         Update README.
21505
21506 2005-07-06  Wim Taymans  <wim@fluendo.com>
21507
21508         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
21509         Implement the fixate function.
21510         Clean up acceptcaps.
21511
21512 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21513
21514         * docs/pwg/building-filterfactory.xml:
21515         * docs/pwg/pwg.xml:
21516           Remove never-written filter-factory chapter; I'll add the various
21517           base classes to part 4 ("other element types") later on.
21518
21519 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21520
21521         * docs/pwg/advanced-negotiation.xml:
21522         * docs/pwg/building-boiler.xml:
21523         * docs/pwg/building-pads.xml:
21524         * docs/pwg/pwg.xml:
21525         * examples/pwg/Makefile.am:
21526           Add a chapter on caps negotiation, simplify the original code
21527           samples a bit w.r.t. caps negotiation, add link to the advanced
21528           section. Add a bunch of examples showing different use cases of
21529           different types of caps negotiation. Upstream renegotiation isn't
21530           fully documented yet since nobody knows how that works.
21531
21532 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21533
21534         * check/gst/gstpad.c:
21535         * check/gstcheck.c:
21536         * gst/gstpad.c: (gst_pad_get_internal_links_default):
21537           if pad has no parent, return NULL as list of internal links
21538
21539 2005-07-05  Andy Wingo  <wingo@pobox.com>
21540
21541         * gst/elements/gstfilesrc.c:
21542         * gst/elements/gstfakesrc.c: 
21543         * gst/base/gstpushsrc.c:
21544         * gst/base/gstbasesrc.h: 
21545         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
21546         
21547 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
21548
21549         * Makefile.am:
21550           better report generation target (lcov needs a patch)
21551
21552 2005-07-05  Andy Wingo  <wingo@pobox.com>
21553
21554         * gst/elements, testsuite: Null if we got it...
21555
21556 2005-07-05  Wim Taymans  <wim@fluendo.com>
21557
21558         * configure.ac:
21559         * libs/gst/dataprotocol/Makefile.am:
21560         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
21561         * libs/gst/dataprotocol/dataprotocol.h:
21562         * pkgconfig/Makefile.am:
21563         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
21564         * pkgconfig/gstreamer-dataprotocol.pc.in:
21565         Ported dataprotol to 0.9. 
21566         Added pkgconfig files.
21567
21568 2005-07-05  Andy Wingo  <wingo@pobox.com>
21569
21570         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
21571         Default to returning TRUE for the case when tranform_caps returns
21572         a fixed caps, like for identity or volume.
21573
21574         * check/gst/gstbus.c (pound_bus_with_messages): 
21575         * check/gst/gstmessage.c (START_TEST): 
21576         * check/pipelines/simple_launch_lines.c (got_handoff): Application
21577         message API change.
21578
21579         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
21580         logic weaks here: always run transform_caps, trying passthrough
21581         operation only if the original caps intersects with the transform.
21582
21583         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
21584         source and sink caps.
21585
21586         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
21587         Intersect the peer caps with the pad template before going into
21588         transform_caps.
21589         (gst_base_transform_transform_caps): More debugging.
21590
21591         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
21592         src argument.
21593
21594 2005-07-04  Edward Hervey  <edward@fluendo.com>
21595
21596         * gst/gstutils.c:
21597         * gst/gstutils.h:
21598         (gst_pad_add_*_probe): now returns the signal id for better wrapping
21599         in bindings.
21600
21601 2005-07-04  Andy Wingo  <wingo@pobox.com>
21602
21603         * check/gst/gstpad.c: Only set explicit caps on pads.
21604
21605 2005-07-01  Andy Wingo  <wingo@pobox.com>
21606
21607         * tests/network-clock.scm: Commentary update.
21608
21609         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
21610         Didn't really make sense, not implementable with basetransform,
21611         etc.
21612         (gst_identity_transform): Unref inbuf via make_writable. Feeble
21613         attempt at implementing the sync property, needs an unlock method.
21614
21615         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
21616         New func, by default returns the same caps (the identity
21617         transformation).
21618         (gst_base_transform_getcaps): Uses transform_caps to return
21619         something sensible.
21620         (gst_base_transform_setcaps): Complicated logic to get caps on
21621         both pads, even if they are different, and to call set_caps once
21622         for every time both pads get their caps set.
21623         (gst_base_transform_handle_buffer): Give the ref to the transform
21624         function. Allows in-place modification of the buffer.
21625
21626         * gst/base/gstbasetransform.h (transform_caps): New class method.
21627         Given caps on one side, what can I do on the other.
21628         (set_caps): Take two caps, one for each side of the element.
21629
21630         * gst/gstpad.h:
21631         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
21632         caps in place. This is safe because we can check the mutability of
21633         the caps, and a good idea because fixate functions are just called
21634         as a matter of last resort. (Not actually implemented.)
21635         (gst_pad_set_caps): If the caps we're setting is actually the same
21636         as the existing pad caps, just update the pointer without calling
21637         setcaps. Assert that caps is either NULL or fixed, as per the
21638         docs.
21639
21640         * gst/gstghostpad.c: Update for fixate changes.
21641
21642 2005-07-02  Andy Wingo  <wingo@pobox.com>
21643
21644         * gst/gstcaps.c:
21645         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
21646         two refcounts makes it immutable, which is enough. Doc more.
21647
21648 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
21649
21650         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
21651           Put the mini_object into GValue as a mini_object,
21652           not a gpointer, since that's how we declared
21653           the signal.
21654
21655 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21656
21657         * examples/pwg/Makefile.am:
21658           Fix buildbot again.
21659
21660 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21661
21662         * docs/pwg/building-testapp.xml:
21663           Add extra check.
21664         * examples/pwg/Makefile.am:
21665           Fix buildbot.
21666
21667 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21668
21669         * configure.ac:
21670         * examples/Makefile.am:
21671         * examples/pwg/Makefile.am:
21672         * examples/pwg/extract.pl:
21673           Enable building the PWG examples.
21674         * docs/pwg/advanced-interfaces.xml:
21675           Add URI interface stub.
21676         * docs/pwg/advanced-types.xml:
21677         * docs/pwg/other-autoplugger.xml:
21678         * docs/pwg/appendix-porting.xml:
21679         * docs/pwg/pwg.xml:
21680           Add porting guide (mostly stubs), remove autoplugging (see ADM).
21681         * docs/pwg/building-boiler.xml:
21682         * docs/pwg/building-chainfn.xml:
21683         * docs/pwg/building-pads.xml:
21684         * docs/pwg/building-props.xml:
21685         * docs/pwg/building-state.xml:
21686         * docs/pwg/building-testapp.xml:
21687           Update the building-*.xml parts for 0.9 changes. All examples
21688           code blocks compile in examples/pwg/*.
21689
21690 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21691
21692         * docs/manual/advanced-autoplugging.xml:
21693         * docs/manual/appendix-checklist.xml:
21694         * docs/manual/appendix-integration.xml:
21695         * docs/manual/highlevel-components.xml:
21696           Fix playbin/decodebin examples, update docs a bit, mention bus
21697           instead of signals in various places, mention kmplayer and
21698           kaffeine since they have a working GStreamer backend in the KDE
21699           section.
21700
21701 2005-06-30  Wim Taymans  <wim@fluendo.com>
21702
21703         * CHANGES-0.9:
21704         * docs/design/draft-ghostpads.txt:
21705         * docs/design/draft-push-pull.txt:
21706         * docs/design/draft-query.txt:
21707         * docs/design/part-TODO.txt:
21708         * docs/design/part-query.txt:
21709         Added CHANGES-0.9 doc, updated status of other docs.
21710         
21711         * gst/gstquery.h:
21712         Remove "hmm" macro
21713
21714 2005-06-30  Wim Taymans  <wim@fluendo.com>
21715
21716         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21717         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
21718         (gst_base_sink_change_state):
21719         * gst/base/gstbasesink.h:
21720         Some tweaks, only EOS and a buffer complete a preroll.
21721
21722 2005-06-30  Andy Wingo  <wingo@pobox.com>
21723
21724         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
21725         activate_push down to the internal pad as well.
21726
21727 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
21728
21729         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21730
21731         * gst/gsttaginterface.c:
21732           Some documentation fixes (#307394 and #307397).
21733
21734 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
21735
21736         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21737
21738         * gst/gstvalue.c: (gst_value_intersect_list):
21739           Fix memleak (#309125).
21740
21741 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21742
21743         * docs/manual/advanced-dataaccess.xml:
21744           Fix fakesrc example to compile; doesn't work, bug somewhere...?
21745         * docs/manual/basics-pads.xml:
21746           Add reference for filtered caps to above chapter.
21747
21748 2005-06-30  Wim Taymans  <wim@fluendo.com>
21749
21750         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
21751         (gst_bin_change_state):
21752         Probes are gone.
21753         Lame attempt at making the state change function a bit
21754         more readable.
21755
21756 2005-06-30  Wim Taymans  <wim@fluendo.com>
21757
21758         * docs/design/part-clocks.txt:
21759         * docs/design/part-element-sink.txt:
21760         * docs/design/part-events.txt:
21761         * docs/design/part-preroll.txt:
21762         * docs/design/part-states.txt:
21763         Some more tweeks and additions to the docs.
21764
21765 2005-06-30  Wim Taymans  <wim@fluendo.com>
21766
21767         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21768         (default_have_data), (gst_pad_class_init), (gst_pad_init),
21769         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
21770         (gst_pad_check_pull_range), (gst_pad_get_range),
21771         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
21772         * gst/gstpad.h:
21773         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
21774         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
21775         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
21776         (gst_pad_remove_buffer_probe):
21777         Removed atomic operations, use existing LOCK.
21778         Move exception handling out of main code path.
21779
21780 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21781
21782         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21783         (silly_return_true_function), (gst_pad_class_init),
21784         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
21785         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
21786         (gst_pad_send_event):
21787           Fix accumulator, add default value by using _emitv() instead
21788           of _emit() for signal emission.
21789
21790 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21791
21792         * docs/manual/advanced-dataaccess.xml:
21793         * examples/manual/Makefile.am:
21794           Add probe example.
21795         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
21796           Make work (??).
21797
21798 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
21799
21800         * gst/elements/gstfilesink.c: (gst_filesink_render):
21801           Simplify code so that we don't have to handle short
21802           writes and return GST_FLOW_ERROR if an error occured.
21803
21804 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21805
21806         * docs/gst/gstreamer-docs.sgml:
21807           Remove probes more.
21808
21809 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21810
21811         * docs/gst/gstreamer-sections.txt:
21812         * docs/gst/tmpl/gstpad.sgml:
21813         * docs/gst/tmpl/gstprobe.sgml:
21814         * gst/Makefile.am:
21815         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21816         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
21817         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
21818         (gst_pad_push_event), (gst_pad_send_event):
21819         * gst/gstpad.h:
21820         * gst/gstutils.c: (gst_pad_add_data_probe),
21821         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
21822         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
21823         (gst_pad_remove_buffer_probe):
21824         * gst/gstutils.h:
21825           Remove old probes, add new g-signal-based probes and some utility
21826           functions.
21827
21828 2005-06-29  Edward Hervey  <edward@fluendo.com>
21829
21830         * gst/gstelementfactory.c:
21831         * gst/gstutils.h:
21832         * gst/gstutils.c:
21833         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
21834         the definition to the header file.
21835
21836 2005-06-29  Andy Wingo  <wingo@pobox.com>
21837
21838         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
21839         plugins from the source directory.
21840
21841 2005-06-29  Wim Taymans  <wim@fluendo.com>
21842
21843         * docs/gst/tmpl/gstbuffer.sgml:
21844         * docs/gst/tmpl/gstclock.sgml:
21845         Some fixings for blantently wrong text.
21846
21847 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
21848
21849         * check/Makefile.am:
21850         * gst/gst.c: (add_path_func), (init_pre):
21851         * gst/gstregistry.c: (gst_registry_add_path):
21852           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
21853           only scan the GST_PLUGIN_PATH locations, and not add
21854           system locations
21855
21856 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
21857
21858         * docs/gst/gstreamer-sections.txt:
21859         * docs/gst/tmpl/gstbasesrc.sgml:
21860         * gst/gstelement.c:
21861         * gst/gstelement.h:
21862         * gst/gstevent.c:
21863         * gst/gstutils.c:
21864           doc fixes
21865
21866 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21867
21868         * docs/manual/advanced-autoplugging.xml:
21869           Fix autoplugging example.
21870
21871 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21872
21873         * docs/manual/advanced-autoplugging.xml:
21874         * docs/manual/mime-world.fig:
21875           Try to get autoplugging working, fix type detection. Fix text
21876           in hello-world image.
21877
21878 2005-06-29  Wim Taymans  <wim@fluendo.com>
21879
21880         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21881         (gst_base_sink_change_state):
21882         Small debug line.
21883
21884         * gst/gstclock.h:
21885         map SIGNAL and BROADCAST to the right function.
21886
21887         * gst/gstobject.h:
21888         Remove redundant braces.
21889
21890         * gst/gstpad.c: (gst_pad_set_caps):
21891         Don't call setcaps function when reseting caps to NULL.
21892
21893         * gst/gstsystemclock.c: (gst_system_clock_dispose),
21894         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
21895         (gst_system_clock_id_unschedule):
21896         Use BROADCAST as this is what we do.
21897
21898 2005-06-29  Wim Taymans  <wim@fluendo.com>
21899
21900         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21901         We are actually prerolling before commiting the state
21902         change. 
21903
21904 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21905
21906         * docs/manual/advanced-clocks.xml:
21907         * docs/manual/advanced-interfaces.xml:
21908         * docs/manual/advanced-metadata.xml:
21909         * docs/manual/advanced-position.xml:
21910         * docs/manual/advanced-schedulers.xml:
21911         * docs/manual/advanced-threads.xml:
21912         * docs/manual/appendix-porting.xml:
21913         * docs/manual/basics-bins.xml:
21914         * docs/manual/basics-bus.xml:
21915         * docs/manual/basics-elements.xml:
21916         * docs/manual/basics-helloworld.xml:
21917         * docs/manual/basics-pads.xml:
21918         * docs/manual/highlevel-components.xml:
21919         * docs/manual/manual.xml:
21920         * docs/manual/thread.fig:
21921           Update (until threads/scheduling) Application Development Manual;
21922           remove GstThread, add GstBus, add simple porting checklist, add
21923           documentation for tag writing, clocks, make all examples until this
21924           part compile and run.
21925         * examples/manual/Makefile.am:
21926           Update from changes to Application Development Manual; add bus
21927           example, remove thread example.
21928
21929 2005-06-28  Wim Taymans  <wim@fluendo.com>
21930
21931         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
21932         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
21933         (gst_bus_source_dispatch):
21934         Add debugging messages.
21935         Make internal methods static.
21936         Handle the case where the bus is flushed in the handler.
21937         
21938         * gst/gstelement.c: (gst_element_get_bus):
21939         Fix refcount in _get_bus();
21940
21941         * gst/gstpipeline.c: (gst_pipeline_change_state),
21942         (gst_pipeline_get_clock_func):
21943         Clock refcounting fixes.
21944         Handle the case where preroll timed out more gracefully.
21945         
21946         * gst/gstsystemclock.c: (gst_system_clock_dispose):
21947         Clean up the internal thread in dispose. This is needed
21948         for subclasses that actually get disposed.
21949         
21950         * gst/schedulers/threadscheduler.c:
21951         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
21952         (gst_thread_scheduler_dispose):
21953         Free thread pool in dispose.
21954
21955 2005-06-28  Andy Wingo  <wingo@pobox.com>
21956
21957         * tests/network-clock-utils.scm (debug, print-event): New utils.
21958
21959         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
21960         (*packet-loss*): Unified loss probability.
21961         (network-time): Report out-of-band events.
21962
21963         * tests/plot-data: Add support for out-of-band events. Hack it
21964         into this script instead of passing it down the pipe; should fix
21965         this later.
21966
21967 2005-06-28  Wim Taymans  <wim@fluendo.com>
21968
21969         * docs/gst/gstreamer.types:
21970         * docs/gst/tmpl/gstbasesrc.sgml:
21971         * docs/gst/tmpl/gstpad.sgml:
21972         Docs fixes.
21973
21974 2005-06-28  Wim Taymans  <wim@fluendo.com>
21975
21976         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21977         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
21978         (gst_proxy_pad_do_fixatecaps):
21979         Correctly proxy the check_pull_range function.
21980
21981 2005-06-28  Andy Wingo  <wingo@pobox.com>
21982
21983         * tests/network-clock.scm: Removed need for slib.
21984         
21985 2005-06-28  Wim Taymans  <wim@fluendo.com>
21986
21987         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
21988         (gst_basesink_preroll_queue_flush):
21989         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
21990         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
21991         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21992         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21993         (gst_proxy_pad_set_property):
21994         * gst/gstpad.c:
21995         * gst/gstpad.h:
21996         * gst/gstqueue.c: (gst_queue_init):
21997         The deprecated pad loop function is removed now.
21998
21999 2005-06-28  Andy Wingo  <wingo@pobox.com>
22000
22001         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
22002         New parameters, simulate network packet loss.
22003
22004         * tests/network-clock-utils.scm: Initialize the RNG.
22005
22006 2005-06-28  Wim Taymans  <wim@fluendo.com>
22007
22008         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
22009         (gst_basesink_event), (gst_basesink_deactivate):
22010         Flushing the preroll queue always needs to unlock the waiters.
22011
22012 2005-06-28  Edward Hervey  <edward@fluendo.com>
22013
22014         * gst/gstpipeline.c: (gst_pipeline_send_event): 
22015         Wheen a seek was successful on a pipeline, set the stream_time to the
22016         seek offset in order to have a synchronized stream_time.
22017
22018 2005-06-28  Wim Taymans  <wim@fluendo.com>
22019
22020         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22021         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
22022         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
22023         (gst_proxy_pad_do_fixatecaps):
22024         Call wrapper function instead of just calling the function
22025         pointers. This takes care of any locking and whatmore.
22026
22027 2005-06-28  Wim Taymans  <wim@fluendo.com>
22028
22029         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
22030         (gst_pad_pull_range):
22031         * gst/gstpad.h:
22032         CONNECTED -> LINKED.
22033
22034 2005-06-28  Andy Wingo  <wingo@pobox.com>
22035
22036         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
22037         source-munging commit!!!
22038
22039         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
22040         (gst_object_sink): Take gpointer arguments, not GstObject --
22041         avoids casts. Like GLib.
22042
22043         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
22044         activate.
22045
22046 2005-06-27  Andy Wingo  <wingo@pobox.com>
22047
22048         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
22049         remaining buffer.
22050
22051         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
22052         returns a sorted copy of the trace list.
22053         (gst_alloc_trace_print_live): New API, only prints traces with
22054         live objects. Sort the list.
22055         (gst_alloc_trace_print_all): Sort the list.
22056         (gst_alloc_trace_print): Align columns.
22057
22058         * gst/elements/gstttypefindelement.c:
22059         * gst/elements/gsttee.c:
22060         * gst/base/gstbasesrc.c:
22061         * gst/base/gstbasesink.c:
22062         * gst/base/gstbasetransform.c:
22063         * gst/gstqueue.c: Adapt for pad activation changes.
22064
22065         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
22066         sched.
22067         (gst_pipeline_dispose): Drop ref on sched.
22068
22069         * gst/gstpad.c (gst_pad_init): Set the default activate func.
22070         (gst_pad_activate_default): Push mode by default.
22071         (pre_activate_switch, post_activate_switch): New stubs, things to
22072         do before and after switching activation modes on pads.
22073         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
22074         the pad's activate function to choose which mode to activate.
22075         Shortcut on deactivation and call the right function directly.
22076         (gst_pad_activate_pull): New API, (de)activates a pad in pull
22077         mode.
22078         (gst_pad_activate_push): New API, same for push mode.
22079         (gst_pad_set_activate_function) 
22080         (gst_pad_set_activatepull_function) 
22081         (gst_pad_set_activatepush_function): Setters for new API.
22082
22083         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
22084         Trace all miniobjects.
22085         (gst_mini_object_make_writable): Unref the arg if we copy, like
22086         gst_caps_make_writable.
22087
22088         * gst/gstmessage.c (_gst_message_initialize): No trace init.
22089
22090         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
22091         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
22092         Adapt for new pad API.
22093
22094         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
22095
22096         * gst/gstelement.h:
22097         * gst/gstelement.c (gst_element_iterate_src_pads) 
22098         (gst_element_iterate_sink_pads): New API functions.
22099         
22100         * gst/gstelement.c (iterator_fold_with_resync): New utility,
22101         should fold into gstiterator.c in some form.
22102         (gst_element_pads_activate): Simplified via use of fold and
22103         delegation of decisions to gstpad->activate.
22104
22105         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
22106         help in debugging.
22107
22108         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
22109         class once in init, like gstmessage. Didn't run into this issue
22110         but it seems correct. Don't initialize a trace, gstminiobject does
22111         that.
22112
22113         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
22114         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
22115         to the bus.
22116         (assert_live_count): New util function, uses alloc traces to check
22117         cleanup.
22118
22119         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
22120         To be modified when unlink drops the internal pad.
22121
22122 2005-06-27  Wim Taymans  <wim@fluendo.com>
22123
22124         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
22125         (gst_bin_change_state):
22126         Cleanup the get_state() function a little, make sure it
22127         iterates the same set of elements.
22128         Added stub iterate_state_order().
22129
22130 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
22131
22132         * docs/gst/gstreamer-docs.sgml:
22133         * docs/gst/gstreamer-sections.txt:
22134         * docs/gst/gstreamer.types:
22135         * docs/gst/tmpl/gstbasesink.sgml:
22136         * docs/gst/tmpl/gstbasesrc.sgml:
22137         * docs/gst/tmpl/gstbasetransform.sgml:
22138         * docs/gst/tmpl/gstelement.sgml:
22139         * docs/gst/tmpl/gstiterator.sgml:
22140         * gst/base/gstbasesrc.c:
22141         * gst/base/gstbasesrc.h:
22142         * gst/base/gstbasetransform.h:
22143         * gst/gstelement.c:
22144         * gst/gstiterator.h:
22145           adding basetransform and iterator docs
22146
22147 2005-06-27  Andy Wingo  <wingo@pobox.com>
22148
22149         * docs/design/part-activation.txt: Notes on how activation should
22150         work -- not quite implemented yet.
22151
22152 2005-06-25  Wim Taymans  <wim@fluendo.com>
22153
22154         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
22155         At least get the chain function correct, needs more
22156         fixing.
22157
22158 2005-06-25  Wim Taymans  <wim@fluendo.com>
22159
22160         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
22161         (gst_basesink_handle_object), (gst_basesink_event),
22162         (gst_basesink_do_sync), (gst_basesink_handle_event),
22163         (gst_basesink_change_state):
22164         * gst/gsttask.h:
22165         Right, two problems here: ghostpads don't take locks and
22166         glib _rec_mutex_lock_full() with depth==0 still locks.
22167         Catch illegal locking and g_warn them.
22168
22169 2005-06-25  Wim Taymans  <wim@fluendo.com>
22170
22171         * check/states/sinks.c: (START_TEST), (gst_object_suite):
22172         Have to check for completion now...
22173
22174 2005-06-25  Wim Taymans  <wim@fluendo.com>
22175
22176         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
22177         (gst_basesink_handle_object), (gst_basesink_event),
22178         (gst_basesink_do_sync), (gst_basesink_handle_event),
22179         (gst_basesink_change_state):
22180         * gst/gstpad.h:
22181         Unlock STREAM_LOCK whatever the recursion was.
22182
22183 2005-06-25  Wim Taymans  <wim@fluendo.com>
22184
22185         * gst/base/gstbasesink.c: (gst_basesink_set_property),
22186         (gst_basesink_preroll_queue_empty),
22187         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
22188         (gst_basesink_event), (gst_basesink_do_sync),
22189         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
22190         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
22191         (gst_basesink_change_state):
22192         Reworked the base sink, handle event and buffer serialisation
22193         correctly and removed possible deadlock.
22194         Handle EOS correctly.
22195
22196 2005-06-25  Wim Taymans  <wim@fluendo.com>
22197
22198         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
22199         (gst_pipeline_change_state):
22200         * tools/gst-launch.c: (check_intr), (event_loop), (main):
22201         Allow elements to post EOS in the state change function.
22202         Fix up -launch, make it exit the poll loop when the
22203         pipeline actually changed state.
22204         Fix up warning parsing in -launch.
22205
22206 2005-06-25  Wim Taymans  <wim@fluendo.com>
22207
22208         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
22209         (gst_tee_sink_activate):
22210         Core takes STREAM_LOCK for us now.
22211
22212 2005-06-25  Wim Taymans  <wim@fluendo.com>
22213
22214         * gst/gstelement.c: (gst_element_get_state_func),
22215         (gst_element_set_state):
22216         * gst/gstelement.h:
22217         * gst/gstmessage.c: (gst_message_parse_error),
22218         (gst_message_parse_warning):
22219         Keep track of current target state while performing a state
22220         change so that subclasses can do something interesting.
22221         Fix parsing of warning/error messages when GError is NULL.
22222
22223 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22224
22225         * docs/gst/Makefile.am:
22226         * docs/gst/gstreamer-docs.sgml:
22227         * docs/gst/gstreamer-sections.txt:
22228         * docs/gst/gstreamer.types:
22229         * docs/gst/tmpl/gstbasesink.sgml:
22230         * docs/gst/tmpl/gstbasesrc.sgml:
22231         * docs/gst/tmpl/gstbin.sgml:
22232         * docs/gst/tmpl/gstcompat.sgml:
22233         * docs/gst/tmpl/gstfakesink.sgml:
22234         * docs/gst/tmpl/gstfakesrc.sgml:
22235         * docs/gst/tmpl/gstfilesink.sgml:
22236         * docs/gst/tmpl/gstfilesrc.sgml:
22237         * docs/gst/tmpl/gstindex.sgml:
22238         * docs/manual/appendix-quotes.xml:
22239         * gst/base/gstbasesrc.h:
22240         * gst/elements/gstfakesrc.h:
22241         * gst/gstmessage.h:
22242           start pulling in base classes and elements in our docs
22243
22244 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
22245
22246         * docs/gst/Makefile.am:
22247         * docs/libs/Makefile.am:
22248           fixed make distcheck with gtk-doc 1.3
22249
22250 2005-06-23  Wim Taymans  <wim@fluendo.com>
22251
22252         * gst/gstelement.c: (gst_element_get_state_func),
22253         (gst_element_set_state), (gst_element_change_state):
22254         When the state did not change, also report NO_PREROLL
22255         when it matters.
22256
22257 2005-06-23  Wim Taymans  <wim@fluendo.com>
22258
22259         * gst/gstpad.c: (gst_pad_event_default):
22260         * gst/gstqueue.c: (gst_queue_loop):
22261         No unsafe task pausing please.
22262
22263 2005-06-23  Wim Taymans  <wim@fluendo.com>
22264
22265         * gst/schedulers/threadscheduler.c:
22266         (gst_thread_scheduler_task_start),
22267         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
22268         Ref the task before pushing it on the threadpool. This
22269         makes sure that we have a ref when the threadfunction is
22270         actually called.
22271
22272 2005-06-23  Andy Wingo  <wingo@pobox.com>
22273
22274         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
22275         offset is greater than the file's size.
22276
22277         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
22278         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
22279         * gst/gstobject.c (gst_object_class_init): Make the class lock
22280         recursive. Wim won't let me drop deep_notify. Decodebin works
22281         again, whoopdy doo.
22282
22283         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
22284         internal pad, and hacks accordingly. Doesn't do it on the target
22285         pad because we change its caps. Probably catches all cases of
22286         interest tho.
22287         (gst_ghost_pad_set_property): Connect to notify::caps as
22288         appropritate.
22289
22290         * tests/network-clock.scm (plot-simulation): Pipe data to the
22291         elite python skript.
22292
22293         * tests/network-clock-utils.scm (define-parameter): New macro,
22294         defines a parameter that can be set via the command line.
22295         (set-parameter!, parse-parameter-arguments): Command line args
22296         parser.
22297
22298         * tests/plot-data: Simple matplotlib-based plotter, takes input on
22299         stdin.
22300
22301 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
22302
22303         * gst/elements/gsttypefindelement.c:
22304         (gst_type_find_element_handle_event):
22305           Don't restart typefinding on a discont.
22306         * gst/gstelement.c: (gst_element_set_state):
22307           Debug spelling fix.
22308         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
22309           Allow changing mode of an active pad.
22310           Debug output fixes.
22311         * gst/registries/gstlibxmlregistry.c: (load_feature):
22312           Don't cast a static pad template to a normal pad template.
22313
22314 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22315
22316         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22317         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22318           remove gst_strtoll completely, since it didn't actually do
22319           anything more than what g_ascii_strtoull already does.
22320           check for range errors when deserializing
22321           do a cast for the unsigned cases; but further fixing needs
22322           a decision on what the interpretation of "(int)" and
22323           deserialization should be for values that fall outside the
22324           type's boundaries (ie, refuse, or interpret as casting)
22325
22326 2005-06-23  Wim Taymans  <wim@fluendo.com>
22327
22328         * check/Makefile.am:
22329         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
22330         * docs/design/part-live-source.txt:
22331         * docs/design/part-states.txt:
22332         * gst/base/gstbasesrc.c: (gst_basesrc_init),
22333         (gst_basesrc_set_live), (gst_basesrc_is_live),
22334         (gst_basesrc_get_range), (gst_basesrc_activate),
22335         (gst_basesrc_change_state):
22336         * gst/base/gstbasesrc.h:
22337         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22338         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
22339         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
22340         * gst/gstelement.c: (gst_element_get_state_func),
22341         (gst_element_set_state):
22342         * gst/gstelement.h:
22343         * gst/gsttypes.h:
22344         * tools/gst-launch.c: (event_loop), (main):
22345         Added support for live sources and other elements that
22346         cannot do preroll.
22347         Updated design docs, added live-source design doc.
22348         Implemented live source functionality in basesrc
22349         Fix error condition in _bin_get_state()
22350         Implement live source handling in -launch.
22351         Added check for live sources.
22352         Fixed case in GstBin where elements were changed state
22353         multiple times.
22354
22355
22356 2005-06-23  Andy Wingo  <wingo@pobox.com>
22357
22358         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
22359         borken refcounting.
22360
22361         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
22362         gst_caps_replace takes care of this for us.
22363
22364         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
22365         gst_pad_set_caps on the target, not just its setcaps() function.
22366
22367         * tests/network-clock.scm: 
22368         * tests/network-clock-utils.scm: A network clock simulator.
22369         Something of an algorithmic testbed before doing something in C.
22370
22371 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22372
22373         * check/Makefile.am:
22374         * check/gst/capslist.h:
22375           copy over from 0.8, and add two with bitmasks specified with
22376           (int) 0xFF...
22377         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
22378           add test to parse everything from capslist.h
22379         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
22380         (main):
22381           add test for structure deserialization
22382         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22383           add tests for deserialization of strings to int types
22384         * gst/gststructure.c: (gst_structure_nth_field_name):
22385         * gst/gststructure.h:
22386           add a way to get the name of a field referenced by index
22387         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22388           instead of checking if the resulting long long lies between
22389           min and max, we check if the long long would fit into
22390           a number of bytes for the final type.
22391           This fixes cases where a string represents 2^32 - 1, which
22392           when cast to int would be the (valid) -1, but is bigger than
22393           G_MAXINT
22394
22395 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22396
22397         * gst/parse/grammar.y:
22398           add a log line for type deserialization
22399
22400 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22401
22402         * check/gst/gstvalue.c: (START_TEST):
22403         * gst/gstvalue.c: (gst_value_deserialize):
22404           return long long, not int, so gint64 deserialization actually
22405           works.  Is there any flag that makes the compiler check this ?
22406           Fixes #308559
22407
22408 2005-06-22  Wim Taymans  <wim@fluendo.com>
22409
22410         * gst/gstbuffer.h:
22411         Added convenience macros for setting buffers in GValue.
22412
22413 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
22414
22415         * check/gst/.cvsignore:
22416         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22417           add a test deserializing int64, and comment part out because
22418           it fails, yay !
22419
22420 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
22421
22422         * check/Makefile.am:
22423         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
22424         * testsuite/Makefile.am:
22425         * testsuite/caps/Makefile.am:
22426         * testsuite/caps/value_serialize.c:
22427         * testsuite/test_gst_init.c:
22428           move a value_serialize test over
22429
22430 2005-06-20  Wim Taymans  <wim@fluendo.com>
22431
22432         * gst/gstpad.c:
22433         Small doc updates.
22434         
22435         * gst/gstvalue.c: (gst_value_compare_buffer),
22436         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
22437         (gst_value_compare_flags), (gst_value_serialize_flags),
22438         (gst_value_deserialize_flags), (_gst_value_initialize):
22439         Fix serialisation of buffers, they are not boxed types anymore
22440
22441 2005-06-20  Wim Taymans  <wim@fluendo.com>
22442
22443         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
22444         Testcase to show error in buffer-on-caps serialisation.
22445
22446 2005-06-20  Andy Wingo  <wingo@pobox.com>
22447
22448         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
22449         will be adding to later.
22450
22451         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
22452         if its socks fill with rocks.
22453         (gst_system_clock_obtain): Set the name on object construction.
22454         Avoid double-checked locking.
22455
22456 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
22457
22458         * gst/gsturi.c: (gst_element_make_from_uri):
22459           Fix potential endless loop.
22460
22461 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22462
22463         * check/Makefile.am:
22464           add gsttag
22465         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
22466         (main):
22467           move over from testsuite dir and clean up
22468         * configure.ac:
22469         * gst/gsttag.c:
22470         * testsuite/Makefile.am:
22471         * testsuite/tags/.cvsignore:
22472         * testsuite/tags/Makefile.am:
22473         * testsuite/tags/merge.c:
22474           remove testsuite/tags
22475
22476 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22477
22478         * docs/gst/gstreamer-sections.txt:
22479         * docs/gst/tmpl/gstenumtypes.sgml:
22480         * win32/gstenumtypes.c:
22481           clean up documentation build a little
22482
22483 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22484
22485         * check/gstcheck.h:
22486           add macros for checking refcounts on objects and caps
22487         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
22488           add some more unit tests
22489         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
22490         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
22491           fix leaked refcounts (I hope :)) so unittest works
22492         * gst/gstpad.h:
22493           whitespace removal
22494
22495 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22496
22497         * configure.ac: back to HEAD
22498
22499 === release 0.9.1 ===
22500
22501 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22502
22503         * NEWS:
22504         * RELEASE:
22505           updated
22506
22507 2005-06-17  Andy Wingo  <wingo@pobox.com>
22508
22509         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
22510         assert; it's always possible that the pad gets deactivated in
22511         between the checks in gstpad.c and the implementation. Rely on
22512         finish_preroll() to return a FLUSHING or similar instead of on the
22513         assert.
22514         
22515         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
22516         clock and post an EOS message if we come out of finish_preroll in
22517         the playing state.
22518
22519 2005-06-16  David Schleef  <ds@schleef.org>
22520
22521         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
22522         (gst_capsfilter_set_property): Allow NULL as possible value
22523         for filter_caps property, indicating GST_CAPS_ANY.
22524
22525 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22526
22527         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
22528           fix debug output
22529         * gst/schedulers/Makefile.am:
22530           use libgst prefix
22531         * gstreamer.spec.in:
22532           fix spec for it
22533
22534 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22535
22536         * gstreamer.spec.in:
22537           clean up
22538
22539 2005-06-08  Andy Wingo  <wingo@pobox.com>
22540
22541         * gst/gstutils.c: RPAD fixes all around.
22542         (gst_element_link_pads): Refcounting fixes.
22543
22544         * tools/gst-inspect.c:
22545         * tools/gst-xmlinspect.c:
22546         * parse/grammar.y:
22547         * gst/base/gsttypefindhelper.c:
22548         * gst/base/gstbasesink.c:
22549         * gst/gstqueue.c: RPAD fixes.
22550
22551         * gst/gstghostpad.h:
22552         * gst/gstghostpad.c: New ghost pad implementation as full proxy
22553         pads. The tricky thing is they provide both source and sink
22554         interfaces, since they proxy the internal pad for the external
22555         pad, and vice versa. Implement with lower-level ProxyPad objects,
22556         with the interior proxy pad as a child of the exterior ghost pad.
22557         Should write a doc on this.
22558         
22559         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
22560         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
22561         gst_object API.
22562         
22563         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
22564         pads are real pads. No ghost pads in this file. Not documenting
22565         the myriad s/RPAD/PAD/ and REALIZE fixes.
22566         (gst_pad_class_init): Add properties for "direction" and
22567         "template". Both are construct-only, so they can't change during
22568         the life of the pad. Fixes properly deriving from GstPad.
22569         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
22570         derived objects, just set properties when creating the objects via
22571         g_object_new.
22572         (gst_pad_get_parent): Implement as a function, return NULL if the
22573         parent is not an element.
22574         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
22575         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
22576         
22577         * gst/gstobject.c (gst_object_class_init): Make name a construct
22578         property. Don't set it in the object init.
22579
22580         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
22581         with UNKNOWN direction.
22582         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
22583         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
22584         (gst_element_remove_pad): Remove ghost-pad special cases.
22585         (gst_element_pads_activate): Remove rpad cruft.
22586
22587         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
22588         catch the pad's-parent-not-an-element case.
22589
22590         * gst/gst.h: Include gstghostpad.h.
22591
22592         * gst/gst.c (init_post): No more real, ghost pads.
22593
22594         * gst/Makefile.am: Add gstghostpad.[ch].
22595
22596         * check/Makefile.am:
22597         * check/gst/gstbin.c:
22598         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
22599         into a bin creates ghost pads, and that the refcounts are right.
22600         Partly moved from gstbin.c.
22601
22602 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22603
22604         * check/gst-libs/.cvsignore:
22605         * check/gst/.cvsignore:
22606         * check/pipelines/.cvsignore:
22607           ignore more
22608         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
22609         (START_TEST), (cleanup_suite), (main):
22610           add some tests related to cleanup after running pipelines
22611
22612 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22613
22614         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
22615           add a testsuite for GstBuffer
22616
22617 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22618
22619         * gst/gstminiobject.h:
22620           add defines for accessing the refcount
22621
22622 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
22623
22624         * Makefile.am: added support for html unit test coverage reports
22625
22626 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
22627
22628         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
22629           Free existing caps if the capsfilter changes. Add a FIXME about
22630           setting those caps on the pads.
22631
22632         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
22633           Before adding a ghost pad to a parent bin, check that there isn't
22634           already one for the element on the bin. Prevents infinite recursion
22635           when using decodebin in parse pipelines. Andy says he'll rewrite the
22636           way this works anyway, so ignore the hack.
22637
22638 2005-06-02  Andy Wingo  <wingo@pobox.com>
22639
22640         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
22641         file size, pass it on to the type find helper.
22642
22643         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
22644         segment_start and segment_end properly according to the seek
22645         method. Segment_end is still a bit flaky because offset can be
22646         negative for CUR and END cases, but it takes -1 as an "unset"
22647         value.
22648
22649 2005-06-02  Wim Taymans  <wim@fluendo.com>
22650
22651         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
22652         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
22653         (gst_basesink_activate):
22654         * gst/base/gstbasesink.h:
22655         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22656         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
22657         (gst_pad_query), (gst_pad_start_task):
22658         * gst/gstpad.h:
22659         * gst/gstqueue.c: (gst_queue_bufferalloc),
22660         (gst_queue_handle_sink_event), (gst_queue_chain):
22661         Bufferalloc: return GstFlowReturn to more accuratly report
22662         why allocation failed.
22663
22664 2005-06-02  Wim Taymans  <wim@fluendo.com>
22665
22666         * gst/gstpipeline.c: (gst_pipeline_send_event):
22667         Take snapshot of state without blocking.
22668
22669 2005-06-02  Wim Taymans  <wim@fluendo.com>
22670
22671         * docs/design/part-TODO.txt:
22672         * docs/design/part-caps.txt:
22673         * docs/design/part-clocks.txt:
22674         * docs/design/part-negotiation.txt:
22675         * docs/design/part-preroll.txt:
22676         Small doc updates 
22677
22678 2005-05-30  Wim Taymans  <wim@fluendo.com>
22679
22680         * gst/elements/gstidentity.c: (gst_identity_event),
22681         (gst_identity_transform), (gst_identity_get_property):
22682         Protect last_message property as it is accessed from
22683         multiple threads.
22684
22685 2005-05-30  Wim Taymans  <wim@fluendo.com>
22686
22687         * gst/gstelement.c: (gst_element_init),
22688         (gst_element_pads_activate), (gst_element_change_state):
22689         Slicker pad activation code.
22690
22691 2005-05-30  Wim Taymans  <wim@fluendo.com>
22692
22693         * gst/Makefile.am:
22694         * gst/gstelement.h:
22695         * gst/gstelementfactory.h:
22696         * gst/gsttypes.h:
22697         Move elementfactory methods to separate .h file.
22698
22699 2005-05-30  Wim Taymans  <wim@fluendo.com>
22700
22701         * docs/design/part-overview.txt:
22702         * gst/gstsystemclock.h:
22703         Small typo fixes, doc updates.
22704
22705 2005-05-30  Wim Taymans  <wim@fluendo.com>
22706
22707         * gst/gst.c: (gst_init_get_popt_table), (init_post),
22708         (init_popt_callback):
22709         Remove cpu-opt flag.
22710
22711 2005-05-30  Wim Taymans  <wim@fluendo.com>
22712
22713         * gst/gstbuffer.c: (gst_subbuffer_finalize),
22714         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
22715         * gst/gstbuffer.h:
22716         Avoid typechecking in places where not needed.
22717         Added accessor for malloc_data.
22718
22719 2005-05-30  Wim Taymans  <wim@fluendo.com>
22720
22721         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
22722         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
22723         (gst_pad_configure_sink), (gst_pad_configure_src),
22724         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
22725         (gst_pad_start_task):
22726         Propagate errors from _set_caps() in configure_src/sink
22727         functions instead of returning TRUE.
22728         FLUSH events can travel up and downstream
22729
22730
22731 2005-05-30  Wim Taymans  <wim@fluendo.com>
22732
22733         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
22734         (gst_basesink_activate):
22735         Handle EOS in preroll.
22736
22737 2005-05-30  Wim Taymans  <wim@fluendo.com>
22738
22739         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22740         (gst_queue_loop), (gst_queue_handle_src_event):
22741         Remove old pieces of code
22742         Flushing the queue in an upstream event is a very bad idea.
22743
22744 2005-05-26  Andy Wingo  <wingo@pobox.com>
22745
22746         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
22747         gst_value_set_mini_object so as to add a ref on the object (which
22748         will be removed when the value is unset).
22749
22750         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
22751         arg type in ::handoff.
22752
22753         * gst/gstelement.c (gst_element_change_state): Also deactivate
22754         pads in READY->NULL, just in case the element didn't make it to
22755         PAUSED. Wingo tested, Wim approved.
22756
22757 2005-05-26  Wim Taymans  <wim@fluendo.com>
22758
22759         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22760         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
22761         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
22762         A flushing pad cannot be used to alloc_buffer from.
22763
22764 2005-05-26  Wim Taymans  <wim@fluendo.com>
22765
22766         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
22767         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
22768         (gst_bus_source_dispatch), (gst_bus_source_finalize),
22769         (gst_bus_create_watch), (gst_bus_add_watch_full):
22770         * gst/gstbus.h:
22771         Implement a real GSource and use g_main_context_wakeup() to
22772         signal new messages instead of the socketpair.
22773
22774 2005-05-25  Wim Taymans  <wim@fluendo.com>
22775
22776         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
22777         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
22778         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22779         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
22780         (gst_pad_send_event), (gst_pad_start_task):
22781         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
22782         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
22783         (gst_queue_sink_activate), (gst_queue_src_activate),
22784         (gst_queue_change_state):
22785         * gst/gstqueue.h:
22786         Fix state changes for non sinks. We now change sinks, then elements
22787         with unconnected srcpads, then the rest.
22788         More efficient queue unlocking in flush and state changes.
22789         Set the pad activate mode even if it does not have an activate
22790         function.
22791
22792 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22793
22794         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
22795           Don't go in pull mode for non-seekable sources.
22796         * gst/elements/gsttypefindelement.h:
22797         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
22798         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
22799         (free_entry), (stop_typefinding),
22800         (gst_type_find_element_handle_event), (find_peek),
22801         (gst_type_find_element_chain), (do_pull_typefind),
22802         (gst_type_find_element_change_state):
22803           Allow typefinding (w/o seeking) in push-mode, simplified version
22804           of what was in 0.8.
22805         * gst/gstutils.c: (gst_buffer_join):
22806         * gst/gstutils.h:
22807           gst_buffer_join() from 0.8.
22808
22809 2005-05-25  Wim Taymans  <wim@fluendo.com>
22810
22811         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22812         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
22813         (gst_pad_send_event), (gst_pad_start_task):
22814         Disable attempt at mode switching until it is figured out.
22815
22816 2005-05-25  Wim Taymans  <wim@fluendo.com>
22817
22818         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
22819         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
22820         (gst_basesink_finish_preroll), (gst_basesink_chain),
22821         (gst_basesink_loop), (gst_basesink_activate),
22822         (gst_basesink_change_state):
22823         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
22824         (gst_basesrc_get_range), (gst_basesrc_loop),
22825         (gst_basesrc_activate):
22826         * gst/elements/gsttee.c: (gst_tee_sink_activate):
22827         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
22828         (gst_real_pad_init), (gst_real_pad_set_property),
22829         (gst_real_pad_get_property), (gst_pad_set_active),
22830         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
22831         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
22832         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
22833         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
22834         (gst_pad_event_default_dispatch), (gst_pad_event_default),
22835         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
22836         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
22837         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
22838         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
22839         (gst_pad_stop_task):
22840         * gst/gstpad.h:
22841         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22842         (gst_queue_loop), (gst_queue_src_activate):
22843         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
22844         (gst_task_get_state):
22845         * gst/gsttask.h:
22846         * gst/schedulers/threadscheduler.c:
22847         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
22848         Implement gst_pad_pause/start/stop_task(), take STREAM lock
22849         in task function.
22850         Remove ACTIVE pad flag, use FLUSHING everywhere
22851         Added _pad_chain(), _pad_get_range() to call chain/getrange 
22852         functions.
22853         Add locks around IS_FLUSHING when reading.
22854         Take STREAM lock in chain(), get_range() functions so plugins
22855         don't need to take it anymore.
22856         
22857
22858
22859 2005-05-25  Wim Taymans  <wim@fluendo.com>
22860
22861         * tools/gst-launch.c: (event_loop):
22862         Unref message after using its contents instead of
22863         before.
22864
22865 2005-05-24  Wim Taymans  <wim@fluendo.com>
22866
22867         * docs/design/draft-ghostpads.txt:
22868         * docs/design/draft-push-pull.txt:
22869         * docs/design/draft-query.txt:
22870         * docs/design/part-overview.txt:
22871         Docs updates, added general overview doc.
22872
22873 2005-05-21  David Schleef  <ds@schleef.org>
22874
22875         * docs/gst/tmpl/old/GstBin.sgml:
22876         * docs/gst/tmpl/old/GstBuffer.sgml:
22877         * docs/gst/tmpl/old/GstCaps.sgml:
22878         * docs/gst/tmpl/old/GstClock.sgml:
22879         * docs/gst/tmpl/old/GstCompat.sgml:
22880         * docs/gst/tmpl/old/GstData.sgml:
22881         * docs/gst/tmpl/old/GstElement.sgml:
22882         * docs/gst/tmpl/old/GstEvent.sgml:
22883         * docs/gst/tmpl/old/GstIndex.sgml:
22884         * docs/gst/tmpl/old/GstStructure.sgml:
22885         * docs/gst/tmpl/old/GstTag.sgml:
22886         * docs/gst/tmpl/old/cothreads.sgml:
22887         * docs/gst/tmpl/old/cothreads_compat.sgml:
22888         * docs/gst/tmpl/old/gettext.sgml:
22889         * docs/gst/tmpl/old/gobject2gtk.sgml:
22890         * docs/gst/tmpl/old/grammar.tab.sgml:
22891         * docs/gst/tmpl/old/gst-i18n-app.sgml:
22892         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
22893         * docs/gst/tmpl/old/gst_private.sgml:
22894         * docs/gst/tmpl/old/gstaggregator.sgml:
22895         * docs/gst/tmpl/old/gstarch.sgml:
22896         * docs/gst/tmpl/old/gstatomic_impl.sgml:
22897         * docs/gst/tmpl/old/gstbufferstore.sgml:
22898         * docs/gst/tmpl/old/gstdata_private.sgml:
22899         * docs/gst/tmpl/old/gstdisksink.sgml:
22900         * docs/gst/tmpl/old/gstdisksrc.sgml:
22901         * docs/gst/tmpl/old/gstelementfactory.sgml:
22902         * docs/gst/tmpl/old/gstextratypes.sgml:
22903         * docs/gst/tmpl/old/gstfakesink.sgml:
22904         * docs/gst/tmpl/old/gstfakesrc.sgml:
22905         * docs/gst/tmpl/old/gstfdsink.sgml:
22906         * docs/gst/tmpl/old/gstfdsrc.sgml:
22907         * docs/gst/tmpl/old/gstfilesink.sgml:
22908         * docs/gst/tmpl/old/gstfilesrc.sgml:
22909         * docs/gst/tmpl/old/gsthttpsrc.sgml:
22910         * docs/gst/tmpl/old/gstidentity.sgml:
22911         * docs/gst/tmpl/old/gstindexfactory.sgml:
22912         * docs/gst/tmpl/old/gstmarshal.sgml:
22913         * docs/gst/tmpl/old/gstmd5sink.sgml:
22914         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
22915         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
22916         * docs/gst/tmpl/old/gstpadtemplate.sgml:
22917         * docs/gst/tmpl/old/gstpipefilter.sgml:
22918         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
22919         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
22920         * docs/gst/tmpl/old/gstshaper.sgml:
22921         * docs/gst/tmpl/old/gstspider.sgml:
22922         * docs/gst/tmpl/old/gstspideridentity.sgml:
22923         * docs/gst/tmpl/old/gststatistics.sgml:
22924         * docs/gst/tmpl/old/gsttee.sgml:
22925         * docs/gst/tmpl/old/gsttimecache.sgml:
22926         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
22927         * docs/gst/tmpl/old/gstxmlregistry.sgml:
22928         * docs/gst/tmpl/old/gthread-cothreads.sgml:
22929         * docs/gst/tmpl/old/types.sgml:
22930           I didn't intend to add these or check them in.
22931
22932 2005-05-19  David Schleef  <ds@schleef.org>
22933
22934         * configure.ac: Use -no-common everywhere.  In a sane world, it
22935           would be the default in libtool, because without it, you can't
22936           build DLLs on Windows.
22937         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
22938         * docs/gst/gstreamer-sections.txt:
22939         * docs/gst/tmpl/gstcpu.sgml:
22940         * docs/gst/tmpl/gstdata.sgml:
22941         * docs/gst/tmpl/gstthread.sgml:
22942
22943 2005-05-19  David Schleef  <ds@schleef.org>
22944
22945         * gst/gstminiobject.c: (gst_value_set_mini_object),
22946         (gst_value_take_mini_object), (gst_value_get_mini_object):
22947         * gst/gstminiobject.h: Add GValue set/get functions.
22948
22949 2005-05-19  Wim Taymans  <wim@fluendo.com>
22950
22951         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
22952         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
22953         (gst_subbuffer_init), (gst_buffer_is_span_fast):
22954         * gst/gstbuffer.h:
22955         * gst/gstbus.c: (gst_bus_post):
22956         * gst/gstelement.c: (gst_element_get_random_pad):
22957         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
22958         Make subbufer unref the parent in finalize.
22959         some more debugging info.
22960
22961
22962 2005-05-19  Wim Taymans  <wim@fluendo.com>
22963
22964         * gst/base/gstbasesink.c: (gst_basesink_class_init),
22965         (gst_basesink_init), (gst_basesink_finalize),
22966         (gst_basesink_activate), (gst_basesink_change_state):
22967         Don't free preroll queue too early.
22968
22969 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22970
22971         * gst/Makefile.am:
22972         * gst/ROADMAP:
22973           Hi, I'm outdated. Please shoot me.
22974
22975 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22976
22977         * gst/gstpipeline.c: (gst_pipeline_send_event):
22978           Do not access variables after they have been deleted.
22979
22980 2005-05-19  Wim Taymans  <wim@fluendo.com>
22981
22982         * tools/gst-inspect.c: (print_plugin_features):
22983         A plugin feature does unfortunatly not use the
22984         object name yet...
22985
22986 2005-05-18  Wim Taymans  <wim@fluendo.com>
22987
22988         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
22989         Port _span() functions to new subbuffers.
22990
22991 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22992
22993         * gst/gstbin.c: (gst_bin_add_func):
22994           Fix clock settery in bins when adding kids after the clock has
22995           been selected.
22996
22997 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22998
22999         * gst/elements/gstidentity.c: (gst_identity_class_init):
23000           Workaround until signals support GstMiniObject.
23001
23002 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
23003
23004         * gst/gstbuffer.c:
23005         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
23006
23007 2005-05-18  Wim Taymans  <wim@fluendo.com>
23008
23009         * gst/base/Makefile.am:
23010         * gst/base/gstadapter.c: (gst_adapter_base_init),
23011         (gst_adapter_class_init), (gst_adapter_init),
23012         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
23013         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
23014         (gst_adapter_flush), (gst_adapter_available),
23015         (gst_adapter_available_fast):
23016         * gst/base/gstadapter.h:
23017         Ported and added adapter to the base classes.
23018
23019 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
23020
23021         * gst/gst.c:
23022         * gst/gstmessage.c:
23023           Make sure the class is reffed/unreffed once before threads can be
23024           used.  Fixes #304551.
23025
23026 2005-05-17  Wim Taymans  <wim@fluendo.com>
23027
23028         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
23029         (gst_basesink_chain_unlocked), (gst_basesink_activate):
23030         * gst/gstminiobject.c: (gst_mini_object_get_type),
23031         (gst_mini_object_free):
23032         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
23033         (gst_pad_push), (gst_pad_push_event):
23034         * gst/gstqueue.c: (gst_queue_change_state):
23035         Don't queue buffers in basesink when we are flushing.
23036         Unref buffer when flushing in basesink.
23037         Flush queue when going to READY
23038         Unref buffer when _push() returns an error.
23039         Don't free MiniObject instance when refcount is incremented
23040         in _finalize() so that we can recover objects.
23041
23042 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
23043
23044         * docs/manual/advanced-schedulers.xml:
23045         * docs/manual/appendix-checklist.xml:
23046         * docs/pwg/advanced-clock.xml:
23047         * docs/pwg/advanced-interfaces.xml:
23048         * docs/pwg/advanced-request.xml:
23049         * docs/pwg/advanced-types.xml:
23050         * docs/pwg/intro-preface.xml:
23051         * examples/plugins/example.c: (gst_example_get_type),
23052         (gst_example_class_init), (gst_example_chain),
23053         (gst_example_set_property), (gst_example_get_property),
23054         (gst_example_change_state), (plugin_init):
23055         * examples/plugins/example.h:
23056           small doc fixes
23057
23058 2005-05-17  Wim Taymans  <wim@fluendo.com>
23059
23060         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
23061         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
23062         * gst/gstqueue.c: (gst_queue_change_state):
23063         Clear queue when going to READY.
23064         Remove IN_SETCAPS flag too.
23065
23066 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
23067
23068         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
23069           Remove implicit cast from gboolean to GstElementStateReturn;
23070           make sure we still return failure in paused => ready case if
23071           the parent class fails to change state and our own stop 
23072           vfunc succeeds.
23073
23074 2005-05-17  Wim Taymans  <wim@fluendo.com>
23075
23076         * tools/gst-launch.c: (event_loop):
23077         Message was unreffed too soon.
23078
23079 2005-05-16  Andy Wingo  <wingo@pobox.com>
23080
23081         * gst/gstbin.c (sink_iterator_filter): Err... um...
23082
23083         * check/gst/gstbin.c (test_ghost_pads): New test for the
23084         ghosting-if-elements-not-in-same-bin behavior.
23085
23086 2005-05-16  David Schleef  <ds@schleef.org>
23087
23088         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
23089         accessing refcount directly.
23090
23091 2005-05-15  David Schleef  <ds@schleef.org>
23092
23093         * check/Makefile.am: remove GstData checks
23094         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
23095         * gst/Makefile.am: add miniobject, remove data
23096         * gst/gst.h: add miniobject, remove data
23097         * gst/gstdata.c: remove
23098         * gst/gstdata.h: remove
23099         * gst/gstdata_private.h: remove
23100         * gst/gsttypes.h: remove GstEvent and GstMessage
23101         * gst/gstelement.c: (gst_element_post_message): fix for API changes
23102         * gst/gstmarshal.list: change BOXED -> OBJECT
23103
23104         Implement GstMiniObject.
23105         * gst/gstminiobject.c:
23106         * gst/gstminiobject.h:
23107
23108         Modify to be subclasses of GstMiniObject.
23109         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
23110         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
23111         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
23112         (gst_subbuffer_get_type), (gst_subbuffer_init),
23113         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
23114         (gst_buffer_span):
23115         * gst/gstbuffer.h:
23116         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
23117         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
23118         (_gst_event_copy), (gst_event_new):
23119         * gst/gstevent.h:
23120         * gst/gstmessage.c: (_gst_message_initialize),
23121         (gst_message_get_type), (gst_message_class_init),
23122         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
23123         (gst_message_new), (gst_message_new_error),
23124         (gst_message_new_warning), (gst_message_new_tag),
23125         (gst_message_new_state_changed), (gst_message_new_application):
23126         * gst/gstmessage.h:
23127         * gst/gstprobe.c: (gst_probe_perform),
23128         (gst_probe_dispatcher_dispatch):
23129         * gst/gstprobe.h:
23130         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
23131         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
23132         (_gst_query_copy), (gst_query_new):
23133
23134         Update elements for GstData -> GstMiniObject changes
23135         * gst/gstquery.h:
23136         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
23137         (gst_queue_chain), (gst_queue_loop):
23138         * gst/elements/gstbufferstore.c:
23139         (gst_buffer_store_add_buffer_func),
23140         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
23141         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23142         (gst_fakesink_render):
23143         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
23144         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
23145         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
23146         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
23147         (gst_filesrc_create_read):
23148         * gst/elements/gstidentity.c: (gst_identity_class_init):
23149         * gst/elements/gsttypefindelement.c:
23150         (gst_type_find_element_src_event), (free_entry_buffers),
23151         (gst_type_find_element_handle_event):
23152         * libs/gst/dataprotocol/dataprotocol.c:
23153         (gst_dp_header_from_buffer):
23154         * libs/gst/dataprotocol/dataprotocol.h:
23155         * libs/gst/dataprotocol/dp-private.h:
23156
23157 2005-05-15  David Schleef  <ds@schleef.org>
23158
23159         * gst/elements/gstelements.c: Don't include headers that were
23160         just removed.
23161
23162 2005-05-15  David Schleef  <ds@schleef.org>
23163
23164         * gst/elements/Makefile.am: Remove some elements that don't
23165         need to be in the core (or even exist at all).
23166         * gst/elements/gstaggregator.c:
23167         * gst/elements/gstaggregator.h:
23168         * gst/elements/gstmd5sink.c:
23169         * gst/elements/gstmd5sink.h:
23170         * gst/elements/gstmultifilesrc.c:
23171         * gst/elements/gstmultifilesrc.h:
23172         * gst/elements/gstpipefilter.c:
23173         * gst/elements/gstpipefilter.h:
23174         * gst/elements/gstshaper.c:
23175         * gst/elements/gstshaper.h:
23176         * gst/elements/gststatistics.c:
23177         * gst/elements/gststatistics.h:
23178         * po/POTFILES.in: Remove above files.
23179
23180 2005-05-14  Andy Wingo  <wingo@pobox.com>
23181
23182         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
23183         so as to get the refs right.
23184         (sink_iterator_filter): New function, wraps bin_element_is_sink,
23185         unreffing objects that don't pass the filter.
23186
23187         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
23188         gst_element_set_bus.
23189         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
23190         normal cases, this will destroy the bus.
23191
23192         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
23193         object.
23194
23195         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
23196         has no sinks.
23197
23198 2005-05-13  Andy Wingo  <wingo@pobox.com>
23199
23200         * gst/gstutils.c (gst_element_link_pads): Instead of calling
23201         gst_pad_link, call pad_link_maybe_ghosting,
23202         (pad_link_maybe_ghosting): Links pads, making sure that the
23203         elements being linked are in the same bin.
23204         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
23205         Helpers for pad_link_maybe_ghosting.
23206
23207 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
23208
23209         * configure.ac:
23210           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
23211
23212 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
23213
23214         * docs/design/part-element-source.txt:
23215           Mention GstPushSrc
23216
23217 2005-05-12  Wim Taymans  <wim@fluendo.com>
23218
23219         * gst/base/gstbasesink.c: (gst_basesink_init),
23220         (gst_basesink_activate):
23221         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
23222         (gst_basesrc_is_seekable):
23223         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23224         (bin_element_is_sink), (gst_bin_change_state):
23225         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
23226         * gst/gstelement.h:
23227         Identify sinks by their flag to avoid overly complicated
23228         checks (fow now).
23229         Do state changes even for elements not reachable from the
23230         sinks.
23231         BaseSink is a sink now :)
23232         Some more debugging info in the basesrc.
23233
23234
23235 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23236
23237         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
23238           Implement _query on a bin, similar to _send_event.
23239
23240 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
23241
23242         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
23243           Discont event offset format should be GST_FORMAT_BYTES,
23244           not GST_FORMAT_TIME.
23245
23246 2005-05-12  Wim Taymans  <wim@fluendo.com>
23247
23248         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
23249         Same fix as Ronald's but without the signal. 
23250
23251 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23252
23253         * gst/gstutils.c: (gst_element_query_position):
23254           No, an element is not a pad.
23255
23256 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23257
23258         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
23259         (gst_bin_get_state):
23260           If a child is removed from a bin while we remove the child from
23261           the bin and while we're retrieving its state, signal this to the
23262           get_state function so we abort the wait (instead of waiting for
23263           a timeout) and can immediately re-iterate over all other elements.
23264
23265 2005-05-12  Wim Taymans  <wim@fluendo.com>
23266
23267         * gst/base/Makefile.am:
23268         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
23269         (gst_basesrc_start):
23270         * gst/base/gstbasesrc.h:
23271         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
23272         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
23273         (gst_pushsrc_init), (gst_pushsrc_create):
23274         * gst/base/gstpushsrc.h:
23275         Added is_seekable to BaseSrc
23276         Added simple PushSrc.
23277
23278 2005-05-11  Wim Taymans  <wim@fluendo.com>
23279
23280         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
23281         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23282         (gst_element_link_pads), (gst_element_query_position),
23283         (gst_element_query_convert), (intersect_caps_func),
23284         (gst_pad_query_position), (gst_pad_query_convert):
23285         Fix refcounting in utils function.
23286         No point in trying to activate a pad when it's added, it could
23287         be added from the state change function and then we deadlock, the
23288         element has to decide what to do.
23289
23290 2005-05-10  Andy Wingo  <wingo@pobox.com>
23291
23292         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
23293         *all* the arguments.
23294
23295         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
23296         stream lock if it's a FLUSH_DONE; normal flushes don't get the
23297         lock (according to the docs -- if this is wrong change the docs).
23298
23299         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
23300         flush messages in the NULL state.
23301
23302         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
23303         message immediately and return.
23304         (gst_bus_set_flushing): New function. If a bus is flushing, it
23305         flushes out any queued messages and immediately unrefs new
23306         messages. This is so when an element goes to NULL, all of the
23307         unhandled messages coming from it can be freed, and their
23308         references to the element dropped. In other words: message source
23309         ref considered harmful :P
23310
23311         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
23312         we're finished with it.
23313
23314         * gst/gstmessage.c (gst_message_new_state_changed): 
23315
23316 2005-05-10  Wim Taymans  <wim@fluendo.com>
23317
23318         * gst/gstvalue.c: (gst_value_compare_flags),
23319         (gst_value_serialize_flags), (gst_value_deserialize_flags),
23320         (_gst_value_initialize):
23321         Added flags serialize/deserialize/compare code.
23322
23323 2005-05-09  Andy Wingo  <wingo@pobox.com>
23324
23325         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
23326         Intersect the peer's caps with our caps.
23327
23328 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23329
23330         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23331         * gst/elements/gsttypefindelement.c: (find_peek):
23332           Handle negative offsets better. Fixes decodebin.
23333
23334 2005-05-09  Wim Taymans  <wim@fluendo.com>
23335
23336         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
23337         (gst_base_transform_event):
23338         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
23339         Implement accept_caps.
23340         Fix silly lock/unlock mismatch in base class.
23341
23342 2005-05-09  Wim Taymans  <wim@fluendo.com>
23343
23344         * docs/design/draft-push-pull.txt:
23345         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
23346         * gst/elements/gstfilesink.c: (gst_filesink_init),
23347         (gst_filesink_query):
23348         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
23349         (gst_type_find_handle_src_query), (find_element_get_length):
23350         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
23351         * gst/gstelement.h:
23352         * gst/gstmessage.c:
23353         * gst/gstmessage.h:
23354         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
23355         (gst_real_pad_get_caps_unlocked),
23356         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
23357         (gst_pad_event_default_dispatch), (gst_pad_event_default),
23358         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
23359         (gst_real_pad_dispose), (gst_real_pad_finalize),
23360         (gst_pad_load_and_link), (gst_pad_save_thyself),
23361         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
23362         (gst_pad_check_pull_range), (gst_pad_pull_range),
23363         (gst_pad_template_get_type), (gst_pad_template_class_init),
23364         (gst_pad_template_init), (gst_pad_template_dispose),
23365         (name_is_valid), (gst_static_pad_template_get),
23366         (gst_pad_template_new), (gst_static_pad_template_get_caps),
23367         (gst_pad_template_get_caps), (gst_pad_set_element_private),
23368         (gst_pad_get_element_private), (gst_pad_start_task),
23369         (gst_pad_pause_task), (gst_pad_stop_task),
23370         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
23371         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
23372         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
23373         (gst_ghost_pad_new):
23374         * gst/gstpad.h:
23375         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
23376         (gst_query_new_position), (gst_query_set_position),
23377         (gst_query_parse_position), (gst_query_new_convert),
23378         (gst_query_set_convert), (gst_query_parse_convert):
23379         * gst/gstquery.h:
23380         * gst/gstqueryutils.c:
23381         * gst/gstqueryutils.h:
23382         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
23383         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
23384         (gst_queue_handle_src_query):
23385         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23386         (gst_element_query_position), (gst_element_query_convert),
23387         (intersect_caps_func), (gst_pad_query_position),
23388         (gst_pad_query_convert):
23389         * gst/gstutils.h:
23390         * tools/gst-inspect.c: (print_pad_info):
23391         * tools/gst-xmlinspect.c: (print_element_info):
23392         Remove old query functions. Ported old code.
23393         Added position/convert helper functions to gstutils.
23394         Reordered gstpad.c code, grouping relevant things.
23395         Remove gst_message_new(), always need to speficy a specific
23396         message.
23397
23398
23399 2005-05-09  Andy Wingo  <wingo@pobox.com>
23400
23401         * gst/gstiterator.h: Add some includes.
23402
23403         * gst/gstqueryutils.h: Include more headers.
23404
23405         * gst/gstpad.h:
23406         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
23407         some uses of gst_pad_query.
23408
23409         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
23410         NULL out parameters.
23411         (gst_query_new_position): New proc, allocates a new position
23412         query.
23413
23414         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
23415         gstqueryutils.c to the build.
23416
23417         * gst/gststructure.c (gst_structure_set_valist): Implement with
23418         the generic G_VALUE_COLLECT.
23419         
23420 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
23421
23422         * gst/Makefile.am: (gst_headers):
23423         Added gstqueryutils.h to the list of headers to install, that was
23424         a 'nachty' move wingo :)
23425
23426 2005-05-06  Andy Wingo  <wingo@pobox.com>
23427
23428         * gst/gstquery.h
23429         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
23430         GstData, init a memchunk.
23431         (standard_definitions): Add a few query types, deprecate a few.
23432         (gst_query_get_type): New proc.
23433         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
23434         implementation.
23435         (gst_query_new_application, gst_query_get_structure): New public
23436         procs.
23437
23438         * docs/design/draft-query.txt: Removed LINKS from the query types,
23439         because all the rest can be dispatched to other pads -- seemed
23440         ugly to have a query that couldn't be dispatched. internal_links
23441         is fine as a pad method.
23442
23443         * gst/gstpad.h: Add query2 as a pad method, add the new functions
23444         in gstpad.c, but maintain binary compatibility for the moment.
23445         Will fix before 0.9 is out.
23446
23447         * gst/gstqueryutils.c: 
23448         * gst/gstqueryutils.h: New files, implement 3 methods for each
23449         query type: parse_query, parse_response, and set. Probably need an
23450         allocator as well.
23451
23452         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
23453
23454         * gst/elements/gstfilesink.c (gst_filesink_query2):
23455         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
23456         query_types, and formats methods.
23457
23458         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
23459         (gst_pad_set_query2_function): New functions.
23460         (gst_real_pad_init): Set query2_default as the default query2
23461         function. Basically just dispatches to internally linked pads.
23462
23463         Needs review!
23464         
23465         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
23466         without using the atomic operations. Only one thread can possibly
23467         be accessing the data at this point. Changed so as to avoid
23468         gst_atomic operations.
23469
23470 2005-05-06  Wim Taymans  <wim@fluendo.com>
23471
23472         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
23473         Also set caps if we use the fallback buffer alloc.
23474
23475 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
23476
23477         * docs/gst/Makefile.am:
23478         * docs/gst/gstreamer-docs.sgml:
23479         * docs/gst/gstreamer-sections.txt:
23480         * docs/gst/tmpl/gstatomic.sgml:
23481         * docs/gst/tmpl/gstmemchunk.sgml:
23482         * testsuite/elements/struct_i386.h:
23483         * win32/GStreamer.vcproj:
23484         * win32/Makefile:
23485           Purge GstAtomic stuff from docs and win32 makefiles as well
23486
23487 2005-05-06  Wim Taymans  <wim@fluendo.com>
23488
23489         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
23490         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
23491         * gst/gstpad.c: (gst_pad_peer_get_caps):
23492         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
23493         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
23494         (gst_queue_src_activate), (gst_queue_change_state):
23495         * gst/gstqueue.h:
23496         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23497         (intersect_caps_func):
23498         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
23499         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
23500         Some fixes for the peer_get_caps() change.
23501
23502 2005-05-06  Wim Taymans  <wim@fluendo.com>
23503
23504         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23505         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
23506         (gst_basesink_activate):
23507         Actually do something with error codes returned from the push
23508         functions.
23509
23510 2005-05-06  Wim Taymans  <wim@fluendo.com>
23511
23512         * docs/design/part-element-sink.txt:
23513         * docs/design/part-element-source.txt:
23514         * gst/base/gstbasesink.c: (gst_basesink_class_init),
23515         (gst_basesink_event), (gst_basesink_activate):
23516         * gst/base/gstbasesink.h:
23517         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
23518         (gst_basesrc_activate):
23519         * gst/base/gstbasesrc.h:
23520         * gst/gstelement.c: (gst_element_pads_activate):
23521         Some more documentation.
23522         Fixed scheduling decision in _pads_activate().
23523
23524 2005-05-05  Andy Wingo  <wingo@pobox.com>
23525
23526         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
23527         the test suite.
23528
23529 2005-05-05  Wim Taymans  <wim@fluendo.com>
23530
23531         * gst/base/Makefile.am:
23532         * gst/base/gstbasesink.h:
23533         * gst/base/gstbasesrc.c: (gst_basesrc_init),
23534         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
23535         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
23536         (gst_collectpads_class_init), (gst_collectpads_init),
23537         (gst_collectpads_finalize), (gst_collectpads_new),
23538         (gst_collectpads_set_function), (gst_collectpads_add_pad),
23539         (find_pad), (gst_collectpads_remove_pad),
23540         (gst_collectpads_is_active), (gst_collectpads_collect),
23541         (gst_collectpads_collect_range), (gst_collectpads_start),
23542         (gst_collectpads_stop), (gst_collectpads_peek),
23543         (gst_collectpads_pop), (gst_collectpads_available),
23544         (gst_collectpads_read), (gst_collectpads_flush),
23545         (gst_collectpads_chain):
23546         * gst/base/gstcollectpads.h:
23547         * gst/elements/Makefile.am:
23548         * gst/elements/gstelements.c:
23549         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23550         (gst_fakesink_get_times), (gst_fakesink_event),
23551         (gst_fakesink_preroll), (gst_fakesink_render):
23552         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
23553         (gst_filesink_init), (gst_filesink_set_location),
23554         (gst_filesink_open_file), (gst_filesink_close_file),
23555         (gst_filesink_pad_query), (gst_filesink_event),
23556         (gst_filesink_render), (gst_filesink_change_state):
23557         * gst/elements/gstfilesink.h:
23558         Added object to help in making collect pad based elements.
23559         Ported filesink.
23560         Make event function in sink baseclass return gboolean.
23561
23562 2005-05-05  Wim Taymans  <wim@fluendo.com>
23563
23564         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
23565         (gst_bin_get_by_name):
23566         * gst/gstbuffer.h:
23567         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
23568         (gst_clock_finalize):
23569         * gst/gstdata.c: (gst_data_replace):
23570         * gst/gstdata.h:
23571         * gst/gstelement.c: (gst_element_request_pad),
23572         (gst_element_pads_activate):
23573         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
23574         (gst_object_unref):
23575         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23576         (gst_pad_set_checkgetrange_function),
23577         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
23578         (gst_pad_check_pull_range), (gst_pad_pull_range),
23579         (gst_static_pad_template_get_caps), (gst_pad_start_task),
23580         (gst_pad_pause_task), (gst_pad_stop_task):
23581         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23582         (gst_element_request_pad), (gst_pad_proxy_getcaps):
23583         Fix name lookup in GstBin.
23584         Added _data_replace() function and _buffer_replace()
23585         Use finalize method to clean up clock.
23586         Fix refcounting on request pads.
23587         Fix pad schedule mode error.
23588         Some more object refcounting debug info,
23589
23590
23591 2005-05-04  Andy Wingo <wingo@pobox.com>
23592
23593         * check/Makefile.am:
23594         * docs/gst/tmpl/gstatomic.sgml:
23595         * docs/gst/tmpl/gstplugin.sgml:
23596         * gst/base/gstbasesink.c: (gst_basesink_activate):
23597         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
23598         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
23599         (gst_basesrc_query), (gst_basesrc_set_property),
23600         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
23601         (gst_basesrc_activate):
23602         * gst/base/gstbasesrc.h:
23603         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
23604         (gst_base_transform_src_activate):
23605         * gst/elements/gstelements.c:
23606         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23607         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23608         * gst/elements/gsttee.c: (gst_tee_sink_activate):
23609         * gst/elements/gsttypefindelement.c: (find_element_get_length),
23610         (gst_type_find_element_checkgetrange),
23611         (gst_type_find_element_activate):
23612         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
23613         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
23614         (gst_caps_load_thyself):
23615         * gst/gstelement.c: (gst_element_pads_activate),
23616         (gst_element_save_thyself), (gst_element_restore_thyself):
23617         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
23618         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
23619         * gst/gstpad.h:
23620         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
23621         (gst_xml_parse_file), (gst_xml_parse_memory),
23622         (gst_xml_get_element), (gst_xml_make_element):
23623         * gst/indexers/gstfileindex.c: (gst_file_index_load),
23624         (_file_index_id_save_xml), (gst_file_index_commit):
23625         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
23626         (read_enum), (load_pad_template), (load_feature), (load_plugin),
23627         (load_paths):
23628         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
23629         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
23630         * tools/gst-complete.c: (main):
23631         * tools/gst-compprep.c: (main):
23632         * tools/gst-inspect.c: (print_element_properties_info):
23633         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
23634         * tools/gst-xmlinspect.c: (print_element_properties):
23635         GCC 4 fixen.
23636         
23637 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23638
23639         * gst/gstplugin.c: (gst_plugin_check_module),
23640         (gst_plugin_check_file), (gst_plugin_load_file):
23641             apply patch from #172526 to make register work on MacOSX
23642
23643 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
23644
23645         * docs/gst/tmpl/gstconfig.sgml:
23646         * gst/gstconfig.h.in:
23647           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
23648         * testsuite/debug/printf_extension.c: (main):
23649           Do not use GST_PTR_FORMAT on pointers to types with
23650           sizeof < sizeof(gpointer).  Fixes test on 64-bit
23651         * testsuite/elements/property.h:
23652           use correct printf format
23653
23654 2005-05-02  Wim Taymans  <wim@fluendo.com>
23655
23656         * docs/design/draft-push-pull.txt:
23657         * docs/design/draft-query.txt:
23658         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
23659         (gst_basesrc_start):
23660         Added draft for new query API.
23661         Added draft for better selecting scheduling methods.
23662         Make basesrc ignore length if the subclass does not support
23663         it.
23664
23665 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
23666
23667         * gst/Makefile.am:
23668           possible fixes for automake-1.5 - _LIBADD is reserved
23669
23670 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
23671
23672         * docs/faq/Makefile.am:
23673         * docs/manual/Makefile.am:
23674         * docs/manuals.mak:
23675         * docs/pwg/Makefile.am:
23676         * gst/Makefile.am:
23677           possible fixes for automake-1.5
23678
23679 2005-04-28  Wim Taymans  <wim@fluendo.com>
23680
23681         * gst/base/gstbasesink.c: (gst_basesink_base_init),
23682         (gst_basesink_pad_getcaps), (gst_basesink_init),
23683         (gst_basesink_do_sync):
23684         * gst/gstclock.c: (gst_clock_entry_new):
23685         * gst/gstevent.c: (gst_event_discont_get_value):
23686         * gst/gstpipeline.c: (pipeline_bus_handler),
23687         (gst_pipeline_change_state):
23688         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
23689         Better debugging of clocking info.
23690         Allow NULL values when getting discont values.
23691
23692 2005-04-27  Wim Taymans  <wim@fluendo.com>
23693
23694         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
23695         * check/gst/gstpad.c: (gst_pad_suite):
23696         Increase timeout for checks.
23697
23698 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
23699
23700         * check/Makefile.am:
23701           fix the broken rule for cleanup.  Apparently this rule is
23702           only needed on FC2, so maybe this warrants further autotool
23703           inspection.
23704
23705 2005-04-26  Wim Taymans  <wim@fluendo.com>
23706
23707         * gst/gsttrashstack.h:
23708         Ooohh. a nasty one! After having a failed pop() from the stack,
23709         it's possible that the stack is empty. In that case, don't
23710         follow the NULL pointer.
23711
23712 2005-04-25  Wim Taymans  <wim@fluendo.com>
23713
23714         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23715         (gst_pad_set_checkgetrange_function),
23716         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
23717         (gst_pad_check_pull_range), (gst_pad_pull_range),
23718         (gst_static_pad_template_get_caps), (gst_pad_start_task),
23719         (gst_pad_pause_task), (gst_pad_stop_task):
23720         * gst/gstplugin.c: (gst_plugin_load):
23721         * gst/gstplugin.h:
23722         Remove gst_library_load as it does more harm than good with
23723         the new g_module flags.
23724         Revert bogus caps template check in pad linking, pad caps
23725         are important when linking not the template, which is more
23726         general than the current caps.
23727
23728 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23729
23730         * gst/autoplug/.cvsignore:
23731         * gst/autoplug/Makefile.am:
23732         * gst/autoplug/gstsearchfuncs.c:
23733         * gst/autoplug/gstsearchfuncs.h:
23734         * gst/autoplug/gstspider.c:
23735         * gst/autoplug/gstspider.h:
23736         * gst/autoplug/gstspideridentity.c:
23737         * gst/autoplug/gstspideridentity.h:
23738         * gst/autoplug/spidertest.c:
23739           Die, spider, die.
23740
23741 2005-04-25  Wim Taymans  <wim@fluendo.com>
23742
23743         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23744         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
23745         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
23746         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
23747         * gst/gstpad.h:
23748         Added stubs for unimplemented functions. 
23749
23750 2005-04-24  David Schleef  <ds@schleef.org>
23751
23752         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
23753         please fix.
23754
23755 2005-04-24  David Schleef  <ds@schleef.org>
23756
23757         Convert everything from GstAtomicInt to g_atomic_int_*, and
23758         remove gstatomic.
23759         * gst/Makefile.am:
23760         * gst/gstatomic.c:
23761         * gst/gstatomic.h:
23762         * gst/gstatomic_impl.h:
23763         * gst/gstbuffer.c:
23764         * gst/gstcaps.c:
23765         * gst/gstcaps.h:
23766         * gst/gstclock.c:
23767         * gst/gstclock.h:
23768         * gst/gstdata.c:
23769         * gst/gstdata.h:
23770         * gst/gstdata_private.h:
23771         * gst/gstevent.c:
23772         * gst/gstinfo.c:
23773         * gst/gstinfo.h:
23774         * gst/gstmessage.c:
23775         * gst/gstobject.c:
23776         * gst/gstobject.h:
23777         * gst/gststructure.c:
23778         * gst/gststructure.h:
23779         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
23780         * gst/gstutils.h:
23781
23782 2005-04-24  David Schleef  <ds@schleef.org>
23783
23784         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
23785         make the regressions tests work.  Remove some code that is no
23786         longer true.
23787         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
23788         Disable warning for pads without templates.
23789
23790 2005-04-24  David Schleef  <ds@schleef.org>
23791
23792         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
23793         functions that handle filtered links.
23794         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
23795         removed functions.
23796         * gst/gstutils.c: Fix/remove utility functions that handle
23797         filtered caps.
23798         * gst/gstutils.h:
23799         * gst/gstvalue.c: Add serialization/deserialization of caps
23800         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
23801         requires fixing so that the filter caps notation creates
23802         a capsfilter element and sets the filter_caps property.  I
23803         think everyone probably wants to keep the shorthand notation.
23804         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
23805         * docs/gst/tmpl/gstpad.sgml:
23806
23807         * gst/elements/gstelements.c: Register capsfilter element.
23808         * gst/Makefile.am: fix spacing
23809         * docs/random/ds/0.9-suggested-changes: random
23810
23811 2005-04-23  David Schleef  <ds@schleef.org>
23812
23813         * gst/elements/Makefile.am:
23814         * gst/elements/gstcapsfilter.c: New element that acts like an
23815         identity, but filters caps.  Will eventually replace filtered
23816         caps in pad linking.
23817         * gst/gstutils.c: (gst_element_create_all_pads): New function
23818         to create all the ALWAYS pads that are registered with an
23819         element class.  This functionality should eventually be
23820         merged in with GstElement initialization.
23821         * gst/gstutils.h:
23822         * testsuite/trigger/README: part of trigger test code that should
23823         have been checked in a long time ago.
23824
23825 2005-04-23  David Schleef  <ds@schleef.org>
23826
23827         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
23828         needed with new versions of libtool (nobody will confirm this),
23829         and hard to carry around.
23830         * gst/autoplug/Makefile.am:
23831         * gst/base/Makefile.am:
23832         * gst/elements/Makefile.am:
23833         * gst/indexers/Makefile.am:
23834         * gst/schedulers/Makefile.am:
23835         * libs/gst/bytestream/Makefile.am:
23836         * libs/gst/control/Makefile.am:
23837         * libs/gst/dataprotocol/Makefile.am:
23838         * libs/gst/getbits/Makefile.am:
23839
23840 2005-04-21  Wim Taymans  <wim@fluendo.com>
23841
23842         * docs/design/draft-push-pull.txt:
23843         * docs/design/part-MT-refcounting.txt:
23844         * docs/design/part-TODO.txt:
23845         * docs/design/part-caps.txt:
23846         * docs/design/part-events.txt:
23847         * docs/design/part-gstbus.txt:
23848         * docs/design/part-gstpipeline.txt:
23849         * docs/design/part-messages.txt:
23850         * docs/design/part-push-pull.txt:
23851         * docs/design/part-query.txt:
23852         Some more docs.
23853
23854 2005-04-21  Wim Taymans  <wim@fluendo.com>
23855
23856         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
23857         (gst_message_new), (gst_message_new_error),
23858         (gst_message_new_warning), (gst_message_new_tag),
23859         (gst_message_new_state_changed), (gst_message_new_application),
23860         (gst_message_get_structure):
23861         * gst/gstmessage.h:
23862         * gst/gststructure.c: (gst_structure_set_parent_refcount),
23863         (gst_structure_copy_conditional):
23864         Use parent refcount in GstMessage to ensure GstStructure
23865         consistency.
23866         Cleaned up headers a bit.
23867         
23868
23869 2005-04-20  Wim Taymans  <wim@fluendo.com>
23870
23871         * gst/base/gstbasesink.c: (gst_basesink_base_init),
23872         (gst_basesink_pad_getcaps), (gst_basesink_init),
23873         (gst_basesink_chain_unlocked):
23874         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
23875         (gst_type_find_helper):
23876         * gst/elements/gsttypefindelement.c:
23877         (gst_type_find_element_have_type), (gst_type_find_element_init),
23878         (stop_typefinding), (gst_type_find_element_handle_event),
23879         (find_suggest), (gst_type_find_element_chain),
23880         (gst_type_find_element_checkgetrange),
23881         (gst_type_find_element_getrange), (do_typefind),
23882         (gst_type_find_element_activate):
23883         * gst/gstbuffer.c: (_gst_buffer_sub_free),
23884         (gst_buffer_default_free), (gst_buffer_default_copy),
23885         (gst_buffer_set_caps):
23886         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
23887         (gst_caps_replace):
23888         * gst/gstmessage.c: (gst_message_new),
23889         (gst_message_new_state_changed):
23890         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23891         (gst_pad_set_checkgetrange_function),
23892         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
23893         (gst_pad_set_caps), (gst_pad_check_pull_range),
23894         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
23895         * gst/gstpad.h:
23896         * gst/gsttypefind.c: (gst_type_find_register):
23897         Make gst_caps_replace() work like other _replace() functions.
23898         Use _caps_replace() where possible.
23899         Make sure _message_new() initialises its field.
23900         Add gst_static_pad_template_get_caps()
23901
23902
23903 2005-04-18  Andy Wingo  <wingo@pobox.com>
23904
23905         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
23906         on the peer, not the pad. I think that was a typo. Pass an extra
23907         arg to see if random access is possible. Activate the pads as
23908         PULL_RANGE if possible.
23909
23910         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
23911
23912         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
23913         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
23914         to PROP_....
23915
23916 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23917
23918         * docs/faq/using.xml:
23919           Add note on gstreamer-properties (#154996).
23920
23921 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23922
23923         * docs/random/bbb/optional-properties:
23924           Some analysis on optional properties.
23925
23926 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23927
23928         * docs/gst/tmpl/gstelementfactory.sgml:
23929         * gst/gstelement.h:
23930         * gst/gstelementfactory.c: (gst_element_factory_init),
23931         (gst_element_factory_cleanup), (gst_element_register),
23932         (__gst_element_factory_add_static_pad_template),
23933         (gst_element_factory_get_static_pad_templates),
23934         (gst_element_factory_can_src_caps),
23935         (gst_element_factory_can_sink_caps):
23936         * gst/registries/Makefile.am:
23937         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
23938         (gst_xml_registry_class_init), (gst_xml_registry_init),
23939         (gst_xml_registry_new), (gst_xml_registry_set_property),
23940         (gst_xml_registry_get_property), (get_time), (make_dir),
23941         (gst_xml_registry_get_perms_func),
23942         (plugin_times_older_than_recurse), (plugin_times_older_than),
23943         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
23944         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
23945         (add_to_char_array), (read_string), (read_uint), (read_enum),
23946         (load_pad_template), (load_feature), (load_plugin), (load_paths),
23947         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
23948         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
23949         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
23950         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
23951         (gst_xml_registry_rebuild):
23952         * gst/registries/gstlibxmlregistry.h:
23953         * tools/gst-compprep.c: (main):
23954         * tools/gst-inspect.c: (print_pad_templates_info):
23955         * tools/gst-xmlinspect.c: (print_element_info):
23956           Use libxml2 for registry parsing, use staticpadtemplates in
23957           elementfactories. Makes gst_init() +/- 10x faster.
23958
23959 2005-04-12  Wim Taymans  <wim@fluendo.com>
23960
23961         * gst/base/Makefile.am:
23962         * gst/base/gstbasesink.c: (gst_basesink_base_init),
23963         (gst_basesink_pad_getcaps), (gst_basesink_init),
23964         (gst_basesink_event), (gst_basesink_change_state):
23965         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23966         (gst_basesrc_init), (gst_basesrc_query),
23967         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
23968         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
23969         (gst_basesrc_check_get_range), (gst_basesrc_loop),
23970         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
23971         (gst_basesrc_stop), (gst_basesrc_activate),
23972         (gst_basesrc_change_state):
23973         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23974         (helper_find_suggest), (gst_type_find_helper):
23975         * gst/base/gsttypefindhelper.h:
23976         * gst/elements/Makefile.am:
23977         * gst/elements/gstelements.c:
23978         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23979         (gst_fakesink_get_times), (gst_fakesink_event),
23980         (gst_fakesink_preroll), (gst_fakesink_render):
23981         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23982         (gst_fakesrc_init), (gst_fakesrc_event_handler),
23983         (gst_fakesrc_get_property), (gst_fakesrc_create),
23984         (gst_fakesrc_start), (gst_fakesrc_stop):
23985         * gst/elements/gstfakesrc.h:
23986         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
23987         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
23988         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
23989         (gst_filesrc_create_read), (gst_filesrc_create),
23990         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
23991         (gst_filesrc_start):
23992         * gst/elements/gsttypefindelement.c:
23993         (gst_type_find_element_have_type), (gst_type_find_element_init),
23994         (start_typefinding), (stop_typefinding), (push_buffer_store),
23995         (gst_type_find_element_handle_event),
23996         (gst_type_find_element_chain),
23997         (gst_type_find_element_checkgetrange),
23998         (gst_type_find_element_getrange), (do_typefind),
23999         (gst_type_find_element_activate),
24000         (gst_type_find_element_change_state):
24001         * gst/elements/gsttypefindelement.h:
24002         * gst/gstpipeline.c: (pipeline_bus_handler):
24003         Added typefind helper.
24004         Small preroll fix in the base sink.
24005         Disable typefind code in basesrc.
24006         Crude port of typefindelement.
24007         Fakesrc cleanups.
24008
24009
24010 2005-04-11  Wim Taymans  <wim@fluendo.com>
24011
24012         * check/gst/gstbus.c: (gstbus_suite):
24013         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
24014         * check/gstcheck.h:
24015           Fix up the timeout so that the test does not fail.
24016
24017 2005-04-06  Wim Taymans  <wim@fluendo.com>
24018
24019         * gst/base/README:
24020         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
24021         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
24022         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
24023         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
24024         (gst_basesrc_check_get_range), (gst_basesrc_loop),
24025         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
24026         (gst_basesrc_stop), (gst_basesrc_activate),
24027         (gst_basesrc_change_state), (basesrc_find_peek),
24028         (basesrc_find_suggest), (gst_basesrc_type_find):
24029         * gst/base/gstbasesrc.h:
24030         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
24031         (gst_filesrc_class_init), (gst_filesrc_init),
24032         (gst_filesrc_finalize), (gst_filesrc_set_location),
24033         (gst_filesrc_set_property), (gst_filesrc_get_property),
24034         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
24035         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
24036         (gst_filesrc_create_read), (gst_filesrc_create),
24037         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
24038         * gst/elements/gstfilesrc.h:
24039         * gst/gstelement.c: (gst_element_get_state_func),
24040         (gst_element_lost_state), (gst_element_pads_activate):
24041         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24042         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
24043         (gst_pad_pull_range):
24044         * gst/gstpad.h:
24045         More work on the generic source base class, implement seeking,
24046         query.
24047         Make filesrc extend the base source class.
24048         Added gst_pad_set_checkgetrange_function to GstPad.
24049
24050 2005-04-06  Andy Wingo  <wingo@pobox.com>
24051
24052         * pkgconfig/gstreamer-base.pc.in:
24053         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
24054
24055         * pkgconfig/Makefile.am:
24056         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
24057
24058 2005-04-04  Wim Taymans  <wim@fluendo.com>
24059
24060         * gst/base/Makefile.am:
24061         * gst/base/README:
24062         * gst/base/gstbasesink.c: (gst_basesink_base_init),
24063         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
24064         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
24065         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
24066         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
24067         (gst_basesrc_base_init), (gst_basesrc_class_init),
24068         (gst_basesrc_init), (gst_basesrc_get_formats),
24069         (gst_basesrc_get_query_types), (gst_basesrc_query),
24070         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
24071         (gst_basesrc_set_property), (gst_basesrc_get_property),
24072         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
24073         (gst_basesrc_loop), (gst_basesrc_activate),
24074         (gst_basesrc_change_state):
24075         * gst/base/gstbasesrc.h:
24076         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
24077         (gst_fakesrc_class_init), (gst_fakesrc_init),
24078         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
24079         (gst_fakesrc_get_property), (gst_fakesrc_create):
24080         * gst/elements/gstfakesrc.h:
24081         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
24082         (gst_filesrc_open_file), (gst_filesrc_loop),
24083         (gst_filesrc_activate), (filesrc_find_peek),
24084         (gst_filesrc_type_find):
24085         Made base source class, make fakesrc extend it.
24086         Add comments to basesink class.
24087         Some filesrc cleanup.
24088
24089 2005-03-31  David Schleef  <ds@schleef.org>
24090
24091         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
24092         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
24093         expected to link against libgstreamer.
24094         * gst/base/Makefile.am: link against libgstreamer
24095         * gst/elements/Makefile.am: same
24096
24097 2005-03-31  Andy Wingo  <wingo@pobox.com>
24098
24099         * tests/instantiate/Makefile.am:
24100         * tests/instantiate/caps.c: Add test to test speed of caps copy
24101         and free.
24102
24103         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
24104         GMemChunk to be fair.
24105
24106         * gst/gsttrashstack.h: Remove warning about using the fallback
24107         trash stack implementation, it's still faster than malloc.
24108
24109 2005-03-30  Andy Wingo  <wingo@pobox.com>
24110
24111         * tests/complexity.c: Add a copyright.
24112
24113 2005-03-31  Wim Taymans  <wim@fluendo.com>
24114
24115         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
24116         (gst_base_transform_class_init), (gst_base_transform_init),
24117         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
24118         (gst_base_transform_get_property),
24119         (gst_base_transform_sink_activate),
24120         (gst_base_transform_src_activate),
24121         (gst_base_transform_change_state):
24122         * gst/base/gstbasetransform.h:
24123         * gst/elements/gstidentity.c: (gst_identity_class_init),
24124         (gst_identity_event), (gst_identity_check_perfect),
24125         (gst_identity_transform), (gst_identity_start),
24126         (gst_identity_stop):
24127         Added start/stop methods to transform base class so subclasses 
24128         don't need to deal with state changes even.
24129
24130 2005-03-31  Wim Taymans  <wim@fluendo.com>
24131
24132         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
24133         (gst_event_new_discontinuous), (gst_event_discont_get_value):
24134         * gst/gstevent.h:
24135         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24136         (gst_pad_pull_range):
24137         Added rate to the discont event to prepare for variable speed
24138         and reverse playback.
24139
24140 2005-03-29  David Schleef  <ds@schleef.org>
24141
24142         * configure.ac:
24143         * testsuite/trigger/Makefile.am:
24144         * testsuite/trigger/trigger.c: A little example program to show
24145         how trigger-based elements can work.
24146
24147 2005-03-29  Wim Taymans  <wim@fluendo.com>
24148
24149         * gst/base/Makefile.am:
24150         * gst/base/README:
24151         * gst/base/gstbasesink.c: (gst_basesink_get_type),
24152         (gst_basesink_base_init), (gst_basesink_class_init),
24153         (gst_basesink_pad_getcaps), (gst_basesink_init),
24154         (gst_basesink_activate), (gst_basesink_change_state):
24155         * gst/base/gstbasesink.h:
24156         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
24157         (gst_base_transform_base_init), (gst_base_transform_finalize),
24158         (gst_base_transform_class_init), (gst_base_transform_init),
24159         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
24160         (gst_base_transform_event), (gst_base_transform_getrange),
24161         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
24162         (gst_base_transform_set_property),
24163         (gst_base_transform_get_property),
24164         (gst_base_transform_sink_activate),
24165         (gst_base_transform_src_activate),
24166         (gst_base_transform_change_state):
24167         * gst/base/gstbasetransform.h:
24168         * gst/elements/gstidentity.c: (gst_identity_finalize),
24169         (gst_identity_class_init), (gst_identity_init),
24170         (gst_identity_event), (gst_identity_check_perfect),
24171         (gst_identity_transform), (gst_identity_set_property),
24172         (gst_identity_get_property), (gst_identity_change_state):
24173         * gst/elements/gstidentity.h:
24174         * gst/gstelement.c: (gst_element_get_state_func),
24175         (gst_element_lost_state), (gst_element_pads_activate):
24176         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24177         (gst_pad_check_pull_range), (gst_pad_pull_range):
24178         * gst/gstpad.h:
24179         Simplify pad activation.
24180         Added function to check if pull_range can be performed.
24181         Error out when pulling inactive or flushing pads.
24182         Removed const from refcounted types as it does not make sense.
24183         Simplify pad templates in basesink
24184         Added base class for simple 1-to-1 transforms.
24185         Make identity subclass the base transform.
24186
24187 2005-03-29  Andy Wingo  <wingo@pobox.com>
24188
24189         * docs/libs/gstreamer-libs-overrides.txt: 
24190         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
24191         really don't understand what's going on, but like whatever. I want
24192         green buildbot!
24193
24194         * docs/gst/Makefile.am:
24195         * docs/libs/Makefile.am: Dist the overrides files.
24196
24197         * check/Makefile.am (clean-local): Remove .libs directories.
24198
24199         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
24200         elements to EXTRA_DIST, so po/ files are happy.
24201
24202         * po/POTFILES.in: Er, remove it here.
24203
24204         * po/POTFILES: Remove gstspider.c.
24205
24206         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
24207
24208         * docs/libs/gstreamer-libs-docs.sgml: 
24209         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
24210         bytestream.
24211
24212         * tests/complexity.c (main): Set the length of the preroll queue
24213         on the sinks to prevent a lockup.
24214
24215         * libs/gst/dataprotocol/Makefile.am: 
24216         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
24217         the same as the one in check/gst-libs/gdp.c.
24218
24219         * po/, docs/gst/: Commit automatic changes to docs and po files.
24220
24221         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
24222         the versioned libgstbase.
24223
24224         * check/Makefile.am: Depend on an unversioned gst-register, seems
24225         to make autoconf happier.
24226
24227         * gst/base/Makefile.am: Make libgstbase a versioned lib.
24228
24229 2005-03-28  Wim Taymans  <wim@fluendo.com>
24230
24231         * configure.ac:
24232         * docs/design/part-gstelement.txt:
24233         * docs/design/part-negotiation.txt:
24234         * docs/design/part-preroll.txt:
24235         * docs/design/part-scheduling.txt:
24236         * docs/design/part-states.txt:
24237         * gst/Makefile.am:
24238         * gst/base/Makefile.am:
24239         * gst/base/README:
24240         * gst/base/gstbasesink.c: (gst_basesink_get_template),
24241         (gst_basesink_base_init), (gst_basesink_class_init),
24242         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
24243         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
24244         (gst_basesink_set_pad_functions),
24245         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
24246         (gst_basesink_set_property), (gst_basesink_get_property),
24247         (gst_base_sink_get_template), (gst_base_sink_get_caps),
24248         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
24249         (gst_basesink_preroll_queue_push),
24250         (gst_basesink_preroll_queue_empty),
24251         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
24252         (gst_basesink_event), (gst_basesink_get_times),
24253         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
24254         (gst_basesink_chain_unlocked), (gst_basesink_chain),
24255         (gst_basesink_loop), (gst_basesink_activate),
24256         (gst_basesink_change_state):
24257         * gst/base/gstbasesink.h:
24258         * gst/elements/Makefile.am:
24259         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
24260         (gst_fakesink_class_init), (gst_fakesink_init),
24261         (gst_fakesink_set_property), (gst_fakesink_get_property),
24262         (gst_fakesink_get_times), (gst_fakesink_event),
24263         (gst_fakesink_preroll), (gst_fakesink_render),
24264         (gst_fakesink_change_state):
24265         * gst/elements/gstfakesink.h:
24266         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
24267         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
24268         * gst/gstelement.c: (gst_element_add_pad),
24269         (gst_element_get_state_func), (gst_element_abort_state),
24270         (gst_element_commit_state), (gst_element_lost_state),
24271         (gst_element_set_state), (gst_element_pads_activate):
24272         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
24273         * gst/gstpipeline.c: (gst_pipeline_send_event),
24274         (gst_pipeline_change_state):
24275         Added state change code.
24276         Added/updated docs.
24277         Added sink base class, make fakesink extend the base class.
24278         Small cleanups in GstPipeline.
24279
24280 2005-03-26  David Schleef  <ds@schleef.org>
24281
24282         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
24283         is broken and should be implemented in a different library.
24284         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
24285         * gst/gst.h: remove gstcpu.h
24286         * gst/gstcpu.c: remove
24287         * gst/gstcpu.h: remove
24288         * gst/Makefile.am.future: Remove this file.  It's ancient.
24289
24290 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24291
24292         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
24293         (gst_bin_send_event):
24294           Add default event/set_manager handlers. The set_manager handler
24295           takes care that the manager is distributed over kids that were
24296           already in the bin before the manager was set. The event handler
24297           is a utility virtual function that sends the event over all sinks,
24298           so that gst_element_send_event (bin, event); has the expected
24299           behaviour.
24300         * gst/gstpad.c: (gst_pad_event_default):
24301           Re-install default event handling for discontinuities, so that
24302           seeking works without requiring hacks in applications or extra
24303           code in sinks.
24304         * gst/gstpipeline.c: (gst_pipeline_class_init),
24305         (gst_pipeline_send_event):
24306           Half hack, half utility: set a pipeline to PAUSED for seek events,
24307           since that is the only way we can guarantee a/v sync. Means that
24308           you can do gst_element_seek (pipeline, method, pos); on a pipeline
24309           and it "just works".
24310
24311 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24312
24313         * gst/gstpipeline.c: (gst_pipeline_use_clock):
24314           Lock/unlock mismatch.
24315
24316 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24317
24318         * docs/faq/gst-uninstalled:
24319           add gst-plugins-base
24320         * docs/gst/Makefile.am:
24321           don't error out until docs are fixed
24322         * docs/gst/gstreamer.types:
24323           remove thread
24324
24325 2005-03-22  Wim Taymans  <wim@fluendo.com>
24326
24327         * check/Makefile.am:
24328         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
24329         * gst/gststructure.c: (gst_structure_set_valist),
24330         (gst_structure_copy_conditional):
24331         Activated more tests.
24332         Added message test.
24333         Added G_TYPE_POINTER to GstStructure.
24334         
24335
24336 2005-03-22  Wim Taymans  <wim@fluendo.com>
24337
24338         * docs/design/part-TODO.txt:
24339         * docs/design/part-events.txt:
24340         * docs/design/part-gstbin.txt:
24341         * docs/design/part-gstbus.txt:
24342         * docs/design/part-gstpipeline.txt:
24343         * docs/design/part-messages.txt:
24344         * gst/gstbus.c:
24345         * gst/gstmessage.c:
24346         Docs updates
24347
24348 2005-03-21  Wim Taymans  <wim@fluendo.com>
24349
24350         * gst/gstbus.c: (gst_bus_post):
24351         Fix copy-and-paste error.
24352
24353 2005-03-21  Wim Taymans  <wim@fluendo.com>
24354
24355         * check/Makefile.am:
24356         * gst/Makefile.am:
24357         * gst/elements/Makefile.am:
24358         * gst/elements/gstelements.c:
24359         * gst/elements/gstfakesink.c: (gst_fakesink_init),
24360         (gst_fakesink_event), (gst_fakesink_chain):
24361         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24362         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
24363         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
24364         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
24365         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
24366         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
24367         (gst_fakesrc_loop), (gst_fakesrc_activate),
24368         (gst_fakesrc_change_state):
24369         * gst/elements/gstfakesrc.h:
24370         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
24371         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
24372         (gst_filesrc_open_file), (gst_filesrc_loop),
24373         (gst_filesrc_activate), (gst_filesrc_change_state),
24374         (filesrc_find_peek), (filesrc_find_suggest),
24375         (gst_filesrc_type_find):
24376         * gst/elements/gstidentity.c: (gst_identity_finalize),
24377         (gst_identity_class_init), (gst_identity_init),
24378         (gst_identity_proxy_getcaps), (identity_queue_push),
24379         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
24380         (gst_identity_getrange), (gst_identity_chain),
24381         (gst_identity_sink_loop), (gst_identity_src_loop),
24382         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
24383         (gst_identity_set_property), (gst_identity_get_property),
24384         (gst_identity_change_state):
24385         * gst/elements/gstidentity.h:
24386         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
24387         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
24388         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
24389         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
24390         (gst_tee_sink_activate):
24391         * gst/elements/gsttee.h:
24392         * gst/gst.c: (gst_register_core_elements), (init_post):
24393         * gst/gst.h:
24394         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
24395         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
24396         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
24397         (gst_bin_change_state):
24398         * gst/gstbin.h:
24399         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
24400         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
24401         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
24402         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
24403         (gst_bus_set_sync_handler), (gst_bus_create_watch),
24404         (bus_watch_callback), (bus_watch_destroy),
24405         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
24406         (poll_timeout), (gst_bus_poll):
24407         * gst/gstbus.h:
24408         * gst/gstcaps.h:
24409         * gst/gstdata.h:
24410         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
24411         (gst_element_post_message), (gst_element_message_full),
24412         (gst_element_get_state_func), (gst_element_get_state),
24413         (gst_element_abort_state), (gst_element_commit_state),
24414         (gst_element_lost_state), (gst_element_set_state),
24415         (gst_element_pads_activate), (gst_element_change_state),
24416         (gst_element_dispose), (gst_element_set_manager_func),
24417         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
24418         (gst_element_set_manager), (gst_element_get_manager),
24419         (gst_element_set_bus), (gst_element_get_bus),
24420         (gst_element_set_scheduler), (gst_element_get_scheduler):
24421         * gst/gstelement.h:
24422         * gst/gstevent.c: (gst_event_new_segment_seek),
24423         (gst_event_new_flush):
24424         * gst/gstevent.h:
24425         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
24426         (_gst_message_free), (gst_message_get_type), (gst_message_new),
24427         (gst_message_new_eos), (gst_message_new_error),
24428         (gst_message_new_warning), (gst_message_new_tag),
24429         (gst_message_new_state_changed), (gst_message_new_application),
24430         (gst_message_get_structure), (gst_message_parse_tag),
24431         (gst_message_parse_state_changed), (gst_message_parse_error),
24432         (gst_message_parse_warning):
24433         * gst/gstmessage.h:
24434         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
24435         (gst_real_pad_set_property), (gst_pad_set_active),
24436         (gst_pad_is_active), (gst_pad_set_blocked_async),
24437         (gst_pad_set_blocked), (gst_pad_is_blocked),
24438         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
24439         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
24440         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
24441         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
24442         (gst_pad_link_filtered), (gst_pad_relink_filtered),
24443         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
24444         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
24445         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
24446         (gst_pad_set_caps), (gst_pad_configure_sink),
24447         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
24448         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
24449         (gst_real_pad_dispose), (gst_real_pad_finalize),
24450         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
24451         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24452         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
24453         * gst/gstpad.h:
24454         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
24455         (pipeline_bus_handler), (gst_pipeline_change_state),
24456         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
24457         * gst/gstpipeline.h:
24458         * gst/gstprobe.h:
24459         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
24460         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
24461         (gst_queue_link_src), (gst_queue_bufferalloc),
24462         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
24463         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
24464         (gst_queue_loop), (gst_queue_handle_src_event),
24465         (gst_queue_handle_src_query), (gst_queue_src_activate),
24466         (gst_queue_change_state):
24467         * gst/gstqueue.h:
24468         * gst/gstscheduler.c: (gst_scheduler_init),
24469         (gst_scheduler_dispose), (gst_scheduler_create_task),
24470         (gst_scheduler_factory_create):
24471         * gst/gstscheduler.h:
24472         * gst/gststructure.c: (gst_structure_get_type),
24473         (gst_structure_copy_conditional):
24474         * gst/gststructure.h:
24475         * gst/gsttaginterface.h:
24476         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
24477         (gst_task_init), (gst_task_dispose), (gst_task_create),
24478         (gst_task_get_state), (gst_task_start), (gst_task_stop),
24479         (gst_task_pause):
24480         * gst/gsttask.h:
24481         * gst/gstthread.c:
24482         * gst/gstthread.h:
24483         * gst/gsttypes.h:
24484         * gst/schedulers/Makefile.am:
24485         * gst/schedulers/cothreads_compat.h:
24486         * gst/schedulers/entryscheduler.c:
24487         * gst/schedulers/faircothreads.c:
24488         * gst/schedulers/faircothreads.h:
24489         * gst/schedulers/fairscheduler.c:
24490         * gst/schedulers/gstbasicscheduler.c:
24491         * gst/schedulers/gstoptimalscheduler.c:
24492         * gst/schedulers/gthread-cothreads.h:
24493         * gst/schedulers/threadscheduler.c:
24494         (gst_thread_scheduler_task_get_type),
24495         (gst_thread_scheduler_task_class_init),
24496         (gst_thread_scheduler_task_init),
24497         (gst_thread_scheduler_task_start),
24498         (gst_thread_scheduler_task_stop),
24499         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
24500         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
24501         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
24502         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
24503         (plugin_init):
24504         * libs/gst/Makefile.am:
24505         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
24506         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
24507         (gst_file_pad_parent_set):
24508         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
24509         (gst_dp_event_from_packet):
24510         * tests/complexity.c: (main):
24511         * tests/mass_elements.c: (main):
24512         * testsuite/states/locked.c: (message_received), (main):
24513         * testsuite/states/parent.c: (main):
24514         * tools/gst-inspect.c: (print_element_flag_info),
24515         (print_implementation_info), (print_pad_info):
24516         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
24517         (main):
24518         * tools/gst-md5sum.c: (event_loop), (main):
24519         * tools/gst-typefind.c: (main):
24520         * tools/gst-xmlinspect.c: (print_element_info):
24521         Next big merge.
24522         Added GstBus for mainloop integration.
24523         Added GstMessage for sending notifications on the bus.
24524         Added GstTask as an abstraction for pipeline entry points.
24525         Removed GstThread.
24526         Removed Schedulers.
24527         Simplified GstQueue for multithreaded core.
24528         Made _link threadsafe, removed old capsnego.
24529         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
24530         Added pad blocking functions.
24531         Reworked scheduling functions in GstPad to prepare for
24532         scheduling updates soon.
24533         Moved events out of data stream.
24534         Simplified GstEvent types.
24535         Added return values to push/pull.
24536         Removed clocking from GstElement.
24537         Added prototypes for state change function for next merge.
24538         Removed iterate from bins and state change management.
24539         Fixed some elements, disabled others for now.
24540         Fixed -inspect and -launch.
24541         Added check for GstBus.
24542
24543 2005-03-10  Wim Taymans  <wim@fluendo.com>
24544
24545         * docs/design/part-MT-refcounting.txt:
24546         * docs/design/part-clocks.txt:
24547         * docs/design/part-gstelement.txt:
24548         * docs/design/part-gstobject.txt:
24549         * docs/design/part-standards.txt:
24550         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24551         (gst_bin_remove_func), (gst_bin_remove):
24552         * gst/gstbin.h:
24553         * gst/gstbuffer.c:
24554         * gst/gstcaps.h:
24555         * testsuite/clock/clock1.c: (main):
24556         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
24557         (main):
24558         * testsuite/dlopen/loadgst.c: (do_test):
24559         * testsuite/refcounting/bin.c: (add_remove_test1),
24560         (add_remove_test2), (main):
24561         * testsuite/refcounting/element.c: (main):
24562         * testsuite/refcounting/element_pad.c: (main):
24563         * testsuite/refcounting/pad.c: (main):
24564         * tools/gst-launch.c: (sigint_handler_sighandler):
24565         * tools/gst-typefind.c: (main):
24566         Doc updates.
24567         Added doc about clock.
24568         removed gst_bin_iterate_recurse_up(), marked methods
24569         for removal.
24570         Fix more testsuites.
24571
24572 2005-03-09  Wim Taymans  <wim@fluendo.com>
24573
24574         * gst/gstpad.c: (gst_pad_get_direction),
24575         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
24576         (gst_pad_collect_valist):
24577         * testsuite/bins/interface.c: (main):
24578         * testsuite/caps/audioscale.c: (test_caps):
24579         * testsuite/caps/caps.c: (test1), (test2), (test3):
24580         * testsuite/caps/deserialize.c: (main):
24581         * testsuite/caps/enumcaps.c: (main):
24582         * testsuite/caps/filtercaps.c: (main):
24583         * testsuite/caps/intersect2.c: (main):
24584         * testsuite/caps/random.c: (main):
24585         * testsuite/caps/renegotiate.c: (my_fixate), (main):
24586         * testsuite/caps/sets.c: (check_caps):
24587         * testsuite/caps/simplify.c: (check_caps), (main):
24588         * testsuite/caps/subtract.c: (check_caps):
24589         Fix _pad_get_direction wrt ghostpads.
24590         Fix caps testsuite.
24591
24592 2005-03-09  Wim Taymans  <wim@fluendo.com>
24593
24594         * check/Makefile.am:
24595         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
24596         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
24597         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
24598         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
24599         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
24600         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
24601         (gst_bin_remove), (gst_bin_iterate_recurse_up),
24602         (bin_element_is_sink), (gst_bin_iterate_sinks),
24603         (gst_bin_iterate_all_by_interface):
24604         * gst/gstbin.h:
24605         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
24606         (gst_element_change_state), (gst_element_dispose),
24607         (gst_element_finalize), (gst_element_set_loop_function):
24608         * gst/gstelement.h:
24609         * gst/gstiterator.c: (find_custom_fold_func):
24610         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
24611         (gst_pad_collectv), (gst_pad_collect_valist),
24612         (gst_pad_template_new):
24613         * gst/gstpipeline.c: (gst_pipeline_class_init),
24614         (gst_pipeline_dispose), (gst_pipeline_set_property),
24615         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
24616         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
24617         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
24618         * gst/gstutils.h:
24619         * gst/schedulers/entryscheduler.c:
24620         * gst/schedulers/gstbasicscheduler.c:
24621         (gst_basic_scheduler_cothreaded_chain),
24622         (gst_basic_scheduler_chain_add_element):
24623         * testsuite/bins/interface.c: (main):
24624         Added GstBin test.
24625         Added GstSystemClock test.
24626         Implemented clock distribution code in GstBin.
24627         Implemented iterate sinks method for future use.
24628         Rearranged gstelement.h
24629         Fix GstIterator comparison bug.
24630         Moved some code to GstPipeline, mostly clocking related.
24631
24632 2005-03-09  Wim Taymans  <wim@fluendo.com>
24633
24634         * configure.ac:
24635         * gst/gst_private.h:
24636         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24637         (gst_bin_remove_func), (gst_bin_remove),
24638         (gst_bin_get_by_name_recurse_up):
24639         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
24640         (gst_clock_id_compare_func), (gst_clock_id_wait),
24641         (gst_clock_id_wait_async), (gst_clock_init),
24642         (gst_clock_adjust_unlocked), (gst_clock_get_time):
24643         * gst/gstelement.h:
24644         * gst/gstinfo.c: (_gst_debug_init):
24645         * gst/gstobject.h:
24646         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
24647         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
24648         * gst/gstpad.h:
24649         Bump version number, we're now 0.9.0
24650         Add future debugging category.
24651         Fix NULL _unref() in _get_by_name_recurse_up
24652         Rearrange gstpad.h.
24653         Update some docs.
24654
24655 2005-03-08  Wim Taymans  <wim@fluendo.com>
24656
24657         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
24658         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
24659         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24660         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
24661         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
24662         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
24663         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
24664         * gst/elements/gstidentity.c: (gst_identity_class_init):
24665         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
24666         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
24667         * gst/elements/gstshaper.c: (gst_shaper_class_init):
24668         * gst/elements/gststatistics.c: (gst_statistics_class_init):
24669         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
24670         (gst_tee_link):
24671         * gst/gstelement.c: (gst_element_class_init),
24672         (gst_element_base_class_init), (gst_element_init),
24673         (gst_element_get_random_pad), (gst_element_wait_state_change),
24674         (gst_element_change_state), (gst_element_dispose),
24675         (gst_element_finalize), (gst_element_set_loop_function):
24676         * gst/gstelement.h:
24677         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
24678         * gst/gstthread.c: (gst_thread_class_init),
24679         (gst_thread_release_children_locks), (gst_thread_change_state):
24680         * gst/schedulers/gstbasicscheduler.c:
24681         (gst_basic_scheduler_loopfunc_wrapper),
24682         (gst_basic_scheduler_chain_wrapper),
24683         (gst_basic_scheduler_src_wrapper),
24684         (gst_basic_scheduler_remove_element):
24685         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
24686         Remove threadsafe properties. Fix elements because GObject
24687         complains when installing a property before declaring a
24688         set/get_property handler.
24689         Rearrange gstelement.h file, use STATE macros for state locks.
24690         Free mutexes in the finalize method instead of dispose.
24691
24692 2005-03-08  Wim Taymans  <wim@fluendo.com>
24693
24694         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
24695         * gst/gstthread.c: (gst_thread_release_children_locks):
24696         Added parentage check.
24697         Fix build og GstThread again.
24698
24699 2005-03-08  Wim Taymans  <wim@fluendo.com>
24700
24701         * docs/design/part-MT-refcounting.txt:
24702         * docs/design/part-conventions.txt:
24703         * docs/design/part-gstobject.txt:
24704         * docs/design/part-relations.txt:
24705         * docs/design/part-standards.txt:
24706         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24707         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
24708         (gst_bin_get_by_name), (gst_bin_get_by_interface),
24709         (gst_bin_iterate_all_by_interface):
24710         * gst/gstbuffer.h:
24711         * gst/gstclock.h:
24712         * gst/gstelement.c: (gst_element_class_init),
24713         (gst_element_change_state), (gst_element_set_loop_function):
24714         * gst/gstelement.h:
24715         * gst/gstiterator.c:
24716         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
24717         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
24718         (gst_object_dispatch_properties_changed), (gst_object_set_name),
24719         (gst_object_set_parent), (gst_object_unparent),
24720         (gst_object_check_uniqueness):
24721         * gst/gstobject.h:
24722         Docs updates, clean up some headers.
24723
24724 2005-03-07  Wim Taymans  <wim@fluendo.com>
24725
24726         * check/.cvsignore:
24727         * check/Makefile.am:
24728         * check/gst-libs/.cvsignore:
24729         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
24730         * check/gst/.cvsignore:
24731         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
24732         (START_TEST), (gstbus_suite), (main):
24733         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
24734         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
24735         (gst_data_suite), (main):
24736         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
24737         (add_fold_func), (gstiterator_suite), (main):
24738         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
24739         (thread_name_object), (thread_name_object_default),
24740         (gst_object_name_compare), (gst_object_suite), (main):
24741         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
24742         (gst_pad_suite), (main):
24743         * check/gstcheck.c: (gst_check_log_message_func),
24744         (gst_check_log_critical_func), (gst_check_init):
24745         * check/gstcheck.h:
24746         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
24747         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
24748         Added checks.
24749
24750 2005-03-07  Wim Taymans  <wim@fluendo.com>
24751
24752         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24753         (gst_list_iterator_next), (gst_list_iterator_resync),
24754         (gst_list_iterator_free), (gst_iterator_new_list),
24755         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
24756         (gst_iterator_free), (gst_iterator_push), (filter_next),
24757         (filter_resync), (filter_uninit), (filter_free),
24758         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
24759         (gst_iterator_foreach), (find_custom_fold_func),
24760         (gst_iterator_find_custom):
24761         * gst/gstiterator.h:
24762         Added missing files.
24763
24764 2005-03-07  Wim Taymans  <wim@fluendo.com>
24765
24766         * Makefile.am:
24767         * configure.ac:
24768         * docs/design/part-MT-refcounting.txt:
24769         * docs/design/part-conventions.txt:
24770         * docs/design/part-gstobject.txt:
24771         * docs/design/part-relations.txt:
24772         * examples/mixer/mixer.c: (main):
24773         * examples/thread/thread.c: (eos), (main):
24774         * gst/Makefile.am:
24775         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
24776         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
24777         (gst_spider_plug_from_srcpad):
24778         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
24779         (gst_spider_identity_change_state),
24780         (gst_spider_identity_sink_loop_type_finding):
24781         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
24782         * gst/elements/gstidentity.c: (gst_identity_init):
24783         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
24784         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
24785         * gst/elements/gsttypefindelement.c: (free_entry):
24786         * gst/gst.c:
24787         * gst/gst.h:
24788         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
24789         (gst_bin_set_clock_func), (gst_bin_auto_clock),
24790         (gst_bin_set_index), (gst_bin_set_element_sched),
24791         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
24792         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
24793         (gst_bin_iterate_elements), (iterate_child_recurse),
24794         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
24795         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
24796         (compare_interface), (gst_bin_get_by_interface),
24797         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
24798         * gst/gstbin.h:
24799         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
24800         (gst_buffer_default_free), (gst_buffer_default_copy),
24801         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
24802         (gst_buffer_create_sub):
24803         * gst/gstbuffer.h:
24804         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
24805         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
24806         (gst_caps_unref), (gst_static_caps_get),
24807         (gst_caps_remove_and_get_structure), (gst_caps_append),
24808         (gst_caps_append_structure), (gst_caps_remove_structure),
24809         (gst_caps_copy_nth), (gst_caps_set_simple),
24810         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
24811         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
24812         (gst_caps_structure_intersect_field), (gst_caps_intersect),
24813         (gst_caps_structure_subtract_field), (gst_caps_subtract),
24814         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
24815         (gst_caps_structure_figure_out_union),
24816         (gst_caps_switch_structures), (gst_caps_do_simplify),
24817         (gst_caps_replace), (gst_caps_from_string),
24818         (gst_caps_copy_conditional):
24819         * gst/gstcaps.h:
24820         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
24821         (_gst_clock_id_free), (gst_clock_id_unref),
24822         (gst_clock_id_compare_func), (gst_clock_id_wait),
24823         (gst_clock_id_wait_async), (gst_clock_class_init),
24824         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
24825         (gst_clock_get_time), (gst_clock_set_time_adjust),
24826         (gst_clock_set_property), (gst_clock_get_property):
24827         * gst/gstclock.h:
24828         * gst/gstcompat.h:
24829         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
24830         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
24831         * gst/gstdata.h:
24832         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
24833         (gst_element_requires_clock), (gst_element_provides_clock),
24834         (gst_element_set_clock), (gst_element_clock_wait),
24835         (gst_element_wait), (gst_element_set_time_delay),
24836         (gst_element_is_indexable), (gst_element_add_pad),
24837         (gst_element_add_ghost_pad), (gst_element_remove_pad),
24838         (pad_compare_name), (gst_element_get_static_pad),
24839         (gst_element_request_pad), (gst_element_get_request_pad),
24840         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
24841         (gst_element_class_get_pad_template_list),
24842         (gst_element_class_get_pad_template), (gst_element_error_func),
24843         (gst_element_get_random_pad), (gst_element_get_event_masks),
24844         (gst_element_send_event), (gst_element_seek),
24845         (gst_element_get_query_types), (gst_element_query),
24846         (gst_element_get_formats), (gst_element_convert),
24847         (gst_element_is_locked_state), (gst_element_set_locked_state),
24848         (gst_element_sync_state_with_parent), (gst_element_change_state),
24849         (gst_element_finalize), (gst_element_yield),
24850         (gst_element_interrupt), (gst_element_set_scheduler),
24851         (gst_element_get_scheduler), (gst_element_set_loop_function):
24852         * gst/gstelement.h:
24853         * gst/gstevent.h:
24854         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
24855         (gst_format_get_by_nick), (gst_format_get_details),
24856         (gst_format_iterate_definitions):
24857         * gst/gstformat.h:
24858         * gst/gstindex.c: (gst_index_gtype_resolver):
24859         * gst/gstinfo.c:
24860         * gst/gstinfo.h:
24861         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
24862         (gst_mem_chunk_free):
24863         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
24864         (gst_object_ref), (gst_object_unref), (gst_object_sink),
24865         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
24866         (gst_object_dispatch_properties_changed),
24867         (gst_object_set_name_default), (gst_object_set_name),
24868         (gst_object_get_name), (gst_object_set_name_prefix),
24869         (gst_object_get_name_prefix), (gst_object_set_parent),
24870         (gst_object_get_parent), (gst_object_unparent),
24871         (gst_object_check_uniqueness), (gst_object_save_thyself),
24872         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
24873         (gst_object_set_property), (gst_object_get_property),
24874         (gst_object_get_path_string):
24875         * gst/gstobject.h:
24876         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24877         (gst_real_pad_init), (gst_real_pad_get_property),
24878         (gst_pad_custom_new), (gst_pad_get_direction),
24879         (gst_pad_set_active), (gst_pad_is_active),
24880         (gst_pad_set_event_function), (gst_pad_is_linked),
24881         (gst_pad_link_free), (gst_pad_link_intersect),
24882         (gst_pad_link_fixate), (gst_pad_set_caps),
24883         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
24884         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
24885         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
24886         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
24887         (gst_pad_get_caps), (gst_pad_peer_get_caps),
24888         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
24889         (gst_pad_realize), (gst_pad_get_allowed_caps),
24890         (gst_real_pad_dispose), (gst_real_pad_finalize),
24891         (gst_pad_collectv), (gst_pad_collect_valist),
24892         (gst_pad_template_dispose), (gst_pad_template_new),
24893         (gst_pad_get_internal_links):
24894         * gst/gstpad.h:
24895         * gst/gstpipeline.c: (gst_pipeline_dispose),
24896         (gst_pipeline_change_state):
24897         * gst/gstpipeline.h:
24898         * gst/gstplugin.c:
24899         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
24900         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
24901         * gst/gstpluginfeature.h:
24902         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
24903         * gst/gstquery.c: (_gst_query_type_initialize),
24904         (gst_query_type_register), (gst_query_type_get_by_nick),
24905         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
24906         * gst/gstquery.h:
24907         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
24908         * gst/gstscheduler.c: (gst_scheduler_add_element),
24909         (gst_scheduler_factory_create):
24910         * gst/gststructure.c: (gst_structure_set_parent_refcount),
24911         (gst_structure_free), (gst_structure_set_name),
24912         (gst_structure_id_set_value), (gst_structure_set_value),
24913         (gst_structure_set_valist), (gst_structure_remove_field),
24914         (gst_structure_remove_fields),
24915         (gst_structure_remove_fields_valist),
24916         (gst_structure_remove_all_fields), (gst_structure_foreach),
24917         (gst_structure_map_in_place),
24918         (gst_caps_structure_fixate_field_nearest_int),
24919         (gst_caps_structure_fixate_field_nearest_double):
24920         * gst/gststructure.h:
24921         * gst/gstsystemclock.c: (gst_system_clock_class_init),
24922         (gst_system_clock_init), (gst_system_clock_dispose),
24923         (gst_system_clock_async_thread),
24924         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
24925         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
24926         * gst/gstsystemclock.h:
24927         * gst/gsttag.c: (gst_tag_list_add_value_internal),
24928         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
24929         * gst/gsttaginterface.c:
24930         * gst/gstthread.c: (gst_thread_dispose),
24931         (gst_thread_release_children_locks), (gst_thread_change_state),
24932         (gst_thread_main_loop):
24933         * gst/gsttrashstack.h:
24934         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
24935         * gst/gsttypes.h:
24936         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24937         (gst_element_request_pad), (gst_element_get_pad_from_template),
24938         (gst_element_request_compatible_pad),
24939         (gst_element_get_compatible_pad_filtered),
24940         (gst_element_get_compatible_pad), (gst_element_state_get_name),
24941         (gst_element_link_pads_filtered), (gst_element_link_filtered),
24942         (gst_element_link_many), (gst_element_link),
24943         (gst_element_link_pads), (gst_element_unlink_pads),
24944         (gst_element_unlink_many), (gst_element_unlink),
24945         (gst_pad_can_link_filtered), (gst_pad_can_link),
24946         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
24947         (gst_object_default_error), (gst_bin_add_many),
24948         (gst_bin_remove_many), (gst_element_populate_std_props),
24949         (gst_element_class_install_std_props), (gst_buffer_merge),
24950         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
24951         (link_fold_func), (gst_pad_proxy_setcaps):
24952         * gst/gstutils.h:
24953         * gst/gstvalue.c: (gst_value_deserialize_string):
24954         * gst/parse/grammar.y:
24955         * gst/schedulers/gstbasicscheduler.c:
24956         (gst_basic_scheduler_cothreaded_chain),
24957         (gst_basic_scheduler_chain_recursive_add),
24958         (gst_basic_scheduler_pad_link):
24959         * gst/schedulers/gstoptimalscheduler.c:
24960         (get_group_schedule_function),
24961         (gst_opt_scheduler_state_transition),
24962         (gst_opt_scheduler_add_element), (element_get_reachables_func):
24963         * libs/gst/bytestream/bytestream.c:
24964         * libs/gst/dataprotocol/dataprotocol.c:
24965         (gst_dp_header_from_buffer):
24966         * po/nb.po:
24967         * po/ru.po:
24968         * tests/threadstate/threadstate2.c: (eos):
24969         * tools/gst-compprep.c: (main):
24970         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
24971         (print_pad_info), (print_children_info):
24972         * tools/gst-launch.c: (idle_func), (main):
24973         * tools/gst-md5sum.c: (idle_func), (main):
24974         * tools/gst-xmlinspect.c: (print_element_info):
24975         First THREADED backport attempt, focusing on adding locks and
24976         making sure the API is threadsafe. Needs more work. More docs
24977         follow this week.
24978
24979 2005-02-24  Andy Wingo  <wingo@pobox.com>
24980
24981         * tests/bench-complexity.scm:
24982         * tests/complexity.gnuplot: New files, good for running complexity
24983         benchmarks.
24984
24985         * tests/Makefile.am:
24986         * tests/complexity.c: New test, sets up N elements, at each level
24987         teeing into M streams per element. Eeeenteresting.
24988
24989         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
24990         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
24991         running bench-mass_elements.scm.
24992
24993         * tests/bench-mass_elements.scm: New script, runs mass_elements
24994         for various numbers of identities, outputting the results to a
24995         file. Requires guile 1.6. Just for testing.
24996
24997 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24998
24999         * gst/schedulers/fairscheduler.c:
25000           compile with debug disabled
25001
25002 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
25003
25004         * configure.ac:
25005           hunting season on 0.9 is now OPEN