f73475eabfec6cdbd6e9ff747a8eec5c6df043b4
[platform/upstream/gstreamer.git] / ChangeLog
1 2006-01-20  Wim Taymans  <wim@fluendo.com>
2
3         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
4         Make it actually compile too..
5
6 2006-01-20  Wim Taymans  <wim@fluendo.com>
7
8         * gst/gstcaps.c:
9         Clarify behaviour of _is_equal() when passing NULL parameters.
10
11         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12         (gst_pad_set_caps):
13         Cleanups. Don't unref NULL caps.
14         When setting the same caps, protect caps of the pad with
15         proper lock.
16         Use full functionality of _is_equal() when comparing caps.
17
18 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
19
20         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
21         Don't loop infinitely if there are no buffers to present. Partially
22         fixes #327197, but collectpads is just broken for reusing elements
23         to do multiple encodes atm.
24
25 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
26
27         * tools/gst-inspect.c: (print_element_features):
28         * tools/gst-xmlinspect.c: (main):
29         URL_HANDLER is not a plugin feature we can search for in
30         the registry.
31
32 2006-01-19  Edward Hervey  <edward@fluendo.com>
33
34         * gst/gstelement.c: (gst_element_pads_activate): 
35         When activating, do src pads first, then sink pads.
36         When de-activating, do sink pads first, then src pads.
37
38 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
39
40         * docs/gst/gstreamer-sections.txt:
41         Add gst_index_add_associationv to the docs
42
43 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
44
45         * gst/gstevent.c:
46           Fix docs typo
47
48         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
49         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
50           Do some refactoring. Doesn't actually change functionality,
51           but makes landing the DRAIN event easier later.
52
53 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
54
55         * docs/pwg/advanced-scheduling.xml:
56           Update from 0.9.x to 0.10 API and make example a bit
57           clearer.
58
59 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
60
61         * docs/gst/gstreamer-sections.txt:
62         Add gst_buffer_(is|make)_metadata_writable methods.
63
64 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
65
66         * docs/design/part-sparsestreams.txt:
67         Update sparse streams doc, hopefully for greater clarity
68
69 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
70
71         * docs/design/part-events.txt:
72         Remove mention of FILLER events.
73         Add DRAIN event.
74
75         * docs/design/part-sparsestreams.txt:
76         Write some things about using NEWSEGMENT to keep sparse streams
77         flowing.
78
79 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
80
81         * gst/gstbin.c: (gst_bin_dispose):
82           Guard gst_object_unref call against a NULL object (dispose
83           can theoretically be called multiple times).
84           
85 2006-01-18  Wim Taymans  <wim@fluendo.com>
86
87         * gst/gstbin.c: (gst_bin_element_set_state):
88         * gst/gstclock.c: (gst_clock_id_wait):
89         Added some more debug info.
90
91         * libs/gst/base/gstadapter.c:
92         Added more docs.
93
94         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
95         (gst_base_sink_do_sync), (gst_base_sink_chain):
96         Added some comments.
97
98 2006-01-18  Wim Taymans  <wim@fluendo.com>
99
100         * tests/check/Makefile.am:
101         * tests/check/elements/fakesink.c: (chain_async_buffer),
102         (chain_async), (chain_async_return), (GST_START_TEST),
103         (fakesink_suite), (main):
104         Added fakesink test that checks prerolling and clipping
105         behaviour.
106
107         * tests/check/gst/gstutils.c: (GST_START_TEST):
108         Make check run faster so that buildbots don't timeout.
109
110 2006-01-18  Wim Taymans  <wim@fluendo.com>
111
112         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
113         (gst_base_sink_do_sync):
114         Some cleanups.
115         When the sink finishes blocking on the preroll buffer, it can
116         immediatly render it instead of rendering when the next buffer
117         arrives.
118
119 2006-01-18  Wim Taymans  <wim@fluendo.com>
120
121         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
122         (gst_base_sink_get_property), (gst_base_sink_do_sync),
123         (gst_base_sink_chain):
124         Small cleanups.
125         GST_ELEMENT_CLOCK and sync are protected with LOCK.
126         Don't store _last_stop if the buffer is dropped.
127
128 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
129
130         * plugins/elements/gsttypefindelement.c:
131         (gst_type_find_element_class_init):
132           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
133           object method handler that sets the caps on the pad and we want
134           that to happen before we emit the signal (fixes e.g. feeding a
135           plain text file to decodebin).
136
137 2006-01-18  Christian Schaller  <Christian@fluendo.com>
138
139         * gst/gstplugin.c: Add MPL and Proprietary as license options
140
141 2006-01-18  Andy Wingo  <wingo@pobox.com>
142
143         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
144         symbol was exported before, it appears this was just an oversight.
145         Fixes #168703.
146         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
147
148         * gst/gstindex.c (gst_index_add_associationv): Changed int in
149         prototype to gint. OK since this prototype was not in the header.
150
151 2006-01-17  Andy Wingo  <wingo@pobox.com>
152
153         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
154         registry while we remove plugins.
155
156         * tools/gst-inspect.c (print_element_info): Don't unref the
157         factory arg, that should be the responsibility of whatever code
158         received the ref. Fixes a double-free when called from
159         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
160         (main): Unref the factory if we have one.
161         (print_element_list): No change -- relies on the
162         plugin_feature_list_free to free the list of features.
163
164 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
165
166         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
167         (gst_buffer_make_metadata_writable):
168         * gst/gstbuffer.h:
169         * libs/gst/base/gstbasetransform.c:
170         (gst_base_transform_prepare_output_buf):
171         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
172         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
173           Replace gst_buffer_(make|is)_metadata_writable patch now
174           that the release is out.
175
176 2006-01-17  Andy Wingo  <wingo@pobox.com>
177
178         * gst/gstregistry.c: Reflow design comment. Update so as to speak
179         in the present tense without reference to versions.
180
181         * gst/gstregistry.c (gst_registry_add_plugin)
182         (gst_registry_remove_plugin, gst_registry_remove_feature)
183         (gst_registry_find_feature, gst_registry_get_feature_list)
184         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
185         (gst_registry_lookup, gst_registry_scan_path)
186         (_gst_registry_remove_cache_plugins)
187         (gst_registry_get_feature_list_by_plugin): Add argument
188         validation.
189
190 === release 0.10.2 ===
191
192 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
193
194         * configure.ac:
195           releasing 0.10.2, "If man is five"
196
197 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
198
199         * gst/gstbuffer.c:
200         * gst/gstbuffer.h:
201         * libs/gst/base/gstbasetransform.c:
202         (gst_base_transform_prepare_output_buf):
203         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
204         * tests/check/gst/gstbuffer.c: (gst_test_suite):
205           Back out patch until after the release.
206
207 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
208
209         * gst/gstminiobject.c:
210           Spelling fix in docs.
211         * ChangeLog - remove conflict indicator
212
213 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
214
215         Reviewed By: Andy Wingo
216
217         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
218         (gst_buffer_make_metadata_writable):
219         * gst/gstbuffer.h:
220           Add gst_buffer_(is|make)_metadata_writable as analogues of
221           gst_buffer_(is|make)_writable.
222
223         * libs/gst/base/gstbasetransform.c:
224         (gst_base_transform_prepare_output_buf):
225         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
226           Use name gst_buffer_(is|make)_metadata_writable functions.
227
228         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
229           Test gst_buffer_(is|make)_metadata_writable
230         
231           (Closes: #324162)
232
233 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
234
235         * docs/manual/Makefile.am:
236           don't do parallel make
237         * configure.ac:
238           AC_SUBST HOST_CPU
239         * win32/common/config.h.in:
240           add generations for HOST_CPU and GST_MAJORMINOR
241         * win32/common/config.h:
242           commit generated result
243
244 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
245
246         * docs/manual/appendix-integration.xml:
247           Update GNOME integration section to use gst_init_get_option_group()
248           instead of the old popt stuff (#322911). Also, GNOME applications
249           should  now use gconf*sink and gconf*src instead of the old gconf
250           helper lib we had.
251
252 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
253
254
255         * docs/gst/gstreamer-docs.sgml:
256         * docs/gst/gstreamer-sections.txt:
257         * docs/libs/gstreamer-libs-sections.txt:
258           add new API entries to the docs
259         * libs/gst/controller/Makefile.am:
260         * libs/gst/controller/gstcontroller.c:
261         * libs/gst/controller/gstcontroller.h:
262         * libs/gst/controller/gstcontrollerprivate.h:
263         * libs/gst/controller/gsthelper.c:
264         * libs/gst/controller/gstinterpolation.c:
265           move private structs to private header
266         * po/README:
267           gstreamer-0.7 -> gstreamer-0.10
268         * tests/check/libs/struct_i386.h:
269           remove private structs
270
271 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
272
273         * plugins/indexers/Makefile.am:
274           Fixes as part of #317048
275
276 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
277
278         * plugins/indexers/Makefile.am:
279           fix #316086 - compilation when mmap is missing
280
281 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
282
283         * libs/gst/base/gstbasesink.c:
284           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
285           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
286         * win32/common/config.h:
287           added some defines GST_MAJORMINOR and HOST_CPU
288         * win32/common/libgstbase.def:
289         * win32/common/libgstreamer.def:
290           added some exported functions.
291
292 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
293
294         * libs/gst/controller/gstcontroller.c:
295         (gst_controlled_property_set_interpolation_mode),
296         (gst_controlled_property_new):
297         * libs/gst/controller/gstcontroller.h:
298         * libs/gst/controller/gstinterpolation.c:
299         (interpolate_none_get_string_value_array):
300           make G_TYPE_STRING controlable
301
302 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
303
304         * tools/README:
305         * tools/gst-feedback.1.in:
306         * tools/gst-inspect.1.in:
307         * tools/gst-launch.1.in:
308         * tools/gst-md5sum.1.in:
309         * tools/gst-typefind.1.in:
310         * tools/gst-xmlinspect.1.in:
311         * tools/gst-xmllaunch.1.in:
312           cleanup man-pages, remove reference to gst-register, document env-vars
313
314 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
315
316         * gst/gstbuffer.c: (gst_buffer_span):
317           gst_buffer_span should copy the timestamp of the first buffer
318           if they were both originally overlapping subbuffers of the 
319           same parent, using the same logic as the 'slow copy' case.
320
321 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
322
323         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
324           Need to awaken ALL the pads when we pop a buffer, otherwise
325           collectpads only works when there is 2 input streams.
326
327 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
328
329         * docs/random/ensonic/media-device-daemon.txt:
330           more ideas (dbus)
331         * gst/gstbuffer.c:
332           fix doc example, add clarification
333         * tools/gst-launch.1.in:
334           add initial info about GST_PLUGIN_PATH, needs more work
335
336 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
337
338         * docs/manual/basics-bins.xml:
339         * docs/manual/basics-elements.xml:
340         * docs/manual/intro-basics.xml:
341           Some more minor docs additions and updates.
342
343 2006-01-11  Wim Taymans  <wim@fluendo.com>
344
345         * docs/manual/basics-bins.xml:
346         * docs/manual/basics-elements.xml:
347         Some small fixes as pointed out by Ser-ver on IRC.
348
349 2006-01-10  Edward Hervey  <edward@fluendo.com>
350
351         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
352         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
353         the single-segment mode.
354
355 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
356
357         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
358
359         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
360         (gst_base_src_perform_seek), (gst_base_src_send_event),
361         (gst_base_src_set_property), (gst_base_src_get_property),
362         (gst_base_src_loop), (gst_base_src_start),
363         (gst_base_src_activate_push):
364         * libs/gst/base/gstbasesrc.h:
365           Name (private) union; makes Sun's Forte compiler happy (#324900).
366
367 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
368
369         * README:
370           gst-register is gone.
371
372 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
373
374         * gst/gstvalue.c: (_gst_value_initialize):
375           make the G_TYPE_DATE instantiation work if debug is disabled
376
377 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
378
379         * gst/gstmessage.c: (gst_message_parse_tag),
380         (gst_message_parse_error), (gst_message_parse_warning):
381           Don't crash when return location for error/warning debug
382           string is NULL; add fact that return locations can be
383           NULL to docs where appropriate.
384
385 2006-01-05  Wim Taymans  <wim@fluendo.com>
386
387         * gst/gstplugin.c: (gst_plugin_load_file):
388         Replace strdup by g_strdup.
389
390 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
391
392         * docs/pwg/advanced-types.xml:
393           fix doc borkage
394
395 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
396
397         submitted by: Abel Cheung
398
399         * po/LINGUAS:
400         * po/zh_TW.po:
401           Added Chinese (traditional) translation
402
403 2006-01-04  Wim Taymans  <wim@fluendo.com>
404
405         * docs/manual/basics-pads.xml:
406         * docs/plugins/Makefile.am:
407         * docs/plugins/gstreamer-plugins-docs.sgml:
408         * docs/plugins/gstreamer-plugins-sections.txt:
409         * docs/pwg/advanced-clock.xml:
410         * docs/pwg/advanced-scheduling.xml:
411         * docs/pwg/advanced-types.xml:
412         * plugins/elements/gstfdsink.c:
413         * plugins/elements/gstfdsrc.c:
414         * plugins/elements/gstfdsrc.h:
415         * plugins/elements/gstidentity.c: (gst_identity_class_init):
416         * plugins/elements/gstidentity.h:
417         * plugins/elements/gstqueue.h:
418         * plugins/elements/gsttee.c:
419         * plugins/elements/gsttee.h:
420         * plugins/elements/gsttypefindelement.c:
421         (gst_type_find_element_class_init):
422         * plugins/elements/gsttypefindelement.h:
423         Small updates to various docs.
424         Added core plugins to docs.
425
426 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
427
428         * common/gst.supp:
429           add a suppression for liboil's uninitialized variable
430
431 2006-01-02  James Livingston  <jrl at ids dot org dot au>
432
433         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
434
435         * gst/gstutils.h:
436           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
437           macro, so that gcc doesn't complain if the -Wmissing-prototypes
438           compiler switch is being used (#325429).
439
440 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
441
442         * gst/gstbin.c: (gst_bin_query):
443           Disable duration query caching in bins until it gets
444           fixed (see #324807).
445
446 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
447
448         * tools/gst-inspect.c: (print_element_properties_info):
449           Handle properties of POINTER and BOXED type.
450
451 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
452
453         * gst/gst.c: (init_post):
454           Init tags stuff and some other things before loading
455           any static plugins (there may be other static plugins
456           than just the GStreamer ones, and they may want to
457           register their own tags or formats or whatever, and
458           preferably without segfaulting).
459
460         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
461           Print at least a warning in the debug logs if we drop a
462           query just because we don't know how to adjust the value
463           in the particular format.
464
465 2005-12-24  David Schleef  <ds@schleef.org>
466
467         * tools/gstreamer-completion:
468           Replacement for gst-complete written in sh and sed.  Only
469           completes names of features, but that's 90% of what I want
470           it for.  Properties are not available in registry.xml.  (Maybe
471           they should be...)
472
473 === release 0.10.1 ===
474
475 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
476
477         * configure.ac:
478           releasing 0.10.1, "Nollaig chridheil"
479
480 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
481
482         * docs/faq/cvs.xml:
483           Add missing quote, should be make ERROR_CFLAGS="".
484
485 2005-12-20  Wim Taymans  <wim@fluendo.com>
486
487         * docs/design/part-trickmodes.txt:
488         More documentation on trickmodes.
489
490 2005-12-20  Edward Hervey  <edward@fluendo.com>
491
492         * gst/gstcaps.c: (gst_static_caps_get_type):
493         * gst/gstcaps.h:
494           API addition: GST_TYPE_STATIC_CAPS
495         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
496         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
497         * gst/gstpadtemplate.h:
498           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
499         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
500         bindings.
501
502 2005-12-18  Wim Taymans  <wim@fluendo.com>
503
504         * libs/gst/base/gstadapter.c:
505         * libs/gst/base/gstadapter.h:
506         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
507         (gst_base_sink_get_position):
508         * libs/gst/base/gstbasesink.h:
509         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
510         (gst_base_src_default_query), (gst_base_src_default_do_seek),
511         (gst_base_src_do_seek), (gst_base_src_perform_seek),
512         (gst_base_src_send_event), (gst_base_src_update_length),
513         (gst_base_src_get_range), (gst_base_src_loop),
514         (gst_base_src_start):
515         * libs/gst/base/gstbasesrc.h:
516         * libs/gst/base/gstbasetransform.h:
517         * libs/gst/base/gstcollectpads.h:
518         * libs/gst/base/gstpushsrc.c:
519         * libs/gst/base/gstpushsrc.h:
520         * libs/gst/dataprotocol/dataprotocol.c:
521         * libs/gst/dataprotocol/dataprotocol.h:
522         * libs/gst/net/gstnetclientclock.h:
523         * libs/gst/net/gstnettimeprovider.h:
524         Documentation updates.
525
526 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
527
528         * docs/manual/basics-helloworld.xml:
529           Remove superfluous closing bracket in helloworld example.
530
531 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
532
533         * tools/gst-launch.1.in:
534           Update gst-launch man page; add a section with useful
535           environment variables. Fixes #323882.
536
537 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
538
539         * gst/gst.c:
540         * gst/gst_private.h:
541           change some char* into char[]
542
543 2005-12-16  Wim Taymans  <wim@fluendo.com>
544
545         * gst/gstregistryxml.c: (load_feature):
546         Cleanups.
547         Don't use g_object_unref on GstObjects so that we avoid
548         leaks on unsafe glibs.
549
550 2005-12-16  Wim Taymans  <wim@fluendo.com>
551
552         * gst/gstbin.c: (gst_bin_recalc_state):
553         Small doc updates.
554
555 2005-12-16  Wim Taymans  <wim@fluendo.com>
556
557         * common/check.mak:
558         Added make forever target for check.
559
560 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
561
562         * gst/gst.c: (init_post):
563           make the registry cache file HOST_CPU-dependent
564
565 2005-12-16  Andy Wingo  <wingo@pobox.com>
566
567         * plugins/elements/gstbufferstore.c
568         (gst_buffer_store_cleared_func): Pay attention to g_list_append
569         return value.
570
571         * tests/check/gst/gstobject.c
572         (test_fake_object_name_threaded_unique): Pay attention to
573         g_list_sort return value.
574
575 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
576
577         * tools/gst-feedback-m.m:
578           Update for 0.9/0.10 (fixes #323870).
579
580 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
581
582         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
583           Fix lcopy for mini objects, the mini object needs to be ref'ed.
584           
585         * tests/check/gst/gstminiobject.c: (my_foo_init),
586         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
587         (test_value_collection), (gst_mini_object_suite):
588           Add test to ensure refcounts end up as expected when passing
589           GstMiniObjects through g_object_get() and g_object_set().
590
591 2005-12-14  Julien MOUTTE  <julien@moutte.net>
592
593         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
594         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
595         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
596         of collectpads. This version removes a lot of races without
597         touching API/ABI. Yay !
598
599 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
600
601         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
602           Don't allow activation of a srcpad in pull_range if it has no
603           getrange function.
604           Change some debug statements to be a little clearer
605
606         * plugins/elements/gsttypefindelement.c:
607         (gst_type_find_handle_src_query):
608           Check that we have a peer before executing queries thereupon.
609
610         * tests/examples/metadata/read-metadata.c: (message_loop):
611           Use gst_bus_pop instead of gst_bus_poll when we just want it to
612           immediately return us any available message with 0 timeout.
613
614 2005-12-12  Michael Smith  <msmith@fluendo.com>
615
616         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
617           Don't unref factories after calling them.
618         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
619         * plugins/elements/gsttypefindelement.c:
620         (gst_type_find_element_chain):
621           Free lists of factories after using them. Fixing typefinding memory
622           leaks.
623
624 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
625
626         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
627         (gst_plugin_feature_load):
628           more meaningful debug output
629         * configure.ac:
630         * tests/Makefile.am:
631         * tests/old/examples/Makefile.am:
632           make make distcheck happy again
633
634 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
635
636         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
637           Catch the special case where we are operating chain-based,
638           but the downstream peer pad has no chain function. Emit a
639           custom error message in this case instead of letting the
640           core generate one implying that this is some sort of core
641           bug. It's not, it just means that whatever got plugged
642           into the pipeline downstream when we announced the type
643           can only operate pull-based, while our source can only
644           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
645           Error string has not been marked for translation yet, as
646           it probably needs some more work first.
647
648         (gst_type_find_element_get_best_possibility):
649           Add helper function to find the best of all available
650           found possibilities that qualify given the min. threshold.
651
652         (gst_type_find_element_handle_event):
653           Fix the case where we get an EOS while still in TYPEFIND
654           mode (we want to chose the best of all possible types,
655           not just the first type that happens to be in our unsorted
656           list of possible types).
657
658         (gst_type_find_element_chain):
659           Make sure we return GST_FLOW_ERROR when we errored out
660           in stop_typefinding(); also, don't just find the best of
661           all found type entries and then use the last examined
662           type entry, but actually use the best entry.
663
664 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
665
666         * tests/examples/typefind/typefind.c: (type_found):
667         * tests/examples/xml/runxml.c: (xml_loaded):
668           More gcc4 fixes and a mem leak fix.
669
670 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
671
672         * tests/examples/xml/createxml.c: (object_saved):
673           gcc 4 fixes
674
675 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
676
677         * tests/Makefile.am:
678           enable the examples even more
679
680 2005-12-12  Andy Wingo  <wingo@pobox.com>
681
682         * libs/gst/net/gstnettimeprovider.c
683         (gst_net_time_provider_class_init, gst_net_time_provider_init)
684         (gst_net_time_provider_set_property)
685         (gst_net_time_provider_get_property):
686         API addition: Export "active" as a GObject property.
687         (gst_net_time_provider_thread): Only respond to time queries if
688         the time provider is active.
689
690         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
691         NetTimeProvider, preserving binary compat.
692
693 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
694
695         * tests/examples/controller/audio-example.c: (main):
696         * tests/examples/launch/Makefile.am:
697           convert comments again
698
699 2005-12-12  Wim Taymans  <wim@fluendo.com>
700
701         * libs/gst/base/gstpushsrc.c:
702         Fix typo.
703
704 2005-12-12  Wim Taymans  <wim@fluendo.com>
705
706         * docs/libs/gstreamer-libs-sections.txt:
707         Added new symbol to docs.
708
709         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
710         (gst_base_src_init), (gst_base_src_set_format),
711         (gst_base_src_default_query), (gst_base_src_query),
712         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
713         (gst_base_src_perform_seek), (gst_base_src_send_event),
714         (gst_base_src_default_event), (gst_base_src_event_handler),
715         (gst_base_src_set_property), (gst_base_src_get_property),
716         (gst_base_src_wait), (gst_base_src_do_sync),
717         (gst_base_src_update_length), (gst_base_src_get_range),
718         (gst_base_src_check_get_range), (gst_base_src_loop),
719         (gst_base_src_default_negotiate), (gst_base_src_start),
720         (gst_base_src_activate_push), (gst_base_src_activate_pull),
721         (gst_base_src_change_state):
722         * libs/gst/base/gstbasesrc.h:
723         Implement seeking to other formats than _BYTES.
724         Implement more seeking methods correctly.
725         Doc updates.
726         Added query vmethod.
727         Added do_seek vmethod to make life easier for subclasses
728         when seeking.
729         API addition: gst_base_src_set_format()
730
731 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
732
733         * tests/examples/Makefile.am:
734           added that too
735
736 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
737
738         * configure.ac:
739         * docs/random/ensonic/media-device-daemon.txt:
740         * tests/examples/controller/.cvsignore:
741         * tests/examples/controller/Makefile.am:
742         * tests/examples/controller/audio-example.c: (main):
743         * tests/examples/helloworld/.cvsignore:
744         * tests/examples/helloworld/Makefile.am:
745         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
746         * tests/examples/launch/.cvsignore:
747         * tests/examples/launch/Makefile.am:
748         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
749         * tests/examples/metadata/.cvsignore:
750         * tests/examples/metadata/Makefile.am:
751         * tests/examples/metadata/read-metadata.c: (message_loop),
752         (make_pipeline), (print_tag), (main):
753         * tests/examples/queue/.cvsignore:
754         * tests/examples/queue/Makefile.am:
755         * tests/examples/queue/queue.c: (event_loop), (main):
756         * tests/examples/typefind/.cvsignore:
757         * tests/examples/typefind/Makefile.am:
758         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
759         (main):
760         * tests/examples/xml/.cvsignore:
761         * tests/examples/xml/Makefile.am:
762         * tests/examples/xml/createxml.c: (object_saved), (main):
763         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
764         * tests/old/examples/Makefile.am:
765         * tests/old/examples/TODO:
766         * tests/old/examples/controller/.cvsignore:
767         * tests/old/examples/controller/Makefile.am:
768         * tests/old/examples/controller/audio-example.c:
769         * tests/old/examples/helloworld/.cvsignore:
770         * tests/old/examples/helloworld/Makefile.am:
771         * tests/old/examples/helloworld/helloworld.c:
772         * tests/old/examples/launch/.cvsignore:
773         * tests/old/examples/launch/Makefile.am:
774         * tests/old/examples/launch/mp3parselaunch.c:
775         * tests/old/examples/launch/mp3play:
776         * tests/old/examples/manual/Makefile.am:
777         * tests/old/examples/metadata/Makefile.am:
778         * tests/old/examples/metadata/read-metadata.c:
779         * tests/old/examples/queue/.cvsignore:
780         * tests/old/examples/queue/Makefile.am:
781         * tests/old/examples/queue/queue.c:
782         * tests/old/examples/typefind/.cvsignore:
783         * tests/old/examples/typefind/Makefile.am:
784         * tests/old/examples/typefind/typefind.c:
785         * tests/old/examples/xml/.cvsignore:
786         * tests/old/examples/xml/Makefile.am:
787         * tests/old/examples/xml/createxml.c:
788         * tests/old/examples/xml/runxml.c:
789           applied some simple fixing to some examples
790           re-enabled the working examples
791
792 2005-12-12  Wim Taymans  <wim@fluendo.com>
793
794         * gst/gstsegment.c: (gst_segment_init),
795         (gst_segment_set_last_stop), (gst_segment_set_seek),
796         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
797         (gst_segment_to_running_time):
798         Added more documentation.
799         Make sure the last_pos value is updated properly.
800         Make sure to_stream_time and to_running_time don't
801         operate on wrong values.
802
803         * tests/check/gst/gstsegment.c: (GST_START_TEST):
804         Update check.
805
806 2005-12-12  Michael Smith  <msmith@fluendo.com>
807
808         * plugins/elements/gsttypefindelement.c: (free_entry),
809         (gst_type_find_element_chain):
810           Now that we're not leaking factories, make sure we keep references
811           to them while we need them.
812
813 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
814
815         * tests/check/gst/struct_i386.h:
816           ifdef out the XML structs
817
818 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
819
820         * gst/gstvalue.c: (gst_value_transform_double_fraction):
821           floor is not needed, F is always positive; this obviates the
822           need for adding -lm when building without libxml
823
824 2005-12-12  Wim Taymans  <wim@fluendo.com>
825
826         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
827         Take current playback rate into account when reporting
828         the position.
829
830 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
831
832         * docs/manual/mime-world.fig:
833           Let's try this again, this time with a file that is
834           actually in XFig format.
835
836 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
837
838         * docs/manual/mime-world.fig:
839           Add audioconvert element to diagram so that it
840           matches the text and the code (fixes #319526).
841
842 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
843
844         * docs/pwg/building-chainfn.xml:
845         * docs/pwg/building-pads.xml:
846         * docs/pwg/building-state.xml:
847         * docs/pwg/other-source.xml:
848           Update state change stuff for 0.10 (fixes #322969).
849
850 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
851
852         * docs/manual/advanced-dataaccess.xml:
853         * docs/manual/appendix-checklist.xml:
854         * docs/manual/appendix-programs.xml:
855         * docs/manual/basics-pads.xml:
856         * docs/manual/highlevel-components.xml:
857         * docs/manual/manual.xml:
858           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
859           add converters in front of pipelines; remove curly
860           brackets for threads stuff, they no longer exist; use
861           GST_TYPE_FRACTION for framerates; update some pieces of
862           code to 0.10, but there's plenty more to do.
863
864         * docs/manual/appendix-porting.xml:
865           Expand on asynchroneous state changes; s/0.9/0.10/;
866           mention disappearance of gst_init_get_popt_table()
867           (fixes #322916).
868
869 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
870
871         * docs/faq/using.xml:
872           Spider no longer exists, and neither does gst-launch-ext.
873           Update examples to use decodebin and playbin and put
874           converters in front of sinks (fixes #323726).
875
876 2005-12-09  Michael Smith  <msmith@fluendo.com>
877
878         * plugins/elements/gsttypefindelement.c: (find_peek),
879         (gst_type_find_element_chain):
880           Fix leaking element factories in typefinding.
881           Fix problem where we forgot about a probable type on non-seekable
882           files, and thus later mis-typefound it.
883
884 2005-12-09  Michael Smith  <msmith@fluendo.com>
885
886         * common/m4/gst-makecontext.m4:
887         * common/m4/gst-mcsc.m4:
888         * configure.ac:
889         * win32/common/config.h:
890         * win32/common/config.h.in:
891           Remove makecontext stuff; not used in 0.10 and causes problems on
892           HPUX according to bug #322441
893
894 2005-12-07  Wim Taymans  <wim@fluendo.com>
895
896         * tests/check/Makefile.am:
897         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
898         (main):
899         * tests/check/libs/struct_i386.h:
900         Added ABI check for libs
901
902 2005-12-07  Wim Taymans  <wim@fluendo.com>
903
904         * tests/check/Makefile.am:
905         And add the struct_i386.h to dist.
906
907 2005-12-07  Wim Taymans  <wim@fluendo.com>
908
909         * tests/check/Makefile.am:
910         * tests/check/gst/.cvsignore:
911         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
912         (main):
913         * tests/check/gst/struct_i386.h:
914         Added check for ABI compatibility.
915
916 2005-12-07  Wim Taymans  <wim@fluendo.com>
917
918         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
919         (gst_fake_src_get_times), (gst_fake_src_create):
920         Fix broken sync option, fixes #323259
921
922 2005-12-07  Wim Taymans  <wim@fluendo.com>
923
924         * gst/gstbuffer.c:
925         Small docs update.
926
927         * gst/gstcaps.c: (gst_caps_is_equal):
928         Don't assert on NULL <--> X. Fixes #323260
929
930         * gst/gstminiobject.c: (gst_mini_object_replace):
931         If we're doing atomic operations, we might just as well use
932         the proper way to get an atomic pointer.
933
934         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
935         Clean up debugging.
936
937 2005-12-07  Michael Smith  <msmith@fluendo.com>
938
939         * gst/parse/grammar.y:
940           Remove handling of { } for threads.
941
942 2005-12-06  David Schleef  <ds@schleef.org>
943
944         * libs/gst/base/gstbasetransform.c: speling fix.
945
946 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
947
948         * docs/libs/tmpl/gstdataprotocol.sgml:
949         * docs/random/omega/testing/gstobject.c:
950         * gst/gst.c:
951         * gst/gstclock.c:
952         * gst/gstelement.c:
953         * gst/gstelementfactory.c:
954         * gst/gsterror.c:
955         * gst/gstevent.c:
956         * gst/gstghostpad.c:
957         * gst/gstinfo.c:
958         * gst/gstpadtemplate.c:
959         * gst/gstregistryxml.c:
960         * gst/gsttaglist.c:
961         * gst/gsttagsetter.c:
962         * gst/gsttypefind.c:
963         * gst/gstvalue.c:
964         * libs/gst/base/gstbasesrc.c:
965         * libs/gst/net/gstnetclientclock.c:
966         * libs/gst/net/gstnettimeprovider.c:
967         * plugins/elements/gstfakesrc.c:
968         * plugins/elements/gstfdsrc.c:
969         * plugins/elements/gstfilesrc.c:
970         * plugins/elements/gstidentity.c:
971         * plugins/elements/gstqueue.c:
972         * plugins/elements/gsttypefindelement.c:
973         * plugins/indexers/gstfileindex.c:
974         * plugins/indexers/gstmemindex.c:
975         * tests/check/gst/gsttag.c:
976         * tests/old/examples/cutter/cutter.c:
977         * tests/old/examples/mixer/mixer.c:
978         * tests/old/examples/xml/runxml.c: (main):
979         * tests/old/testsuite/caps/normalisation.c:
980         * tests/old/testsuite/debug/global.c:
981         * tests/old/testsuite/parse/parse1.c:
982         * tools/gst-xmlinspect.c:
983         * win32/common/dirent.c:
984           expand tabs
985
986 === release 0.10.0 ===
987
988 2005-12-05   <thomas (at) apestaart (dot) org>
989
990         * configure.ac:
991           releasing 0.10.0, "Maroilles"
992
993 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
994
995         submitted by: Funda Wang <fundawang@linux.net.cn>
996
997         * po/LINGUAS:
998         * po/zh_CN.po:
999           added Chinese (Traditional) translation
1000
1001 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
1002
1003         * docs/gst/gstreamer-sections.txt:
1004         * docs/libs/tmpl/gstdataprotocol.sgml:
1005         * docs/random/thomasvs/TODO:
1006         * gst/gstutils.c:
1007         * gst/gstutils.h:
1008           fix docs
1009
1010 2005-12-05  Andy Wingo  <wingo@pobox.com>
1011
1012         patch by: Wim Taymans <wim@fluendo.com>
1013
1014         * libs/gst/base/gstbasetransform.c
1015         (gst_base_transform_prepare_output_buf)
1016         (gst_base_transform_buffer_alloc):
1017         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
1018         alloc_buffer_and_set_caps.
1019
1020         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
1021         set_caps on the source pad.
1022         (gst_pad_alloc_buffer_and_set_caps): New function, does what
1023         alloc_buffer used to do. Fixes #322874.
1024
1025         * docs/gst/gstreamer-sections.txt: 
1026         * docs/design/part-negotiation.txt: 
1027         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
1028         changes.
1029
1030 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
1031
1032         patch by: Sebastien Moutte
1033
1034         * win32/MANIFEST:
1035         * win32/common/config.h.in:
1036         * win32/vs6/libgstcontroller.dsp:
1037           win32 build fixes
1038
1039 2005-12-05  Wim Taymans  <wim@fluendo.com>
1040
1041         * gst/gstcaps.c: (gst_caps_is_equal):
1042         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
1043         (gst_fake_src_create):
1044         Back out previous code changes, leave doc updates, file bugs 
1045         instead. 
1046
1047 2005-12-05  Wim Taymans  <wim@fluendo.com>
1048
1049         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
1050         (gst_fake_src_get_times), (gst_fake_src_create):
1051         * plugins/elements/gstfakesrc.h:
1052         Fix broken sync code.
1053
1054 2005-12-05  Wim Taymans  <wim@fluendo.com>
1055
1056         * gst/gstcaps.c: (gst_caps_is_equal):
1057         Comparing NULL against !NULL yields different caps, not a
1058         failure.
1059
1060 2005-12-05  Wim Taymans  <wim@fluendo.com>
1061
1062         * gst/gstpipeline.c:
1063         Fix small typo in docs.
1064
1065 2005-12-05  Andy Wingo  <wingo@pobox.com>
1066
1067         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
1068
1069         * gst/gst.c (init_post): remove hard-coded 0.9 location for
1070         registries/plugins with a MAJORMINOR one.
1071         (plugin_desc): Rename library from gstcoreleements to
1072         staticelements. Fixes #323222.
1073
1074 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
1075
1076         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
1077           Change debug category to 'collectpads' from 'collect_pads'
1078           (fixes #323250).
1079
1080 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
1081
1082         patch by: Sebastien Moutte
1083
1084         * libs/gst/controller/gstinterpolation.c:
1085           use convert function for uint64/double
1086         * win32/vs6/libgstcontroller.dsp:
1087           link to GLib
1088
1089 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
1090
1091         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
1092         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
1093         * gst/gstutils.h:
1094         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1095           add tests that seem to show that the guint64/gdouble conversions
1096           are correct.
1097
1098 2005-12-02  Wim Taymans  <wim@fluendo.com>
1099
1100         * gst/gstregistry.c: (gst_registry_add_path):
1101         * gst/gstregistry.h:
1102         * gst/gstregistryxml.c:
1103         Fix docs again.
1104
1105 2005-12-02  Wim Taymans  <wim@fluendo.com>
1106
1107         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1108         (gst_util_uint64_scale_int):
1109         Small cleanup.
1110
1111         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1112         Add debug log line.
1113
1114         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
1115         Add FIXME.
1116
1117 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1118
1119         * win32/MANIFEST:
1120         * win32/common/config.h:
1121         * win32/vs6/gstreamer.dsw:
1122         * win32/vs6/libgstcoreelements.dsp:
1123         * win32/vs6/libgstelements.dsp:
1124           renamed core elements plugin
1125
1126 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1127
1128         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
1129         (get_candidates):
1130           do piece-wise major/minor comparison so 0.9 < 0.10
1131           also allow .exe extensions for tools
1132
1133 2005-12-02  Michael Smith  <msmith@fluendo.com>
1134
1135         * gst/gst.c:
1136           Escape a % to make gtkdoc happier; bug 322958.
1137
1138 === release 0.9.7 ===
1139
1140 2005-12-01   <thomas (at) apestaart (dot) org>
1141
1142         * configure.ac:
1143           releasing 0.9.7, "My Dog Has No Nose"
1144
1145 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1146
1147         * common/gst-xmlinspect.py:
1148         * configure.ac:
1149         * docs/libs/tmpl/gstdataprotocol.sgml:
1150         * docs/random/release:
1151         * po/af.po:
1152         * po/az.po:
1153         * po/bg.po:
1154         * po/ca.po:
1155         * po/cs.po:
1156         * po/de.po:
1157         * po/en_GB.po:
1158         * po/fr.po:
1159         * po/it.po:
1160         * po/nb.po:
1161         * po/nl.po:
1162         * po/ru.po:
1163         * po/sq.po:
1164         * po/sr.po:
1165         * po/sv.po:
1166         * po/tr.po:
1167         * po/uk.po:
1168         * po/vi.po:
1169         * win32/common/config.h:
1170         * win32/common/config.h.in:
1171         * win32/vs6/gst_inspect.dsp:
1172         * win32/vs6/gst_launch.dsp:
1173         * win32/vs6/libgstbase.dsp:
1174         * win32/vs6/libgstelements.dsp:
1175         * win32/vs6/libgstreamer.dsp:
1176         * win32/vs7/GStreamer.vcproj:
1177         * win32/vs7/gst-inspect.vcproj:
1178         * win32/vs7/gst-launch.vcproj:
1179         * win32/vs7/libgstbase.vcproj:
1180           bump GST_MAJORMINOR to 0.10
1181           reset libtool version
1182
1183 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1184
1185         * po/LINGUAS:
1186         * po/bg.po:
1187           Added Bulgarian translation by (Alexander Shopov)
1188
1189 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1190
1191         * tests/check/gst/gstplugin.c:
1192           fix test
1193
1194 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1195
1196         * common/gst-xmlinspect.py:
1197         * common/gtk-doc-plugins.mak:
1198         * configure.ac:
1199         * docs/Makefile.am:
1200         * docs/gst/Makefile.am:
1201         * docs/gst/gstreamer-docs.sgml:
1202         * docs/gst/gstreamer-sections.txt:
1203         * docs/gst/gstreamer.types:
1204         * docs/gst/gstreamer.types.in:
1205         * docs/plugins/Makefile.am:
1206         * docs/plugins/gstreamer-plugins-docs.sgml:
1207         * docs/plugins/gstreamer-plugins-sections.txt:
1208         * docs/plugins/gstreamer-plugins.types:
1209         * docs/plugins/inspect.stamp:
1210         * docs/plugins/inspect/plugin-coreelements.xml:
1211         * docs/plugins/inspect/plugin-coreindexers.xml:
1212         * docs/plugins/scanobj-build.stamp:
1213         * gstreamer.spec.in:
1214         * plugins/elements/Makefile.am:
1215         * plugins/elements/gstelements.c:
1216         * plugins/elements/gstfakesink.c:
1217         * plugins/elements/gstfakesrc.c:
1218         * plugins/elements/gstfilesink.c:
1219         * plugins/elements/gstfilesrc.c:
1220         * plugins/elements/gstqueue.c:
1221         * plugins/indexers/Makefile.am:
1222         * plugins/indexers/gstindexers.c:
1223           document core plugins in a separate document just like all the
1224           others
1225           rename these plugins to something starting with core
1226
1227 2005-12-01  Andy Wingo  <wingo@pobox.com>
1228
1229         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
1230         padding here before, but it missed the commit.
1231
1232 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1233
1234         * libs/gst/controller/gstinterpolation.c:
1235           whitespace prices have crashed, we should feel free to use some now
1236           use gst_guint64_to_gdouble
1237
1238 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1239
1240         * libs/gst/controller/gstcontroller.c:
1241         * libs/gst/controller/gsthelper.c:
1242         * libs/gst/controller/gstinterpolation.c:
1243         * libs/gst/controller/lib.c:
1244           wrap config.h include
1245
1246 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1247
1248         * docs/gst/gstreamer-sections.txt:
1249           update docs
1250
1251 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1252
1253         * plugins/elements/gstelements.c:
1254         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
1255         (gst_fd_sink__class_init), (gst_fd_sink__init),
1256         (gst_fd_sink__chain), (gst_fd_sink__set_property),
1257         (gst_fd_sink__get_property):
1258         * plugins/elements/gstfdsink.h:
1259         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
1260         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
1261         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
1262         (gst_fd_src_unlock), (gst_fd_src_set_property),
1263         (gst_fd_src_get_property), (gst_fd_src_create),
1264         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
1265         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
1266         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
1267         (gst_fd_src_uri_handler_init):
1268         * plugins/elements/gstfdsrc.h:
1269         * plugins/elements/gstqueue.c: (gst_queue_get_type):
1270           more anal cleanup
1271
1272 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1273
1274         * docs/gst/Makefile.am:
1275         * docs/gst/gstreamer.types.in:
1276         * gst/Makefile.am:
1277           fix the docs build
1278
1279 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1280
1281         * configure.ac:
1282         * gst/Makefile.am:
1283         * gst/gst.c:
1284         * gst/gstplugin.h:
1285         * gst/gstregistry.h:
1286         * tests/benchmarks/complexity.c:
1287         * tests/benchmarks/mass-elements.c:
1288         * tests/check/Makefile.am:
1289         * tools/Makefile.am:
1290         * tools/gst-inspect.c:
1291         * tools/gst-xmlinspect.c:
1292           various fixes to make
1293           --disable-nls --disable-registry --disable-loadsave
1294           --disable-parse --disable-gst-debug
1295           work and get the core .so down to 360444 bytes after stripping
1296
1297 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1298
1299         * Makefile.am:
1300         * configure.ac:
1301           descend into tests
1302         * docs/random/thomasvs/TODO:
1303         * tests/Makefile.am:
1304         * tests/README:
1305           add a README
1306
1307 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1308
1309         * win32/GStreamer.vcproj:
1310         * win32/MANIFEST:
1311         * win32/Makefile:
1312         * win32/Makefile.inspect:
1313         * win32/Makefile.launch:
1314         * win32/Makefile.register:
1315         * win32/README.txt:
1316         * win32/gst-inspect.vcproj:
1317         * win32/gst-launch.vcproj:
1318         * win32/gst-register.vcproj:
1319         * win32/gstelements.vcproj:
1320         * win32/gstgetbits.def:
1321         * win32/gstgetbits.vcproj:
1322         * win32/gstreamer-dbg.def:
1323         * win32/gstreamer.def:
1324         * win32/libgstbase.def:
1325         * win32/libgstbase.vcproj:
1326         * win32/link_oldruntime.c:
1327         * win32/mman.c:
1328         * win32/mman.h:
1329         * win32/mman.inl:
1330         * win32/msvc71.sln:
1331           move even more stuff, win32/ is nice and clean now
1332
1333 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1334
1335         * libs/gst/control/.cvsignore:
1336         * win32/MANIFEST:
1337         * win32/config.h:
1338         * win32/dirent.c:
1339         * win32/dirent.h:
1340         * win32/gstbytestream.def:
1341         * win32/gstbytestream.vcproj:
1342         * win32/gstconfig.h:
1343         * win32/gstenumtypes.c:
1344         * win32/gstenumtypes.h:
1345         * win32/gstoptimalscheduler.vcproj:
1346         * win32/gstversion.h:
1347         * win32/gtchar.h:
1348         * win32/testsuite/bins.vcproj:
1349         * win32/testsuite/bytestream.vcproj:
1350         * win32/testsuite/caps.vcproj:
1351         * win32/testsuite/cleanup.vcproj:
1352         * win32/testsuite/clock.vcproj:
1353         * win32/testsuite/debug.vcproj:
1354         * win32/testsuite/dlopen.vcproj:
1355         * win32/testsuite/dynparams.vcproj:
1356         * win32/testsuite/elements.vcproj:
1357         * win32/testsuite/ghostpads.vcproj:
1358         * win32/testsuite/indexers.vcproj:
1359         * win32/testsuite/negotiation.vcproj:
1360         * win32/testsuite/parse.vcproj:
1361         * win32/testsuite/plugin.vcproj:
1362         * win32/testsuite/refcounting.vcproj:
1363         * win32/testsuite/schedulers.vcproj:
1364         * win32/testsuite/states.vcproj:
1365         * win32/testsuite/tags.vcproj:
1366         * win32/testsuite/threads.vcproj:
1367           remove old win32 stuff that isn't maintained and should be
1368           reorganized
1369
1370 2005-11-30  Andy Wingo  <wingo@pobox.com>
1371
1372         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
1373         loading the gst.interfaces python module bork.
1374
1375         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
1376         available since GLib 2.2. Fixes #318031.
1377
1378 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1379
1380         * Makefile.am:
1381         * check/.cvsignore:
1382         * check/Makefile.am:
1383         * check/elements/.cvsignore:
1384         * check/elements/fakesrc.c:
1385         * check/elements/fdsrc.c:
1386         * check/elements/identity.c:
1387         * check/generic/.cvsignore:
1388         * check/generic/states.c:
1389         * check/gst-libs/.cvsignore:
1390         * check/gst-libs/controller.c:
1391         * check/gst-libs/gdp.c:
1392         * check/gst/.cvsignore:
1393         * check/gst/capslist.h:
1394         * check/gst/gst.c:
1395         * check/gst/gstbin.c:
1396         * check/gst/gstbuffer.c:
1397         * check/gst/gstbus.c:
1398         * check/gst/gstcaps.c:
1399         * check/gst/gstelement.c:
1400         * check/gst/gstevent.c:
1401         * check/gst/gstghostpad.c:
1402         * check/gst/gstiterator.c:
1403         * check/gst/gstmessage.c:
1404         * check/gst/gstminiobject.c:
1405         * check/gst/gstobject.c:
1406         * check/gst/gstpad.c:
1407         * check/gst/gstpipeline.c:
1408         * check/gst/gstplugin.c:
1409         * check/gst/gstsegment.c:
1410         * check/gst/gststructure.c:
1411         * check/gst/gstsystemclock.c:
1412         * check/gst/gsttag.c:
1413         * check/gst/gstutils.c:
1414         * check/gst/gstvalue.c:
1415         * check/net/.cvsignore:
1416         * check/net/gstnetclientclock.c:
1417         * check/net/gstnettimeprovider.c:
1418         * check/pipelines/.cvsignore:
1419         * check/pipelines/cleanup.c:
1420         * check/pipelines/simple_launch_lines.c:
1421         * check/pipelines/stress.c:
1422         * check/states/.cvsignore:
1423         * check/states/sinks.c:
1424         * configure.ac:
1425         * examples/Makefile.am:
1426         * examples/appreader/.cvsignore:
1427         * examples/appreader/Makefile.am:
1428         * examples/appreader/appreader.c:
1429         * examples/controller/.cvsignore:
1430         * examples/controller/Makefile.am:
1431         * examples/controller/audio-example.c:
1432         * examples/cutter/.cvsignore:
1433         * examples/cutter/Makefile.am:
1434         * examples/cutter/cutter.c:
1435         * examples/cutter/cutter.h:
1436         * examples/events/Makefile.am:
1437         * examples/events/seek.c:
1438         * examples/helloworld/.cvsignore:
1439         * examples/helloworld/Makefile.am:
1440         * examples/helloworld/helloworld.c:
1441         * examples/helloworld2/.cvsignore:
1442         * examples/helloworld2/Makefile.am:
1443         * examples/helloworld2/helloworld2.c:
1444         * examples/launch/.cvsignore:
1445         * examples/launch/Makefile.am:
1446         * examples/launch/mp3parselaunch.c:
1447         * examples/launch/mp3play:
1448         * examples/manual/.cvsignore:
1449         * examples/manual/Makefile.am:
1450         * examples/manual/extract.pl:
1451         * examples/metadata/Makefile.am:
1452         * examples/metadata/read-metadata.c:
1453         * examples/mixer/.cvsignore:
1454         * examples/mixer/Makefile.am:
1455         * examples/mixer/mixer.c:
1456         * examples/mixer/mixer.h:
1457         * examples/pingpong/.cvsignore:
1458         * examples/pingpong/Makefile.am:
1459         * examples/pingpong/pingpong.c:
1460         * examples/plugins/.cvsignore:
1461         * examples/plugins/Makefile.am:
1462         * examples/plugins/example.c:
1463         * examples/plugins/example.h:
1464         * examples/pwg/.cvsignore:
1465         * examples/pwg/Makefile.am:
1466         * examples/pwg/extract.pl:
1467         * examples/queue/.cvsignore:
1468         * examples/queue/Makefile.am:
1469         * examples/queue/queue.c:
1470         * examples/queue2/.cvsignore:
1471         * examples/queue2/Makefile.am:
1472         * examples/queue2/queue2.c:
1473         * examples/queue3/.cvsignore:
1474         * examples/queue3/Makefile.am:
1475         * examples/queue3/queue3.c:
1476         * examples/queue4/.cvsignore:
1477         * examples/queue4/Makefile.am:
1478         * examples/queue4/queue4.c:
1479         * examples/retag/.cvsignore:
1480         * examples/retag/Makefile.am:
1481         * examples/retag/retag.c:
1482         * examples/retag/transcode.c:
1483         * examples/thread/.cvsignore:
1484         * examples/thread/Makefile.am:
1485         * examples/thread/thread.c:
1486         * examples/typefind/.cvsignore:
1487         * examples/typefind/Makefile.am:
1488         * examples/typefind/typefind.c:
1489         * examples/xml/.cvsignore:
1490         * examples/xml/Makefile.am:
1491         * examples/xml/createxml.c:
1492         * examples/xml/runxml.c:
1493         * tests/Makefile.am:
1494         * tests/check/Makefile.am:
1495         * testsuite/.cvsignore:
1496         * testsuite/Makefile.am:
1497         * testsuite/Rules:
1498         * testsuite/caps/.cvsignore:
1499         * testsuite/caps/Makefile.am:
1500         * testsuite/caps/app_fixate.c:
1501         * testsuite/caps/audioscale.c:
1502         * testsuite/caps/caps.c:
1503         * testsuite/caps/caps.h:
1504         * testsuite/caps/caps_strings:
1505         * testsuite/caps/compatibility.c:
1506         * testsuite/caps/deserialize.c:
1507         * testsuite/caps/enumcaps.c:
1508         * testsuite/caps/eratosthenes.c:
1509         * testsuite/caps/filtercaps.c:
1510         * testsuite/caps/fixed.c:
1511         * testsuite/caps/fraction-convert.c:
1512         * testsuite/caps/fraction-multiply-and-zero.c:
1513         * testsuite/caps/intersect2.c:
1514         * testsuite/caps/intersection.c:
1515         * testsuite/caps/normalisation.c:
1516         * testsuite/caps/random.c:
1517         * testsuite/caps/renegotiate.c:
1518         * testsuite/caps/sets.c:
1519         * testsuite/caps/simplify.c:
1520         * testsuite/caps/string-conversions.c:
1521         * testsuite/caps/structure.c:
1522         * testsuite/caps/subtract.c:
1523         * testsuite/caps/union.c:
1524         * testsuite/debug/.cvsignore:
1525         * testsuite/debug/Makefile.am:
1526         * testsuite/debug/category.c:
1527         * testsuite/debug/commandline.c:
1528         * testsuite/debug/global.c:
1529         * testsuite/debug/output.c:
1530         * testsuite/debug/printf_extension.c:
1531         * testsuite/dlopen/.cvsignore:
1532         * testsuite/dlopen/Makefile.am:
1533         * testsuite/dlopen/dlopen_gst.c:
1534         * testsuite/dlopen/loadgst.c:
1535         * testsuite/elements/.cvsignore:
1536         * testsuite/elements/Makefile.am:
1537         * testsuite/elements/gst-inspect-check.in:
1538         * testsuite/elements/struct_i386.h:
1539         * testsuite/elements/struct_size.c:
1540         * testsuite/indexers/.cvsignore:
1541         * testsuite/indexers/Makefile.am:
1542         * testsuite/indexers/cache1.c:
1543         * testsuite/indexers/indexdump.c:
1544         * testsuite/parse/.cvsignore:
1545         * testsuite/parse/Makefile.am:
1546         * testsuite/parse/parse1.c:
1547         * testsuite/parse/parse2.c:
1548         * testsuite/plugin/.cvsignore:
1549         * testsuite/plugin/Makefile.am:
1550         * testsuite/plugin/README:
1551         * testsuite/plugin/dynamic.c:
1552         * testsuite/plugin/linked.c:
1553         * testsuite/plugin/loading.c:
1554         * testsuite/plugin/registry.c:
1555         * testsuite/plugin/static.c:
1556         * testsuite/plugin/static2.c:
1557         * testsuite/plugin/testplugin.c:
1558         * testsuite/plugin/testplugin2.c:
1559         * testsuite/plugin/testplugin2_s.c:
1560         * testsuite/plugin/testplugin_s.c:
1561         * testsuite/refcounting/.cvsignore:
1562         * testsuite/refcounting/Makefile.am:
1563         * testsuite/refcounting/bin.c:
1564         * testsuite/refcounting/element.c:
1565         * testsuite/refcounting/element_pad.c:
1566         * testsuite/refcounting/mainloop.c:
1567         * testsuite/refcounting/mem.c:
1568         * testsuite/refcounting/mem.h:
1569         * testsuite/refcounting/object.c:
1570         * testsuite/refcounting/pad.c:
1571         * testsuite/refcounting/sched.c:
1572         * testsuite/refcounting/thread.c:
1573         * testsuite/states/.cvsignore:
1574         * testsuite/states/Makefile.am:
1575         * testsuite/states/bin.c:
1576         * testsuite/states/locked.c:
1577         * testsuite/states/parent.c:
1578         * testsuite/threads/.cvsignore:
1579         * testsuite/threads/159566.c:
1580         * testsuite/threads/159852.c:
1581         * testsuite/threads/Makefile.am:
1582         * testsuite/threads/queue.c:
1583         * testsuite/threads/signals.c:
1584         * testsuite/threads/staticrec.c:
1585         * testsuite/threads/thread.c:
1586         * testsuite/threads/threadb.c:
1587         * testsuite/threads/threadc.c:
1588         * testsuite/threads/threadd.c:
1589         * testsuite/threads/threade.c:
1590         * testsuite/threads/threadf.c:
1591         * testsuite/threads/threadg.c:
1592         * testsuite/threads/threadh.c:
1593         * testsuite/threads/threadi.c:
1594           move all of these under tests
1595
1596 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1597
1598         * configure.ac:
1599         * tests/Makefile.am:
1600           fix distcheck
1601
1602 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1603
1604         * docs/gst/gstreamer-sections.txt:
1605         * tests/sched/.cvsignore:
1606         * tests/sched/Makefile.am:
1607         * tests/sched/cases/(fs-fs).xml:
1608         * tests/sched/cases/(fs-i-fs).xml:
1609         * tests/sched/cases/(fs-i-i-fs).xml:
1610         * tests/sched/cases/(fs-i-q[i-fs]).xml:
1611         * tests/sched/dynamic-pipeline.c:
1612         * tests/sched/interrupt1.c:
1613         * tests/sched/interrupt2.c:
1614         * tests/sched/interrupt3.c:
1615         * tests/sched/runtestcases:
1616         * tests/sched/runxml.c:
1617         * tests/sched/sched-stress.c:
1618         * tests/sched/sort.c:
1619         * tests/sched/testcases:
1620         * tests/sched/testcases1.tc:
1621         * tests/seeking/.cvsignore:
1622         * tests/seeking/Makefile.am:
1623         * tests/seeking/seeking1.c:
1624         * tests/threadstate/.cvsignore:
1625         * tests/threadstate/Makefile.am:
1626         * tests/threadstate/test1.c:
1627         * tests/threadstate/test2.c:
1628         * tests/threadstate/threadstate1.c:
1629         * tests/threadstate/threadstate2.c:
1630         * tests/threadstate/threadstate3.c:
1631         * tests/threadstate/threadstate4.c:
1632         * tests/threadstate/threadstate5.c:
1633           remove obsolete tests
1634         * configure.ac:
1635         * tests/bench-complexity.scm:
1636         * tests/bench-mass_elements.scm:
1637         * tests/complexity.c:
1638         * tests/complexity.gnuplot:
1639         * tests/instantiate/.cvsignore:
1640         * tests/instantiate/Makefile.am:
1641         * tests/instantiate/caps.c:
1642         * tests/mass_elements.c:
1643         * tests/network-clock-utils.scm:
1644         * tests/network-clock.scm:
1645         * tests/plot-data:
1646         First pass at cleaning up tests/ dir before moving the rest
1647         Combined with CVS surgery
1648
1649 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1650
1651         * po/POTFILES.in:
1652           queue has moved, update
1653
1654 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1655
1656         * docs/gst/gstreamer-sections.txt:
1657           remove double entries from the docs
1658         * gst/gst_private.h:
1659         * gst/gstinfo.c: (_gst_debug_init):
1660           remove the THREAD debug category
1661         * gst/Makefile.am:
1662         * gst/gstqueue.c:
1663         * gst/gstqueue.h:
1664         * docs/gst/gstreamer.types:
1665         * plugins/elements/gstqueue.c: (gst_queue_get_type),
1666         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
1667           completely move queue and fix up debugging categories
1668
1669 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1670
1671         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1672           make initialization portable, using LL is not
1673
1674 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1675
1676         * win32/common/gstconfig.h:
1677           add large padding
1678
1679 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1680
1681         * win32/common/libgstreamer.def:
1682           rename symbols; sort base section
1683
1684 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1685
1686         * gst/gstclock.c: (do_linear_regression):
1687           remove crack non-portable handrolled DEBUG macro
1688
1689 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1690
1691         * docs/random/release:
1692           update notes
1693         * win32/common/gstenumtypes.c: (register_gst_object_flags),
1694         (gst_object_flags_get_type), (register_gst_bin_flags),
1695         (gst_bin_flags_get_type), (register_gst_buffer_flag),
1696         (gst_buffer_flag_get_type), (register_gst_bus_flags),
1697         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
1698         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
1699         (gst_caps_flags_get_type), (register_gst_clock_return),
1700         (gst_clock_return_get_type), (register_gst_clock_entry_type),
1701         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
1702         (gst_clock_flags_get_type), (register_gst_state),
1703         (gst_state_get_type), (register_gst_state_change_return),
1704         (gst_state_change_return_get_type), (register_gst_state_change),
1705         (gst_state_change_get_type), (register_gst_element_flags),
1706         (gst_element_flags_get_type), (register_gst_core_error),
1707         (gst_core_error_get_type), (register_gst_library_error),
1708         (gst_library_error_get_type), (register_gst_resource_error),
1709         (gst_resource_error_get_type), (register_gst_stream_error),
1710         (gst_stream_error_get_type), (register_gst_event_type_flags),
1711         (gst_event_type_flags_get_type), (register_gst_event_type),
1712         (gst_event_type_get_type), (register_gst_seek_type),
1713         (gst_seek_type_get_type), (register_gst_seek_flags),
1714         (gst_seek_flags_get_type), (register_gst_format),
1715         (gst_format_get_type), (register_gst_index_certainty),
1716         (gst_index_certainty_get_type), (register_gst_index_entry_type),
1717         (gst_index_entry_type_get_type),
1718         (register_gst_index_lookup_method),
1719         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
1720         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
1721         (gst_index_resolver_method_get_type), (register_gst_index_flags),
1722         (gst_index_flags_get_type), (register_gst_debug_level),
1723         (gst_debug_level_get_type), (register_gst_debug_color_flags),
1724         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
1725         (gst_iterator_result_get_type), (register_gst_iterator_item),
1726         (gst_iterator_item_get_type), (register_gst_message_type),
1727         (gst_message_type_get_type), (register_gst_mini_object_flags),
1728         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
1729         (gst_pad_link_return_get_type), (register_gst_flow_return),
1730         (gst_flow_return_get_type), (register_gst_activate_mode),
1731         (gst_activate_mode_get_type), (register_gst_pad_direction),
1732         (gst_pad_direction_get_type), (register_gst_pad_flags),
1733         (gst_pad_flags_get_type), (register_gst_pad_presence),
1734         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
1735         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
1736         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
1737         (gst_plugin_error_get_type), (register_gst_plugin_flags),
1738         (gst_plugin_flags_get_type), (register_gst_rank),
1739         (gst_rank_get_type), (register_gst_query_type),
1740         (gst_query_type_get_type), (register_gst_tag_merge_mode),
1741         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
1742         (gst_tag_flag_get_type), (register_gst_task_state),
1743         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
1744         (gst_alloc_trace_flags_get_type),
1745         (register_gst_type_find_probability),
1746         (gst_type_find_probability_get_type), (register_gst_uri_type),
1747         (gst_uri_type_get_type), (register_gst_parse_error),
1748         (gst_parse_error_get_type):
1749         * win32/common/gstenumtypes.h:
1750         * win32/common/gstversion.h:
1751           update visual studio generated files
1752
1753 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1754
1755         * win32/vs6/libgstbase.dsp:
1756         * win32/vs6/libgstelements.dsp:
1757           update project files for new locations
1758
1759 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1760
1761         * Makefile.am:
1762           remove some files
1763         * README:
1764           reinstate and update
1765         * DEVEL:
1766         * REQUIREMENTS:
1767           removed
1768         * LICENSE:
1769         * docs/random/LICENSE:
1770           moved to random
1771
1772 2005-11-30  Edward Hervey  <edward@fluendo.com>
1773
1774         * gst/gsttypefind.c: (gst_type_find_register):
1775         * gst/gsttypefind.h:
1776         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
1777         (gst_type_find_factory_dispose):
1778         * gst/gsttypefindfactory.h:
1779         Fix memory leak in GstTypeFindFactory.
1780
1781 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1782
1783         * gst/gst.c:
1784         * plugins/elements/Makefile.am:
1785         * plugins/elements/gstelements.c:
1786         * plugins/elements/gstqueue.c:
1787           move queue from core to the elements plugin
1788
1789 2005-11-29  Andy Wingo  <wingo@pobox.com>
1790
1791         * libs/gst/base/gstbasetransform.h: 
1792         * libs/gst/base/gstbasesrc.h: 
1793         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
1794
1795         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
1796         of pointers by which to pad very extensible base classes (like the
1797         ones in libs/gst/base).
1798
1799 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1800
1801         * docs/gst/gstreamer-docs.sgml:
1802         * docs/gst/gstreamer-sections.txt:
1803         * docs/libs/gstreamer-libs-docs.sgml:
1804         * docs/libs/gstreamer-libs-sections.txt:
1805           moving documentation from core to lib
1806
1807 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1808
1809         * check/Makefile.am:
1810         * configure.ac:
1811         * docs/gst/Makefile.am:
1812         * gst/Makefile.am:
1813         * gst/base/.cvsignore:
1814         * gst/base/Makefile.am:
1815         * gst/base/README:
1816         * gst/base/gstadapter.c:
1817         * gst/base/gstadapter.h:
1818         * gst/base/gstbasesink.c:
1819         * gst/base/gstbasesink.h:
1820         * gst/base/gstbasesrc.c:
1821         * gst/base/gstbasesrc.h:
1822         * gst/base/gstbasetransform.c:
1823         * gst/base/gstbasetransform.h:
1824         * gst/base/gstcollectpads.c:
1825         * gst/base/gstcollectpads.h:
1826         * gst/base/gstpushsrc.c:
1827         * gst/base/gstpushsrc.h:
1828         * gst/base/gsttypefindhelper.c:
1829         * gst/base/gsttypefindhelper.h:
1830         * gst/check/Makefile.am:
1831         * gst/check/gstcheck.c:
1832         * gst/check/gstcheck.h:
1833         * gst/net/Makefile.am:
1834         * gst/net/gstnet.h:
1835         * gst/net/gstnetclientclock.c:
1836         * gst/net/gstnetclientclock.h:
1837         * gst/net/gstnettimepacket.c:
1838         * gst/net/gstnettimepacket.h:
1839         * gst/net/gstnettimeprovider.c:
1840         * gst/net/gstnettimeprovider.h:
1841         * libs/gst/Makefile.am:
1842         * libs/gst/base/Makefile.am:
1843         * libs/gst/base/gstbasetransform.c:
1844         * libs/gst/check/Makefile.am:
1845         * plugins/elements/Makefile.am:
1846         * po/POTFILES.in:
1847           CVS surgery + support to move base, check, and net out of gst
1848           and into libs/gst
1849
1850 2005-11-29  Andy Wingo  <wingo@pobox.com>
1851
1852         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
1853
1854         * gst/gststructure.h (struct _GstStructure): Only one pointer of
1855         padding.
1856
1857         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
1858
1859         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
1860
1861         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
1862
1863         * gst/gstobject.h: (struct _GstObject): Only one pointer of
1864         padding; reduces object size by about 30%. We don't expect
1865         anything else to go into gstobject.
1866
1867         * gst/gstminiobject.h (struct _GstMiniObject)
1868         (struct _GstMiniObjectClass): Only one pointer of padding; the
1869         payload is only a pointer and two ints anyway. For the class there
1870         are only two methods as well.
1871         
1872         * gst/gstelement.h (struct _GstElementClass): Removed
1873         the state_changed signal callback, it is not used.
1874
1875 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1876
1877         * docs/gst/gstreamer.types:
1878           fix includes, though they are a little dinky
1879
1880 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1881
1882         * check/Makefile.am:
1883           look in the right place for elements, a lot more chance of
1884           success
1885         * gst/Makefile.am:
1886           remove indexers and elements subdirs
1887         * plugins/Makefile.am:
1888           make indexers conditional
1889
1890 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1891
1892         * Makefile.am:
1893         * configure.ac:
1894         * plugins/elements/Makefile.am:
1895         * plugins/elements/gstcapsfilter.c:
1896         * plugins/elements/gstfilesink.c:
1897         * plugins/elements/gstfilesrc.c:
1898         * plugins/elements/gstidentity.c:
1899         * plugins/indexers/Makefile.am:
1900           do CVS surgery and related build fixery to move elements
1901           and indexers in a new gstreamer/plugins directory, out of the
1902           gst/ directory
1903
1904 2005-11-29  Andy Wingo  <wingo@pobox.com>
1905
1906         * check/Makefile.am:
1907         * pkgconfig/gstreamer-net-uninstalled.pc.in:
1908         * pkgconfig/gstreamer-net.pc.in:
1909         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
1910         #322257.
1911
1912 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1913
1914         * tools/Makefile.am:
1915         * tools/gst-complete.1.in:
1916         * tools/gst-complete.c:
1917         * tools/gst-compprep.1.in:
1918         * tools/gst-compprep.c:
1919           removing -compprep and -complete
1920
1921 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1922
1923         * gst/gstevent.c: (gst_event_new_new_segment),
1924         (gst_event_parse_new_segment):
1925         * gst/gstevent.h:
1926           fix #320529 - clean up new_segment API and structure.
1927           Let's hope everyone was using the methods, and not the structure.
1928
1929 2005-11-29  Edward Hervey  <edward@fluendo.com>
1930
1931         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1932         (gst_base_sink_event), (gst_base_sink_do_sync),
1933         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
1934         Properly handle non GST_FORMAT_TIME segment
1935         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1936         Properly handle non GST_FORMAT_TIME segment
1937         * gst/gstsegment.c:
1938         This function is valid if the accumulator is 0 and the format
1939         is different from the requested format.
1940         
1941 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
1942
1943         * docs/gst/gstreamer-sections.txt:
1944         Add gst_query_new_seeking and gst_query_parse_seeking to the
1945         docs.
1946
1947 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
1948
1949         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
1950           Treat a pad alloc with new caps the same as if we were not
1951           negotiated, in order to allow a changing upstream output
1952           to produce a new format of data.
1953
1954 2005-11-29  Edward Hervey  <edward@fluendo.com>
1955
1956         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1957         (gst_base_transform_event), (gst_base_transform_eventfunc):
1958         The event virtual method is now properly implemented, with a default
1959         handler
1960         Sub classes should call the parent_class event method. They should
1961         return FALSE if they had a problem handling the given event, or don't
1962         want GstBaseTransform to send that even downstream
1963         * gst/elements/gstidentity.c: (gst_identity_class_init),
1964         (gst_identity_init), (gst_identity_event),
1965         (gst_identity_transform_ip), (gst_identity_set_property),
1966         (gst_identity_get_property):
1967         * gst/elements/gstidentity.h:
1968         Added the single-segment boolean property.
1969         If set to TRUE, it will output a single segment of data, starting from
1970         0, will eat up all incoming newsegment, and modify the timestamp of the
1971         buffers accordingly
1972
1973 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
1974
1975         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
1976           Don't ref NULL target pad (#322751). Improve docs.
1977
1978 2005-11-29  Michael Smith  <msmith@fluendo.com>
1979
1980         * gst/gstregistryxml.c: (load_plugin):
1981           Don't crash if we failed to load a feature from a plugin. 
1982
1983 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1984
1985         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
1986         (GST_START_TEST):
1987           use more check API and less GLib API
1988
1989 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1990
1991         * Makefile.am:
1992           don't run checks if we don't have check
1993         * common/check.mak:
1994           remove the registry when running make torture
1995         * docs/gst/gstreamer-sections.txt:
1996           remove second multiply
1997         * gst/gstqueue.c: (gst_queue_loop):
1998           fix a compile warning when disabling debug
1999
2000 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
2001
2002         * gst/gstinfo.h:
2003         Hey! Let's print the pad name if the pointer != NULL instead
2004         of when it == NULL :-)
2005
2006 2005-11-28  Wim Taymans  <wim@fluendo.com>
2007
2008         * check/gst/gstutils.c: (GST_START_TEST):
2009         Updated check, add some scaling accuracy checking code.
2010
2011         * gst/gstutils.c: (gst_util_div128_64),
2012         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
2013         (gst_util_uint64_scale_int):
2014         Fix 6 times faster division code. Optimize for common 
2015         1/1 and less common X/1 cases.
2016
2017 2005-11-28  Wim Taymans  <wim@fluendo.com>
2018
2019         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
2020         More checks.
2021
2022         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
2023         (do_linear_regression), (gst_clock_add_observation):
2024         Cleanups.
2025         Release lock when the clock cannot be slaved.
2026         Catch the case where the regression returned an invalid denominator.
2027
2028         * gst/gstutils.c: (gst_util_div128_64_iterate),
2029         (gst_util_div128_64), (gst_util_uint64_scale_int64),
2030         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
2031         Add protentially more performant non-iterative 128/64 divide function
2032         that unfortunatly does not work yet.
2033         Shortcut the trivial 0/X = 0 case.
2034         Remove the warnings on overflow.
2035
2036 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2037
2038         * gst/gstplugin.c: (gst_plugin_register_func):
2039           everything causing a plugin not to load should be at least a WARNING
2040
2041 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
2042
2043         * docs/random/ensonic/dparams.txt:
2044           some TODOs for the next dev cycle
2045         * libs/gst/controller/gstcontroller.c:
2046         (gst_controlled_property_set_interpolation_mode),
2047         (gst_controlled_property_new):
2048         * libs/gst/controller/gstcontroller.h:
2049           use base type to assign acccessor functions
2050
2051 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
2052
2053         * check/Makefile.am:
2054         Oops, that should have been top_srcdir
2055
2056 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
2057
2058         * check/Makefile.am:
2059         * check/elements/fdsrc.c: (GST_START_TEST):
2060         Use a cmdline define to specify the location of a file to use for
2061         testing, to avoid breaking distcheck.
2062
2063 2005-11-28  Andy Wingo  <wingo@pobox.com>
2064
2065         * gst/gstpad.c (fixate_value): Use array functions for arrays.
2066
2067 2005-11-28  Edward Hervey  <edward@fluendo.com>
2068
2069         * tools/gst-launch.c: (main):
2070         Clarify the output strings, makes it easier to translate.
2071         Fixes #322626
2072
2073 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2074
2075         * gst/Makefile.am:
2076           don't try and build net if we don't even have <sys/socket.h>
2077
2078 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
2079
2080         * check/Makefile.am:
2081         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
2082         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
2083           Add tests for fdsrc seekability
2084
2085         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
2086         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
2087         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
2088         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
2089         * gst/elements/gstfdsrc.h:
2090           fdsrc should not be a 'live' source.
2091           Implement seeking on seekable fd's.
2092
2093         * gst/gstquery.c: (gst_query_new_seeking),
2094         (gst_query_parse_seeking):
2095         * gst/gstquery.h:
2096           Implement SEEKING query functions: 
2097             *_new_seeking and *_parse_seeking
2098
2099 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
2100
2101         * gst/gstelement.c: (gst_element_dispose):
2102           don't loop forever
2103
2104         * gst/gstiterator.c:
2105         * gst/gststructure.c:
2106           doc fixes
2107
2108         * libs/gst/controller/gstcontroller.c:
2109         (gst_controlled_property_set_interpolation_mode):
2110         * libs/gst/controller/gstcontroller.h:
2111         * libs/gst/controller/gstinterpolation.c:
2112         (interpolate_none_get_enum_value_array):
2113           support controlling enums
2114
2115 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
2116
2117         * gst/gstvalue.c:
2118           Improve documentation for gst_value_union().
2119
2120         * gst/gstvalue.h:
2121           Change return value for union, intersect and subtract functions
2122           from gint to gboolean.
2123
2124 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
2125
2126         * gst/gstvalue.c: (gst_value_serialize_any_list),
2127         (gst_value_transform_any_list_string),
2128         (gst_value_deserialize_list), (gst_value_deserialize_array),
2129         (gst_value_set_int_range), (gst_value_deserialize_int_range),
2130         (gst_value_set_double_range), (gst_value_deserialize_double_range),
2131         (gst_value_set_fraction_range_full),
2132         (gst_value_deserialize_fraction_range),
2133         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
2134         (gst_value_deserialize_boolean),
2135         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
2136         (gst_value_serialize_float), (gst_value_deserialize_float),
2137         (gst_string_wrap), (gst_value_deserialize_string),
2138         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
2139         (gst_value_union_int_range_int_range),
2140         (gst_value_intersect_int_range_int_range),
2141         (gst_value_intersect_double_range_double_range),
2142         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
2143         (gst_value_subtract_int_range_int_range),
2144         (gst_value_subtract_double_double_range),
2145         (gst_value_subtract_double_range_double_range),
2146         (gst_value_deserialize_fraction):
2147         * gst/gstvalue.h:
2148           Use gint, gdouble and gchar in our API instead of int, double and
2149           char (and make usage in gstvalue.c more consistent).
2150
2151 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
2152
2153         * check/Makefile.am:
2154         * libs/gst/controller/Makefile.am:
2155         * libs/gst/dataprotocol/Makefile.am:
2156           fix up Makefile.am and remove GST_ENABLE_NEW
2157
2158 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
2159
2160         * configure.ac:
2161         * gst/Makefile.am:
2162         * gst/base/Makefile.am:
2163         * gst/check/Makefile.am:
2164         * gst/elements/Makefile.am:
2165         * gst/net/Makefile.am:
2166           update LDFLAGS use some more
2167
2168 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
2169
2170         * common/m4/gst-doc.m4:
2171           Fixes #312589
2172
2173 2005-11-26  Edward Hervey  <edward@fluendo.com>
2174
2175         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2176         This shouldn't issue a g_warning since it returns NULL if it
2177         couldn't find the plugin, and all functions using this behave
2178         properly on a NULL return. Switching to a GST_WARNING.
2179
2180 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
2181
2182         * gst/gstbin.c: (gst_bin_handle_message_func):
2183         Don't leak clock messages.
2184
2185 2005-11-25  Wim Taymans  <wim@fluendo.com>
2186
2187         * gst/gstutils.c: (gst_util_uint64_scale_int64),
2188         (gst_util_uint64_scale_int):
2189         Optimisations, remove unneeded vars.
2190
2191 2005-11-25  Wim Taymans  <wim@fluendo.com>
2192
2193         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
2194         Added more checks for the high precision uint64 cases.
2195
2196         * gst/gstutils.c: (gst_util_uint64_scale_int64),
2197         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
2198         Implement high precision (guint64 * guint64) / guint64.
2199
2200 2005-11-24  Wim Taymans  <wim@fluendo.com>
2201
2202         * gst/base/gstbasesrc.c: (gst_base_src_query):
2203         Fix wrong percentage query.
2204
2205         * gst/gstutils.c: (gst_util_uint64_scale),
2206         (gst_util_uint64_scale_int):
2207         Add some more common cases that can be handled 
2208         efficiently to _scale.
2209
2210 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2211
2212         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
2213         (gst_mini_object_suite):
2214           don't use check calls from threads; check probably isn't
2215           threadsafe and using a lock to make it threadsafe would
2216           defeat the purpose of this check
2217         * gst/check/gstcheck.c:
2218         * gst/check/gstcheck.h:
2219           use GST_DEBUG some more
2220
2221 2005-11-24  Wim Taymans  <wim@fluendo.com>
2222
2223         * gst/gstutils.c: (gst_util_uint64_scale),
2224         (gst_util_uint64_scale_int):
2225         Chain trivial case to _scale_int.
2226
2227 2005-11-24  Wim Taymans  <wim@fluendo.com>
2228
2229         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
2230         Added test for scaling.
2231
2232         * gst/gstclock.h:
2233         Small doc fix.
2234
2235         * gst/gstutils.c: (gst_util_uint64_scale_int):
2236         Implemented high precision scaling code.
2237
2238 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
2239
2240         * gst/gstinfo.h:
2241           do not crash on pad==NULL
2242
2243 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2244
2245         Patch by: Stefan Kost
2246
2247         * common/gtk-doc.mak:
2248         * docs/gst/Makefile.am:
2249         * docs/libs/Makefile.am:
2250           Fix distcheck issues for the libraries docs build
2251           Closes #319599.
2252
2253 2005-11-24  Michael Smith <msmith@fluendo.com>
2254
2255         * docs/manual/basics-helloworld.xml:
2256           Fix bug #315027: memory leak in example code in docs.
2257
2258 2005-11-24  Michael Smith <msmith@fluendo.com>
2259
2260         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2261           Unlock the PREROLL_LOCK in a failure case.
2262
2263 2005-11-24  Wim Taymans  <wim@fluendo.com>
2264
2265         * docs/gst/gstreamer-sections.txt:
2266         * gst/base/gstadapter.h:
2267         * gst/base/gstbasesink.h:
2268         * gst/base/gstbasesrc.h:
2269         * gst/base/gstbasetransform.h:
2270         * gst/base/gstpushsrc.h:
2271         * gst/elements/gstfakesink.h:
2272         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
2273         * gst/elements/gstfakesrc.h:
2274         * gst/elements/gstfilesink.h:
2275         * gst/elements/gstfilesrc.h:
2276         * gst/gst.c:
2277         * gst/gstbin.c:
2278         * gst/gstbuffer.c: (_gst_buffer_copy):
2279         * gst/gstbus.h:
2280         * gst/gstcaps.c:
2281         * gst/gstchildproxy.c:
2282         * gst/gstclock.c:
2283         * gst/gstelement.c:
2284         * gst/gstelementfactory.c:
2285         * gst/gstelementfactory.h:
2286         * gst/gstevent.c:
2287         * gst/gstghostpad.h:
2288         * gst/gstindex.h:
2289         * gst/gstinterface.h:
2290         * gst/gstminiobject.c:
2291         * gst/gstminiobject.h:
2292         * gst/gstpad.c:
2293         * gst/gstpad.h:
2294         * gst/gstpadtemplate.h:
2295         * gst/gstpipeline.h:
2296         * gst/gstpluginfeature.h:
2297         * gst/gstquery.h:
2298         * gst/gstqueue.h:
2299         * gst/gsttaglist.c:
2300         * gst/gsttaglist.h:
2301         * gst/gsttagsetter.c:
2302         * gst/gsttagsetter.h:
2303         * gst/gsttrace.c:
2304         * gst/gsttrace.h:
2305         * gst/gsttypefind.h:
2306         * gst/gsturi.h:
2307         * gst/gstvalue.c:
2308         * gst/net/gstnetclientclock.c:
2309         * gst/net/gstnetclientclock.h:
2310         * gst/net/gstnettimepacket.c:
2311         * gst/net/gstnettimeprovider.c:
2312         * gst/net/gstnettimeprovider.h:
2313         Doc fixes.
2314
2315 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2316
2317         * configure.ac: back to HEAD
2318
2319 === release 0.9.6 ===
2320
2321 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
2322
2323         * configure.ac:
2324           releasing 0.9.6, "Always On Time"
2325
2326 2005-11-23  Wim Taymans  <wim@fluendo.com>
2327
2328         * docs/gst/gstreamer-sections.txt:
2329         * gst/glib-compat.c:
2330         * gst/gsttagsetter.c:
2331         * gst/gstvalue.c:
2332         * gst/net/gstnetclientclock.c:
2333         * gst/net/gstnettimepacket.h:
2334         Doc updates.
2335
2336 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2337
2338         * docs/faq/using.xml:
2339         * docs/libs/tmpl/gstcontrol.sgml:
2340         * docs/manual/advanced-dparams.xml:
2341         * docs/manual/appendix-checklist.xml:
2342         * docs/manual/basics-elements.xml:
2343         * docs/pwg/other-source.xml:
2344         * docs/random/moving-plugins:
2345         * gst/gstpad.c:
2346         * tools/gst-launch.1.in:
2347           remove mentions of sinesrc
2348
2349 2005-11-23  Michael Smith <msmith@fluendo.com>
2350
2351         * docs/gst/gstreamer-sections.txt:
2352           Update for new API and API changes.
2353         * gst/gstobject.h:
2354           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
2355         * gst/gstvalue.c:
2356           Documentation typo fix.
2357         * gst/net/gstnettimepacket.c:
2358           Documentation fixes for arguments.
2359
2360 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
2361
2362         * gst/gststructure.c: (gst_structure_get_fraction),
2363         (gst_structure_parse_value),
2364         (gst_structure_fixate_field_nearest_fraction):
2365         * gst/gststructure.h:
2366         * gst/gstutils.c: (gst_util_uint64_scale_int):
2367         * gst/gstutils.h:
2368         * scripts/update-funcnames:
2369         API Changes. 
2370         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
2371         Make gst_structure_fixate_field_nearest_fraction take a numerator
2372         and denominator argument instead of a GValue
2373         add gst_structure_get_fraction helper function.
2374
2375 2005-11-23  Wim Taymans  <wim@fluendo.com>
2376
2377         * docs/design/part-TODO.txt:
2378         Update TODO.
2379
2380         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2381         * gst/net/gstnetclientclock.h:
2382         Use parent fields for timeout and window_size.
2383
2384 2005-11-23  Andy Wingo  <wingo@pobox.com>
2385
2386         * check/net/gstnetclientclock.c (test_functioning): Adjust to
2387         rate_num/rate_denom change.
2388
2389         * gst/net/gstnetclientclock.c
2390         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
2391         OBJECT_LOCK. Don't call add_observation with the lock.
2392
2393         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
2394         fraction.
2395         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
2396         rate fraction.
2397         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
2398         deal with rate as a fraction whose numerator and denominator are
2399         GstClockTime values.
2400         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
2401         master; the other fields are protected by the SLAVE_LOCK.
2402         (do_linear_regression): Note that this must be called with the
2403         SLAVE_LOCK.
2404         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
2405         OBJECT_LOCK. Call set_calibration instead of touching the
2406         variables directly.
2407         (gst_clock_set_property, gst_clock_get_property): Protect
2408         master/slave parameters with the SLAVE_LOCK.
2409
2410         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
2411         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
2412         note that all of the instance variables that add_observation and
2413         the set_master functions use are protected by that lock and not
2414         the OBJECT_LOCK.
2415         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
2416
2417         * gst/gstclock.c (gst_clock_add_observation): No longer requires
2418         the caller to take the object lock.
2419
2420 2005-11-23  Wim Taymans  <wim@fluendo.com>
2421
2422         * gst/gsterror.c: (_gst_core_errors_init):
2423         * gst/gsterror.h:
2424         Add error for clock stuff.
2425
2426         * gst/gstpipeline.c: (gst_pipeline_change_state),
2427         (gst_pipeline_set_clock):
2428         Post clock error when clock cannot be used in a pipeline.
2429
2430 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
2431
2432         * docs/gst/gstreamer-sections.txt:
2433           make two symbols from gstinfo private for the docs
2434         * gst/base/gstcollectpads.h:
2435         * gst/gstutils.c:
2436           fix doc typos, update docs
2437
2438 2005-11-22  Wim Taymans  <wim@fluendo.com>
2439
2440         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2441         (gst_base_sink_wait), (gst_base_sink_do_sync),
2442         (gst_base_sink_handle_event):
2443         * gst/base/gstbasesink.h:
2444         No need to store the clock, the parent element class already
2445         has it.
2446
2447         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
2448         Updates for clock_set returning a gboolean
2449
2450         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
2451         (gst_clock_id_wait_async), (gst_clock_class_init),
2452         (gst_clock_init), (gst_clock_finalize),
2453         (gst_clock_get_internal_time), (gst_clock_get_time),
2454         (gst_clock_slave_callback), (gst_clock_set_master),
2455         (gst_clock_get_master), (do_linear_regression),
2456         (gst_clock_add_observation), (gst_clock_set_property),
2457         (gst_clock_get_property):
2458         * gst/gstclock.h:
2459         Implement master/slave. When setting a clock as a slave, a
2460         periodic timeout is scheduled to sample master and slave times.
2461         Then the slave clock is recalibrated to match offset and rate
2462         of the master clock.
2463         Update logging a bit.
2464         Add flag so that a clock can state that is cannot be slaved to
2465         another clock.
2466
2467         * gst/gstelement.c: (gst_element_set_clock):
2468         * gst/gstelement.h:
2469         The set clock returns a gboolean for when an element cannot
2470         deal with the selected clock in the pipeline. 
2471
2472         * gst/gstpipeline.c: (gst_pipeline_change_state),
2473         (gst_pipeline_set_clock):
2474         * gst/gstpipeline.h:
2475         Handle the case where the selected clock cannot be set on
2476         the pipeline.
2477
2478         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
2479         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
2480         (gst_net_client_clock_set_property),
2481         (gst_net_client_clock_get_property),
2482         (gst_net_client_clock_observe_times):
2483         * gst/net/gstnetclientclock.h:
2484         Use regression code in GstClock parent, remove duplicated
2485         functionality.
2486
2487 2005-11-22  Michael Smith <msmith@fluendo.com>
2488
2489         * gst/gstutils.c: (gst_util_clock_time_scale):
2490         * gst/gstutils.h:
2491         * docs/gst/gstreamer-sections.txt:
2492           Rename method to have extra underscore.
2493
2494 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
2495
2496         * gst/elements/Makefile.am:
2497         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
2498         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
2499         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
2500         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
2501         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
2502         * gst/elements/gstfakesrc.h:
2503         * gst/gstqueue.c: (queue_leaky_get_type):
2504           correctly fix GEnumValues so that nick is the short lowercase
2505           dashed tag
2506         * tools/gst-inspect.c: (print_element_properties_info):
2507           also show the nick, since it's useful to use from parse_launch
2508           syntax
2509           Fixes #322139
2510
2511 2005-11-22  Michael Smith <msmith@fluendo.com>
2512
2513         * gst/gstutils.c: (gst_util_clocktime_scale):
2514         * gst/gstutils.h:
2515         * docs/gst/gstreamer-sections.txt:
2516           Add util method for scaling a clocktime by a fraction. Useful 
2517           implementation is left as an exercise for the reader.
2518
2519 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
2520
2521         * gst/gstvalue.c: (gst_value_collect_fraction_range):
2522         If needed, allocate storage in the destination value during
2523         collection.
2524
2525 2005-11-22  Edward Hervey  <edward@fluendo.com>
2526
2527         * docs/gst/gstreamer-sections.txt:
2528         * gst/Makefile.am:
2529         * gst/gst.h:
2530         * gst/gsturitype.c:
2531         * gst/gsturitype.h:
2532         * gst/gstutils.c: (gst_util_set_object_arg):
2533         * tools/gst-compprep.c: (main):
2534         * tools/gst-inspect.c: (print_element_properties_info):
2535         Removed GstURI, closes bug #321061
2536
2537 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
2538
2539         * check/gst/gststructure.c: (GST_START_TEST):
2540         * gst/gststructure.c: (gst_structure_parse_value):
2541           Oops, broke automatic string type parsing.
2542           Add a test to catch it in future.
2543
2544 2005-11-22  Andy Wingo  <wingo@pobox.com>
2545
2546         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
2547         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
2548         Actually rename the function implementations. Grr.
2549
2550 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
2551
2552         * check/gst/capslist.h:
2553           Comment test cases
2554         * check/gst/gststructure.c: (GST_START_TEST),
2555         (gst_structure_suite):
2556           Test automatic value type detection in gst_structure_from_string.
2557         * gst/gststructure.c: (gst_structure_parse_value):
2558           Add fraction as a type we try and guess automatically in
2559           caps/structure strings.
2560
2561 2005-11-22  Andy Wingo  <wingo@pobox.com>
2562
2563         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
2564
2565         * gst/gsttagsetter.h:
2566         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
2567         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
2568         (gst_tag_setter_add_tag_valist)
2569         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
2570         _add_values, _add_valist, and _add_valist_values. Since this is an
2571         interface the function suffixes should be more explicit so
2572         language binding don't end up with element.add_valist ->
2573         gst_tag_setter_add_valist, for example. Fixes #322069.
2574
2575 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
2576
2577         * check/gst/gstcaps.c: (GST_START_TEST):
2578           Extend caps string tests to check that a caps to string
2579           conversion is reversible and produces the same caps.
2580
2581         * gst/gststructure.c: (gst_structure_value_get_generic_type):
2582           Output "fraction" as the generic type fraction range, so caps
2583           serialisation and deserialisation works.
2584         * check/gst/capslist.h:
2585         * gst/gstvalue.c: (gst_value_deserialize_fraction):
2586           Support 'MIN' and 'MAX' for deserialising fractions.
2587
2588 2005-11-22  Andy Wingo  <wingo@pobox.com>
2589
2590         * gst/gstevent.h (gst_event_new_new_segment)
2591         (gst_event_parse_new_segment, gst_event_new_buffer_size)
2592         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
2593         Renamed from *_newsegment, *_buffersize, *_notarget.
2594
2595         * scripts/update-funcnames: New script, performs the changes
2596         listed above.
2597
2598 2005-11-22  Wim Taymans  <wim@fluendo.com>
2599
2600         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2601         Make sure the GstFlowReturn is returned.
2602
2603         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
2604         (gst_bus_add_signal_watch):
2605         * gst/gstbus.h:
2606         add gst_bus_add_signal_watch_full.
2607
2608         * gst/gstplugin.c: (gst_plugin_load_file):
2609         Small style cleanup.
2610
2611 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
2612
2613         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
2614           Block the fakesrc srcpad when we send an event, to avoid
2615           contention on the stream_lock causing random test failures.
2616
2617 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
2618
2619         * check/gst/gstvalue.c: (GST_START_TEST):
2620         * gst/gstvalue.c: (gst_value_fraction_subtract):
2621           Fix subtraction.
2622
2623 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
2624
2625         * gst/gst.h:
2626           include "gstchildproxy.h"
2627         * gst/gstchildproxy.h:
2628         * libs/gst/controller/gstcontroller.h:
2629           use G_GNUC_NULL_TERMINATED
2630
2631 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
2632
2633         * check/gst/capslist.h:
2634         * check/gst/gstcaps.c: (GST_START_TEST):
2635         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2636         * gst/gststructure.c: (gst_structure_parse_range),
2637         (gst_structure_fixate_field_nearest_fraction):
2638         * gst/gststructure.h:
2639         * gst/gstvalue.c: (gst_value_init_fraction_range),
2640         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
2641         (gst_value_collect_fraction_range),
2642         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
2643         (gst_value_set_fraction_range_full),
2644         (gst_value_get_fraction_range_min),
2645         (gst_value_get_fraction_range_max),
2646         (gst_value_serialize_fraction_range),
2647         (gst_value_transform_fraction_range_string),
2648         (gst_value_compare_fraction_range),
2649         (gst_value_deserialize_fraction_range),
2650         (gst_value_intersect_fraction_fraction_range),
2651         (gst_value_intersect_fraction_range_fraction_range),
2652         (gst_value_subtract_fraction_fraction_range),
2653         (gst_value_subtract_fraction_range_fraction),
2654         (gst_value_subtract_fraction_range_fraction_range),
2655         (gst_value_collect_fraction), (gst_value_fraction_multiply),
2656         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
2657         (gst_value_transform_string_fraction), (_gst_value_initialize):
2658         * gst/gstvalue.h:
2659           Implement fraction ranges and extend GstFraction to support
2660           arithmetic subtraction, as well as deserialization from integer
2661           strings such as "100"
2662           Add a testsuite as for int and double range set operations
2663
2664 2005-11-21  Andy Wingo  <wingo@pobox.com>
2665
2666         * gst/gsttaglist.h: 
2667         * gst/gstcaps.h: 
2668         * gst/gststructure.h: Add glib-compat.h.
2669
2670 2005-11-21  Wim Taymans  <wim@fluendo.com>
2671
2672         * gst/gstbin.c: (gst_bin_change_state_func):
2673         Fix for #321595
2674
2675 2005-11-21  Wim Taymans  <wim@fluendo.com>
2676
2677         * gst/gstsegment.h:
2678         And add a nice define too.
2679
2680 2005-11-21  Wim Taymans  <wim@fluendo.com>
2681
2682         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
2683         (gst_segment_new), (gst_segment_free), (gst_segment_init),
2684         (gst_segment_set_duration), (gst_segment_set_last_stop),
2685         (gst_segment_set_seek), (gst_segment_set_newsegment),
2686         (gst_segment_to_stream_time), (gst_segment_to_running_time),
2687         (gst_segment_clip):
2688         * gst/gstsegment.h:
2689         Make binding friendly.
2690
2691 2005-11-21  Andy Wingo  <wingo@pobox.com>
2692
2693         * gst/gsttagsetter.h: 
2694         * gst/gsttaglist.h: 
2695         * gst/gststructure.h: 
2696         * gst/gstcaps.h: 
2697         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
2698         #319940.
2699
2700         * gst/gsterror.c (_gst_core_errors_init):
2701         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
2702         category.
2703
2704         * gst/Makefile.am (gst_headers): Add glib-compat.h.
2705         (noinst_HEADERS): noinst the -private.
2706
2707 2005-11-21  Michael Smith <msmith@fluendo.com>
2708
2709         * gst/gstplugin.h:
2710         * gst/gstregistry.h:
2711           Remove unimplemented declarations for which we can see no sensible
2712           use.
2713
2714 2005-11-21  Andy Wingo  <wingo@pobox.com>
2715
2716         * gst/gst.h: Include glib-compat.h.
2717
2718         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
2719
2720         * gst/glib-compat.c: Include the public and the private header.
2721
2722         * gst/glib-compat-private.h: Copied here from glib-compat.h.
2723
2724         * gst/gstvalue.c: 
2725         * gst/gstpad.c: 
2726         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
2727
2728         * check/gst/gstevent.c (create_custom_events): Check that
2729         FLUSH_STOP is serialized.
2730
2731         * check/elements/identity.c (event_func): 
2732         * check/elements/fakesrc.c (event_func): No stream lock, the core
2733         takes it.
2734
2735         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
2736         stream lock taking, yay.
2737
2738         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
2739         ensure that core takes the stream lock.
2740
2741         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
2742         lock name change.
2743
2744         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
2745         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
2746         it already. For the flush start we do take it though so we get the
2747         right preroll state change messages.
2748
2749         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
2750         the stream lock here, the core does it for us.
2751
2752         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
2753         GST_STREAM_GET_LOCK.
2754         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
2755         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
2756         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
2757         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
2758         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
2759         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
2760
2761         * gst/gstpad.c: Update for stream lock name change.
2762
2763         * gst/base/gstbasesink.c: Update for preroll lock name change.
2764
2765 2005-11-21  Wim Taymans  <wim@fluendo.com>
2766
2767         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
2768         (gst_clock_get_master):
2769         * gst/gstclock.h:
2770         * gst/gstsystemclock.c: (gst_system_clock_init):
2771         Convert Clock flags to object flags.
2772         Added methods to manage master/slave clocks.
2773
2774 2005-11-21  Wim Taymans  <wim@fluendo.com>
2775
2776         * check/gst/gstsegment.c: (GST_START_TEST):
2777         * docs/design/part-TODO.txt:
2778         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2779         (gst_base_sink_event), (gst_base_sink_do_sync),
2780         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
2781         (gst_base_sink_query), (gst_base_sink_change_state):
2782         * gst/base/gstbasesink.h:
2783         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2784         (gst_base_src_default_newsegment),
2785         (gst_base_src_configure_segment), (gst_base_src_do_seek),
2786         (gst_base_src_get_range), (gst_base_src_loop),
2787         (gst_base_src_change_state):
2788         * gst/base/gstbasesrc.h:
2789         * gst/base/gstbasetransform.c:
2790         (gst_base_transform_prepare_output_buf),
2791         (gst_base_transform_event), (gst_base_transform_change_state):
2792         * gst/base/gstbasetransform.h:
2793         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
2794         (gst_collect_pads_event):
2795         * gst/base/gstcollectpads.h:
2796         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
2797         (gst_fake_src_create):
2798         * gst/elements/gstfakesrc.h:
2799         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2800         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2801         (gst_segment_set_last_stop), (gst_segment_set_seek),
2802         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
2803         (gst_segment_to_running_time), (gst_segment_clip):
2804         * gst/gstsegment.h:
2805         More segment updates, replace code in plugins with segment
2806         helper functions.
2807
2808 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
2809
2810         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
2811         Don't ignore sscanf results
2812
2813 2005-11-21  Andy Wingo  <wingo@pobox.com>
2814
2815         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
2816
2817         * *.h:
2818         * *.c: Ran scripts/update-macros. Oh yes.
2819
2820         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
2821         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
2822         GST_GET_LOCK, etc.
2823
2824         * scripts/update-macros: New script. Run it on your files to
2825         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
2826         well.
2827
2828 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
2829
2830         * docs/gst/Makefile.am:
2831         * docs/gst/gstreamer-docs.sgml:
2832         * docs/gst/gstreamer-sections.txt:
2833         * docs/gst/gstreamer.types:
2834         * gst/gstinfo.h:
2835           more docs fixes, add new api to the docs
2836
2837 2005-11-21  Andy Wingo  <wingo@pobox.com>
2838
2839         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
2840         state_broadcast call.
2841
2842         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
2843
2844 2005-11-21  Julien MOUTTE  <julien@moutte.net>
2845
2846         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
2847         function calls for arrays.
2848
2849 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
2850
2851         * docs/random/ensonic/media-device-daemon.txt:
2852           wild idea, can this be done?
2853         * docs/gst/gstreamer-sections.txt:
2854         * gst/gsterror.h:
2855         * gst/gstfilter.c:
2856         * gst/gstfilter.h:
2857         * gst/gstplugin.h:
2858         * gst/gstpluginfeature.c:
2859         * gst/gsttrace.c:
2860         * gst/gstvalue.c:
2861         * gst/gstvalue.h:
2862           doc fixes and additions
2863
2864 2005-11-21  Andy Wingo  <wingo@pobox.com>
2865
2866         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
2867         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
2868         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
2869         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
2870         private to the basesrc implementation.
2871
2872         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
2873         behalf of event function if necessary. It should no longer be
2874         necessary to take the stream lock in pad's event functions. Fixes
2875         #320299.
2876
2877 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
2878         * docs/gst/gstreamer-sections.txt:
2879         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
2880         (gst_structure_fixate_field_nearest_double),
2881         (gst_structure_fixate_field_boolean):
2882         * gst/gststructure.h:
2883         * win32/common/libgstreamer.def:
2884         * win32/gstreamer.def:
2885
2886         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
2887         (#322027)
2888
2889 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
2890
2891         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
2892         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
2893         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
2894         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
2895         (gst_fdsrc_uri_handler_init):
2896         * gst/elements/gstfdsrc.h:
2897           Port fd:// URI handler from 0.8 to fdsrc
2898
2899 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2900
2901         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
2902         (gst_value_serialize_fourcc):
2903         * gst/gstvalue.h:
2904           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
2905           consistent with our other format defines (#320324).
2906
2907 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2908
2909         * gst/gstvalue.c: (gst_value_is_fixed):
2910           Revert previous commit. Value lists are by definition
2911           not fixed, as they are a list of possible values.
2912
2913 2005-11-21  Andy Wingo  <wingo@pobox.com>
2914
2915         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
2916         during the stable series if we need it. Fixes #319178.
2917
2918         * gst/gstevent.c (gst_event_new_filler): Removed.
2919
2920         * check/gst/gstevent.c: Update comment about filler events.
2921
2922 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2923
2924         * gst/gstvalue.c: (gst_value_is_fixed):
2925           Should handle both value arrays and value lists.
2926
2927 2005-11-21  Andy Wingo  <wingo@pobox.com>
2928
2929         patch by: Alessandro Dessina <alessandro nnva org>
2930
2931         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
2932         functions to access arrays. Fixes #321962.
2933
2934 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2935
2936         * docs/gst/gstreamer.types:
2937           gst_collectpads_get_type => gst_collect_pads_get_type.
2938           
2939         * gst/base/gstbasetransform.c:
2940           Remove unused SIGNAL_HANDOFF enum.
2941
2942 2005-11-21  Andy Wingo  <wingo@pobox.com>
2943
2944         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
2945         the event type (upstream, downstream, serialized). Renamed
2946         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
2947         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
2948         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
2949
2950         * gst/gstevent.c: Update for new CUSTOM event names.
2951
2952         * check/gst/gstevent.c: Update check for new CUSTOM event names.
2953
2954         * gst/gstevent.h:
2955         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
2956         bug #319392.
2957
2958 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2959
2960         * docs/gst/gstreamer-sections.txt:
2961         * win32/common/libgstbase.def:
2962         * win32/libgstbase.def:
2963         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2964         (gst_collect_pads_class_init), (gst_collect_pads_init),
2965         (gst_collect_pads_finalize), (gst_collect_pads_new),
2966         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
2967         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
2968         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
2969         (gst_collect_pads_start), (gst_collect_pads_stop),
2970         (gst_collect_pads_peek), (gst_collect_pads_pop),
2971         (gst_collect_pads_available), (gst_collect_pads_read),
2972         (gst_collect_pads_flush), (gst_collect_pads_event),
2973         (gst_collect_pads_chain):
2974         * gst/base/gstcollectpads.h:
2975           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
2976           unimplemented functions as unimplemented. Add padding to
2977           GstCollectData. (#320766, #320423)
2978
2979 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2980
2981         * gst/gstmessage.c:
2982           Improve docs for DURATION message (usage of duration parameter)
2983           (#320113)
2984
2985 2005-11-20  Wim Taymans  <wim@fluendo.com>
2986
2987         * check/Makefile.am:
2988         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
2989         (main):
2990         * gst/Makefile.am:
2991         * gst/gst.h:
2992         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2993         (gst_segment_set_seek), (gst_segment_set_newsegment),
2994         (gst_segment_to_stream_time), (gst_segment_to_running_time),
2995         (gst_segment_clip):
2996         * gst/gstsegment.h:
2997         Added segment helper structure and methods. Not fully implemented
2998         yet.
2999         Added segment check.
3000
3001 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
3002
3003         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3004           Add a deserialisation test for fractions
3005         * examples/metadata/read-metadata.c: (message_loop),
3006         (make_pipeline), (main):
3007           Fix up metadata reading sample.
3008         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3009           Debug format fix
3010         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
3011           Don't try and fixate empty caps
3012         * gst/gst_private.h:
3013           Wrap in G_BEGIN_DECLS/G_END_DECLS
3014         * gst/gstvalue.c: (gst_value_collect_fraction),
3015         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
3016         (gst_value_transform_string_fraction),
3017         (gst_value_compare_fraction):
3018           Add some extra guards to ensure that we don't end up 
3019           with an invalid denominator of 0 in a gstfraction and
3020           that fractions always get reduced.
3021
3022 2005-11-20  Wim Taymans  <wim@fluendo.com>
3023
3024         * docs/gst/gstreamer-sections.txt:
3025         * gst/gstbuffer.h:
3026         * gst/gstelement.c:
3027         * gst/gstformat.c:
3028         * gst/gstformat.h:
3029         * gst/gstindex.h:
3030         * gst/gstquery.c:
3031         * gst/gstquery.h:
3032         * gst/gstvalue.c:
3033         Doc fixes.
3034
3035 2005-11-20  Wim Taymans  <wim@fluendo.com>
3036
3037         * docs/design/part-TODO.txt:
3038         * gst/gstcaps.h:
3039         Make a proper enum of the flag.
3040
3041 2005-11-19  Wim Taymans  <wim@fluendo.com>
3042
3043         * docs/design/part-TODO.txt:
3044         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
3045         (gst_format_to_quark), (gst_format_register):
3046         * gst/gstformat.h:
3047         * gst/gstquery.c: (_gst_query_initialize),
3048         (gst_query_type_get_name), (gst_query_type_to_quark),
3049         (gst_query_type_register):
3050         * gst/gstquery.h:
3051         Add type to quark and type to string conversions.
3052
3053 2005-11-19  Andy Wingo  <wingo@pobox.com>
3054
3055         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
3056         #320097.
3057
3058 2005-11-19  Wim Taymans  <wim@fluendo.com>
3059
3060         * docs/design/part-TODO.txt:
3061         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
3062         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
3063         (gst_bin_handle_message_func):
3064         * gst/gstbin.h:
3065         Make message handling overridable.
3066
3067 2005-11-19  Andy Wingo  <wingo@pobox.com>
3068
3069         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
3070
3071         * gst/gstclock.h:
3072         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
3073         be a GstClockTime.
3074         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
3075         is a GstClockTime. Fixes #321710.
3076
3077         * gst/gstclock.h (GstClock): Remove offset property. Add
3078         internal_calibration and external_calibration. Fix padding. Pad
3079         also by GstClockTime so we don't run into problems.
3080
3081         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
3082         (gst_clock_get_rate_offset): Remove.
3083         (gst_clock_set_time_adjust): Remove. Fixes #321712.
3084
3085         * gst/gstutils.h:
3086         * gst/gstutils.c (g_static_rec_cond_wait)
3087         (g_static_rec_cond_timed_wait): Removed, no longer needed.
3088
3089         * gst/gstbin.c: Remove terrible continue_state prototype.
3090
3091         * gst/gstelement.h (gst_element_continue_state): Make public.
3092
3093         * gst/gstelement.h:
3094         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
3095         by continue_state. Fixes #319389.
3096
3097         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
3098         Really fixes #168438. However I don't see anywhere where the
3099         filter function is called... stupid GStreamer...
3100         
3101         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
3102         don't have a dispose function, so it won't get called when the
3103         object is unreffed, but oh well!
3104
3105         * gst/gstindex.c (gst_index_set_filter_full): New API function,
3106         allows a destroy function to be set so user_data can be freed.
3107         Fixes #168438.
3108         (gst_index_set_filter): Call gst_index_set_filter_full.
3109
3110         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
3111
3112         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
3113         string should produce an error, given the lack of a way to
3114         represent NULL strings. Fixes #165650.
3115         
3116         * gst/gstvalue.h: 
3117         * gst/gstvalue.c (gst_value_array_append_value) 
3118         (gst_value_array_prepend_value, gst_value_array_get_size) 
3119         (gst_value_array_get_value): New API, copied from
3120         gst_value_list_*, only operates on arrays.
3121         (gst_value_list_append_value, gst_value_list_prepend_value) 
3122         (gst_value_list_concat, gst_value_list_get_size) 
3123         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
3124
3125         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
3126         init_list, because it works on both.
3127         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
3128         (gst_value_copy_list_or_array): Renamed from copy_list.
3129         (gst_value_free_list_or_array): Renamed from free_list.
3130         (gst_value_collect_list_or_array): Renamed from collect_list.
3131         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
3132         (gst_value_list_or_array_peek_pointer): Renamed from
3133         list_peek_pointer.
3134         (_gst_value_array_value_table, _gst_value_list_value_table):
3135         Update value table functions.
3136         (gst_value_compare_list_or_array): Renamed from compare_list.
3137
3138         * gsttaglist.h: Whoops, foreach function returns void. Also fix
3139         some constness.
3140
3141         * gst/gsttaglist.c:
3142         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
3143         GstTagList*. Fixes #143472.
3144
3145         * gst/gststructure.h: Clarify what the foreach/map functions can
3146         or can't do to their arguments.
3147
3148 2005-11-18  Wim Taymans  <wim@fluendo.com>
3149
3150         * gst/gstclock.c: (gst_clock_set_calibration),
3151         (gst_clock_get_calibration):
3152         Doc and API fixes.
3153         Calibration can be set with internal time equal to current
3154         internal time too.
3155
3156 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3157
3158         * gst/gsterror.c:
3159         * gst/gsterror.h:
3160           document
3161
3162 2005-11-18  Andy Wingo  <wingo@pobox.com>
3163
3164         * configure.ac: 
3165         * pkgconfig/gstreamer-net.pc.in:
3166         * pkgconfig/gstreamer-net-uninstalled.pc.in:
3167         * pkgconfig/Makefile.am: Add net pkgconfig files.
3168
3169 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
3170
3171         * gst/gstcaps.c:
3172         * gst/gstghostpad.c:
3173         * gst/gsttrace.c:
3174         * gst/gstvalue.c:
3175         * gst/gstvalue.h:
3176           docs fixes
3177
3178 2005-11-18  Andy Wingo  <wingo@pobox.com>
3179
3180         * gst/net/gstnetclientclock.c: Turn off debugging.
3181
3182         * check/net/gstnetclientclock.c (test_functioning): Assert that the
3183         times connverge somewhat. Can't make a real test.
3184
3185         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
3186         integer arithmetic. Return the minimum of the domain, which can be
3187         set as "internal" for gst_clock_set_calibration.
3188         (gst_net_client_clock_observe_times): Call _set_calibration.
3189         (gst_net_client_clock_new): Call _set_calibration instead of
3190         rate_offset.
3191
3192         * check/net/gstnetclientclock.c (test_functioning): Use the right
3193         adjustment api.
3194
3195         * gst/gstclock.h:
3196         * gst/gstclock.c (gst_clock_get_calibration) 
3197         (gst_clock_set_calibration): New functions, obsolete the ones I
3198         added yesterday. Doh. Precision issues mean we have to extrapolate
3199         from a point in the more recent past than 1970.
3200         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
3201         obsolete.
3202         (gst_clock_adjust_unlocked): Use the right calibration data.
3203
3204 2005-11-18  Edward Hervey  <edward@fluendo.com>
3205
3206         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
3207         Also reset the ->current_* values in READY->PAUSED
3208
3209 2005-11-18  Andy Wingo  <wingo@pobox.com>
3210
3211         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
3212         Whoops, check the right fd. Also add some debugging.
3213         (gst_net_client_clock_observe_times): Adjust for int64 offset.
3214         (do_linear_regression): Add a crapload of debugging. Subtract off
3215         the minimum values from the input series to discard unneeded bits.
3216         Use only int arithmetic. There is still double arithmetic when
3217         calculating the intercept that needs fixing. Return boolean to
3218         indicate success; FALSE would mean the domain or range is too
3219         great. Still needs fixes.
3220
3221 2005-11-18  Wim Taymans  <wim@fluendo.com>
3222
3223         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3224         For the current position in stream time, we need to subtract
3225         accumulated time.
3226         
3227         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
3228         Release lock before calling the callback function of async
3229         entries.
3230
3231 2005-11-18  Andy Wingo  <wingo@pobox.com>
3232
3233         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
3234         Port goes all the way to MAXUINT16.
3235
3236         * gst/net/gstnettimeprovider.c: Make the port range the same as
3237         for the kernel: 0 assigns, otherwise ports are less than
3238         MAXUINT16.
3239
3240         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
3241         port change.
3242
3243         * check/net/gstnetclientclock.c (test_functioning): Add the start
3244         of another test. 
3245
3246 2005-11-18  Wim Taymans  <wim@fluendo.com>
3247
3248         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3249         (gst_bin_remove_func), (bin_bus_handler):
3250         * gst/gstbin.h:
3251         Removing a clock provider from a bin, triggers a clock lost message
3252         so that a new clock will be selected.
3253         Adding a clock to a bin triggers a clock provider message.
3254         Make sure we reselect a clock when we received a clock lost message.
3255         Keep a reference to the element that provided the clock.
3256
3257 2005-11-18  Andy Wingo  <wingo@pobox.com>
3258
3259         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
3260         the clock initially so it produces values around the base time.
3261         (gst_net_client_clock_class_init): Typo fix.
3262         (gst_net_client_clock_thread): Add note on when the socket gets
3263         closed.
3264
3265 2005-11-17  Wim Taymans  <wim@fluendo.com>
3266
3267         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
3268         Free remote and local time arrays.
3269
3270 2005-11-17  Wim Taymans  <wim@fluendo.com>
3271
3272         * gst/net/gstnetclientclock.c: (do_linear_regression),
3273         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
3274         Fix compilation, uninitialized vars and a forgotten continue.
3275
3276 2005-11-17  Andy Wingo  <wingo@pobox.com>
3277
3278         * check/Makefile.am (check_PROGRAMS): 
3279         * check/net/gstnetclientclock.c: Add a most minimal test for the
3280         net client clock. More to come later.
3281
3282         * gst/net/gstnet.h: 
3283         * gst/net/Makefile.am: Add netclientclock.
3284
3285         * gst/net/gstnetclientclock.h:
3286         * gst/net/gstnetclientclock.c: New files, implement an untested
3287         GstClock that takes its time from a network time provider.
3288         Implements the algorithm in network-clock.scm.
3289
3290         * tests/network-clock.scm (*window-size*): Rename from
3291         *queue-length*.
3292         * tests/network-clock.scm (network-time): 
3293         * tests/network-clock-utils.scm (q-push): Update callers.
3294
3295 2005-11-17  Wim Taymans  <wim@fluendo.com>
3296
3297         * gst/gstbin.c: (gst_bin_provide_clock_func),
3298         (gst_bin_sort_iterator_new):
3299         And unref the child too..
3300
3301 2005-11-17  Wim Taymans  <wim@fluendo.com>
3302
3303         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
3304         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
3305         Refactor the sort iterator so it can be used while holding the
3306         LOCK too.
3307         Make clock selection select a clock closest to the source.
3308
3309 2005-11-17  Michael Smith <msmith@fluendo.com>
3310
3311         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
3312         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
3313         * gst/gstclock.h:
3314           Anonymous structs are a gcc (and some other compilers) extension, so
3315           don't use them. Since this is only for ABI-compatibility, and our
3316           API/ABI freeze is over in a few days, this whole thing will only
3317           last a few days, so don't bother trying to think up a meaningful
3318           name for the struct.
3319
3320 2005-11-17  Andy Wingo  <wingo@pobox.com>
3321
3322         * gst/gstclock.h (GstClock): Add rate and offset properties,
3323         preserving ABI stability. Add rate/offset accessors. Will file bug
3324         for the freeze break.
3325
3326         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
3327         and offset, trying to keep precision and avoiding
3328         underflow/overflow.
3329         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
3330         functions. Make gst_clock_set_time_adjust obsolete.
3331         (gst_clock_set_time_adjust): Note that this function is obsolete.
3332         Will file bug soon.
3333
3334         * gst/base/gstbasetransform.h: Make the ABI-stability hack
3335         greppable by using GST_PADDING-1+1.
3336
3337 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
3338
3339         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
3340
3341         * gst/gstmessage.c: (gst_message_parse_clock_lost):
3342           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
3343
3344         * gst/gstpadtemplate.h:
3345         * gst/gstpluginfeature.h:
3346           Don't use c++ style comments in headers (#321638).
3347
3348 2005-11-16  Andy Wingo  <wingo@pobox.com>
3349
3350         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
3351         buffer.
3352
3353         * check/net/gstnettimeprovider.c: Check to see that the time
3354         provider actually provides times. Works, yo!
3355
3356 2005-11-16  Wim Taymans  <wim@fluendo.com>
3357
3358         * check/Makefile.am:
3359         Enable more tests.
3360
3361         * check/elements/fakesrc.c: (GST_START_TEST):
3362         Set element to NULL before disposing it.
3363
3364 2005-11-16  Andy Wingo  <wingo@pobox.com>
3365
3366         * gst/net/Makefile.am:
3367         * gst/net/gstnet.h:
3368         * gst/net/gstnettimeprovider.c: 
3369         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
3370         provider, include it from gstnet.h, and add it to the build.
3371
3372         * gst/net/gstnettimepacket.h: 
3373         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
3374         sending and receiving.
3375
3376 2005-11-16  Wim Taymans  <wim@fluendo.com>
3377
3378         * check/Makefile.am:
3379         Enable valgrind check.
3380
3381         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
3382         (gst_fake_src_alloc_buffer):
3383         Fix memleak.
3384
3385 2005-11-16  Wim Taymans  <wim@fluendo.com>
3386
3387         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
3388         Call parent finalize too.
3389
3390 2005-11-16  Wim Taymans  <wim@fluendo.com>
3391
3392         * check/Makefile.am:
3393         Enable valgrind check that should work fine now.
3394
3395         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
3396         * gst/gstqueue.c: (gst_queue_init):
3397         Fix memleaks in pad allocation.
3398
3399 2005-11-16  Andy Wingo  <wingo@pobox.com>
3400
3401         * gst/net/Makefile.am:
3402         * gst/net/gstnet.h: New part of core to hold network elements and
3403         objects. Put in core because it exposes API that applications want
3404         to use. The library is named libgstnet-tempname right now because
3405         of the existing libgstnet in gst-plugins-base. Solution is
3406         probably to rename the one in plugins-base; will file a bug for
3407         the freeze break.
3408
3409         * gst/net/gstnettimeprovider.c: 
3410         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
3411         get_time call over the network.
3412
3413         * configure.ac: 
3414         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
3415
3416         * check/Makefile.am:
3417         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
3418         get additions shortly.
3419
3420 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3421
3422         * gst/gstpad.c: (gst_pad_new_from_static_template):
3423         * gst/gstpad.h:
3424           add gst_pad_new_from_static_template functions
3425         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
3426         (gst_check_setup_sink_pad):
3427         * gst/elements/gsttee.c: (gst_tee_init):
3428           and use them
3429
3430 2005-11-16  Wim Taymans  <wim@fluendo.com>
3431
3432         * gst/gstpad.c: (gst_pad_pause_task):
3433         Removed warning, it's not really an error either.
3434
3435 2005-11-16  Wim Taymans  <wim@fluendo.com>
3436
3437         * gst/base/gstbasetransform.c:
3438         (gst_base_transform_prepare_output_buf),
3439         (gst_base_transform_event):
3440         Check if the caps are NULL, this can happen if the element
3441         is shutting down and the pad caps are set to NULL.
3442
3443 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3444
3445         * gst/elements/gsttee.c: (gst_tee_init):
3446           fix pad template leak in tee
3447
3448 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3449
3450         * gst/glib-compat.c: (g_value_dup_gst_object):
3451         * gst/glib-compat.h:
3452         * gst/gstpad.c: (gst_pad_set_property):
3453           use gst_object_ref when setting the pad template; this will
3454           trigger the pad template leaks on GLib 2.6 and the slaves
3455
3456 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3457
3458         * gst/glib-compat.c: (gst_flags_get_first_value):
3459         * gst/glib-compat.h:
3460         * gst/gstregistryxml.c:
3461           remove functions copied from GLib 2.6
3462
3463 2005-11-16  Michael Smith <msmith@fluendo.com>
3464
3465         * gst/Makefile.am:
3466           Don't link against VALGRIND_LIBS. That was always the wrong thing to
3467           do, but only breaks with newer valgrind versions. We're not a
3468           valgrind tool, we have no link-time dependencies on libcoregrind.
3469
3470 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3471
3472         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
3473           some debug changes
3474         * gst/gstmessage.h:
3475           typo fixes
3476
3477 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3478
3479         * gst/base/gstbasesrc.c: (gst_base_src_init):
3480         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
3481         * gst/gstqueue.c: (gst_queue_init):
3482         * gst/gstregistryxml.c: (load_feature):
3483           Revert all these unrefs, they don't even pass make check !
3484
3485 2005-11-15  Johan Dahlin  <johan@gnome.org>
3486
3487         * gst/base/gstbasesrc.c: (gst_base_src_init):
3488         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
3489         * gst/gstqueue.c: (gst_queue_init): 
3490         Free pad templates, fixes a couple of leaks.
3491
3492 2005-11-15  Daniel Fischer  <dan at f3c dot com>
3493
3494         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
3495
3496         * gst/gstpad.c: (gst_pad_get_property):
3497           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
3498           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
3499           (#321452)
3500
3501 2005-11-15  Wim Taymans  <wim@fluendo.com>
3502
3503         * gst/gstevent.c:
3504         Small doc update.
3505
3506 2005-11-15  Andy Wingo  <wingo@pobox.com>
3507
3508         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
3509
3510         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
3511         using GST_CLOCK_TIME_NONE to disable base time management.
3512         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
3513         time if it was NONE before.
3514         (gst_pipeline_change_state): Only munge the base time if
3515         stream_time != GST_CLOCK_TIME_NONE.
3516
3517         * check/gst/gstpipeline.c (test_base_time): Punt around the
3518         problem of the probe not being called, because that's not the
3519         issue I'm looking at. Add a check that setting stream_time to NONE
3520         disables base time management.
3521         
3522 2005-11-15  Wim Taymans  <wim@fluendo.com>
3523
3524         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
3525         segment_stop == -1 at startup.
3526
3527         * gst/base/gstbasetransform.c: (gst_base_transform_event),
3528         (gst_base_transform_change_state):
3529         Init segment values at start.
3530
3531 2005-11-15  Wim Taymans  <wim@fluendo.com>
3532
3533         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3534         0 segment values are 0 in any format.
3535
3536         * gst/base/gstbasetransform.c: (gst_base_transform_event):
3537         * gst/base/gstbasetransform.h:
3538         Parse newsegment correctly in basetransform
3539
3540         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
3541         Sync to clock using updated segment values.
3542
3543 2005-11-15  Andy Wingo  <wingo@pobox.com>
3544
3545         * check/gst/gstpipeline.c (test_base_time): Add check that the
3546         base time and stream time are reset correctly.
3547
3548 2005-11-15  Wim Taymans  <wim@fluendo.com>
3549
3550         * docs/design/part-TODO.txt:
3551         Some more TODO items.
3552
3553 2005-11-15  Andy Wingo  <wingo@pobox.com>
3554
3555         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
3556         error if the user selected "no clock" as the clocking method.
3557
3558         * check/gst/gstpipeline.c (test_base_time): New test for buffer
3559         timestamps with live capture.
3560
3561         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
3562         is 0 but we are a live source, timestamp the buffers using the
3563         element's clock.
3564
3565 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
3566
3567         * docs/gst/gstreamer-sections.txt:
3568         * gst/gsterror.c:
3569         * gst/gstghostpad.c:
3570         * gst/gstobject.h:
3571         * gst/gstxml.c:
3572           more section docs
3573
3574 2005-11-14  Wim Taymans  <wim@fluendo.com>
3575
3576         * common/gst.supp:
3577           add suppressions from Wim's Debian machine
3578
3579 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3580
3581         * common/gst.supp:
3582           add suppressions from Andy's AMD64 Ubuntu machine
3583
3584 2005-11-14  Andy Wingo  <wingo@pobox.com>
3585
3586         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
3587         STATE_LOCK not necessary. Fixes #311489.
3588
3589         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
3590         #305291.
3591
3592         * gst/gstindex.c (gst_index_add_object): Note in the docs that
3593         this function is not implemented.
3594
3595 2005-11-14  Julien MOUTTE  <julien@moutte.net>
3596
3597         * gst/base/gstbasetransform.c:
3598         (gst_base_transform_prepare_output_buf):
3599         Ref the source pad caps while we need them.
3600         Fixes (#321386)
3601
3602 2005-11-11  Wim Taymans  <wim@fluendo.com>
3603
3604         * docs/gst/gstreamer-sections.txt:
3605         Added some docs for GstCollectData.
3606
3607         * gst/base/gstadapter.c:
3608         Some small code example fix.
3609
3610         * gst/base/gstcollectpads.c:
3611         * gst/base/gstcollectpads.h:
3612         Document some more.
3613
3614 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3615
3616         * configure.ac: back to HEAD
3617
3618 === release 0.9.5 ===
3619
3620 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
3621
3622         * configure.ac:
3623           releasing 0.9.5, "Bike Lunch Day"
3624
3625 2005-11-11  Wim Taymans  <wim@fluendo.com>
3626
3627         * gst/gstbuffer.c: (_gst_buffer_copy):
3628         Copy more flags.
3629
3630         * gst/gstcaps.c: (gst_caps_is_equal):
3631         Fix some docs.
3632         Make _is_equal fast in the trivial cases.
3633
3634         * gst/gstminiobject.c:
3635         * gst/gstminiobject.h:
3636         More docs. Spifify .h file.
3637
3638         * gst/gstutils.c:
3639         Small doc update.
3640
3641 2005-11-11  Wim Taymans  <wim@fluendo.com>
3642
3643         * gst/base/gstbasetransform.c:
3644         (gst_base_transform_prepare_output_buf),
3645         (gst_base_transform_handle_buffer):
3646         Small cleanups.
3647         If we're processing a buffer and need to allocate an output
3648         buffer, we cannot accept a format change. If we did get a 
3649         format change, we have to alloc a buffer ourselves of the 
3650         right size.
3651
3652 2005-11-11  Wim Taymans  <wim@fluendo.com>
3653
3654         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
3655         While checking the flag for reentrancy in the gstcaps function
3656         is nice to detect recursive invocations, it also makes it 
3657         impossible to call getcaps from multiple threads, which must be
3658         possible. So, checking for recursive calls has to go.
3659
3660 2005-11-11  Michael Smith <msmith@fluendo.com>
3661
3662         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3663           Don't sync on buffers that fall partially outside our current
3664           segment. Prevents an assertion failure/abort playing some files.
3665
3666 2005-11-10  Andy Wingo  <wingo@pobox.com>
3667
3668         * check/gst/gstbin.c (test_message_state_changed_children): Style
3669         fix..
3670
3671         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
3672         gst_bus_poll with the signal watch. Ensures that poll and a signal
3673         watch see the same messages.
3674
3675         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
3676         a poll and a watch at the same time get the same messages.
3677
3678 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3679
3680         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
3681         * gst/gstcaps.c: (gst_caps_intersect):
3682           Don't call gst_caps_do_simplify - it doesn't respect order of caps
3683           and it's not needed.
3684
3685 2005-11-10  Wim Taymans  <wim@fluendo.com>
3686
3687         * docs/design/part-TODO.txt:
3688         Updated todo.
3689
3690 2005-11-10  Wim Taymans  <wim@fluendo.com>
3691
3692         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3693         * gst/base/gstbasesrc.c: (gst_base_src_wait),
3694         (gst_base_src_do_sync), (gst_base_src_get_range):
3695         Implement clock sync in base class.
3696
3697 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3698
3699         patch by: Tim-Philipp Müller <tim at centricular dot net>
3700
3701         * gst/gststructure.c: (gst_structure_parse_field),
3702         (gst_structure_from_string):
3703           Forward-port a 0.8 patch to handle escaped spaces in structure string,
3704           so that gst_parse_launch() can deal with spaces in filtered link
3705           caps (fixes #164479)
3706         * check/gst/capslist.h:
3707         * check/gst/gststructure.c: (GST_START_TEST):
3708           add unit tests for this change
3709
3710 2005-11-10  Wim Taymans  <wim@fluendo.com>
3711
3712         * docs/gst/gstreamer-sections.txt:
3713         * gst/gstelement.c:
3714         * gst/gstelement.h:
3715         Fix docs, move some STATE macros to private.
3716
3717 2005-11-10  Wim Taymans  <wim@fluendo.com>
3718
3719         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3720         Added check for bug #317341
3721
3722         * gst/gstbuffer.c:
3723         * gst/gstbuffer.h:
3724         Some more spiffifying.
3725
3726         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
3727         Call peer linkfunction if we are a source pad. Totally fixes
3728         #317341
3729
3730         * gst/gstpad.c:
3731         Update docs, source pads should call the peer linkfunction
3732         so they can atomically perform the pad link.
3733
3734 2005-11-09  Wim Taymans  <wim@fluendo.com>
3735
3736         * gst/gstbuffer.c:
3737         * gst/gstbuffer.h:
3738         Uber-spiffy-spiffify some more.
3739
3740 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
3741
3742         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
3743         * gst/elements/gstfilesink.c: (gst_file_sink_init):
3744         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
3745         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
3746         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
3747         * gst/gstpad.c: (gst_pad_init):
3748           Use GST_DEBUG_FUNCPTR() more extensively.
3749
3750 2005-11-09  Wim Taymans  <wim@fluendo.com>
3751
3752         * gst/gstobject.c: (gst_object_class_init):
3753         * gst/gstobject.h:
3754         Documentation fixes.
3755
3756 2005-11-09  Edward Hervey  <edward@fluendo.com>
3757
3758         * gst/gsttypefindfactory.c:
3759         Fix docs.
3760         
3761 2005-11-09  Edward Hervey  <edward@fluendo.com>
3762
3763         * gst/base/gsttypefindhelper.c:
3764         * gst/gsttypefind.c:
3765         * gst/gsttypefind.h:
3766         Fix docs.
3767
3768 2005-11-09  Wim Taymans  <wim@fluendo.com>
3769
3770         * gst/gstiterator.c:
3771         Fix revision data.
3772
3773         * gst/gsttask.c:
3774         * gst/gsttask.h:
3775         Fix docs.
3776
3777 2005-11-09  Wim Taymans  <wim@fluendo.com>
3778
3779         * gst/gstevent.h:
3780         * gst/gsturi.h:
3781         Fix docs.
3782
3783 2005-11-09  Wim Taymans  <wim@fluendo.com>
3784
3785         * docs/gst/gstreamer-sections.txt:
3786         Moved the message async delivery private lock and cond
3787         to the private section.
3788
3789         * gst/gstmessage.c:
3790         * gst/gstmessage.h:
3791         Fixed docs.
3792
3793 2005-11-09  Edward Hervey  <edward@fluendo.com>
3794
3795         * docs/gst/gstreamer-sections.txt:
3796         * gst/gsturi.c:
3797         * gst/gsturi.h:
3798         Document GstURIHandler
3799
3800 2005-11-09  Wim Taymans  <wim@fluendo.com>
3801
3802         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
3803         (gst_iterator_find_custom):
3804         * gst/gstiterator.h:
3805         Fix iterator docs.
3806
3807 2005-11-09  Wim Taymans  <wim@fluendo.com>
3808
3809         * gst/gstbin.h:
3810         Document another field.
3811
3812         * gst/gststructure.c:
3813         * gst/gststructure.h:
3814         Document.
3815
3816 2005-11-09  Wim Taymans  <wim@fluendo.com>
3817
3818         * gst/gstbin.h:
3819         Documented structs.
3820
3821 2005-11-09  Wim Taymans  <wim@fluendo.com>
3822
3823         * docs/gst/gstreamer-sections.txt:
3824         Added some new macros.
3825
3826         * gst/gstclock.c:
3827         * gst/gstclock.h:
3828         * gst/gstobject.h:
3829         Docs updates.
3830
3831 2005-11-09  Wim Taymans  <wim@fluendo.com>
3832
3833         * docs/design/part-TODO.txt:
3834         Some more items for the TODO
3835
3836         * gst/gstcaps.c:
3837         * gst/gstcaps.h:
3838         Document GstCaps.
3839
3840 2005-11-09  Andy Wingo  <wingo@pobox.com>
3841
3842         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
3843         to work on something else now tho...
3844
3845         * gst/base/gstadapter.c: More adapter docs.
3846
3847         * gst/elements/gstfilesink.c (gst_file_sink_start) 
3848         (gst_file_sink_stop): New functions, replace the state change
3849         handler.
3850         (gst_file_sink_class_init): Hook up the start and stop functions.
3851         (gst_file_sink_base_init): Don't set the state change handler any
3852         more. It was a bit ugly too, being set from here...
3853         (gst_file_sink_get_property, gst_file_sink_set_property):
3854         Cleanups...
3855         (gst_file_sink_set_location): More robust check that doesn't call
3856         GST_STATE. Ugggggg.
3857
3858 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
3859
3860         * gst/base/gstbasetransform.c: (gst_base_transform_event):
3861           Hold STREAM_LOCK while pushing newsegment or tag events as well.
3862
3863 2005-11-08  Wim Taymans  <wim@fluendo.com>
3864
3865         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
3866         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
3867         (gst_base_sink_chain), (gst_base_sink_change_state):
3868         * gst/base/gstbasesink.h:
3869         * gst/base/gstbasesrc.h:
3870         * gst/gstelement.h:
3871         * gst/gstevent.h:
3872         Avoid excessive typechecking in macros.
3873
3874         * gst/gstminiobject.c: (gst_mini_object_get_type),
3875         (gst_mini_object_init), (gst_mini_object_new),
3876         (gst_mini_object_free):
3877         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
3878         (gst_object_finalize):
3879         Remove cruft code, optimize alloc_trace.
3880
3881 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
3882
3883         * docs/faq/gst-uninstalled:
3884           fix up PS1 for systems that try to reset it
3885
3886 2005-11-07  Wim Taymans  <wim@fluendo.com>
3887
3888         * gst/base/gstbasesrc.c: (gst_base_src_init),
3889         (gst_base_src_get_range):
3890         Set the segment_end to -1 initially. Fixed typefind.
3891
3892 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
3893
3894         * gst/base/gstadapter.c:
3895           Debug category should be 'adapter', not 'GstAdapter'.
3896           
3897         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
3898         (gst_collectpads_class_init), (gst_collectpads_init),
3899         (gst_collectpads_peek), (gst_collectpads_pop),
3900         (gst_collectpads_event), (gst_collectpads_chain):
3901           Add debug category and some debugging output. Use boilerplate
3902           macros. Remove some extraneous words from docs.
3903
3904 2005-11-05  Andy Wingo  <wingo@pobox.com>
3905
3906         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
3907         macro.
3908
3909 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
3910
3911         * docs/gst/gstreamer-sections.txt:
3912         * gst/gstcaps.h:
3913         * gst/gstinfo.c:
3914         * gst/gstminiobject.h:
3915         * gst/gstobject.h:
3916         * gst/gstutils.h:
3917           more docs added
3918
3919 2005-11-04  Wim Taymans  <wim@fluendo.com>
3920
3921         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3922         Small update to stop at the configured segment_end
3923         position.
3924
3925 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
3926
3927         * gst/gstregistry.c:
3928         * gst/gstregistry.h:
3929           added missing docs
3930
3931 2005-11-04  Edward Hervey  <edward@fluendo.com>
3932
3933         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3934         Check if we are doing a segment seek and have arrived at the
3935         end of that segment.
3936
3937 2005-11-04  Wim Taymans  <wim@fluendo.com>
3938
3939         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
3940         Don't leak a mutex unlock in case of an error.
3941
3942         * gst/gstbus.h:
3943         Doc fixes.
3944
3945 2005-11-04  Wim Taymans  <wim@fluendo.com>
3946
3947         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
3948         (gst_bus_post):
3949         Get the context to wake up only once.
3950
3951 2005-11-03  Wim Taymans  <wim@fluendo.com>
3952
3953         * check/states/sinks.c: (GST_START_TEST):
3954         Uncomment fixed check.
3955
3956         * docs/design/part-TODO.txt:
3957         Updated TODO.
3958
3959         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3960         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3961         (gst_base_sink_get_position):
3962         If we are going to PLAYING, post the right pending state
3963         when we post the intermediate paused message.
3964
3965         * gst/gstelement.c: (gst_element_continue_state),
3966         (gst_element_set_state_func), (gst_element_change_state):
3967         Don't post state changes that were between the same state
3968         and were not ASYNC.
3969
3970 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
3971
3972         * docs/gst/gstreamer-sections.txt:
3973         * gst/gstcaps.h:
3974         * gst/gstinfo.c:
3975         * gst/gstminiobject.h:
3976         * gst/gstobject.h:
3977         * gst/gstutils.h:
3978           more docs and doc style fixes
3979
3980 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
3981
3982         * docs/gst/gstreamer-sections.txt:
3983         * gst/gstelement.c:
3984         * gst/gstminiobject.c:
3985         doc fixes
3986
3987 2005-11-03  Andy Wingo  <wingo@pobox.com>
3988
3989         * check/states/sinks.c (test_livesrc_sink): Add checks that the
3990         state-changed messages actually have the right order and the right
3991         values.
3992
3993 2005-11-03  Wim Taymans  <wim@fluendo.com>
3994
3995         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3996         Added some more checks. Specifically the case where NO_PREROLL
3997         elements are in the pipeline.
3998
3999         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4000         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
4001         (gst_base_sink_get_position):
4002         Post READY->PAUSED state change messages too.
4003         Fix bug where VOID was posted as pending state...
4004
4005         * gst/gstbin.c: (gst_bin_recalc_state):
4006         use _element_continue_state() to continue the state change.
4007
4008         * gst/gstelement.c: (gst_element_continue_state),
4009         (gst_element_commit_state), (gst_element_set_state_func),
4010         (gst_element_change_state), (gst_element_change_state_func):
4011         Lots of state change cleanups, assign the STATE_RETURN in
4012         a new continue_state() function that also propagates the
4013         last return value from a state change to the app.
4014         Update some debug statements with proper category.
4015
4016 2005-11-03  Wim Taymans  <wim@fluendo.com>
4017
4018         * docs/design/part-events.txt:
4019         * docs/design/part-gstpipeline.txt:
4020         * docs/design/part-messages.txt:
4021         * docs/design/part-overview.txt:
4022         * docs/design/part-seeking.txt:
4023         * docs/design/part-states.txt:
4024         * docs/design/part-trickmodes.txt:
4025         * docs/manual/advanced-position.xml:
4026         Small docs updates.
4027
4028         * gst/gstobject.h:
4029         People think !! is ugly, this looks better.
4030
4031         * gst/gstpad.c: (gst_pad_set_blocked_async):
4032         Remove !! since it's fixed elsewhere now.
4033
4034 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
4035
4036         * gst/gstminiobject.h:
4037         * gst/gstobject.h:
4038           Add !! to _FLAG_IS_SET macros to make the result boolean.
4039
4040 2005-11-03  Edward Hervey  <edward@fluendo.com>
4041
4042         * gst/gstpad.c: (gst_pad_set_blocked_async):
4043         comparing a flag and a gboolean rarely returns coherent results...
4044         Added two characters (!!) to make that work correctly.
4045         
4046 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
4047
4048         * gst/gstbus.c: (gst_bus_class_init):
4049           Fix some typos.
4050           
4051         * gst/gstqueue.c: (gst_queue_loop):
4052           Don't assume a miniobject that isn't a buffer is an
4053           event (it could be that there is a refcounting
4054           problem somewhere and the pointer is stale and
4055           refers to an already destroyed miniobject).
4056
4057 2005-11-03  Julien MOUTTE  <julien@moutte.net>
4058
4059         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
4060
4061 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
4062
4063         * docs/manual/advanced-position.xml:
4064           Update seek example and explanations to current 0.9 API.
4065
4066         * gst/elements/gsttypefindelement.c:
4067         (gst_type_find_element_activate):
4068           Remove FIXME comment now that the found caps
4069           are unreffed.
4070
4071 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4072
4073         * gst/gstregistryxml.c: (load_feature):
4074           Add another GST_STR_NULL instance
4075
4076 2005-11-02  Edward Hervey  <edward@fluendo.com>
4077
4078         * gst/gstpad.c: (handle_pad_block):
4079         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
4080         
4081 2005-11-02  Wim Taymans  <wim@fluendo.com>
4082
4083         * gst/gstbin.c:
4084         Fix typo in docs.
4085
4086         * gst/gstelement.c: (gst_element_commit_state):
4087         Remove unused value.
4088
4089         * gst/gstiterator.c:
4090         Mention that the returned element is reffed in the docs.
4091
4092 2005-11-02  Wim Taymans  <wim@fluendo.com>
4093
4094         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
4095         (gst_pad_push), (gst_pad_push_event):
4096         Unlock blocked pads when they are flushed.
4097
4098 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4099
4100         * docs/README:
4101         * docs/gst/gstreamer-sections.txt:
4102         * gst/gstbin.c:
4103           doc updates
4104         * gst/gstregistry.c: (gst_registry_scan_path_level):
4105           fix for a nasty little missed situation where an installed plug-in
4106           which was in the cache did not get overridden by an uninstalled one
4107           which was earlier in the plugin path because the newly created plugin
4108           for the uninstalled one (not in the registry) didn't get its
4109           ->registered set to TRUE
4110
4111 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4112
4113         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
4114         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
4115         (gst_collectpads_is_active), (gst_collectpads_collect),
4116         (gst_collectpads_collect_range), (gst_collectpads_start),
4117         (gst_collectpads_stop), (gst_collectpads_peek),
4118         (gst_collectpads_pop), (gst_collectpads_available),
4119         (gst_collectpads_read), (gst_collectpads_flush):
4120           Guard public API with assertions.
4121         
4122         * gst/gstpad.c:
4123           Fix docs for gst_pad_set_link_function().
4124
4125 2005-11-02  Johan Dahlin  <johan@gnome.org>
4126
4127         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
4128         Unref found_caps after we used it.
4129
4130 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4131
4132         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
4133           Don't try to ref NULL.
4134
4135 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4136
4137         * win32/common/config.h.in:
4138           provide a GST_FUNCTION that just gives a string for now
4139
4140 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4141
4142         * win32/common/gstenumtypes.c: (register_gst_object_flags),
4143         (gst_object_flags_get_type), (register_gst_bin_flags),
4144         (gst_bin_flags_get_type), (register_gst_buffer_flag),
4145         (gst_buffer_flag_get_type), (register_gst_bus_flags),
4146         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
4147         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
4148         (gst_clock_return_get_type), (register_gst_clock_entry_type),
4149         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
4150         (gst_clock_flags_get_type), (register_gst_state),
4151         (gst_state_get_type), (register_gst_state_change_return),
4152         (gst_state_change_return_get_type), (register_gst_state_change),
4153         (gst_state_change_get_type), (register_gst_element_flags),
4154         (gst_element_flags_get_type), (register_gst_core_error),
4155         (gst_core_error_get_type), (register_gst_library_error),
4156         (gst_library_error_get_type), (register_gst_resource_error),
4157         (gst_resource_error_get_type), (register_gst_stream_error),
4158         (gst_stream_error_get_type), (register_gst_event_type),
4159         (gst_event_type_get_type), (register_gst_seek_type),
4160         (gst_seek_type_get_type), (register_gst_seek_flags),
4161         (gst_seek_flags_get_type), (register_gst_format),
4162         (gst_format_get_type), (register_gst_index_certainty),
4163         (gst_index_certainty_get_type), (register_gst_index_entry_type),
4164         (gst_index_entry_type_get_type),
4165         (register_gst_index_lookup_method),
4166         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
4167         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
4168         (gst_index_resolver_method_get_type), (register_gst_index_flags),
4169         (gst_index_flags_get_type), (register_gst_debug_level),
4170         (gst_debug_level_get_type), (register_gst_debug_color_flags),
4171         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
4172         (gst_iterator_result_get_type), (register_gst_iterator_item),
4173         (gst_iterator_item_get_type), (register_gst_message_type),
4174         (gst_message_type_get_type), (register_gst_mini_object_flags),
4175         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
4176         (gst_pad_link_return_get_type), (register_gst_flow_return),
4177         (gst_flow_return_get_type), (register_gst_activate_mode),
4178         (gst_activate_mode_get_type), (register_gst_pad_direction),
4179         (gst_pad_direction_get_type), (register_gst_pad_flags),
4180         (gst_pad_flags_get_type), (register_gst_pad_presence),
4181         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
4182         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
4183         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
4184         (gst_plugin_error_get_type), (register_gst_plugin_flags),
4185         (gst_plugin_flags_get_type), (register_gst_rank),
4186         (gst_rank_get_type), (register_gst_query_type),
4187         (gst_query_type_get_type), (register_gst_tag_merge_mode),
4188         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
4189         (gst_tag_flag_get_type), (register_gst_task_state),
4190         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
4191         (gst_alloc_trace_flags_get_type),
4192         (register_gst_type_find_probability),
4193         (gst_type_find_probability_get_type), (register_gst_uri_type),
4194         (gst_uri_type_get_type), (register_gst_parse_error),
4195         (gst_parse_error_get_type):
4196         * win32/common/gstversion.h:
4197           update win32 copies
4198
4199 2005-11-01  Luca Ognibene  <luogni@tin.it>
4200
4201         * gst/gst.c:
4202           fix docs. popt is dead, long live GOption.
4203
4204 2005-10-31  Wim Taymans  <wim@fluendo.com>
4205
4206         * gst/gstbuffer.h:
4207         Small doc fix.
4208
4209 2005-10-31  Andy Wingo  <wingo@pobox.com>
4210
4211         * Boo!
4212
4213         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
4214
4215         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
4216         need to serialize property notifications on GLib 2.8. GLib 2.6 has
4217         the possibility of deadlocks here if code calling notify() or
4218         set() has a lock that can be taken in another notify handler (ABBA
4219         with class lock and e.g. python GIL state lock).
4220
4221 2005-10-28  Julien MOUTTE  <julien@moutte.net>
4222
4223         * gst/gstbus.c: Doc updates.
4224
4225 2005-10-28  Wim Taymans  <wim@fluendo.com>
4226
4227         * docs/design/part-TODO.txt:
4228         * gst/gstiterator.c:
4229         * gst/gstsystemclock.c:
4230         * gst/gstsystemclock.h:
4231         Doc updates.
4232
4233 2005-10-28  Edward Hervey  <edward@fluendo.com>
4234
4235         * docs/gst/gstreamer-docs.sgml:
4236         * docs/gst/gstreamer-sections.txt:
4237         the GstURIType documentation page is private, it only defines GstURIType
4238         which should be defined in the GstURIHandler page
4239         
4240 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4241
4242         * gst/gstbin.c: (gst_bin_class_init):
4243         * gst/gstbin.h:
4244         * gst/gstutils.c:
4245         Documentation updates.
4246
4247 2005-10-28  Wim Taymans  <wim@fluendo.com>
4248
4249         * docs/gst/gstreamer-sections.txt:
4250         * gst/gstclock.c:
4251         * gst/gstclock.h:
4252         Documented the clocks.
4253
4254 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
4255
4256         * docs/gst/gstreamer-sections.txt:
4257           move some macros to private sections
4258         * gst/gstminiobject.c:
4259         * gst/gstminiobject.h:
4260           add descriptions provided by ds and some more
4261         * gst/gstpad.h:
4262           mark macro as to be removed
4263
4264 2005-10-28  Wim Taymans  <wim@fluendo.com>
4265
4266         * docs/design/part-TODO.txt:
4267         Add an item to TODO.
4268
4269         * gst/gstiterator.c: (gst_iterator_fold),
4270         (gst_iterator_find_custom):
4271         * gst/gstiterator.h:
4272         Add iterator docs.
4273
4274 2005-10-28  Wim Taymans  <wim@fluendo.com>
4275
4276         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
4277         (gst_base_transform_init):
4278         Don't leak class.
4279
4280         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
4281         An EOS event marks the queue as completely filled.
4282
4283 2005-10-27  Wim Taymans  <wim@fluendo.com>
4284
4285         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4286         (gst_base_sink_do_sync), (gst_base_sink_get_position):
4287         Some more debugging.
4288
4289         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
4290         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
4291         (gst_base_transform_event), (gst_base_transform_getrange),
4292         (gst_base_transform_chain):
4293         * gst/base/gstbasetransform.h:
4294         Fix debugging,
4295         Protect transform and concurrent buffer alloc with a new lock.
4296         Try not to break ABI/API.
4297
4298 2005-10-27  Wim Taymans  <wim@fluendo.com>
4299
4300         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4301         (gst_base_src_init), (gst_base_src_query),
4302         (gst_base_src_default_newsegment),
4303         (gst_base_src_configure_segment), (gst_base_src_do_seek),
4304         (gst_base_src_send_event), (gst_base_src_event_handler),
4305         (gst_base_src_pad_get_range), (gst_base_src_loop),
4306         (gst_base_src_unlock), (gst_base_src_default_negotiate),
4307         (gst_base_src_start), (gst_base_src_deactivate),
4308         (gst_base_src_activate_push), (gst_base_src_change_state):
4309         Move some stuff around and cleanup things.
4310
4311 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
4312
4313         * gst/base/gstbasesrc.c: (gst_base_src_query):
4314           Add missing break statements.
4315
4316 2005-10-27  Wim Taymans  <wim@fluendo.com>
4317
4318         * check/gst/gstbin.c: (GST_START_TEST):
4319         An extra refcount is taken in basesrc.
4320
4321         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
4322         (gst_base_src_get_range), (gst_base_src_pad_get_range),
4323         (gst_base_src_loop):
4324         Small cleanups, check for flushing after being unlocked from the 
4325         LIVE_LOCK. take refcounts correctly (not yet everywhere).
4326         Don't send out EOS when going to READY.
4327
4328 2005-10-27  Wim Taymans  <wim@fluendo.com>
4329
4330         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4331         (gst_base_sink_get_position):
4332         Some more debug.
4333
4334         * gst/gstbin.c: (message_check), (bin_replace_message),
4335         (bin_remove_messages), (is_eos), (gst_bin_add_func),
4336         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
4337         (bin_query_duration_init), (bin_query_duration_fold),
4338         (bin_query_duration_done), (bin_query_generic_fold),
4339         (gst_bin_query):
4340         * tools/gst-launch.c: (main):
4341         Remove old option.
4342
4343 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
4344
4345         * examples/controller/audio-example.c: (main):
4346         * examples/queue/queue.c: (event_loop):
4347         * gst/base/gstbasetransform.h:
4348         * gst/gstelement.c: (gst_element_send_event):
4349         * gst/gstevent.h:
4350         * gst/gstpad.c: (gst_pad_send_event):
4351           fixing examples
4352           fixing docs typos
4353           changing log priority in error situations
4354
4355 2005-10-25  Wim Taymans  <wim@fluendo.com>
4356
4357         * gst/gstbin.c: (message_check), (bin_replace_message),
4358         (bin_remove_messages), (is_eos), (gst_bin_add_func),
4359         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
4360         (bin_query_duration_init), (bin_query_duration_fold),
4361         (bin_query_duration_done), (bin_query_generic_fold),
4362         (gst_bin_query):
4363         Some doc and debug updates.
4364         Cache previously requested query DURATION for speed. invalidate
4365         cached duration if element posts a DURATION message.
4366
4367 2005-10-25  Wim Taymans  <wim@fluendo.com>
4368
4369         * docs/design/part-TODO.txt:
4370         Update TODO.
4371
4372         * gst/gstbin.c: (message_check), (bin_replace_message),
4373         (bin_remove_messages), (is_eos), (gst_bin_add_func),
4374         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
4375         (bin_query_duration_init), (bin_query_duration_fold),
4376         (bin_query_duration_done), (bin_query_generic_fold),
4377         (gst_bin_query):
4378         Handle SEGMENT_START/DONE messages correctly.
4379         More evolved query algorithm that handles duration queries
4380         correctly.
4381
4382         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
4383         (gst_element_get_state_func), (gst_element_abort_state),
4384         (gst_element_commit_state), (gst_element_lost_state):
4385         Some more debugging.
4386
4387         * gst/gstmessage.h:
4388         Added doc.
4389
4390 2005-10-25  Wim Taymans  <wim@fluendo.com>
4391
4392         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
4393         Don't use invalid stream_time.
4394
4395         * gst/gstevent.c: (gst_event_new_newsegment):
4396         stream_time in newsegment cannot be undefined.
4397
4398 2005-10-24  Wim Taymans  <wim@fluendo.com>
4399
4400         * gst/gstbus.c:
4401         Doc fix.
4402
4403         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
4404         (gst_queue_loop):
4405         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
4406
4407 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
4408
4409         * docs/libs/tmpl/gstdparam.sgml:
4410         * docs/libs/tmpl/gstdplinint.sgml:
4411         * docs/libs/tmpl/gstdpman.sgml:
4412         * docs/libs/tmpl/gstdpsmooth.sgml:
4413         * docs/libs/tmpl/gstunitconvert.sgml:
4414           these are obsolete
4415
4416 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
4417
4418         * configure.ac:
4419           back to HEAD
4420
4421 === release 0.9.4 ===
4422
4423 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4424
4425         * configure.ac:
4426           releasing 0.9.4, "Tyrannosaurus Rex"
4427
4428 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
4429
4430         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4431         (gst_file_sink_get_current_offset):
4432           Use fseeko() and ftello() if available. When falling back on
4433           lseek() to get the current offset, fflush() first to make sure
4434           everything is up-to-date and we get the right offset.
4435
4436 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4437
4438         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4439         * gst/base/gstbasesrc.c: (gst_base_src_loop):
4440         * gst/gsterror.c: (_gst_stream_errors_init):
4441         * gst/gsterror.h:
4442         * gst/gstqueue.c: (gst_queue_loop):
4443         * po/POTFILES.in:
4444           remove prematurely added error category and clean up the instances
4445
4446 2005-10-21  Wim Taymans  <wim@fluendo.com>
4447
4448         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4449         (gst_base_sink_get_position), (gst_base_sink_query),
4450         (gst_base_sink_change_state):
4451         Simply set the right flag when going to playing, that's all
4452         we need to do instead of calling a function inside the object
4453         lock (that could take the lock as well and deadlock)
4454
4455 2005-10-21  Wim Taymans  <wim@fluendo.com>
4456
4457         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
4458         (gst_base_src_loop):
4459         Don't warn, the peer element knows what to do best when
4460         the seek failed, it might try something else.
4461
4462 2005-10-21  Wim Taymans  <wim@fluendo.com>
4463
4464         * gst/base/gstbasesrc.c: (gst_base_src_init),
4465         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
4466         Fix seeking.
4467
4468 2005-10-21  Wim Taymans  <wim@fluendo.com>
4469
4470         * docs/design/part-segments.txt:
4471         More docs.
4472
4473         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
4474         Correctly set caps, even on the subbufer.
4475
4476 2005-10-21  Wim Taymans  <wim@fluendo.com>
4477
4478         * docs/gst/gstreamer-docs.sgml:
4479         * docs/gst/gstreamer-sections.txt:
4480         * gst/gstelement.h:
4481         * gst/gstevent.c:
4482         * gst/gstevent.h:
4483         * gst/gstmessage.h:
4484         * gst/gstpad.h:
4485         * gst/gstparse.h:
4486         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
4487         * gst/gsttask.h:
4488         * gst/gstutils.c:
4489         * gst/gstutils.h:
4490         And 2% more doc coverage.
4491
4492 2005-10-21  Andy Wingo  <wingo@pobox.com>
4493
4494         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
4495         position reporting.
4496
4497 2005-10-20  Wim Taymans  <wim@fluendo.com>
4498
4499         * gst/gsterror.c: (gst_error_get_message):
4500         * gst/gstparse.h:
4501         * gst/gstquery.h:
4502         * gst/gststructure.c:
4503         * gst/gsttrace.c:
4504         * gst/gstutils.c:
4505         More docs.
4506
4507 2005-10-20  Wim Taymans  <wim@fluendo.com>
4508
4509         * gst/gstbuffer.h:
4510         * gst/gstpad.c:
4511         * gst/gstparse.c:
4512         Another 1% more coverage.
4513
4514 2005-10-20  Wim Taymans  <wim@fluendo.com>
4515
4516         * docs/gst/gstreamer-sections.txt:
4517         * gst/gstelement.c: (gst_element_get_state_func),
4518         (gst_element_abort_state), (gst_element_commit_state),
4519         (gst_element_lost_state):
4520         * gst/gstevent.h:
4521         * gst/gstquery.c: (gst_query_set_position),
4522         (gst_query_parse_position), (gst_query_set_duration),
4523         (gst_query_parse_duration), (gst_query_new_convert):
4524         * gst/gstutils.c:
4525         Yay! 1% more docs coverage.
4526
4527 2005-10-20  Wim Taymans  <wim@fluendo.com>
4528
4529         * gst/gstpad.h:
4530         * gst/gstquery.c: (gst_query_set_position),
4531         (gst_query_parse_position), (gst_query_set_duration),
4532         (gst_query_parse_duration), (gst_query_new_convert):
4533         * gst/gstquery.h:
4534         * gst/gstutils.c: (gst_element_query_convert):
4535         * gst/gstutils.h:
4536         Docs and consistency fixes.
4537
4538 2005-10-20  Wim Taymans  <wim@fluendo.com>
4539
4540         * gst/gsttask.c:
4541         * gst/gsttask.h:
4542         More docs.
4543
4544 2005-10-20  Wim Taymans  <wim@fluendo.com>
4545
4546         * gst/gstbin.c: (message_check), (bin_replace_message),
4547         (bin_remove_messages), (is_eos), (gst_bin_add_func),
4548         (update_degree), (gst_bin_sort_iterator_next),
4549         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
4550         Reworked the message handling a bit, cache the messages instead of
4551         only the senders. alows us to do more in the future.
4552
4553 2005-10-20  Wim Taymans  <wim@fluendo.com>
4554
4555         * docs/design/part-TODO.txt:
4556         Update TODO
4557
4558         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
4559         (gst_base_sink_query):
4560         Don't use clock time to report position when in EOS.
4561
4562 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
4563
4564         * tools/gst-inspect.c: (print_interfaces),
4565         (print_element_properties_info), (print_element_info):
4566           Fix interface output with gst-inspect -a; don't print
4567           newlines after double/float properties.
4568
4569 2005-10-20  Wim Taymans  <wim@fluendo.com>
4570
4571         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
4572         (gst_base_sink_query):
4573         Speed up current position calculation.
4574
4575         * gst/base/gstbasesrc.c: (gst_base_src_query),
4576         (gst_base_src_default_newsegment):
4577         Correctly set stream position in newsegment.
4578
4579         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
4580         (update_degree), (gst_bin_sort_iterator_next),
4581         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
4582         * gst/gstmessage.c: (gst_message_new_custom):
4583         Clean up debugging info
4584
4585         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
4586         (gst_queue_loop), (gst_queue_handle_src_query):
4587         Pause task faster.
4588
4589 2005-10-19  Wim Taymans  <wim@fluendo.com>
4590
4591         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4592         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
4593         Fix query handling again.
4594
4595 2005-10-19  Wim Taymans  <wim@fluendo.com>
4596
4597         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4598         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
4599         * gst/base/gstbasesrc.c: (gst_base_src_query):
4600         * gst/elements/gstfilesink.c: (gst_file_sink_query):
4601         * gst/elements/gsttypefindelement.c:
4602         (gst_type_find_handle_src_query), (find_element_get_length),
4603         (gst_type_find_element_activate):
4604         API change fix.
4605
4606         * gst/gstquery.c: (gst_query_new_position),
4607         (gst_query_set_position), (gst_query_parse_position),
4608         (gst_query_new_duration), (gst_query_set_duration),
4609         (gst_query_parse_duration), (gst_query_set_segment),
4610         (gst_query_parse_segment):
4611         * gst/gstquery.h:
4612         Bundling query position/duration is not a good idea since duration
4613         does not change much and we don't want to recalculate it for every
4614         position query, so they are separated again..
4615         Base value in segment query is not needed.
4616
4617         * gst/gstqueue.c: (gst_queue_handle_src_query):
4618         * gst/gstutils.c: (gst_element_query_position),
4619         (gst_element_query_duration), (gst_pad_query_position),
4620         (gst_pad_query_duration):
4621         * gst/gstutils.h:
4622         Updates for query API change.
4623         Added some docs here and there.
4624
4625 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
4626
4627         * check/gst/gstbin.c: (GST_START_TEST):
4628         * check/gst/gstghostpad.c: (GST_START_TEST):
4629         * check/pipelines/cleanup.c: (GST_START_TEST):
4630           wait on thread to die so we can check refcount correctly
4631
4632 2005-10-18  Wim Taymans  <wim@fluendo.com>
4633
4634         * check/pipelines/stress.c: (GST_START_TEST):
4635         Make check a little more time consuming.
4636
4637 2005-10-18  Wim Taymans  <wim@fluendo.com>
4638
4639         * check/Makefile.am:
4640         * check/pipelines/stress.c: (GST_START_TEST),
4641         (simple_launch_lines_suite), (main):
4642         Small state change torture test.
4643
4644         * docs/design/part-states.txt:
4645         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4646         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
4647         (gst_base_sink_change_state):
4648         Never take state lock from streaming thread, clean up ugly
4649         hacks. Unfortunatly core does not yet support nice ways to
4650         async commit state.
4651         
4652         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
4653         (bin_bus_handler):
4654         Start state recalc if a STATE_DIRTY message is posted, but only
4655         on the toplevel bin.
4656
4657         * gst/gstelement.c: (gst_element_sync_state_with_parent),
4658         (gst_element_get_state_func), (gst_element_abort_state),
4659         (gst_element_commit_state), (gst_element_lost_state),
4660         (gst_element_set_state_func), (gst_element_change_state):
4661         * gst/gstelement.h:
4662         State variables are now protected with the LOCK, the state
4663         lock is only used to serialize _set_state().
4664
4665 2005-10-18  Wim Taymans  <wim@fluendo.com>
4666
4667         * check/gst/gstbin.c: (GST_START_TEST):
4668         * check/gst/gstmessage.c: (GST_START_TEST):
4669         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4670         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
4671         (bin_bus_handler):
4672         * gst/gstelement.c: (gst_element_abort_state),
4673         (gst_element_commit_state), (gst_element_lost_state):
4674         * gst/gstmessage.c: (gst_message_new_state_changed),
4675         (gst_message_new_state_dirty), (gst_message_new_segment_start),
4676         (gst_message_new_segment_done), (gst_message_new_duration),
4677         (gst_message_parse_state_changed),
4678         (gst_message_parse_segment_start),
4679         (gst_message_parse_segment_done), (gst_message_parse_duration):
4680         * gst/gstmessage.h:
4681         * tools/gst-launch.c: (event_loop):
4682         Seriously, this is better than a previous commit as we only need
4683         to notify the fact that an element changed state in a streaming
4684         thread, marking the state of the parents dirty, hence the 
4685         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
4686         message.
4687
4688 2005-10-18  Wim Taymans  <wim@fluendo.com>
4689
4690         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
4691         (gst_bin_recalc_func):
4692         * gst/gstelement.c: (gst_element_set_clock),
4693         (gst_element_abort_state), (gst_element_lost_state):
4694         Cleanups, prepare for state change fixes.
4695
4696 2005-10-18  Wim Taymans  <wim@fluendo.com>
4697
4698         * gst/gstbin.h:
4699         * gst/gstelement.c: (gst_element_class_init),
4700         (gst_element_set_state), (gst_element_set_state_func):
4701         * gst/gstelement.h:
4702         Pending ABI changes.
4703         GThreadPool in GstBinClass to monitor async state changes.
4704         state_cookie in GstElement to detect concurrent gst/set state.
4705         set_state is now virtual too in case a very complicated element
4706         has to be constructed.
4707
4708 2005-10-18  Wim Taymans  <wim@fluendo.com>
4709
4710         * check/gst/gstbin.c: (GST_START_TEST):
4711         * check/gst/gstmessage.c: (GST_START_TEST):
4712         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4713         * gst/gstbin.c: (bin_bus_handler):
4714         * gst/gstelement.c: (gst_element_commit_state),
4715         (gst_element_lost_state):
4716         * gst/gstmessage.c: (gst_message_new_state_changed),
4717         (gst_message_new_segment_start), (gst_message_new_segment_done),
4718         (gst_message_new_duration), (gst_message_parse_state_changed),
4719         (gst_message_parse_segment_start),
4720         (gst_message_parse_segment_done), (gst_message_parse_duration):
4721         * gst/gstmessage.h:
4722         * tools/gst-launch.c: (event_loop):
4723         Make messages future proof.
4724         state-change gets a flag if it was a message comming from the
4725         streaming thread.
4726         segment-start/stop can also be specified in other formats.
4727         A message to notify an app that a pipeline changed playback 
4728         duration.
4729         Also fix a GstMessage leak in -launch
4730
4731 2005-10-18  Andy Wingo  <wingo@pobox.com>
4732
4733         * gst/gstelement.c (gst_element_dispose): More helpful message.
4734
4735 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
4736
4737         reviewed by: <delete if not using a buddy>
4738
4739         * common/gtk-doc.mak:
4740
4741 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
4742
4743         * gst/gstregistry.c: (gst_registry_scan_path_level):
4744           unref a plug-in we get that was already initialized
4745
4746 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
4747
4748         * docs/gst/gstreamer-sections.txt:
4749         * docs/libs/gstreamer-libs-sections.txt:
4750         * gst/gstelement.h:
4751           add new api entries
4752           hide internal macro
4753
4754 2005-10-17  Andy Wingo  <wingo@pobox.com>
4755
4756         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
4757         cleanup.
4758
4759         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
4760
4761         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
4762
4763         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
4764         (gst_element_get_state_func): Better debug message.
4765         (gst_element_commit_state): s/INFO/DEBUG/.
4766         (gst_element_lost_state, gst_element_change_state): 
4767
4768         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
4769         (gst_message_new_custom): s/INFO/LOG/.
4770
4771 2005-10-17  Michael Smith <msmith@fluendo.com>
4772
4773         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4774           Check if end time is valid using end time, not start time.
4775
4776 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
4777
4778         * check/gst-libs/controller.c: (GST_START_TEST),
4779         (gst_controller_suite):
4780         * libs/gst/controller/gstcontroller.c:
4781         (gst_controlled_property_set_interpolation_mode):
4782         * libs/gst/controller/gstcontroller.h:
4783         * libs/gst/controller/gstinterpolation.c:
4784         * testsuite/controller/.cvsignore:
4785         * testsuite/controller/Makefile.am:
4786         * testsuite/controller/interpolator.c:
4787           merge controller testsuites
4788           fix broken tests
4789           remove mem-chunk from docs
4790
4791 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
4792
4793         * gst/gstmemchunk.c:
4794         * gst/gstmemchunk.h:
4795         * gst/gsttrashstack.c:
4796         * gst/gsttrashstack.h:
4797           out.  get out.  you're fired.  to the Attic !
4798
4799 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
4800
4801         * gst/gstcaps.c: (gst_caps_intersect):
4802           fix signedness issues in a (hopefully) correct way
4803         * gst/gstelement.c: (gst_element_pads_activate):
4804           some debugging
4805         * gst/gstobject.c: (gst_object_set_parent):
4806           some debugging
4807
4808 2005-10-17  Julien MOUTTE  <julien@moutte.net>
4809
4810         * gst/gstvalue.h: Fix prototypes.
4811
4812 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4813
4814         * docs/gst/gstreamer-sections.txt:
4815         * gst/gst.c: (gst_version_string):
4816         * gst/gst.h:
4817         * gst/gstversion.h.in:
4818         * win32/common/libgstreamer.def:
4819           add gst_version_string ()
4820
4821 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4822
4823         * configure.ac:
4824           clean up further
4825         * gst/gst.c: (init_post):
4826         * win32/common/config.h.in:
4827           it's PLUGINDIR now
4828         * gst/gstcaps.c: (gst_caps_intersect):
4829           use gint64, the range could be bigger than a guint
4830
4831 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4832
4833         * gst/gstclock.h:
4834           document potential problem in 2038
4835
4836 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4837
4838         * gst/gstcaps.c: (gst_caps_intersect):
4839           Fix guint j diving under 0
4840
4841 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4842
4843         * configure.ac:
4844         * win32/common/config.h:
4845         * win32/common/config.h.in:
4846           check for process.h, declares getpid() on Windows
4847         * gst/gstinfo.c:
4848           include process.h if we have it
4849         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
4850         * gst/gstmemchunk.h:
4851           fix signedness issues
4852         * win32/common/libgstreamer.def:
4853           fix get_type's
4854
4855 2005-10-16  Julien MOUTTE  <julien@moutte.net>
4856
4857         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
4858         fix. Because of unsigned ints, caps intersection was going nuts and
4859         trying to access structures with G_MAXUINT index. That fixes
4860         videotestsrc ! ffmpegcolorspace ! fakesink
4861         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
4862         consistency.
4863
4864 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4865
4866         * configure.ac:
4867           use the gettext macro
4868         * gst/elements/gstelements.c:
4869         * gst/gst.c:
4870         * gst/indexers/gstindexers.c:
4871           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
4872         * win32/common/config.h:
4873           updated config.h
4874         * win32/common/config.h.in:
4875           add the template to generate config.h
4876         * win32/common/gstenumtypes.c:
4877         * win32/common/gstversion.h:
4878           updated copies
4879
4880 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4881
4882         * gst/gst.c: (gst_version):
4883         * gst/gstversion.h.in:
4884           add the nano
4885
4886 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4887
4888         * gst/gstevent.h:
4889           Oops, add missing closing bracket.
4890
4891 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4892
4893         * configure.ac:
4894           use common m4's for argument checking
4895
4896 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4897
4898         * docs/gst/gstreamer-sections.txt:
4899         * gst/gstevent.h:
4900           Add GST_EVENT_TYPE_NAME() macro.
4901
4902 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4903
4904         * gst/gstinfo.c:
4905         * gst/gstpluginfeature.c:
4906         * gst/gsttask.c:
4907           privatize more symbols
4908
4909 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4910
4911         * configure.ac:
4912           add srcdir, builddir includes to GST_ALL_CFLAGS, since
4913           everything that uses GStreamer API should have the includes
4914
4915 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4916
4917         * docs/gst/gstreamer-sections.txt:
4918         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4919         * gst/gstvalue.h:
4920           give each value a _get_type, removes the DATA exports
4921
4922 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4923
4924         * gst/gst.c:
4925         * gst/gst.h:
4926           remove _gst_registry_auto_load, not used anymore
4927         * gst/gstbin.c: (gst_bin_get_type):
4928         * gst/gstbin.h:
4929         * gst/gstelement.c: (gst_element_get_type):
4930         * gst/gstelement.h:
4931         * gst/gstobject.c: (gst_object_get_type):
4932         * gst/gstobject.h:
4933         * gst/gstpad.c: (gst_pad_get_type):
4934         * gst/gstpad.h:
4935           make _get_type functions similar, fixes data export from library
4936
4937 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4938
4939         * configure.ac:
4940           correctly make conditionals
4941         * gst/elements/Makefile.am:
4942         * gst/elements/gstelements.c:
4943           fix typo causing fdsrc not to build
4944
4945 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4946
4947         * testsuite/Makefile.am:
4948         * testsuite/bytestream/.cvsignore:
4949         * testsuite/bytestream/Makefile.am:
4950         * testsuite/bytestream/filepadsink.c:
4951         * testsuite/bytestream/gstbstest.c:
4952         * testsuite/bytestream/test1.c:
4953         * testsuite/bytestream/testfile1:
4954         * testsuite/caps/normalisation.c:
4955         * testsuite/caps/random.c: (main):
4956         * testsuite/cleanup/.cvsignore:
4957         * testsuite/cleanup/Makefile.am:
4958         * testsuite/cleanup/cleanup1.c:
4959         * testsuite/cleanup/cleanup2.c:
4960         * testsuite/cleanup/cleanup3.c:
4961         * testsuite/cleanup/cleanup4.c:
4962         * testsuite/cleanup/cleanup5.c:
4963         * testsuite/controller/interpolator.c:
4964         * testsuite/debug/printf_extension.c: (main):
4965         * testsuite/elements/tee.c:
4966         * testsuite/negotiation/.cvsignore:
4967         * testsuite/negotiation/Makefile.am:
4968         * testsuite/negotiation/pad_link.c:
4969         * testsuite/pad/Makefile.am:
4970         * testsuite/pad/chainnopull.c:
4971         * testsuite/pad/getnopush.c:
4972         * testsuite/pad/link.c:
4973         * testsuite/refcounting/sched.c: (create_pipeline):
4974         * testsuite/registry/Makefile.am:
4975         * testsuite/registry/gst-print-formats.c:
4976         * testsuite/schedulers/.cvsignore:
4977         * testsuite/schedulers/142183-2.c:
4978         * testsuite/schedulers/142183.c:
4979         * testsuite/schedulers/143777-2.c:
4980         * testsuite/schedulers/143777.c:
4981         * testsuite/schedulers/147713.c:
4982         * testsuite/schedulers/147819.c:
4983         * testsuite/schedulers/147894-2.c:
4984         * testsuite/schedulers/147894.c:
4985         * testsuite/schedulers/Makefile.am:
4986         * testsuite/schedulers/group_link.c:
4987         * testsuite/schedulers/queue_link.c:
4988         * testsuite/schedulers/relink.c:
4989         * testsuite/schedulers/unlink.c:
4990         * testsuite/schedulers/unref.c:
4991         * testsuite/schedulers/useless_iteration.c:
4992         * testsuite/states/bin.c:
4993           clean out/remove some stuff from the testsuite directories
4994
4995 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4996
4997         * configure.ac:
4998           check for some headers
4999         * gst/elements/Makefile.am:
5000         * gst/elements/gstelements.c:
5001           don't compile fdsrc without sys/socket.h
5002         * gst/indexers/Makefile.am:
5003         * gst/indexers/gstindexers.c: (plugin_init):
5004           don't compile fileindex without mmap
5005
5006 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5007
5008         * configure.ac:
5009           reorganize
5010           clean up
5011           document more
5012           remove cruft
5013         * check/Makefile.am:
5014         * docs/gst/Makefile.am:
5015         * examples/helloworld/Makefile.am:
5016         * gst/Makefile.am:
5017         * gst/base/Makefile.am:
5018         * gst/check/Makefile.am:
5019         * gst/elements/Makefile.am:
5020         * gst/indexers/Makefile.am:
5021         * gst/parse/Makefile.am:
5022         * libs/gst/controller/Makefile.am:
5023         * libs/gst/dataprotocol/Makefile.am:
5024         * examples/helloworld/helloworld.c: (event_loop):
5025           compile fixes, though it's not being compiled currently
5026
5027 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
5028
5029         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
5030           Add some simple tests for the new taglist date API.
5031
5032 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
5033
5034         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
5035         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
5036           Beautify 'last-message' output: print 'none' for buffer timestamps
5037           and durations if none is set; improve alignment with next messages.
5038
5039 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
5040
5041         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
5042         * gst/gstpluginfeature.h:
5043         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
5044         * gst/gstregistry.h:
5045         * docs/gst/gstreamer-sections.txt:
5046           Add new API to check plugin feature version requirements.
5047
5048         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
5049           Some basic tests for the above.         
5050
5051 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5052
5053         * gst/gststructure.c: (gst_structure_to_string):
5054           guard against NULL printf - happens when for example
5055           a message structure with GstClock gets serialized
5056
5057 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
5058
5059         * gst/base/gstcollectpads.c: (gst_collectpads_event):
5060           Fix presumable copy'n'pasto.
5061
5062 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5063
5064         * gst/elements/gstfakesrc.h:
5065         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
5066         * gst/elements/gsttypefindelement.c:
5067           fix some signedness
5068         * gst/elements/gstfilesink.c: (gst_file_sink_render):
5069           I wonder if this could actually write +2GB files before
5070
5071 2005-10-13  Andy Wingo  <wingo@pobox.com>
5072
5073         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
5074         Fix Timmeke Waymans bug.
5075         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
5076         string of the proper length to gst_caps_from_string. There's a
5077         potential for, before this fix, that this could cause someone
5078         connecting over the network to cause a segfault if the payload is
5079         not NUL-terminated.
5080
5081 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
5082
5083         * docs/design/draft-push-pull.txt:
5084         * docs/design/part-overview.txt:
5085         * docs/random/TODO-pre-0.9:
5086         * docs/random/old/ChangeLog.gstreamer:
5087         * gst/base/gstpushsrc.c:
5088         * gst/gstclock.c:
5089           fixed typos
5090
5091 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5092
5093         * gst/glib-compat.c: (gst_flags_get_first_value):
5094         * gst/glib-compat.h:
5095         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
5096         (gst_value_compare_double), (gst_value_serialize_flags):
5097           GLib 2.6 g_flags_get_first_value has a bug that triggers an
5098           infinite loop
5099
5100 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5101
5102         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5103         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
5104           fix up debugging
5105         * tools/gst-launch.c: (event_loop):
5106           print out clock nicely
5107
5108 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
5109
5110         * docs/gst/gstreamer-sections.txt:
5111         * gst/gsttaglist.h:
5112         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
5113         (gst_tag_list_get_date_index):
5114           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
5115           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
5116
5117 2005-10-13  Julien MOUTTE  <julien@moutte.net>
5118
5119         * gst/base/gstcollectpads.c: (gst_collectpads_event),
5120         (gst_collectpads_chain):
5121         * gst/base/gstcollectpads.h: Handle newsegment and store informations
5122         in CollectData.
5123
5124 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
5125
5126         * docs/gst/gstreamer-sections.txt:
5127         * gst/gst.c:
5128         * gst/gsterror.h:
5129         * tools/gst-inspect.c: (main):
5130         * tools/gst-launch.c: (main):
5131         * tools/gst-run.c: (main):
5132         * tools/gst-xmlinspect.c: (main):
5133           fix GOption context leaks
5134           doc fixes
5135
5136 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5137
5138         * gst/gstbus.c:
5139           use HAVE_UNISTD_H
5140         * win32/common/config.h:
5141           update config
5142         * win32/vs6/grammar.dsp:
5143         * win32/vs6/libgstelements.dsp:
5144         * win32/vs6/libgstreamer.dsp:
5145           update vs6 files
5146
5147 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5148
5149         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5150         * gst/base/gstbasesrc.c: (gst_base_src_query):
5151           fix more guint64<->gdouble conversions
5152
5153 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5154
5155         * Makefile.am:
5156           add win32-update target
5157         * win32/common/gstconfig.h:
5158         * win32/common/gstenumtypes.c:
5159         * win32/common/gstenumtypes.h:
5160         * win32/common/gstversion.h:
5161           add files that visual studio can't generate
5162
5163 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5164
5165         * Makefile.am:
5166           add a win32-update target
5167         * configure.ac:
5168
5169 2005-10-12  Wim Taymans  <wim@fluendo.com>
5170
5171         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
5172         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
5173         * gst/gstelement.c: (gst_element_commit_state),
5174         (gst_element_set_state):
5175         Protect flags with proper lock.
5176         unref provided cached clock in dispose.
5177
5178 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
5179
5180         * gst/gst.c:
5181         * gst/gstminiobject.h:
5182         * gst/gstpad.h:
5183         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
5184           removed unused flags from miniobject
5185           doc fixes
5186
5187 2005-10-12  Wim Taymans  <wim@fluendo.com>
5188
5189         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
5190         (gst_file_sink_event), (gst_file_sink_render):
5191         Flush before seeking.
5192
5193 2005-10-12  Andy Wingo  <wingo@pobox.com>
5194
5195         * gst/gst.c (gst_init_check): Ignore unknown options, as has
5196         always been the case.
5197
5198 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
5199
5200         * check/gst/gstbin.c: (GST_START_TEST):
5201         * docs/gst/gstreamer-sections.txt:
5202         * gst/base/gstbasesink.c: (gst_base_sink_init):
5203         * gst/base/gstbasesrc.c: (gst_base_src_init),
5204         (gst_base_src_get_range), (gst_base_src_check_get_range),
5205         (gst_base_src_start), (gst_base_src_stop):
5206         * gst/base/gstbasesrc.h:
5207         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
5208         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
5209         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
5210         (bin_bus_handler):
5211         * gst/gstbin.h:
5212         * gst/gstbuffer.h:
5213         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
5214         * gst/gstbus.h:
5215         * gst/gstelement.c: (gst_element_is_locked_state),
5216         (gst_element_set_locked_state), (gst_element_commit_state),
5217         (gst_element_set_state):
5218         * gst/gstelement.h:
5219         * gst/gstindex.c: (gst_index_init):
5220         * gst/gstindex.h:
5221         * gst/gstminiobject.h:
5222         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
5223         (gst_object_set_parent):
5224         * gst/gstobject.h:
5225         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
5226         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
5227         * gst/gstpad.h:
5228         * gst/gstpadtemplate.h:
5229         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
5230         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
5231         * gst/gstpipeline.h:
5232         * gst/indexers/gstfileindex.c: (gst_file_index_load),
5233         (gst_file_index_commit):
5234         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
5235         * testsuite/pad/link.c: (gst_test_src_init),
5236         (gst_test_filter_init), (gst_test_sink_init):
5237         * testsuite/states/locked.c: (main):
5238           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
5239           moved bitshift from macro to enum definition
5240
5241 2005-10-12  Wim Taymans  <wim@fluendo.com>
5242
5243         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
5244         * gst/elements/gstfilesink.c: (gst_file_sink_event),
5245         (gst_file_sink_render):
5246         Some more debugging info.
5247
5248 2005-10-12  Wim Taymans  <wim@fluendo.com>
5249
5250         * docs/design/part-states.txt:
5251         * tools/gst-launch.c: (main):
5252         Some doc updates.
5253         Revert non-intentional change.
5254
5255 2005-10-12  Wim Taymans  <wim@fluendo.com>
5256
5257         * check/gst/gstbin.c: (GST_START_TEST):
5258         * check/gst/gstelement.c: (GST_START_TEST):
5259         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
5260         * check/gst/gstghostpad.c: (GST_START_TEST):
5261         * check/gst/gstpipeline.c: (GST_START_TEST):
5262         * check/pipelines/simple_launch_lines.c: (run_pipeline):
5263         * check/states/sinks.c: (GST_START_TEST):
5264         * gst/elements/gsttypefindelement.c: (stop_typefinding):
5265         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
5266         (gst_bin_remove_func), (gst_bin_get_state_func),
5267         (gst_bin_recalc_state), (gst_bin_change_state_func),
5268         (bin_bus_handler):
5269         * gst/gstelement.c: (gst_element_get_state_func),
5270         (gst_element_get_state), (gst_element_abort_state),
5271         (gst_element_commit_state), (gst_element_set_state),
5272         (gst_element_change_state), (gst_element_change_state_func):
5273         * gst/gstelement.h:
5274         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
5275         (gst_pipeline_provide_clock_func):
5276         * gst/gstutils.c: (gst_element_link_pads_filtered):
5277         * tools/gst-launch.c: (main):
5278         * tools/gst-typefind.c: (main):
5279         Use GstClockTime in _get_state() instead of GTimeVal.
5280         Remove old code in gstutils.c
5281
5282 2005-10-12  Andy Wingo  <wingo@pobox.com>
5283
5284         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
5285         removed.
5286
5287         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
5288         there is no task. Shouldn't affect any code, as nothing in our
5289         plugins checks this return value.
5290         (gst_pad_stop_task): Also take the stream lock if the pad has no
5291         task. Docs updated.
5292
5293 2005-10-12  Wim Taymans  <wim@fluendo.com>
5294
5295         * gst/gstpad.c: (pre_activate), (post_activate),
5296         (gst_pad_activate_pull), (gst_pad_activate_push):
5297         Cleanup activation code. Reset old state if
5298         activation failed.
5299
5300 2005-10-12  Wim Taymans  <wim@fluendo.com>
5301
5302         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5303         (gst_base_sink_change_state):
5304         No need to prerol after receiving EOS.
5305
5306         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5307         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
5308         * gst/elements/gstidentity.c: (gst_identity_event):
5309         Print events more verbosely.
5310
5311 2005-10-12  Wim Taymans  <wim@fluendo.com>
5312
5313         * check/Makefile.am:
5314         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
5315         * check/states/sinks2.c:
5316         Moved sinks2 testcode in sinks check.
5317
5318         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
5319         (gst_bin_remove_func), (gst_bin_recalc_state),
5320         (gst_bin_change_state_func), (bin_bus_handler):
5321         Fix potential race condition when _get_state() iterated over an
5322         ASYNC element right before it posted a state completion.
5323
5324         * gst/gstclock.h:
5325         Do proper cast here.
5326
5327         * gst/gstevent.c: (gst_event_new_newsegment),
5328         (gst_event_parse_newsegment):
5329         A playback rate of 0.0 is not allowed.
5330
5331 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5332
5333         * win32/common/config.h:
5334         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
5335         (_trewinddir), (_ttelldir), (_tseekdir):
5336         * win32/common/dirent.h:
5337         * win32/common/gtchar.h:
5338         * win32/common/libgstbase.def:
5339         * win32/common/libgstreamer.def:
5340         * win32/vs6/grammar.dsp:
5341         * win32/vs6/gst_inspect.dsp:
5342         * win32/vs6/gst_launch.dsp:
5343         * win32/vs6/gstreamer.dsw:
5344         * win32/vs6/libgstbase.dsp:
5345         * win32/vs6/libgstelements.dsp:
5346         * win32/vs6/libgstreamer.dsp:
5347           Visual Studio 6 project files, and a new common directory.
5348           Phear.
5349
5350 2005-10-11  Wim Taymans  <wim@fluendo.com>
5351
5352         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5353         (gst_base_sink_do_sync), (gst_base_sink_query),
5354         (gst_base_sink_change_state):
5355         * gst/base/gstbasesink.h:
5356         Correctly parse newsegment info.
5357
5358 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5359
5360         * gst/gst.c: (init_post):
5361           split plugin paths correctly
5362
5363 2005-10-11  Wim Taymans  <wim@fluendo.com>
5364
5365         * check/gst/gstevent.c: (GST_START_TEST):
5366         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5367         (gst_base_sink_change_state):
5368         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
5369         * gst/base/gstbasetransform.c: (gst_base_transform_event):
5370         * gst/elements/gstfilesink.c: (gst_file_sink_event):
5371         * gst/gstevent.c: (gst_event_new_newsegment),
5372         (gst_event_parse_newsegment):
5373         * gst/gstevent.h:
5374         Added extra flag to newsegment for future API freeze.
5375         Updated check and base elements.
5376
5377 2005-10-11  Julien MOUTTE  <julien@moutte.net>
5378
5379         * gst/base/gstcollectpads.c: (gst_collectpads_init),
5380         (gst_collectpads_add_pad), (gst_collectpads_pop),
5381         (gst_collectpads_event), (gst_collectpads_chain):
5382         * gst/base/gstcollectpads.h: Handle EOS correctly.
5383
5384 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5385
5386         * tools/gst-launch.c: (main):
5387           more null protecting
5388
5389 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5390
5391         * gst/gst-i18n-lib.h:
5392           check for ENABLE_NLS, not GETTEXT_PACKAGE
5393         * gst/gstregistry.c: (gst_registry_add_plugin),
5394         (gst_registry_scan_path_level),
5395         (_gst_registry_remove_cache_plugins):
5396           protect possibly NULL strings
5397         * gst/parse/types.h:
5398           config.h already included before
5399         * tools/gst-inspect.c: (main):
5400           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
5401           check for ENABLE_NLS, not GETTEXT_PACKAGE
5402         * tools/gst-launch.c: (main):
5403           check for ENABLE_NLS, not GETTEXT_PACKAGE
5404
5405 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5406
5407         * configure.ac:
5408           if we don't have glib, fail before testing 2.8
5409         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
5410           fix a leak, should fix plugins-base testsuite
5411
5412 2005-10-11  Andy Wingo  <wingo@pobox.com>
5413
5414         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
5415         take the mode we're going to as an arg. Go head and set the mode
5416         and flushing flags now, so that if the activate function starts a
5417         thread all the flags will be in the right state.
5418         (post_activate): Renamed also. Just handle making sure streaming
5419         finishes for the deactivation case, and setting the deactivated
5420         mode.
5421         (gst_pad_set_active): Complain loudly if deactivation fails.
5422         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
5423         (gst_pad_activate_push): Adapt to pre/post_activate changes,
5424         remove the terrible hack.
5425
5426 2005-10-11  Wim Taymans  <wim@fluendo.com>
5427
5428         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
5429         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
5430         (gst_bin_recalc_state), (gst_bin_change_state_func),
5431         (gst_bin_dispose), (bin_bus_handler):
5432         * gst/gstbin.h:
5433         Prepare to make current EOS message queue more generic.
5434         Fix some typos.
5435
5436         * gst/gstevent.c: (gst_event_new_newsegment),
5437         (gst_event_parse_newsegment):
5438         * gst/gstevent.h:
5439         Rename base to stream_time.
5440
5441         * gst/gstmessage.h:
5442         Fix typo in docs.
5443
5444 2005-10-11  Wim Taymans  <wim@fluendo.com>
5445
5446         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
5447         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
5448         (gst_bin_change_state_func), (bin_bus_handler):
5449         * gst/gstbin.h:
5450         Work on proper clock selection.
5451
5452 2005-10-11  Edward Hervey  <edward@fluendo.com>
5453
5454         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
5455         * libs/gst/controller/gstcontroller.h:
5456         Added GList* version of _remove_properties() in order to be able to wrap
5457         it in bindings.
5458
5459 2005-10-11  Wim Taymans  <wim@fluendo.com>
5460
5461         * docs/design/part-states.txt:
5462         Some more docs.
5463
5464         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
5465         (gst_bin_change_state_func), (bin_bus_handler):
5466         Doc updates. Don't distribute the same clock over and over again.
5467
5468         * gst/gstclock.c:
5469         * gst/gstclock.h:
5470         Doc updates.
5471
5472         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
5473         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
5474         (gst_pad_send_event):
5475         * gst/gstpad.h:
5476         Make probe emission threadsafe again.
5477         Register quarks and move _get_name() from utils.
5478         Doc updates.
5479
5480         * gst/gstpipeline.c: (gst_pipeline_class_init),
5481         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
5482         Only redistribute the clock of it changed.
5483
5484         * gst/gstsystemclock.h:
5485         Doc updates. 
5486
5487         * gst/gstutils.c:
5488         * gst/gstutils.h:
5489         Moved the _flow_get_name() to GstPad.
5490
5491 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5492
5493         * check/gst-libs/gdp.c: (GST_START_TEST):
5494         * check/gst/gstcaps.c: (GST_START_TEST):
5495         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
5496         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
5497         (gst_dp_packet_from_caps):
5498           fix more valgrind warnings before turning up the heat
5499
5500 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5501
5502         * gst/parse/grammar.y:
5503           some cleanup before the hacking
5504
5505 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5506
5507         * gst/base/gstbasesrc.c: (gst_base_src_query):
5508           use conversions
5509         * gst/gstutils.c: (gst_guint64_to_gdouble),
5510         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
5511         * gst/gstutils.h:
5512           externalize, basesrc uses it
5513           obviously the implementation needs testing
5514
5515 2005-10-10  Wim Taymans  <wim@fluendo.com>
5516
5517         * tests/sched/Makefile.am:
5518         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
5519         (make_pipeline3), (make_pipeline4), (print_elem), (main):
5520
5521 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5522
5523         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
5524           apparently converting from guint64 to double is not implemented
5525           on MSVC
5526
5527 2005-10-10  Wim Taymans  <wim@fluendo.com>
5528
5529         * check/Makefile.am:
5530         * check/generic/states.c: (GST_START_TEST):
5531         * check/gst/gstbin.c: (GST_START_TEST):
5532         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5533         * check/states/sinks.c: (GST_START_TEST):
5534         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
5535         (main):
5536         Check fixes, use API as stated in design docs, remove hacks.
5537
5538         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5539         (gst_base_sink_change_state):
5540         Catch stopping our task while we're shutting down.
5541
5542         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
5543         (gst_bin_remove_func), (gst_bin_get_state_func),
5544         (gst_bin_recalc_state), (gst_bin_change_state_func),
5545         (bin_bus_handler):
5546         * gst/gstbin.h:
5547         * gst/gstelement.c: (gst_element_init),
5548         (gst_element_get_state_func), (gst_element_abort_state),
5549         (gst_element_commit_state), (gst_element_lost_state),
5550         (gst_element_set_state), (gst_element_change_state),
5551         (gst_element_change_state_func):
5552         * gst/gstelement.h:
5553         New state change algorithm (see #318116)
5554
5555         * gst/gstpipeline.c: (gst_pipeline_class_init),
5556         (gst_pipeline_init), (gst_pipeline_set_property),
5557         (gst_pipeline_get_property), (do_pipeline_seek),
5558         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
5559         * gst/gstpipeline.h:
5560         Remove crude state change hacks.
5561
5562         * gst/gstutils.h:
5563         Remove crude hacks.
5564
5565         * tools/gst-launch.c: (main):
5566         Fixes for state change. Needs some more work to fully use the
5567         new stuff.
5568
5569 2005-10-10  Andy Wingo  <wingo@pobox.com>
5570
5571         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
5572
5573         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
5574         this flag, but it's not even in GLib 2.6. Odd. Hack around the
5575         issue.
5576
5577 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
5578
5579         * gst/gstiterator.c: (gst_iterator_new):
5580           Fix my previous commit: GTypes passed to gst_iterator_new()
5581           can be fundamental types.
5582
5583 2005-10-10  Wim Taymans  <wim@fluendo.com>
5584
5585         * gst/gstelement.c: (gst_element_iterate_pad_list),
5586         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
5587         (gst_element_iterate_sink_pads):
5588         Use src/sink pads lists for the respective iterators instead
5589         of filtering.
5590
5591 2005-10-10  Andy Wingo  <wingo@pobox.com>
5592
5593         Merged in popt removal + GOption addition patch from Ronald, bug
5594         #169772.
5595
5596         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
5597         GstElement macros around, remove popt-related symbols, add goption
5598         stuff.
5599
5600         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
5601         
5602         * docs/gst/Makefile.am:
5603         * docs/libs/Makefile.am: No POPT_CFLAGS.
5604         
5605         * examples/manual/Makefile.am:
5606         * docs/manual/basics-init.xml: Doc updates with an example.
5607         
5608         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5609         (gst_init), (parse_one_option), (parse_goption_arg):
5610         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
5611         bit of hand merging and debugging to get the GOption stuff working
5612         tho.
5613         
5614         * tests/Makefile.am:
5615         * tools/Makefile.am:
5616         * tools/gst-inspect.c: (main):
5617         * tools/gst-launch.c: (main):
5618         * tools/gst-run.c: (main):
5619         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
5620
5621 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
5622
5623         * gst/gstiterator.c: (gst_iterator_new):
5624           Add assertions to make sure passed GType is likely to really
5625           be a GType (as the compiler won't catch it if the size and
5626           GType arguments get mixed up, see #318447).
5627
5628 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
5629
5630         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5631
5632         * gst/gstbin.c: (gst_bin_iterate_sorted):
5633           Pass GType and size arguments to gst_iterator_new() in the right
5634           order (maybe we should make _new() take the GType as first argument
5635           just like _new_list()?) (#318447).
5636           
5637
5638 2005-10-10  Wim Taymans  <wim@fluendo.com>
5639
5640         * gst/gstelement.c: (gst_element_finalize):
5641         And free the GStaticRecMutex too
5642
5643 2005-10-10  Andy Wingo  <wingo@pobox.com>
5644
5645         * gst/gstelement.c (gst_element_init, gst_element_finalize):
5646         Allocate and free the mutex properly.
5647
5648         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
5649         New macros.
5650         (GstElement): The state_lock is now recursive. Rebuild your
5651         plugins, suckers. Old macros adapted.
5652
5653         * docs/gst/gstreamer-sections.txt: Doc updates.
5654
5655         * gst/gstutils.h:
5656         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
5657         (g_static_rec_cond_wait): Ported from state changes patch, while
5658         we wait on bug #317802 to be solved in a well-distributed GLib.
5659
5660         * gst/gstelement.c (gst_element_change_state_func): Renamed from
5661         gst_element_change_state, variable name changes.
5662         (gst_element_change_state): Split out of gst_element_set_state in
5663         preparation for the state change merge. Doesn't pay attention to
5664         the 'transition' argument.
5665         (gst_element_set_state): Updates, hopefully purely cosmetic.
5666         (gst_element_sync_state_with_parent): MT-safety. Ported from the
5667         state change patch.
5668         (gst_element_get_state_func): Renamed from get_state, cosmetic
5669         changes.
5670
5671 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5672
5673         * gst/elements/gstelements.c:
5674         * win32/GStreamer.vcproj:
5675         * win32/config.h:
5676         * win32/dirent.c: (_tseekdir):
5677         * win32/gst-inspect.vcproj:
5678         * win32/gst-launch.vcproj:
5679         * win32/gstconfig.h:
5680         * win32/gstelements.vcproj:
5681         * win32/gstenumtypes.c: (gst_object_flags_get_type):
5682         * win32/gstreamer.def:
5683         * win32/msvc71.sln:
5684           updates for the win32 build (patch from Sebastien Moutte)
5685
5686 2005-10-10  Andy Wingo  <wingo@pobox.com>
5687
5688         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
5689         gst_bin_get_state, cleaned up (but no logic changes).
5690         (bin_element_is_sink): Comment updates.
5691         (sink_iterator_filter): Remove needless cast.
5692         (gst_bin_iterate_sinks): Doc update.
5693         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
5694         cleaned up (but no logic changes).
5695
5696         * check/states/sinks.c (test_src_sink): Cleanups from the state
5697         change patch.
5698         (test_livesrc_sink): Sync on the state.
5699
5700         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
5701         the state change patch.
5702
5703         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
5704         change patch.
5705
5706         * check/gst/gstbin.c: Merge in some style fixes and additional
5707         checks from Wim's state change patch.
5708
5709 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
5710
5711         * gst/base/gsttypefindhelper.c: (helper_find_peek),
5712         (gst_type_find_helper):
5713           Check whether we have the requested data already in our list of
5714           cached buffers before pulling a new buffer; also make the buffer
5715           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
5716
5717 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5718
5719         * gst/gstcaps.c:
5720         * gst/gstevent.c:
5721           doc updates
5722         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5723           don't use long long, it's not portable.  Replacing with
5724           gint64 seems to work; let's hope no skeletons fall out of the closet.
5725
5726 2005-10-10  Andy Wingo  <wingo@pobox.com>
5727
5728         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
5729
5730 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
5731
5732         * docs/gst/gstreamer-sections.txt:
5733         * gst/gstevent.c:
5734         * gst/gstevent.h:
5735         * gst/gstinfo.c:
5736         * gst/gstinfo.h:
5737         * gst/gstmessage.c: (gst_message_parse_state_changed):
5738         * gst/gstpad.c:
5739         * gst/gstpad.h:
5740           more docs, fix compilation
5741
5742 2005-10-09  Philippe Khalaf <burger@speedy.org>
5743         * gst/gstmessage.c:
5744           Fixed a few forgotten variables on previous commit
5745
5746 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
5747
5748         * gst/base/gsttypefindhelper.c: (helper_find_peek):
5749           Fix evil typefind crasher: getrange() might return a short
5750           buffer at the end of a file, but gst_type_find_peek() must
5751           either return the full data as requested or NULL, but
5752           never a short buffer.
5753
5754 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5755
5756         * gst/gstmessage.c: (gst_message_new_state_changed),
5757         (gst_message_parse_state_changed):
5758         * gst/gstmessage.h:
5759           don't use "new", it's a C++ keyword
5760
5761 2005-10-08  Wim Taymans  <wim@fluendo.com>
5762
5763         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
5764         * gst/gstelement.c: (gst_element_post_message):
5765         * gst/gstpipeline.c: (gst_pipeline_change_state):
5766         Small docs and debug updates.
5767
5768 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
5769
5770         * docs/gst/gstreamer-sections.txt:
5771         * gst/gstelementfactory.c:
5772         * gst/gstevent.c:
5773         * gst/gsttaglist.c:
5774           more docs
5775
5776 2005-10-08  Wim Taymans  <wim@fluendo.com>
5777
5778         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
5779         (gst_bin_dispose), (bin_bus_handler):
5780         Fix typos, add comments.
5781         Clear EOS list when going to PAUSED from any direction and do it
5782         in a threadsafe way.
5783         Get base time in a threadsafe way too.
5784         Fix confusing debug in the change_state function.
5785         Various other small cleanups.
5786         
5787         * gst/gstelement.c: (gst_element_post_message):
5788         Fix very verbose bus posting code.
5789
5790         * gst/gstpipeline.c: (gst_pipeline_class_init),
5791         (gst_pipeline_set_property), (gst_pipeline_get_property),
5792         (gst_pipeline_change_state):
5793         Small ARG_ -> PROP_ cleanup
5794
5795 2005-10-08  Wim Taymans  <wim@fluendo.com>
5796
5797         * gst/gstbin.c: (is_eos), (bin_bus_handler):
5798         Do a less CPU demanding EOS check because we can.
5799
5800 2005-10-08  Wim Taymans  <wim@fluendo.com>
5801
5802         * libs/gst/dataprotocol/dataprotocol.c:
5803         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5804         (gst_dp_packet_from_event):
5805         * libs/gst/dataprotocol/dataprotocol.h:
5806         * libs/gst/dataprotocol/dp-private.h:
5807         It's about time we bump the version number.
5808         Since event types don't fit in the guint8 anymore describing
5809         the payload type, make payload type 16 bits wide.
5810
5811 2005-10-08  Wim Taymans  <wim@fluendo.com>
5812
5813         * docs/design/part-TODO.txt:
5814         * docs/design/part-clocks.txt:
5815         * docs/design/part-events.txt:
5816         * docs/design/part-gstbin.txt:
5817         * docs/design/part-gstelement.txt:
5818         * docs/design/part-gstpipeline.txt:
5819         * docs/design/part-live-source.txt:
5820         * docs/design/part-messages.txt:
5821         * docs/design/part-overview.txt:
5822         * docs/design/part-states.txt:
5823         Many doc updates.
5824
5825 2005-10-08  Wim Taymans  <wim@fluendo.com>
5826
5827         * gst/gstevent.c:
5828         * gst/gstevent.h:
5829         Fix event quark registration.
5830         Add some space between events so we can insert them in the
5831         right groups.
5832
5833 2005-10-08  Wim Taymans  <wim@fluendo.com>
5834
5835         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5836         (gst_base_sink_handle_buffer):
5837         Better log message.
5838
5839         * gst/gstbus.h:
5840         * gst/gstelement.h:
5841         More docs.
5842
5843         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
5844         (gst_queue_set_property), (gst_queue_get_property):
5845         * gst/gstqueue.h:
5846         Remove old unused properties.
5847
5848 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
5849         * docs/gst/gstreamer-sections.txt:
5850         * gst/gstmessage.c:
5851         * gst/gstmessage.h:
5852         * gst/gstminiobject.c:
5853         * gst/gstminiobject.h:
5854         * gst/gstobject.h:
5855         * gst/gstpad.h:
5856         * gst/gstutils.h:
5857           lots of new docs and doc fixes
5858
5859 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5860
5861         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
5862         * gst/gstplugin.h:
5863         * gst/gstregistry.c: (gst_registry_lookup_locked),
5864         (gst_registry_scan_path_level):
5865         * gst/gstregistryxml.c: (load_plugin):
5866           Only ever load one plugin for a given plugin basename.
5867           This ensures correct overriding of GST_PLUGIN_PATH over
5868           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
5869           system installed plugins.
5870
5871 2005-10-08  Wim Taymans  <wim@fluendo.com>
5872
5873         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5874         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
5875         Prepare for doing QOS.
5876
5877 2005-10-08  Wim Taymans  <wim@fluendo.com>
5878
5879         * check/gst/gstbin.c: (GST_START_TEST):
5880         * check/pipelines/cleanup.c: (GST_START_TEST):
5881         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5882         Allow new clock message too.
5883
5884 2005-10-08  Wim Taymans  <wim@fluendo.com>
5885
5886         * gst/gstmessage.c: (gst_message_new_error),
5887         (gst_message_new_warning), (gst_message_new_tag),
5888         (gst_message_new_state_changed), (gst_message_new_clock_provide),
5889         (gst_message_new_clock_lost), (gst_message_new_new_clock),
5890         (gst_message_new_segment_start), (gst_message_new_segment_done),
5891         (gst_message_parse_state_changed),
5892         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
5893         (gst_message_parse_new_clock):
5894         * gst/gstmessage.h:
5895         Also carry the clock in question.
5896
5897 2005-10-08  Wim Taymans  <wim@fluendo.com>
5898
5899         * gst/gstmessage.c: (gst_message_new_custom),
5900         (gst_message_new_eos), (gst_message_new_error),
5901         (gst_message_new_warning), (gst_message_new_tag),
5902         (gst_message_new_state_changed), (gst_message_new_clock_provide),
5903         (gst_message_new_new_clock), (gst_message_new_segment_start),
5904         (gst_message_new_segment_done), (gst_message_parse_state_changed),
5905         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
5906         * gst/gstmessage.h:
5907         Clean up.
5908         Added clock related messages.
5909
5910         * gst/gstpipeline.c: (gst_pipeline_change_state):
5911         Post message when the clock changed.
5912
5913         * tools/gst-launch.c: (event_loop):
5914         Print new clock.
5915
5916 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
5917
5918         * tools/gst-inspect.c: (print_element_properties_info):
5919           Can't pass NULL strings to g_print() on windows.
5920
5921 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5922
5923         * docs/Makefile.am:
5924         * docs/gst/Makefile.am:
5925         * docs/gst/gstreamer-docs.sgml:
5926         * docs/gst/running.xml:
5927         * docs/version.entities.in:
5928           add a chapter on running GStreamer.
5929           document GST_DEBUG and GST_PLUGIN* env vars
5930
5931 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5932
5933         * Makefile.am:
5934           remove include dir
5935         * configure.ac:
5936           remove PLUGINS_BUILDDIR stuff
5937         * gst/gst.c: (init_post):
5938           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
5939         * idiottest.mak:
5940           remove, it was condescending and not needed
5941
5942 2005-10-08  Wim Taymans  <wim@fluendo.com>
5943
5944         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5945         (gst_base_sink_handle_object), (gst_base_sink_event),
5946         (gst_base_sink_wait), (gst_base_sink_handle_event),
5947         (gst_base_sink_change_state):
5948         * gst/base/gstbasesink.h:
5949         Repost EOS message while going to PLAYING if still EOS.
5950         Make sure that when receiving a FLUSH_START we don't attempt
5951         to sync on the clock anymore.
5952
5953 2005-10-08  Wim Taymans  <wim@fluendo.com>
5954
5955         * tools/gst-launch.c: (event_loop):
5956         Better message printout.
5957
5958 2005-10-08  Wim Taymans  <wim@fluendo.com>
5959
5960         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
5961         (gst_bin_child_proxy_get_children_count):
5962         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5963         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
5964         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
5965         (gst_child_proxy_set_valist):
5966         * gst/parse/grammar.y:
5967         Make ChildProxy threadsafe and fix mem leaks.
5968
5969 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5970
5971         * gst/gst.c: (init_post):
5972           debug the GST_PLUGIN_ env vars
5973
5974 2005-10-08  Wim Taymans  <wim@fluendo.com>
5975
5976         * check/gst/gstbin.c: (GST_START_TEST):
5977         * check/gst/gstmessage.c: (GST_START_TEST):
5978         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
5979         * gst/gstelement.c: (gst_element_commit_state),
5980         (gst_element_lost_state):
5981         * gst/gstmessage.c: (gst_message_new_state_changed),
5982         (gst_message_parse_state_changed):
5983         * gst/gstmessage.h:
5984         * tools/gst-launch.c: (event_loop):
5985         Added extra field to STATE_CHANGE message with the pending
5986         state, which will be different from the new state soon.
5987
5988 2005-10-08  Wim Taymans  <wim@fluendo.com>
5989
5990         * gst/gstbus.c: (gst_bus_pop):
5991         * gst/gstclock.c:
5992         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
5993         Small cleanups and doc updates.
5994
5995 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5996
5997         * gst/gst.c: (init_pre):
5998         * gst/gstbin.c: (gst_bin_add_func):
5999           log distributing clocks and base time
6000         * gst/gstregistry.c: (gst_registry_add_plugin),
6001         (gst_registry_scan_path_level), (gst_registry_scan_path):
6002           clean up the debugging output a little
6003         * gst/gstutils.c: (gst_element_state_get_name):
6004           warn about a memleak (I've actually seen this be used, though
6005           it was probably a bug)
6006
6007 2005-10-07  Wim Taymans  <wim@fluendo.com>
6008
6009         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6010         (gst_base_src_init), (gst_base_src_default_newsegment),
6011         (gst_base_src_newsegment), (gst_base_src_do_seek),
6012         (gst_base_src_loop), (gst_base_src_start):
6013         * gst/base/gstbasesrc.h:
6014         Make the newsegment event customizable by subclasses.
6015
6016 2005-10-07  Wim Taymans  <wim@fluendo.com>
6017
6018         * gst/gstevent.c: (gst_event_new_buffersize),
6019         (gst_event_parse_buffersize):
6020         * gst/gstevent.h:
6021         New event for future idea.
6022
6023 2005-10-07  Andy Wingo  <wingo@pobox.com>
6024
6025         * gst/gstelement.c (gst_element_post_message): Doc update.
6026
6027         * docs/gst/gstreamer-sections.txt: Update.
6028
6029         * gst/gstmessage.c (gst_message_new_application): Made into a
6030         function like honest API calls.
6031         (gst_message_new_element): New message type.
6032
6033         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
6034
6035         * check/elements/fakesrc.c (test_no_preroll): New check, checks
6036         that setting a live fakesrc to PAUSED returns NO_PREROLL both
6037         times.
6038
6039         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
6040         NO_PREROLL from gst_element_change_state to fall through.
6041
6042 2005-10-07  Wim Taymans  <wim@fluendo.com>
6043
6044         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
6045         (gst_ghost_pad_do_activate_push):
6046         Activating a ghostpad with no internal pad in push mode
6047         is ok.
6048
6049 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
6050
6051         * gst/gstobject.h:
6052           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
6053           Fixes compilation on Windows.
6054
6055 2005-10-07  Michael Smith <msmith@fluendo.com>
6056
6057         * tools/gst-inspect.c:
6058           Print out feature and plugin count at the end when printing out
6059           all features.
6060
6061 2005-10-04  Michael Smith <msmith@fluendo.com>
6062
6063         * gst/gsterror.c: (_gst_stream_errors_init):
6064           Add another error string used in a few existing plugins.
6065
6066         * gst/gstplugin.c:
6067         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6068         * tools/gst-inspect.c: (print_element_info):
6069           When a feature disappears from a plugin (and the feature exists in
6070           the cached registry file), things went horribly wrong. This isn't a
6071           complete fix, we should actually be removing the 'missing' features
6072           from the features list when we load the actual plugin. That's not
6073           yet implemented. 
6074
6075 2005-10-04  Johan Dahlin  <johan@gnome.org>
6076
6077         * check/gst/gstiterator.c: (GST_START_TEST):
6078         * gst/gstbin.c: (gst_bin_iterate_elements),
6079         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
6080         * gst/gstelement.c: (gst_element_iterate_pads):
6081         * gst/gstformat.c: (gst_format_iterate_definitions):
6082         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
6083         (gst_iterator_new_list), (gst_iterator_filter):
6084         * gst/gstiterator.h:
6085         * gst/gstquery.c: (gst_query_type_iterate_definitions):
6086         Add a GType to GstIterator, update callsites and tests.
6087
6088 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6089
6090         * gst/gstpad.c: (gst_pad_event_default_dispatch):
6091           give events a chance to be handled by event probes when the pad
6092           is not linked
6093
6094 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6095
6096         * gst/gstevent.c: (gst_event_type_get_name),
6097         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
6098         * gst/gstevent.h:
6099           add string representations for event types
6100
6101 2005-10-06  Wim Taymans  <wim@fluendo.com>
6102
6103         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
6104         Don't use NULL pointers.
6105
6106 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6107
6108         * gst/gst_private.h:
6109         * gst/gstbus.c:
6110         * gst/gstelement.c:
6111         * gst/gstinfo.c:
6112         * gst/gstpluginfeature.c:
6113           widen the debug category in output to fit the biggest one we have
6114           add a bus category and use it
6115           play with the colors
6116           fix up some categories
6117
6118 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6119
6120         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
6121           add push activation of sink ghost pads.
6122           Andye, please verify
6123
6124 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6125
6126         * gst/gstutils.c: (gst_element_link_pads):
6127           fix a bug in the case where neither element has a pad
6128         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6129           add a test for that case
6130
6131 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6132
6133         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
6134           emit have-data before checking for peers.  This allows
6135           for probe handlers to connect elements.  This helps autopluggers.
6136         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
6137         (gst_pad_suite):
6138           add six checks, linked/unlinked with no/true/false probe
6139
6140 2005-10-04  Wim Taymans  <wim@fluendo.com>
6141
6142         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
6143         (gst_fake_sink_event), (gst_fake_sink_preroll),
6144         (gst_fake_sink_render), (gst_fake_sink_change_state):
6145         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
6146         (gst_fake_src_get_property), (gst_fake_src_create),
6147         (gst_fake_src_stop):
6148         * gst/elements/gstidentity.c: (gst_identity_stop):
6149         Protect last_message with lock.
6150
6151 2005-10-04  Edward Hervey  <edward@fluendo.com>
6152
6153         * gst/gstformat.h: 
6154         Added precision in the comments for GST_FORMAT_DEFAULT
6155
6156 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
6157
6158         * tools/gst-launch.c: (main):
6159           Don't try to run erroneous pipelines.
6160
6161 2005-10-04  Julien MOUTTE  <julien@moutte.net>
6162
6163         * gst/gstbus.c: We don't need this header.
6164
6165 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6166
6167         * configure.ac:
6168           back to development
6169
6170 === release 0.9.3 ===
6171
6172 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6173
6174         * README:
6175         * configure.ac:
6176           Releasing 0.9.3, "Unregistered"
6177
6178 2005-10-03  Andy Wingo  <wingo@pobox.com>
6179
6180         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
6181         whereby calling a pad's activatepush() function can start a thread
6182         that starts to push or pull before the pad gets the FLUSHING flag
6183         unset. Hack around it by holding the stream lock until the flag is
6184         set. Need to replace this with a proper solution. Together with
6185         the ghost pad fixes, this fixes mp3 playing/tagreading.
6186
6187         * docs/design/part-gstghostpad.txt: Add a note about activation of
6188         proxy pads outside of ghost pads.
6189
6190         * gst/gstghostpad.c: Implement the ghost pad activation design.
6191
6192 2005-10-02  Andy Wingo  <wingo@pobox.com>
6193
6194         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
6195         It is volatile, after all.
6196
6197         * docs/design/part-gstghostpad.txt: Flesh out activation with
6198         ghost pads.
6199
6200         * gst/base/gstbasesrc.c (gst_base_src_init): Use
6201         GST_DEBUG_FUNCPTR.
6202
6203 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6204
6205         * configure.ac:
6206           Fix (unused) AM_CONDITIONAL tests.
6207
6208 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
6209
6210         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
6211
6212         * gst/gstutils.c: (gst_pad_query_convert):
6213           Add assertion that makes sure src_val is >=0, just like
6214           gst_query_new_convert() has. (#315895)
6215
6216 2005-09-30  Edward Hervey  <edward@fluendo.com>
6217
6218         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
6219         Let's not iterate pads we're not interested in, it avoids getting 
6220         sky-high refcounts on sinkpad.
6221
6222 2005-09-30  Wim Taymans  <wim@fluendo.com>
6223
6224         * gst/gstelement.c: (gst_element_set_state),
6225         (gst_element_change_state):
6226         Small tweak, element in ASYNC remains ASYNC.
6227
6228 2005-09-30  Wim Taymans  <wim@fluendo.com>
6229
6230         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
6231         Only error is an error.
6232
6233         * gst/gstbin.c: (gst_bin_change_state):
6234         Better debugging.
6235
6236         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
6237         Also call pad_block in pad alloc.
6238
6239         * gst/gstutils.c: (gst_flow_get_name):
6240         Better debugging.
6241
6242 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6243
6244         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6245         (gst_base_src_get_range):
6246           Fix documentation typos. Add some more debug info.
6247
6248 2005-09-29  David Schleef  <ds@schleef.org>
6249
6250         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
6251           more end-user friendly.
6252         * tools/gst-inspect.c: (main): Check if command-line argument is
6253           a file and attempt to load that file as a plugin.
6254
6255 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
6256
6257         * check/gst/gstbin.c:
6258         * check/states/sinks.c:
6259           fix tests for the new warning
6260         * check/gst/gstpipeline.c:
6261           add a test for pipeline and bus interaction
6262         * gst/gstelement.c:
6263           elements should be NULL if they get disposed; add a warning if not
6264
6265 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
6266
6267         * gst/gstobject.c:
6268           for 2.6 refcounting, make debug log more correct by printing
6269           the actual refcounts at the time of swap (Wim)
6270
6271 2005-09-29  Andy Wingo  <wingo@pobox.com>
6272
6273         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
6274         removes signal watches previously added via
6275         gst_bus_add_signal_watch.
6276         (gst_bus_add_signal_watch): Don't return the source id, just store
6277         it on the bus if there wasn't an id already.
6278
6279         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
6280         add_signal_watch and remove_signal_watch.
6281
6282 2005-09-29  Edward Hervey  <edward@fluendo.com>
6283
6284         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
6285         Better if we actually iterate the list :)
6286
6287 2005-09-29  Wim Taymans  <wim@fluendo.com>
6288
6289         * check/gst/gstbin.c: (GST_START_TEST):
6290         Change for new bus API.
6291
6292         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6293         (send_messages), (GST_START_TEST), (gstbus_suite):
6294         Change for new bus signal API.
6295
6296         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
6297         (gst_bus_source_prepare), (gst_bus_source_check),
6298         (gst_bus_create_watch), (gst_bus_add_watch_full),
6299         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
6300         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
6301         * gst/gstbus.h:
6302         Remove support for multiple GSources operating on different
6303         message types as it is too complex and unneeded when using
6304         signals.
6305         Added support for receiving signals from the bus.
6306
6307 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
6308
6309         * docs/libs/tmpl/gstdataprotocol.sgml:
6310         * docs/manual/advanced-dataaccess.xml:
6311         * gst/elements/gstcapsfilter.c:
6312         * gst/gstutils.c:
6313           rename filter-caps to caps property
6314
6315 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6316
6317         * gst/gstvalue.c: (gst_value_deserialize_fraction):
6318           More robust fraction string parsing.
6319
6320         * docs/pwg/appendix-porting.xml:
6321           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
6322
6323 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6324
6325         * gst/gstcaps.c: (gst_caps_do_simplify):
6326           Thou shalt not free a structure and then continue using it
6327           in the next loop iteration.
6328
6329         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
6330         (gst_caps_suite):
6331           Add test case for caps simplification.
6332
6333 2005-09-29  Wim Taymans  <wim@fluendo.com>
6334
6335         * check/gst/gstbin.c: (GST_START_TEST):
6336         Oops.
6337
6338 2005-09-29  Wim Taymans  <wim@fluendo.com>
6339
6340         * check/gst/gstbin.c: (GST_START_TEST):
6341         Add bus to bin.
6342
6343         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6344         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
6345         (find_element), (gst_bin_sort_iterator_next),
6346         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
6347         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
6348         (gst_bin_change_state), (gst_bin_dispose):
6349         A bin does not have a bus, it gets the bus from the parent.
6350
6351         * gst/gstelement.c: (gst_element_requires_clock),
6352         (gst_element_provides_clock), (gst_element_is_indexable),
6353         (gst_element_is_locked_state), (gst_element_change_state),
6354         (gst_element_set_bus_func):
6355         Small cleanups.
6356
6357         * gst/gstpipeline.c: (gst_pipeline_class_init),
6358         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
6359         The pipeline provides a bus.
6360
6361 2005-09-28  Johan Dahlin  <johan@gnome.org>
6362
6363         * gst/gstmessage.c (gst_message_parse_state_changed): Use
6364         gst_structure_get_enum instead of gst_structure_get_int
6365
6366         * gst/gststructure.c (gst_structure_get_enum): Impl.
6367
6368         * gst/gststructure.h (gst_structure_get_enum): Add
6369
6370         * docs/gst/gstreamer-sections.txt: Ditto
6371
6372         * gst/gstmessage.c (gst_message_new_state_changed): Use
6373         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
6374         which does introspection.
6375         Reviewed by Christian Schaller
6376
6377 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
6378
6379         * gst/gstinfo.c: (gst_debug_log_default):
6380           don't do dummy g_strdup()s
6381         * libs/gst/controller/gstcontroller.c:
6382         (on_object_controlled_property_changed),
6383         (gst_controlled_property_new), (gst_controller_new_valist),
6384         (gst_controller_new_list),
6385         (gst_controller_remove_properties_valist), (gst_controller_set),
6386         (gst_controller_get), (gst_controller_sync_values),
6387         (gst_controller_get_value_array), (_gst_controller_class_init),
6388         (gst_controller_get_type):
6389         * libs/gst/controller/gstcontroller.h:
6390         * libs/gst/controller/gstinterpolation.c:
6391         (gst_controlled_property_find_timed_value_node):
6392           convert // to /**/ comments
6393
6394 2005-09-28  Wim Taymans  <wim@fluendo.com>
6395
6396         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
6397         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
6398         (gst_bus_sync_signal_handler):
6399         * gst/gstbus.h:
6400         Added async-message and sync-message signals to the bus.
6401         Added helper BusFunc to emit signals for all posted messages.
6402
6403         * gst/gstmessage.c: (gst_message_type_get_name),
6404         (gst_message_type_to_quark), (gst_message_get_type):
6405         * gst/gstmessage.h:
6406         Register quarks for message names.
6407
6408 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
6409
6410         * docs/libs/gstreamer-libs-sections.txt:
6411         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6412         (gst_controller_new_list):
6413         * libs/gst/controller/gstcontroller.h:
6414           added another constructor for language bindings
6415
6416 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
6417
6418         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6419           add another check
6420         * gst/gstbus.c:
6421           add some doc
6422         * gst/gstinfo.c: (_gst_debug_init):
6423           slightly more readable color for refcount debugging
6424
6425 2005-09-28  Wim Taymans  <wim@fluendo.com>
6426
6427         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
6428         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
6429         (find_element), (gst_bin_sort_iterator_next),
6430         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
6431         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
6432         (gst_bin_change_state), (gst_bin_dispose):
6433         Small doc fixes. get_clock -> provide_clock.
6434
6435         * gst/gstelement.c: (gst_element_class_init),
6436         (gst_element_provides_clock), (gst_element_provide_clock),
6437         (gst_element_get_clock), (gst_element_commit_state),
6438         (gst_element_lost_state):
6439         * gst/gstelement.h:
6440         Make get/set_clock() symetric. Add provide_clock vmethod since
6441         that is actually what this function does.
6442
6443         * gst/gstpipeline.c: (gst_pipeline_class_init),
6444         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
6445         (gst_pipeline_get_clock):
6446         get_clock -> provide_clock.
6447
6448 2005-09-28  Andy Wingo  <wingo@pobox.com>
6449
6450         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
6451         lieu of real docs...
6452
6453         * gst/elements/gstfdsrc.c: Cleaned up a bit.
6454
6455 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
6456
6457         * gst/elements/gstcapsfilter.c:
6458         * gst/elements/gstfakesink.c:
6459         * gst/elements/gstfakesrc.c:
6460         * gst/elements/gstfdsink.c:
6461         * gst/elements/gstfdsrc.c:
6462         * gst/elements/gstfilesink.c:
6463         * gst/elements/gstfilesrc.c:
6464         * gst/elements/gstidentity.c:
6465         * gst/elements/gsttee.c:
6466         * gst/elements/gsttypefindelement.c:
6467           Make element details static.
6468
6469 2005-09-28  Wim Taymans  <wim@fluendo.com>
6470
6471         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
6472         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
6473         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
6474         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
6475         (gst_bin_change_state), (gst_bin_dispose):
6476         Some documentation updates.
6477         Clean up dispose handlers.
6478
6479         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
6480         * gst/gstpad.c: (gst_pad_dispose):
6481         Clean up dispose handler.
6482
6483         * gst/gstpipeline.c: (gst_pipeline_change_state):
6484         Removed spurious UNLOCK.
6485
6486 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
6487
6488         * docs/gst/gstreamer-sections.txt:
6489         * gst/base/gstbasesrc.h:
6490         * gst/gstelement.h:
6491         * gst/gstevent.h:
6492         * gst/gstobject.h:
6493         * gst/gstpad.h:
6494         * gst/gstpipeline.c:
6495         * gst/gstpipeline.h:
6496         * gst/gstutils.h:
6497         * gst/gstxml.h:
6498           added two new functions to the docs
6499                 documents all undocumented GstXXXFlags
6500                 completed some incomplete docs 
6501
6502 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
6503
6504         * gst/gstbin.c: (gst_bin_dispose):
6505         * gst/gstelement.c: (gst_element_dispose):
6506           remove now useless and leaky resurrection code in dispose
6507         * gst/base/gstbasesrc.c: (gst_base_src_init):
6508         * gst/gstelementfactory.c: (gst_element_factory_create):
6509         * gst/gstobject.c: (gst_object_set_parent):
6510           add some debugging
6511
6512 2005-09-27  Wim Taymans  <wim@fluendo.com>
6513
6514         * docs/design/part-TODO.txt:
6515         Update TODO.
6516
6517         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
6518         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
6519         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
6520         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
6521         (gst_bin_change_state):
6522         * gst/gstelement.h:
6523         Remove element variable, we keep element info in the iterator now.
6524
6525 2005-09-27  Andy Wingo  <wingo@pobox.com>
6526
6527         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
6528         values.
6529
6530 2005-09-27  Wim Taymans  <wim@fluendo.com>
6531
6532         * check/gst/gstbin.c: (GST_START_TEST):
6533         Enable check that works now.
6534
6535         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
6536         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
6537         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
6538         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
6539         (gst_bin_change_state):
6540         * gst/gstbin.h:
6541         Redid the state change algorithm using a topological sort algo.
6542         Handles all cases correctly.
6543         Exposed iterator for state change order.
6544
6545         * gst/gstelement.h:
6546         Temp storage for state changes. Need to get rid of this soon.
6547
6548 2005-09-27  Wim Taymans  <wim@fluendo.com>
6549
6550         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
6551         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
6552         (link_fold_func), (gst_pad_proxy_setcaps):
6553         Leak fixes, the fold functions need to unref the passed object and
6554         _get_parent_*() returns ref to parent.
6555
6556 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6557
6558         * check/gst/gstbuffer.c: (test_make_writable):
6559           Plug leak in test case and fix 'make check-valgrind'
6560
6561 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6562
6563         * gst/gstbuffer.c: (gst_subbuffer_init):
6564           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
6565           works correctly in all circumstances (we could have just copied
6566           the parent buffer's readonly flag, but conceptually it seems
6567           cleaner to mark all subbuffers as read-only). (based on patch
6568           by Alessandro Decina, #314710).
6569         
6570         * check/gst/gstbuffer.c: (create_read_only_buffer),
6571         (test_make_writable), (test_subbuffer_make_writable),
6572         (gst_test_suite):
6573           Add some tests for gst_buffer_make_writable().
6574
6575 2005-09-27  Wim Taymans  <wim@fluendo.com>
6576
6577         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
6578         use gst_object_has_ancestor().
6579
6580         * gst/gstobject.c: (gst_object_has_ancestor):
6581         * gst/gstobject.h:
6582         gst_object_has_ancestor() copied from gstbin.c as it is a
6583         usefull function.
6584
6585         * tests/instantiate/create.c: (create_all_elements):
6586         * tests/lat.c: (handoff_src), (handoff_sink):
6587         * tests/sched/runxml.c: (main):
6588         * tests/seeking/seeking1.c: (main):
6589         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
6590         (main):
6591         Fix compilation of some tests.
6592
6593 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6594
6595         * gst/gsterror.h:
6596           Remove comment. GST_TYPE_G_ERROR is here to stay,
6597           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
6598           (#316961, #300610).
6599
6600 2005-09-26  Wim Taymans  <wim@fluendo.com>
6601
6602         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6603         Added check that shows error in state change order.
6604
6605 2005-09-26  Wim Taymans  <wim@fluendo.com>
6606
6607         * gst/gstbin.c: (gst_bin_change_state):
6608         Make state change function use 3 queues again, we were
6609         adding elements in the wrong order.
6610
6611         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
6612         Some debug info,
6613
6614         * gst/gstpad.c: (gst_pad_dispose):
6615         Added some debug info first.
6616
6617 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
6618
6619         * docs/design/draft-push-pull.txt:
6620         * docs/design/part-events.txt:
6621         * docs/design/part-overview.txt:
6622         * docs/design/part-scheduling.txt:
6623           Replace all _pull_region() with _pull_range()
6624           
6625 2005-09-26  Andy Wingo  <wingo@pobox.com>
6626
6627         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
6628
6629         * check/gst-libs/controller.c: Update for controller api change.
6630
6631         * configure.ac: 
6632         * tests/Makefile.am:
6633         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
6634         over by GLib bug 118439.
6635         
6636         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
6637         routines to a function.
6638
6639         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
6640
6641         * libs/gst/controller/gsthelper.c:
6642         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
6643         (gst_object_sync_values): Renamed from sink_values. Ugh.
6644
6645         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
6646
6647         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
6648         Renamed from controller_key, as it is exported.
6649
6650         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
6651
6652 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
6653
6654         * gst/Makefile.am:
6655         * gst/gst.h:
6656         * gst/gstpad.h:
6657         * gst/gstpadtemplate.h:
6658         * gst/gstquery.c:
6659         * gst/gstquery.h:
6660         * gst/gstqueryutils.c:
6661         * gst/gstqueryutils.h:
6662           remove queryutils headers after moving the two used functions
6663           to gstquery.  also fixes build problem for gstsiddec
6664
6665 2005-09-26  Michael Smith <msmith@fluendo.com>
6666
6667         * tools/gst-launch.1.in:
6668         Correct documentation in manpage of debug syntax
6669
6670 2005-09-26  Wim Taymans  <wim@fluendo.com>
6671
6672         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6673         (gst_base_src_is_seekable), (gst_base_src_change_state):
6674         Some more debugging info.
6675
6676 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
6677
6678         * docs/gst/gstreamer-sections.txt:
6679         * gst/base/gstbasetransform.h:
6680         * gst/gstindex.h:
6681           added more docs
6682
6683 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
6684
6685         * docs/gst/.cvsignore:
6686         * docs/gst/tmpl/.cvsignore:
6687         * docs/gst/tmpl/gstpipeline.sgml:
6688         * docs/gst/tmpl/gstplugin.sgml:
6689         * gst/gstpipeline.c:
6690         * gst/gstplugin.c:
6691         * gst/gstplugin.h:
6692           inlined the last two docs files
6693           removed the tmpl directory from cvs (no more conflicts here!)
6694
6695 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
6696
6697         * docs/gst/gstreamer-sections.txt:
6698         * docs/gst/tmpl/.cvsignore:
6699         * docs/gst/tmpl/gstpad.sgml:
6700         * docs/gst/tmpl/gstpadtemplate.sgml:
6701         * gst/Makefile.am:
6702         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
6703         (gst_pad_finalize), (gst_pad_set_pad_template):
6704         * gst/gstpad.h:
6705         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
6706         (gst_pad_template_class_init), (gst_pad_template_init),
6707         (gst_pad_template_dispose), (name_is_valid),
6708         (gst_static_pad_template_get), (gst_pad_template_new),
6709         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
6710         (gst_pad_template_pad_created):
6711         * gst/gstpadtemplate.h:
6712           inlined two more docs
6713           factored gstpadtemplate out of gstpad
6714
6715 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
6716
6717         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
6718         (test_children_state_change_order_semi_sink):
6719           Fix test case: we can't rely on a fixed state change order when
6720           going from READY => PAUSED because the sink might commit its 
6721           new state first when the first buffer created by the source 
6722           reaches the sink before the source has finished its change state.
6723           (Test case still fails at times, see #316856, comment 5 onwards)
6724
6725 2005-09-24  Wim Taymans  <wim@fluendo.com>
6726
6727         * docs/design/part-events.txt:
6728         * docs/design/part-gstbus.txt:
6729         * docs/design/part-gstpipeline.txt:
6730         * docs/design/part-messages.txt:
6731         * docs/design/part-overview.txt:
6732         * docs/design/part-segments.txt:
6733         * gst/gstbin.c:
6734         * gst/gstbuffer.c:
6735         * gst/gstclock.c:
6736         * gst/gstelement.c:
6737         * gst/gstevent.c:
6738         * gst/gstfilter.c:
6739         * gst/gstiterator.c:
6740         Various documentation updates.
6741
6742 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6743
6744         * gst/gstclock.h:
6745           Well, that's embarassing.  Luckily we weren't using
6746           GST_CLOCK_DIFF anywhere.
6747
6748 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6749
6750         * common/gtk-doc.mak:
6751           don't fail on building XML, FC4 slave shows a bunch of doc
6752           missing bits that I don't get
6753         * gst/gstpad.c:
6754         * gst/gstpipeline.c:
6755         * gst/gststructure.c:
6756           some doc updates
6757
6758 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6759
6760         * docs/design/part-gstbin.txt:
6761         * docs/design/part-gstbus.txt:
6762         * gst/gstbus.c:
6763           Add blurb about how the bus goes into flushing mode and
6764           drops all messages when its bin goes from READY into NULL 
6765           state.
6766
6767 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6768
6769         * docs/gst/gstreamer-sections.txt:
6770         * gst/gststructure.c: (gst_structure_get_clock_time):
6771         * gst/gststructure.h:
6772           add a method to get a GstClockTime out of a structure
6773
6774 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6775
6776         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
6777         (test_children_state_change_order_semi_sink), (gst_bin_suite):
6778           Added test to check state change order in bins (can still be made
6779           to fail here under heavy disk load; bails out with 'Push on pad
6780           fakesink:sink0, but it was not activated in push mode').
6781
6782         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
6783           Fix state change order when there is only a semi sink (#316856)
6784
6785         * gst/gstbus.c: (gst_bus_class_init):
6786           Use _class_peek_parent(), not _class_ref(); fix docs to say
6787           'default main context' instead of 'mainloop' where that is
6788           what's meant.
6789
6790         * gst/gstelement.c: (gst_element_commit_state),
6791         (gst_element_set_state):
6792           Fix typos in debug messages
6793
6794 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6795
6796         * docs/README:
6797         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
6798         * gst/gstpluginfeature.c:
6799         * gst/gstutils.c:
6800           various doc updates
6801         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6802           change an assert into an error until it gets fixed properly
6803
6804 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
6805
6806         * docs/gst/gstreamer-sections.txt:
6807         * docs/gst/tmpl/.cvsignore:
6808         * docs/gst/tmpl/gstelement.sgml:
6809         * docs/gst/tmpl/gstinfo.sgml:
6810         * docs/gst/tmpl/gstobject.sgml:
6811         * gst/gstelement.c:
6812         * gst/gstelement.h:
6813         * gst/gstinfo.c:
6814         * gst/gstinfo.h:
6815         * gst/gstobject.c: (gst_object_class_init):
6816         * gst/gstobject.h:
6817           inlined 3 more biiiig doc files and added some missing docs on the fly
6818
6819 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6820
6821         * check/gst/.cvsignore:
6822         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
6823         * gst/gstregistryxml.c: (load_plugin),
6824         (gst_registry_xml_save_plugin):
6825           put back source in registry.  add checks for find_plugin.
6826         * testsuite/states/bin.c: (assert_state), (empty_bin),
6827         (test_adding_one_element), (main):
6828         * testsuite/states/locked.c: (main):
6829           some compile/run fixes
6830
6831 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6832
6833         * check/gst/gstvalue.c: (GST_START_TEST):
6834           fix leaks in the test itself
6835
6836 2005-09-22  Wim Taymans  <wim@fluendo.com>
6837
6838         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6839         (gst_base_sink_send_event), (gst_base_sink_peer_query),
6840         (gst_base_sink_query):
6841         Prepare for more accurate position reporting and query
6842         handling.
6843
6844         * gst/gstelement.c: (gst_element_send_event),
6845         (gst_element_set_state):
6846         Add some comment.
6847
6848 2005-09-22  Wim Taymans  <wim@fluendo.com>
6849
6850         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
6851         (gst_query_parse_segment):
6852         * gst/gstquery.h:
6853         More documentation.
6854         Add segment query for future use.
6855
6856 2005-09-22  Wim Taymans  <wim@fluendo.com>
6857
6858         * gst/gstbin.c: (gst_bin_add_func):
6859         Some more debug info.
6860
6861         * gst/gstelement.c: (gst_element_send_event):
6862         Simplify send_event
6863
6864         * gst/gstelement.h:
6865         Don't know how flags got broken.
6866
6867         * gst/gstquery.h:
6868         Added new query.
6869
6870 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
6871
6872         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
6873           Add simplistic test suite for GST_TYPE_DATE serialisation and
6874           deserialisation.
6875
6876 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
6877
6878         * docs/gst/gstreamer-sections.txt:
6879         * gst/gststructure.c: (gst_structure_set_valist),
6880         (gst_structure_get_date):
6881         * gst/gststructure.h:
6882         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
6883         (gst_date_copy), (gst_value_compare_date),
6884         (gst_value_serialize_date), (gst_value_deserialize_date),
6885         (gst_value_transform_date_string),
6886         (gst_value_transform_string_date), (_gst_value_initialize):
6887         * gst/gstvalue.h:
6888           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
6889           bunch of utility functions along with a hack that checks that
6890           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
6891           is required. Part of the grand scheme in #170777.
6892
6893 2005-09-22  Andy Wingo  <wingo@pobox.com>
6894
6895         * gst/gstconfig.h.in: Psych out gtk-doc.
6896
6897         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
6898
6899         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
6900
6901         * tools/gst-inspect.c (print_element_list): Plug some
6902         inconsequential leaks.
6903
6904         * gst/gstregistry.c (gst_registry_get_default): Doc.
6905
6906         * check/gst/gstplugin.c: 
6907         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
6908         * gst/gstelementfactory.c (gst_element_factory_create): 
6909         * gst/gstindexfactory.c (gst_index_factory_create): Update for
6910         refcount changes.
6911
6912         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
6913         (gst_plugin_feature_load): Doc, don't eat refs.
6914
6915         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
6916         (gst_plugin_list_free): Doc.
6917         (gst_plugin_load_file): Doc updates.
6918
6919         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
6920         accessors returning refcounted objects, return a ref.
6921
6922         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
6923         accessor for caps. IDEMPOTENCE. Oh yes.
6924
6925 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
6926
6927         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
6928
6929         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6930         (_gst_debug_register_funcptr):
6931           Add mutex to serialise access to the hash table with
6932           the function pointer => function name string mapping;
6933           make that hash table static scope (#316809).
6934
6935         * gst/registries/.cvsignore:
6936           Remove left-over file.
6937
6938 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
6939
6940         * docs/pwg/appendix-porting.xml:
6941           And something about newsegment events and caps-on-buffers to
6942           the porting guide (feel free to improve).
6943
6944 2005-09-21  Andy Wingo  <wingo@pobox.com>
6945
6946         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
6947         data and event probes on the same pad.
6948         (test_buffer_probe_once): Test that removing probes from within
6949         the probe functions works.
6950
6951 2005-09-21  Andy Wingo  <wingo@pobox.com>
6952
6953         * check/gst/gstutils.c: New file.
6954         (test_buffer_probe_n_times): A simple buffer probe test. More to
6955         come, foolios.
6956
6957         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
6958         have-data::buffer, not have-data.
6959         (gst_pad_add_event_probe): Likewise for have-data::event.
6960         (gst_pad_add_data_probe): More docs. The part about 'resolving the
6961         peer' isn't quite right yet though.
6962         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
6963         (gst_pad_remove_data_probe): Change to take the guint handler_id
6964         as their arg, not the function+data, which is more glib-like.
6965
6966         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
6967         the signal emission to indicate if the data is a buffer or an
6968         event.
6969         (gst_pad_get_type): Initialize buffer and event quarks.
6970         (gst_pad_class_init): have-data is now a detailed signal, yes it
6971         is.
6972
6973 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
6974
6975         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6976         * gst/gstutils.c: (gst_util_set_value_from_string),
6977         (gst_util_set_object_arg):
6978           Don't put functional code in g_return_if_fail() or
6979           g_return_val_if_fail() statements, otherwise things will 
6980           break when G_DISABLE_CHECKS is defined during compilation.
6981
6982 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6983
6984         * docs/gst/tmpl/.cvsignore:
6985         * docs/gst/tmpl/gstvalue.sgml:
6986         * gst/gstvalue.c:
6987         * gst/gstvalue.h:
6988           inlied another one and added  some obvious docs
6989
6990 2005-09-21  Wim Taymans  <wim@fluendo.com>
6991
6992         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
6993         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
6994         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
6995         (gst_fdsrc_get_property), (gst_fdsrc_create):
6996         * gst/elements/gstfdsrc.h:
6997         Properly implement fdsrc. Removed signal and timeout,
6998         better implemented somewhere else.
6999
7000 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
7001
7002         * docs/gst/tmpl/.cvsignore:
7003         * docs/gst/tmpl/gstimplementsinterface.sgml:
7004         * gst/gstinterface.c:
7005           inlined more docs
7006
7007 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
7008
7009         * docs/gst/gstreamer-sections.txt:
7010         * docs/gst/tmpl/.cvsignore:
7011         * docs/gst/tmpl/gstenumtypes.sgml:
7012           remove obsolete doc file
7013
7014 2005-09-21  David Schleef  <ds@schleef.org>
7015
7016         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
7017         little beer, fix a little leak.
7018
7019 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
7020
7021         * docs/gst/gstreamer-docs.sgml:
7022         * docs/gst/gstreamer-sections.txt:
7023         * docs/gst/tmpl/.cvsignore:
7024         * gst/Makefile.am:
7025         * gst/gst.h:
7026         * gst/gstbin.c:
7027         * gst/gstelement.h:
7028         * gst/gstindex.c: (gst_index_class_init):
7029         * gst/gstindex.h:
7030         * gst/gstindexfactory.c: (gst_index_factory_get_type),
7031         (gst_index_factory_class_init), (gst_index_factory_init),
7032         (gst_index_factory_finalize), (gst_index_factory_new),
7033         (gst_index_factory_destroy), (gst_index_factory_find),
7034         (gst_index_factory_create), (gst_index_factory_make):
7035         * gst/gstindexfactory.h:
7036         * gst/gstpluginfeature.c:
7037         * gst/gstpluginfeature.h:
7038         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
7039           more docs inlined, splitted gstindex.{c,h}
7040
7041 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7042
7043         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
7044           fix a leak
7045
7046 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
7047
7048         * gst/elements/gstfilesink.c: (gst_file_sink_init):
7049           Set sync to FALSE by default.
7050
7051 2005-09-20  Wim Taymans  <wim@fluendo.com>
7052
7053         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
7054         (gst_base_sink_init):
7055         Make sync property settable from subclass.
7056
7057         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
7058         (gst_fake_sink_change_state):
7059         Set sync to FALSE by default.
7060
7061 2005-09-20  Wim Taymans  <wim@fluendo.com>
7062
7063         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
7064         * tools/gst-launch.c: (main):
7065         The timeout handler should have lower priority than the source
7066         so we don't timeout before popping a message with 0 timeout.
7067         Dump error messages after failed state change.
7068
7069 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
7070
7071         * tools/gst-inspect.c: (print_element_properties_info):
7072           Fix two typos.
7073
7074 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7075
7076         * check/gst/gstevent.c:
7077         * gst/elements/gstfakesink.c:
7078         * gst/elements/gstfakesink.h:
7079           remove the sync property from fakesink.
7080           has the side effect of setting sync TRUE
7081           for fakesink, which is a change.  Anyone who knows how
7082           to fix this nicely in a GObject-y way, feel free.
7083
7084 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
7085
7086         * docs/gst/gstreamer-docs.sgml:
7087           remove probe refsection
7088
7089 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
7090
7091         * check/Makefile.am:
7092           disable valgrinding the controller test again
7093         * docs/gst/gstreamer-sections.txt:
7094           update for api-changes
7095
7096 2005-09-20  Wim Taymans  <wim@fluendo.com>
7097
7098         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
7099         (gst_base_sink_set_property), (gst_base_sink_get_property),
7100         (gst_base_sink_do_sync):
7101         * gst/base/gstbasesink.h:
7102         Added sync property to basesink to disable clock sync.
7103
7104 2005-09-20  Andy Wingo  <wingo@pobox.com>
7105
7106         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
7107         eating the caller's refcount.
7108
7109         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
7110         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
7111         refcount.
7112
7113         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
7114         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
7115         of GLib 2.8 public, so we can know which refcount to check in
7116         tests.
7117
7118         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
7119         (gst_object_init): Only set the gst refcount if we're going ahead
7120         with the refcount hack.
7121
7122 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
7123
7124         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
7125         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
7126           more leaks plumbed, added more debug-logging
7127         * gst/gstmacros.h:
7128           whitespace fix
7129
7130 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7131
7132         * gst/gstmessage.c:
7133           remove include of gstmemchunk.h
7134
7135 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7136
7137         * gst/gstclock.c: (_gst_clock_id_free):
7138           Commit from the Political Party For More Atomic CVS Commits,
7139           so that people don't waste too much of their day fishing
7140           out obvious leaks out of massive commits.
7141           Oh, and fix a pretty damn obvious leak in the memchunk
7142           removal code.
7143
7144 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
7145
7146         * check/Makefile.am:
7147         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
7148           plug mem-leak, re-add to valgrindable tests
7149
7150 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7151
7152         * gst/gstplugin.h:
7153           unbreak the build for those who have chronic arthritis
7154           and typing "make check" is just too taxing on the hands
7155
7156 2005-09-20  Andy Wingo  <wingo@pobox.com>
7157
7158         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
7159         really want it out, you should fix plugins at the same time.
7160
7161 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
7162
7163         * configure.ac:
7164         * docs/gst/gstreamer-sections.txt:
7165         * gst/gstobject.c:
7166           added missing symbols to api docs
7167           disable ref-count hack if we have glib >= 2.8
7168
7169 2005-09-19  David Schleef  <ds@schleef.org>
7170
7171         * docs/gst/Makefile.am: Ignore a few more internal headers
7172         * docs/gst/gstreamer-docs.sgml: Remove old sections
7173         * docs/gst/gstreamer-sections.txt: Remove old sections
7174         * docs/gst/tmpl/gstobject.sgml: update
7175         * docs/gst/tmpl/gstplugin.sgml: update
7176         * docs/gst/tmpl/gstpluginfeature.sgml: update
7177         * docs/random/ds/0.9-suggested-changes: update.
7178         * gst/Makefile.am: remove memchunk and trashstack, since they're
7179           not used.
7180         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
7181         * gst/gst.h: don't include some headers
7182         * gst/gstchildproxy.c: add gstmarshal.h
7183         * gst/gstclock.c: Don't use memchunks
7184         * gst/gstminiobject.c: Add some docs
7185         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
7186         * gst/gstobject.h: same
7187         * gst/gstplugin.c: include gstmacros.h
7188         * gst/gstplugin.h: don't include gstmacros.h, since it's private
7189         * gst/gstquery.c: don't use memchunks
7190         * gst/gstregistry.c: rename gst_registry_deinit()
7191         * gst/gstregistry.h: same
7192
7193 2005-09-19  David Schleef  <ds@schleef.org>
7194
7195         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
7196         * docs/libs/gstreamer-libs-sections.txt:
7197         * docs/libs/tmpl/gstgetbits.sgml:
7198         * docs/libs/tmpl/gstputbits.sgml:
7199
7200 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
7201
7202         * win32/gstenumtypes.c:
7203         * win32/gstenumtypes.h:
7204           Update.
7205
7206 2005-09-19  Wim Taymans  <wim@fluendo.com>
7207
7208         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
7209         Automatically PAUSE and RESUME a pipeline when a flushing seek
7210         is performed.
7211
7212 2005-09-19  Andy Wingo  <wingo@pobox.com>
7213
7214         * gst/gstregistry.h: Spacing fixen.
7215
7216 2005-09-19  Wim Taymans  <wim@fluendo.com>
7217
7218         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
7219         Handle state change failure more correctly.
7220
7221 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
7222
7223         * check/Makefile.am:
7224         * check/pipelines/cleanup.c: (run_pipeline):
7225         * check/pipelines/simple_launch_lines.c: (run_pipeline),
7226         (GST_START_TEST):
7227           enable cleanup again after fixing the leak
7228         * docs/README:
7229           some more info on docs
7230
7231 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
7232
7233         * check/Makefile.am:
7234           re-enable tests now that leaks are plugged
7235         * check/gst/gst.c:
7236         * check/gst/gstbin.c:
7237         * check/gst/gstpipeline.c:
7238           add some more tests while fixing leaks
7239         * common/check.mak:
7240           make sure binaries are uptodate when valgrinding/gdbing
7241         * gst/gst.c:
7242         * gst/gstelementfactory.c:
7243           remove a ref too many, and add a FIXME for when we get
7244           round to disposing of classes
7245         * gst/gstplugin.c:
7246           fix the refcounting when loading a plugin from a file and
7247           the code pretends that the pointer is the same even though
7248           of course it can change
7249         * gst/gstpluginfeature.c:
7250           unref plugins marked cached (a bit confusing as a name)
7251           as the docs state should be done
7252           various doc additions to explain refcounting
7253         * gst/gstregistry.c:
7254         * gst/gstregistryxml.c:
7255           debugging
7256
7257 2005-09-19  Wim Taymans  <wim@fluendo.com>
7258
7259         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
7260         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
7261         (send_messages), (GST_START_TEST), (gstbus_suite):
7262         * check/gst/gstpipeline.c: (GST_START_TEST):
7263         * check/pipelines/cleanup.c: (run_pipeline):
7264         * check/pipelines/simple_launch_lines.c: (run_pipeline),
7265         (GST_START_TEST):
7266         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
7267         (gst_bus_source_check), (gst_bus_source_dispatch),
7268         (gst_bus_create_watch), (gst_bus_add_watch_full),
7269         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
7270         * gst/gstbus.h:
7271         * tools/gst-launch.c: (event_loop):
7272         * tools/gst-md5sum.c: (event_loop):
7273         GstBusHandler -> GstBusFunc, return value has the same meaning as
7274         any other GSource (FALSE == remove source).
7275         _add_watch() and _add_watch_full() now take a MessageType mask to
7276         only handle specific types of messages.
7277         _poll() returns the GstMessage instead of the message type to avoid
7278         race conditions.
7279         _have_pending() takes a MessageType mask now too.
7280         Added testsuite for multiple bus watches.
7281         Fix testsuites and applications for new bus API.
7282
7283 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
7284
7285         * check/Makefile.am:
7286           mark a bunch of the tests as to fix until we fix them
7287
7288 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
7289
7290         * common/check.mak:
7291           use GST_PLUGIN settings for valgrind tests as well, so we're
7292           valgrinding the correct thing
7293         * gst/gst.c: (init_post):
7294           plug another leak
7295
7296 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
7297
7298         * gst/gst.c: (init_post), (gst_deinit):
7299         * gst/gstelementfactory.c: (gst_element_factory_class_init),
7300         (gst_element_factory_finalize), (gst_element_factory_cleanup):
7301         * gst/gstindex.c: (gst_index_factory_class_init),
7302         (gst_index_factory_finalize):
7303         * gst/gstobject.c: (gst_object_dispose):
7304         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
7305         (gst_plugin_load_file), (gst_plugin_desc_free):
7306         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
7307         (gst_plugin_feature_finalize):
7308         * gst/gstregistry.c: (gst_registry_class_init),
7309         (gst_registry_init), (gst_registry_finalize),
7310         (gst_registry_get_default), (gst_registry_deinit):
7311         * gst/gstregistry.h:
7312         * gst/gstregistryxml.c: (load_feature), (load_plugin):
7313           various cleanups and memleak plugging.  make valgrind is happy now.
7314
7315 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
7316
7317         * common/check.mak:
7318           add a check-valgrind target
7319
7320 2005-09-18  David Schleef  <ds@schleef.org>
7321
7322         * tools/gst-inspect.c: Revert the GOption code.
7323
7324 2005-09-17  David Schleef  <ds@schleef.org>
7325
7326         * check/Makefile.am: Fix environment variables.
7327         * check/gst/gstplugin.c: Fix for API changes.
7328         * tools/gst-inspect.c: Fix for API changes.
7329         * tools/gst-xmlinspect.c: Fix for API changes.
7330         * gst/gstelementfactory.c:
7331         * gst/gstplugin.c:
7332         * gst/gstplugin.h:
7333         * gst/gstpluginfeature.c:
7334         * gst/gstpluginfeature.h:
7335         * gst/gstregistry.c:
7336         * gst/gstregistry.h:
7337         * gst/gstregistryxml.c:
7338         * gst/gsttypefind.c:
7339         * gst/gsttypefindfactory.c:
7340         * gst/indexers/gstfileindex.c:
7341         * gst/indexers/gstmemindex.c:
7342         * gst/schedulers/Makefile.am:
7343           Change registry to keep track of both plugins and features,
7344           removing the feature tracking from plugins themselves.
7345
7346 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7347
7348         * check/Makefile.am:
7349         * tools/gst-register.1.in:
7350           remove gst-register
7351
7352 2005-09-15  David Schleef  <ds@schleef.org>
7353
7354         * check/gst/gstplugin.c:
7355         * gst/gstelementfactory.c:
7356         * gst/gstplugin.c:
7357         * gst/gstpluginfeature.c:
7358         * gst/gstregistry.c:
7359           Getting tired of debugging.  Disabled all the unreffing of
7360           plugins and features, which fixes the segfaults, but of
7361           course leaks like crazy.  At least playbin works.
7362
7363 2005-09-15  David Schleef  <ds@schleef.org>
7364
7365         * check/gst/gstplugin.c: (register_check_elements),
7366         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
7367         More testing
7368         * gst/elements/gsttypefindelement.c: Fix refcounting.
7369         * gst/gsttypefind.c:
7370         * gst/gsttypefindfactory.c:
7371         * gst/gsttypefindfactory.h:
7372
7373 2005-09-15  David Schleef  <ds@schleef.org>
7374
7375         * gst/gstindex.c: get refcounting correct.
7376         * gst/gstregistry.c: Handle the case where a feature/plugin is
7377           not found.
7378
7379 2005-09-15  David Schleef  <ds@schleef.org>
7380
7381         * check/Makefile.am:
7382         * check/gst/gstplugin.c: Add test
7383         * gst/gstplugin.c: Fix problems noticed by testsuite
7384         * gst/gstplugin.h:
7385         * gst/gstregistry.c: 
7386         * gst/gstregistry.h:
7387
7388 2005-09-15  David Schleef  <ds@schleef.org>
7389
7390         * gst/gstplugin.c: Implement semi-decent recounting and locking
7391           in plugins and plugin features.
7392         * gst/gstplugin.h:
7393         * gst/gstpluginfeature.c:
7394         * gst/gstpluginfeature.h:
7395         * gst/gstregistry.c:
7396
7397 2005-09-15  Michael Smith <msmith@fluendo.com>
7398
7399         * gst/gstregistry.c: (gst_registry_get_feature_list):
7400           Implement this. Makes oggdemux work; decodebin still broken.
7401
7402 2005-09-14  David Schleef  <ds@schleef.org>
7403
7404         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
7405           #316076)
7406         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
7407         * gst/check/Makefile.am:
7408         * libs/gst/controller/Makefile.am:
7409         * libs/gst/dataprotocol/Makefile.am:
7410
7411 2005-09-14  David Schleef  <ds@schleef.org>
7412
7413         * configure.ac: Remove getbits library.  Nothing uses it, and
7414           it should be in something like liboil if someone did want
7415           to use it.
7416         * libs/gst/Makefile.am:
7417         * libs/gst/getbits/Makefile.am:
7418         * libs/gst/getbits/gbtest.c:
7419         * libs/gst/getbits/getbits.c:
7420         * libs/gst/getbits/getbits.h:
7421         * libs/gst/getbits/gstgetbits_generic.c:
7422         * libs/gst/getbits/gstgetbits_i386.s:
7423         * libs/gst/getbits/gstgetbits_inl.h:
7424
7425 2005-09-14  David Schleef  <ds@schleef.org>
7426
7427         * gst/Makefile.am: Dist glib-compat.h
7428
7429 2005-09-14  David Schleef  <ds@schleef.org>
7430
7431         * configure.ac: Remove gst/registries, since it's no longer used.
7432         * gst/registries/Makefile.am:
7433         * gst/registries/gstlibxmlregistry.c:
7434         * gst/registries/gstlibxmlregistry.h:
7435         * gst/registries/gstxmlregistry.c:
7436         * gst/registries/gstxmlregistry.h:
7437         * gst/registries/registrytest.c:
7438
7439 2005-09-14  David Schleef  <ds@schleef.org>
7440
7441         * gst/glib-compat.h:
7442         * gst/gstregistryxml.c:
7443           Convergence is near.  Seriously.
7444
7445 2005-09-14  David Schleef  <ds@schleef.org>
7446
7447         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
7448         * gst/glib-compat.h:
7449           Attempt #4 to appease the buildbots.
7450
7451 2005-09-14  David Schleef  <ds@schleef.org>
7452
7453         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
7454           Attempt #3.
7455
7456 2005-09-14  David Schleef  <ds@schleef.org>
7457
7458         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
7459         Attempt #2.
7460
7461 2005-09-14  David Schleef  <ds@schleef.org>
7462
7463         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
7464           the new functions.
7465
7466 2005-09-14  David Schleef  <ds@schleef.org>
7467
7468         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
7469         * gst/glib-compat.h: Add some functions that are in newer versions
7470           of glib than we care to require.
7471         * gst/gstregistryxml.c: Use them.
7472
7473 2005-09-14  David Schleef  <ds@schleef.org>
7474
7475         * po/POTFILES.in: remove gst-register.c
7476
7477 2005-09-14  David Schleef  <ds@schleef.org>
7478
7479         * docs/gst/gstreamer-docs.sgml:
7480         * docs/gst/gstreamer-sections.txt:
7481         * docs/gst/gstreamer.types:
7482         * docs/gst/tmpl/gstelement.sgml:
7483         * docs/gst/tmpl/gstplugin.sgml:
7484         * docs/gst/tmpl/gstpluginfeature.sgml:
7485           Documentation updates for registry changes.
7486
7487 2005-09-14  David Schleef  <ds@schleef.org>
7488
7489         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
7490           because we don't require glib-2.8.
7491
7492 2005-09-14  David Schleef  <ds@schleef.org>
7493
7494         * gst/gstregistryxml.c: Added.  Essentially moved out of the
7495           registries directory.
7496
7497 2005-09-14  David Schleef  <ds@schleef.org>
7498
7499         * check/Makefile.am:
7500         * check/generic/states.c:
7501         * gst/Makefile.am:
7502         * gst/gst.c:
7503         * gst/gst.h:
7504         * gst/gst_private.h:
7505         * gst/gstelementfactory.c:
7506         * gst/gstindex.c:
7507         * gst/gstinfo.c:
7508         * gst/gstplugin.c:
7509         * gst/gstplugin.h:
7510         * gst/gstpluginfeature.c:
7511         * gst/gstpluginfeature.h:
7512         * gst/gstregistry.c:
7513         * gst/gstregistry.h:
7514         * gst/gstregistrypool.c: remove
7515         * gst/gstregistrypool.h: remove
7516         * gst/gsttypefind.c:
7517         * gst/gsttypefindfactory.c:
7518         * gst/gsturi.c:
7519         * tools/Makefile.am:
7520         * tools/gst-compprep.c:
7521         * tools/gst-inspect.c:
7522         * tools/gst-register.c: remove
7523         * tools/gst-xmlinspect.c:
7524           Registry rewrite.  Changes registry from being a file created
7525           by a tool into a simple cache file created automatically by 
7526           libgstreamer.  Removed gst-register (because it's no longer
7527           needed).  Remove registry pools, because we only have one
7528           registry implementation (XML).  Fix up other subsystems as
7529           necessary.
7530
7531 2005-09-13  Michael Smith <msmith@fluendo.com>
7532
7533         * gst/gstconfig.h.in:
7534           Don't Use windows linking attributes for MinGW. Fixes #316157
7535
7536 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7537
7538         * gst/gstutils.c: (set_state_async_thread_func),
7539         (gst_element_set_state_async):
7540           Apparently people think it's better if this function doesn't
7541           try to set the state to whatever state was asked for on the first
7542           call to this function for any object.  Seriously.
7543
7544 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7545
7546         * check/gst/gstpipeline.c: (GST_START_TEST):
7547         * docs/gst/gstreamer-sections.txt:
7548         * gst/gstutils.c: (set_state_async_thread_func),
7549         (gst_element_set_state_async):
7550         * gst/gstutils.h:
7551           add a "gst_element_set_state_async" method that
7552           sets the state and starts a thread to make sure the state
7553           change completes as best as it can
7554
7555 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7556
7557         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
7558           codify design+behaviour in testsuite after discussion
7559
7560 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7561
7562         * docs/gst/tmpl/gstelement.sgml:
7563         * docs/manual/appendix-quotes.xml:
7564           add a quote
7565         * gst/gstelement.c: (gst_element_set_state):
7566           add some debug
7567
7568 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
7569
7570         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7571         (gst_base_transform_prepare_output_buf),
7572         (gst_base_transform_handle_buffer):
7573         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
7574         (gst_capsfilter_prepare_buf):
7575           Remove the requirement for sub-classes to call the parent
7576           implementation of prepare_output_buffer with a wrapper function.
7577           
7578         * gst/gsttaglist.h:
7579         * gst/gsttagsetter.h:
7580           Fix #define wrapper
7581
7582 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
7583
7584         * docs/gst/gstreamer-sections.txt:
7585           more doc cleanups
7586
7587 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
7588
7589         * docs/gst/gstreamer-sections.txt:
7590         * docs/gst/tmpl/gstelement.sgml:
7591         * docs/gst/tmpl/gstplugin.sgml:
7592         * gst/gstminiobject.c:
7593         * gst/gstvalue.h:
7594           docs now stop throwing warnings
7595
7596 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
7597
7598         * docs/gst/gstreamer-sections.txt:
7599         * docs/gst/gstreamer.types:
7600         * docs/gst/tmpl/gstpad.sgml:
7601         * docs/gst/tmpl/gsttypes.sgml:
7602         * gst/base/gstadapter.h:
7603         * gst/base/gstbasesink.h:
7604         * gst/base/gstbasesrc.h:
7605         * gst/gstbin.h:
7606         * gst/gstbuffer.h:
7607         * gst/gstbus.h:
7608         * gst/gstcaps.h:
7609         * gst/gstclock.h:
7610         * gst/gstelement.h:
7611         * gst/gstevent.h:
7612         * gst/gstmessage.h:
7613         * gst/gstpad.h:
7614         * gst/gststructure.c:
7615         * gst/registries/gstlibxmlregistry.h:
7616           various documentation fixes
7617
7618 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
7619
7620         * docs/gst/gstreamer-sections.txt:
7621         * docs/gst/tmpl/gstvalue.sgml:
7622           rearrange gstvalue section
7623         * gst/gstutils.c: (gst_element_state_get_name):
7624           NONE -> VOID
7625         * gst/gstvalue.c: (_gst_value_initialize):
7626         * gst/gstvalue.h:
7627           doc updates
7628
7629 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
7630
7631         * check/gst-libs/controller.c:
7632           Header include fix.
7633         * gst/base/gstbasetransform.c:
7634         (gst_base_transform_default_prepare_buf),
7635         (gst_base_transform_handle_buffer):
7636         * gst/base/gstbasetransform.h:
7637           Some more basetransform changes and fixes to enable sub-classes
7638           that modify buffer metadata only.
7639         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7640         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
7641         (gst_capsfilter_prepare_buf):
7642           If the output pad has fixed allowed caps and input buffers 
7643           don't have any, set the fixed caps on outgoing buffers.
7644
7645 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
7646         * check/elements/identity.c: (GST_START_TEST):
7647           Make the error a little clearer when the test fails because
7648           identity made a copy of the buffer.
7649         * docs/gst/gstreamer-sections.txt:
7650           New symbols in gstbasetransform.h
7651         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7652         (gst_base_transform_init), (gst_base_transform_transform_size),
7653         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7654         (gst_base_transform_default_prepare_buf),
7655         (gst_base_transform_get_unit_size),
7656         (gst_base_transform_buffer_alloc),
7657         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7658         (gst_base_transform_change_state),
7659         (gst_base_transform_set_passthrough),
7660         (gst_base_transform_set_in_place),
7661         (gst_base_transform_is_in_place):
7662         * gst/base/gstbasetransform.h:
7663           Change BaseTransform to separate in_place operate from same_caps
7664           output. in_place implies that the element can perform the transform
7665           on incoming buffers in-place, even if the caps on the output are
7666           different.
7667           Sub-class elements can now implement special buffer allocation
7668           methods for outgoing buffers if they wish to.
7669           Big documentation addition.
7670         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
7671         * gst/elements/gstelements.c:
7672           Changes for basetransform modifications.
7673         * gst/elements/Makefile.am:
7674         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
7675           Compile fix. Extra debug output.
7676
7677 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7678
7679         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
7680         (gst_pad_suite):
7681           add tests for valid pad naming
7682         * gst/check/gstcheck.c: (gst_check_log_message_func),
7683         (gst_check_log_critical_func):
7684           add ASSERT_WARNING
7685           remove printing of code, it is fragile when the code contains
7686           % and the line number is enough info
7687         * gst/check/gstcheck.h:
7688         * gst/gstpad.c: (gst_pad_template_new):
7689           fix memleaks
7690
7691 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7692
7693         * configure.ac:
7694           say what CHECK flags we use
7695         * docs/libs/gstreamer-libs.types:
7696         * libs/gst/controller/Makefile.am:
7697         * libs/gst/controller/gst-controller.c:
7698         * libs/gst/controller/gst-controller.h:
7699         * libs/gst/controller/gst-helper.c:
7700         * libs/gst/controller/gst-interpolation.c:
7701         * libs/gst/controller/gstcontroller.c:
7702         * libs/gst/controller/gsthelper.c:
7703         * libs/gst/controller/gstinterpolation.c:
7704         * tools/gst-inspect.c: (print_plugin_info):
7705           we don't use dashes in header names
7706
7707 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7708
7709         * check/Makefile.am:
7710         * check/gst/.cvsignore:
7711         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
7712         (gst_pipeline_suite), (main):
7713           adding a test for pipelines and state changes
7714         * gst/gstutils.c: (get_state_func):
7715           add some debugging
7716         * gstreamer.spec.in:
7717           fix up spec file
7718
7719 2005-09-08  Michael Smith <msmith@fluendo.com>
7720
7721         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
7722         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
7723         (gst_file_src_is_seekable), (gst_file_src_get_size),
7724         (gst_file_src_start):
7725         * gst/elements/gstfilesrc.h:
7726           Various fixes for unseekable, unmmapable, and non-normal files, so
7727           that fallback to read() rather than mmap() works.
7728         * gst/gstevent.c: (gst_event_new_newsegment):
7729           Allow newsegment events with segment_start == segment_end, as will
7730           correctly happen if you use filesrc on a zero-size file, for
7731           example.
7732
7733 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
7734
7735         * gst/gstplugin.c: (gst_plugin_load_file):
7736           Call g_module_close when we don't load the module
7737
7738         * gst/registries/gstlibxmlregistry.c:
7739         (gst_xml_registry_get_property):
7740           Port leak fix from 0.8
7741
7742 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
7743
7744         * docs/gst/gstreamer-docs.sgml:
7745         * docs/gst/tmpl/.cvsignore:
7746         * docs/gst/tmpl/gsttrace.sgml:
7747         * docs/gst/tmpl/gsttrashstack.sgml:
7748         * gst/Makefile.am:
7749         * gst/gst.h:
7750         * gst/gstelement.h:
7751         * gst/gstevent.h:
7752         * gst/gstmessage.c:
7753         * gst/gstmessage.h:
7754         * gst/gsttag.c:
7755         * gst/gsttag.h:
7756         * gst/gsttaginterface.c:
7757         * gst/gsttaginterface.h:
7758         * gst/gsttaglist.c:
7759         * gst/gsttaglist.h:
7760         * gst/gsttagsetter.c:
7761         * gst/gsttagsetter.h:
7762         * gst/gsttrace.c:
7763         * gst/gsttrace.h:
7764         * gst/gsttrashstack.c:
7765           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
7766           inlined docs for gsttrace, gsttrashstack
7767
7768 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
7769
7770         * gst/Makefile.am:
7771         * gst/elements/gstbufferstore.h:
7772         * gst/elements/gsttypefindelement.c:
7773         * gst/elements/gsttypefindelement.h:
7774         * gst/gst.h:
7775         * gst/gsttypefind.c:
7776         * gst/gsttypefind.h:
7777         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
7778         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
7779         (gst_type_find_factory_dispose),
7780         (gst_type_find_factory_unload_thyself),
7781         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
7782         (gst_type_find_factory_get_caps),
7783         (gst_type_find_factory_get_extensions),
7784         (gst_type_find_factory_call_function):
7785         * gst/gsttypefindfactory.h:
7786         * gst/registries/gstlibxmlregistry.c:
7787         * gst/registries/gstxmlregistry.c:
7788           splitted gsttypefind into gsttypefind, gsttypefindfactory
7789
7790 2005-09-07  Andy Wingo  <wingo@pobox.com>
7791
7792         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
7793         condition whereby the pad's task function is entered before the
7794         pad_mode variable was set.
7795
7796 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
7797
7798         * gst/gstpad.c: (gst_pad_alloc_buffer):
7799           Catch misbehaving pad_alloc functions that don't
7800           set up caps and do it for them.
7801
7802 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
7803
7804         * check/pipelines/simple_launch_lines.c: (run_pipeline):
7805           test for pipe!=NULL
7806         * docs/gst/tmpl/.cvsignore:
7807         * docs/gst/tmpl/gstmemchunk.sgml:
7808         * docs/gst/tmpl/gstparse.sgml:
7809         * docs/gst/tmpl/gsttaglist.sgml:
7810         * docs/gst/tmpl/gsttagsetter.sgml:
7811         * docs/gst/tmpl/gsttypefind.sgml:
7812         * docs/gst/tmpl/gsttypefindfactory.sgml:
7813         * gst/gstmemchunk.c:
7814         * gst/gstparse.c:
7815         * gst/gsttag.c:
7816         * gst/gsttaginterface.c:
7817         * gst/gsttypefind.c:
7818         * gst/gsttypefind.h:
7819           inlined more docs
7820
7821 === release 0.9.2 ===
7822
7823 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7824
7825         * NEWS:
7826         * RELEASE:
7827         * configure.ac:
7828           releasing 0.9.2, "South"
7829
7830 2005-09-05  Andy Wingo  <wingo@pobox.com>
7831
7832         * gst/registries/gstxmlregistry.h:
7833         * gst/registries/gstxmlregistry.c: Um... resurrect...
7834         
7835         * gst/registries/gstxmlregistry.h:
7836         * gst/registries/gstxmlregistry.c: and update to newer API.
7837         Incidentally they should be a bit faster now that they don't have
7838         to parse the caps.
7839         
7840 2005-09-05  Andy Wingo  <wingo@pobox.com>
7841
7842         * gst/registries/gstxmlregistry.h:
7843         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
7844         replaced by the libxml registry a while back
7845
7846 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
7847
7848         * docs/gst/tmpl/gstplugin.sgml:
7849         * gst/elements/gstelements.c:
7850         * gst/gst.c:
7851         * gst/gstplugin.c: (gst_plugin_register_func),
7852         (gst_plugin_desc_copy), (gst_plugin_desc_free),
7853         (gst_plugin_get_source):
7854         * gst/gstplugin.h:
7855         * gst/registries/gstlibxmlregistry.c: (load_plugin),
7856         (gst_xml_registry_save_plugin):
7857         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
7858         (gst_xml_registry_save_plugin):
7859         * tools/gst-inspect.c: (print_plugin_info):
7860           add a "source" plugin description field, to represent the source
7861           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
7862           will set it to PACKAGE, which is automake's idea of the name of
7863           the source project.
7864
7865 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
7866
7867         * Makefile.am:
7868         * autogen.sh:
7869         * configure.ac:
7870         * docs/Makefile.am:
7871         * docs/faq/Makefile.am:
7872         * docs/gst/tmpl/gstelement.sgml:
7873         * docs/gst/tmpl/gsttypes.sgml:
7874         * docs/htmlinstall.mak:
7875         * docs/manual/Makefile.am:
7876         * docs/pwg/Makefile.am:
7877           reorganize doc build a little
7878           split out docbook and gtk-doc stuff
7879           have two separate --enable's and enable them through autogen
7880           but disable by default in configure (to be similar to other
7881           projects)
7882         * gstreamer.spec.in:
7883           clean up docs install
7884         * po/af.po:
7885         * po/az.po:
7886         * po/ca.po:
7887         * po/cs.po:
7888         * po/de.po:
7889         * po/en_GB.po:
7890         * po/fr.po:
7891         * po/it.po:
7892         * po/nb.po:
7893         * po/nl.po:
7894         * po/ru.po:
7895         * po/sq.po:
7896         * po/sr.po:
7897         * po/sv.po:
7898         * po/tr.po:
7899         * po/uk.po:
7900         * po/vi.po:
7901           translation updates
7902
7903 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
7904
7905         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
7906           Add comment.
7907           
7908         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
7909         (gst_fake_sink_change_state):
7910           Make state change function thread-safe.
7911           
7912         * gst/gstpad.c: (gst_pad_alloc_buffer):
7913           Set offset on generic buffer allocated by fallback.
7914
7915 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
7916
7917         * docs/gst/gstreamer-sections.txt:
7918         * docs/gst/tmpl/gstelement.sgml:
7919         * gst/gstpad.c:
7920         * libs/gst/controller/gst-controller.c:
7921         (gst_controlled_property_set_interpolation_mode),
7922         (gst_controlled_property_new),
7923         (gst_controller_find_controlled_property):
7924          run the wingo-magic script against the docs
7925
7926 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
7927
7928         * docs/gst/gstreamer-docs.sgml:
7929         * docs/gst/gstreamer-sections.txt:
7930         * docs/gst/tmpl/.cvsignore:
7931         * docs/gst/tmpl/gstelementdetails.sgml:
7932         * docs/gst/tmpl/gstelementfactory.sgml:
7933         * gst/gst.c:
7934         * gst/gstbus.c:
7935         * gst/gstelementfactory.c:
7936         * gst/gstelementfactory.h:
7937           merged elementdetails docs into elementfactory docs
7938           inlined both
7939
7940 2005-09-02  Andy Wingo  <wingo@pobox.com>
7941
7942         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
7943         consider this enum an enum and not a flags.
7944
7945 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
7946
7947         * docs/gst/gstreamer-docs.sgml:
7948         * docs/gst/tmpl/.cvsignore:
7949         * docs/gst/tmpl/gstghostpad.sgml:
7950         * docs/gst/tmpl/gstiterator.sgml:
7951         * docs/gst/tmpl/gstmacros.sgml:
7952         * docs/gst/tmpl/gstrealpad.sgml:
7953         * docs/gst/tmpl/gstregistry.sgml:
7954         * docs/gst/tmpl/gstregistrypool.sgml:
7955         * docs/gst/tmpl/gststructure.sgml:
7956         * docs/gst/tmpl/gstsystemclock.sgml:
7957         * docs/gst/tmpl/gsttrace.sgml:
7958         * gst/gstghostpad.c:
7959         * gst/gstmacros.h:
7960         * gst/gstmemchunk.c:
7961         * gst/gstmemchunk.h:
7962         * gst/gstqueue.c:
7963         * gst/gstregistry.c:
7964         * gst/gstregistrypool.c:
7965         * gst/gststructure.c:
7966         * gst/gstsystemclock.c:
7967           more docs inlined
7968
7969 2005-09-02  Andy Wingo  <wingo@pobox.com>
7970
7971         * gst/gstelement.h (GstState): Renamed from GstElementState,
7972         changed to be a normal enum instead of flags.
7973         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
7974         munged to be GST_STATE_CHANGE_*.
7975         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
7976         work with the new state representation.
7977         (GstStateChange): New enumeration of possible state transitions.
7978         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
7979         (GstElementClass::change_state): Pass the GstStateChange along as
7980         an argument. Helps language bindings, so they don't have to use
7981         tricky lock-needing macros like GST_STATE_CHANGE ().
7982
7983         * scripts/update-states (file): New script. Run it on a file to
7984         update it for state naming and API changes. Updates files in
7985         place.
7986
7987         * All files updated for the new API.
7988
7989 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7990
7991         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
7992         * gst/gstutils.c: (gst_util_set_value_from_string),
7993         (gst_util_set_object_arg):
7994           fix a bunch of unchecked return values
7995         * tools/gst-complete.c: (main):
7996         * gstreamer.spec.in:
7997           clean up a little
7998
7999 2005-09-01  Wim Taymans  <wim@fluendo.com>
8000
8001         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8002         (gst_base_sink_event), (gst_base_sink_do_sync),
8003         (gst_base_sink_handle_event):
8004         * gst/base/gstbasesink.h:
8005         Handle newsegments more correctly.
8006
8007         * gst/gstbus.c:
8008         Fix docs.
8009
8010         * gst/gstevent.c: (gst_event_new_newsegment):
8011         A newsegment cannot have a start_time of -1
8012
8013 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
8014
8015         * win32/gstenumtypes.c:
8016         * win32/gstenumtypes.h:
8017           Update
8018
8019 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
8020
8021         * libs/gst/controller/gst-controller.c:
8022         (gst_controlled_property_set_interpolation_mode),
8023         (gst_controlled_property_new):
8024          fixed boolean again
8025
8026 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
8027
8028         * docs/faq/gst-uninstalled:
8029           add -good
8030         * gst/gstevent.c:
8031         * gst/gstevent.h:
8032           remove wrong docs
8033         * gst/gstutils.c: (gst_element_link_filtered):
8034         * gst/gstutils.h:
8035           add gst_element_link_filtered
8036
8037 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
8038
8039         * docs/gst/gstreamer-docs.sgml:
8040         * docs/gst/gstreamer-sections.txt:
8041         * docs/gst/tmpl/.cvsignore:
8042         * docs/gst/tmpl/gsterror.sgml:
8043         * docs/gst/tmpl/gstfilter.sgml:
8044         * docs/gst/tmpl/gsturihandler.sgml:
8045         * docs/gst/tmpl/gsturitype.sgml:
8046         * docs/gst/tmpl/gstutils.sgml:
8047         * docs/gst/tmpl/gstxml.sgml:
8048         * gst/gsterror.c:
8049         * gst/gsterror.h:
8050         * gst/gstfilter.c:
8051         * gst/gsturi.c:
8052         * gst/gsturitype.c:
8053         * gst/gstutils.c:
8054         * gst/gstxml.c:
8055           inlined more docs, fixed double id-ref
8056
8057 2005-08-31  Wim Taymans  <wim@fluendo.com>
8058
8059         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8060         (gst_base_transform_handle_buffer):
8061         Passthrough elements don't need the caps as they don't care.
8062
8063 2005-08-31  Wim Taymans  <wim@fluendo.com>
8064
8065         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8066         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
8067         Don't leak refcounts on buffers.
8068
8069 2005-08-31  Wim Taymans  <wim@fluendo.com>
8070
8071         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
8072         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
8073         (gst_base_transform_chain), (gst_base_transform_change_state):
8074         * gst/base/gstbasetransform.h:
8075         Handle the case where we are not negotiated more gracefully.
8076
8077 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
8078
8079         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
8080         (gst_file_src_map_region):
8081           Set READONLY flag on mmap'ed buffers, otherwise
8082           gst_buffer_make_writable() won't work properly (#314708).
8083
8084 2005-08-31  Wim Taymans  <wim@fluendo.com>
8085
8086         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
8087         passthrough elements can even do inplace on non writable
8088         buffers (as they don't touch them).
8089
8090 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
8091
8092         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8093         (gst_test_mono_source_set_property),
8094         (gst_test_mono_source_class_init), (GST_START_TEST),
8095         (gst_controller_suite):
8096           more tests (hehe I have the most)
8097         * gst/gstbus.c:
8098           describe popping messages whenusing mulltiple sources
8099         * libs/gst/controller/gst-controller.c:
8100         (gst_controlled_property_set_interpolation_mode),
8101         (gst_controlled_property_new):
8102         * libs/gst/controller/gst-controller.h:
8103         * libs/gst/controller/gst-interpolation.c:
8104           implement boolean properties
8105
8106 2005-08-31  Wim Taymans  <wim@fluendo.com>
8107
8108         * gst/gstminiobject.c: (gst_mini_object_ref):
8109         Cannot assert that the refcount has to be positive
8110         since a disposed object can be resurrected.
8111
8112 2005-08-31  Wim Taymans  <wim@fluendo.com>
8113
8114         * gst/gstpad.c: (gst_pad_init):
8115         Revert change, need to first fix badly behaving 
8116         apps.
8117
8118 2005-08-30  Wim Taymans  <wim@fluendo.com>
8119
8120         * check/elements/fakesrc.c: (setup_fakesrc):
8121         * check/elements/identity.c: (setup_identity):
8122         Activate pads before using them.
8123
8124 2005-08-30  Wim Taymans  <wim@fluendo.com>
8125
8126         * gst/base/gstadapter.c: (gst_adapter_flush):
8127         Flushing out 0 bytes is ok for this function.
8128
8129         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8130         no newsegment gives a warning and sets the start/stop to 
8131         invalid.
8132
8133         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
8134         (gst_base_transform_set_passthrough):
8135         Some debug info.
8136
8137         * gst/gstminiobject.c: (gst_mini_object_ref):
8138         Check refcount here too.
8139
8140         * gst/gstpad.c: (gst_pad_init):
8141         Pads are initially flushing and refusing data.
8142
8143         * gst/gstutils.c: (gst_element_link_pads_filtered):
8144         When adding a capsfilter element make sure it has the
8145         same state as the parent bin.
8146
8147 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
8148
8149         * docs/gst/tmpl/.cvsignore:
8150         * docs/gst/tmpl/gstformat.sgml:
8151         * docs/gst/tmpl/gstversion.sgml:
8152         * gst/gstbus.h:
8153         * gst/gstformat.c:
8154         * gst/gstformat.h:
8155         * gst/gstversion.h.in:
8156           more docs and two more inlined
8157
8158 2005-08-30  Wim Taymans  <wim@fluendo.com>
8159
8160         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
8161         Don't sync to clock.
8162
8163 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
8164
8165         * docs/gst/gstreamer-sections.txt:
8166           ultral33t func10ns deserve to appear in the docs actually
8167         * docs/gst/tmpl/.cvsignore:
8168         * docs/gst/tmpl/gstcompat.sgml:
8169         * docs/gst/tmpl/gstconfig.sgml:
8170         * gst/check/gstcheck.c:
8171         * gst/gstcompat.h:
8172         * gst/gstconfig.h.in:
8173           inlined more docs
8174
8175 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
8176
8177         * docs/gst/tmpl/.cvsignore:
8178         * docs/gst/tmpl/gstquery.sgml:
8179         * docs/gst/tmpl/gstutils.sgml:
8180         * gst/gstquery.c:
8181         * gst/gstquery.h:
8182           inlined and extended docs
8183
8184 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
8185
8186         * check/gst-libs/controller.c: (GST_START_TEST),
8187         (gst_controller_suite):
8188           more tests
8189         * docs/gst/tmpl/gstutils.sgml:
8190         * docs/libs/gstreamer-libs-sections.txt:
8191         * docs/libs/tmpl/gstdataprotocol.sgml:
8192           include path fixes
8193         * examples/controller/audio-example.c: (main):
8194           controller example works now
8195         * gst/gstclock.h:
8196           doc fixes
8197         * tools/gst-inspect.c: (print_element_properties_info):
8198           show param spec flags
8199
8200 2005-08-29  Andy Wingo  <wingo@pobox.com>
8201
8202         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
8203
8204 2005-08-28  Andy Wingo  <wingo@pobox.com>
8205
8206         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
8207         as having two arguments instead of just one. Allows superclasses
8208         to access information on subclasses -- see the terrible for() loop
8209         in gtype.c:g_type_create_instance for the reason why. All callers
8210         changed.
8211
8212 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
8213
8214         * docs/design/part-messages.txt:
8215           update info
8216         * docs/gst/tmpl/.cvsignore:
8217         * docs/gst/tmpl/gstcaps.sgml:
8218         * docs/gst/tmpl/gstclock.sgml:
8219         * gst/gstbus.c:
8220         * gst/gstcaps.c:
8221         * gst/gstcaps.h:
8222         * gst/gstclock.c:
8223         * gst/gstclock.h:
8224         * gst/gstmessage.c:
8225           added descriptions for bus and message
8226           inline caps and clock docs
8227
8228 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
8229
8230         * gst/gstmessage.c:
8231         * gst/gstmessage.h:
8232           doc fixes
8233
8234 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
8235
8236         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
8237           fix div-by-zero
8238
8239 2005-08-26  Andy Wingo  <wingo@pobox.com>
8240
8241         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
8242         element_set_state's return val.
8243         (test_2_elements): Add test that's been disabled for months.
8244
8245         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
8246         can-activate-pull properties.
8247
8248         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
8249         can-activate-pull properties. Implement is_seekable so fakesrc can
8250         operate in pull mode.
8251
8252         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
8253         properties.
8254         (gst_base_sink_activate, gst_base_sink_activate_pull)
8255         (gst_base_sink_activate_push): Make activation mode choosing work.
8256         Cleanups.
8257         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
8258         is right. Make pull mode work. Post an eos before pausing in pull
8259         mode.
8260         (gst_base_sink_change_state): Pay attention to the core's
8261         change_state() return val.
8262         
8263         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
8264         has-getrange properties. Cleanups.
8265         
8266         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
8267         has_getrange and replace with can_activate_pull and
8268         can_activate_push.
8269
8270         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
8271         locking comments. Remove has_loop, has_chain and replace with
8272         can_activate_pull and can_activate_push.
8273
8274 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
8275
8276         * configure.ac:
8277         * examples/Makefile.am:
8278         * examples/metadata/Makefile.am:
8279         * examples/metadata/read-metadata.c: (message_loop),
8280         (have_pad_handler), (make_pipeline), (print_tag), (main):
8281           Add metadata reading example that loops over a list of filenames,
8282           dumping any tags found.
8283
8284         * gst/gstbus.c: (gst_bus_dispose):
8285         * gst/gstelement.c: (gst_element_dispose):
8286           Release a few potentially-held references in dispose.
8287
8288 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
8289
8290         * docs/gst/tmpl/gstminiobject.sgml:
8291           do *not* add tmpl/*.sgml files to CVS!
8292
8293 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
8294
8295         * libs/gst/bytestream/.cvsignore:
8296         * libs/gst/bytestream/Makefile.am:
8297         * libs/gst/bytestream/adapter.c:
8298         * libs/gst/bytestream/adapter.h:
8299         * libs/gst/bytestream/bytestream.c:
8300         * libs/gst/bytestream/bytestream.h:
8301         * libs/gst/bytestream/filepad.c:
8302         * libs/gst/bytestream/filepad.h:
8303           removing obsolete files
8304
8305 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
8306
8307         * docs/gst/gstreamer-docs.sgml:
8308         * docs/libs/gstreamer-libs-docs.sgml:
8309           disabed additional index entries again, as this makes docs-gen just
8310           slow and they aren't useful yet
8311         * docs/libs/gstreamer-libs-sections.txt:
8312           little -section.txt cleanup for libs
8313
8314 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
8315
8316         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8317         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
8318           fix up some debugging
8319         (gst_base_transform_get_unit_size),
8320         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
8321         (gst_base_transform_handle_buffer):
8322         * gst/base/gstbasetransform.h:
8323           handle and store timed NEWSEGMENT events so that subclasses that
8324           calculate time by counting samples have a segment_start time they
8325           need to add to their timestamps - see audioresample
8326
8327 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
8328
8329         * gst/gstbin.h:
8330           removed ';' from the end of macro defs
8331         * docs/gst/gstreamer-docs.sgml:
8332         * docs/gst/gstreamer-sections.txt:
8333         * docs/gst/tmpl/.cvsignore:
8334         * gst/gstbus.h:
8335         * gst/gstelement.c: (gst_element_class_init),
8336         (gst_element_set_state), (activate_pads),
8337         (gst_element_save_thyself):
8338         * gst/gstevent.c: (gst_event_new_newsegment):
8339         * gst/gstevent.h:
8340         * gst/gstiterator.c:
8341         * gst/gstiterator.h:
8342         * gst/gstpad.c:
8343         * gst/gstprobe.h:
8344         * gst/gstutils.c: (gst_pad_query_convert):
8345         * gst/gstutils.h:
8346           fixed parameter name mismatches between source, header and docs
8347           added some more docs, resolved the last batch of unused elements in
8348           docs (now someone needs to doc them)
8349
8350 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
8351
8352         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
8353         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
8354           don't walk through the plugins backwards.  Where is all this
8355           reversed logic coming from ?
8356
8357 2005-08-25  Wim Taymans  <wim@fluendo.com>
8358
8359         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8360         (gst_base_transform_transform_size),
8361         (gst_base_transform_configure_caps),
8362         (gst_base_transform_get_unit_size),
8363         (gst_base_transform_buffer_alloc),
8364         (gst_base_transform_change_state):
8365         * gst/base/gstbasetransform.h:
8366         Cache caps unit_size.
8367         Make sure we cannot negotiate up and downstream at the
8368         same time.
8369
8370 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
8371
8372         * gst/gst.c: (init_pre), (init_post):
8373           register the installed plugin path after the env var
8374         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
8375         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
8376           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
8377           directories, so the tests can prefer uninstalled over installed
8378
8379 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
8380
8381         * gst/base/gstbasetransform.h:
8382           comment
8383         * gst/gstpad.c:
8384           add to docs
8385
8386 2005-08-25  Wim Taymans  <wim@fluendo.com>
8387
8388         * gst/gstbin.c: (bin_bus_handler):
8389         Be a bit more conservative about the posted message.
8390         
8391         * gst/gstbus.c: (gst_bus_post):
8392         Some cleanups, warn wrong return values.
8393
8394 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
8395
8396         * check/gst/gstbin.c: (GST_START_TEST):
8397         * gst/gstbin.c: (bin_bus_handler):
8398         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
8399         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
8400         (gst_message_new_warning), (gst_message_new_tag),
8401         (gst_message_new_state_changed), (gst_message_new_segment_start),
8402         (gst_message_new_segment_done), (gst_message_new_custom):
8403         * gst/gstmessage.h:
8404         * tools/gst-launch.c: (event_loop):
8405         * tools/gst-md5sum.c: (event_loop):
8406           Revert unpopular change for GST_MESSAGE_SRC to GObject.
8407
8408 2005-08-25  Wim Taymans  <wim@fluendo.com>
8409
8410         * check/generic/states.c: (GST_START_TEST):
8411         Cleanup can be done at the end.
8412
8413         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
8414         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
8415         (gst_task_get_state), (gst_task_start), (gst_task_pause):
8416         Oh boy.. Thanks for finding this, Thomas. 
8417
8418 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
8419
8420         * docs/gst/gstreamer.types:
8421           added missing types
8422
8423 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
8424
8425         * docs/gst/gstreamer-docs.sgml:
8426         * docs/gst/gstreamer-sections.txt:
8427         * docs/gst/tmpl/.cvsignore:
8428         * gst/gstbin.c:
8429         * gst/gstiterator.c:
8430         * gst/gstutils.c:
8431         * gst/registries/gstxmlregistry.h:
8432           added missing classes and symbols (123 more to go)
8433           removed removed symbols from section file
8434           fixed many doc-comments
8435
8436 2005-08-24  Wim Taymans  <wim@fluendo.com>
8437
8438         * check/generic/states.c: (GST_START_TEST):
8439         Make sure all tasks are stopped.
8440
8441         * check/gst/gstbin.c: (GST_START_TEST):
8442         Unref after usage for proper valgrinding.
8443
8444         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
8445         Really wait for the task to stop before destroying the
8446         mutex.
8447
8448         * gst/gstqueue.c: (gst_queue_sink_activate_push),
8449         (gst_queue_src_activate_push):
8450         Small cleanups. Don't stop the task when we did not start
8451         it.
8452
8453         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
8454         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
8455         (gst_task_get_state), (gst_task_start), (gst_task_pause),
8456         (gst_task_join):
8457         * gst/gsttask.h:
8458         Protect the stream lock with the object lock.
8459         Disallow setting the stream lock when running.
8460         Add cleanup_all to wait for the threadpool to finish.
8461         Remove code to autoallocate a mutex if none was provided.
8462         Add _join() to wait for a task to stop.
8463         Protect the thread pool with a global lock.
8464
8465 2005-08-24  Wim Taymans  <wim@fluendo.com>
8466
8467         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8468         (gst_base_sink_get_times), (gst_base_sink_do_sync),
8469         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
8470         * gst/base/gstbasesink.h:
8471         Handle newsegment events correctly.
8472         Drop buffers out of the segment range.
8473
8474 2005-08-22  Andy Wingo  <wingo@pobox.com>
8475
8476         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
8477         macro, implements an interface and gstimplementsinterface for a
8478         new type.
8479
8480 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8481
8482         * check/Makefile.am:
8483         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
8484           add a test that does a bunch of state changes on elements
8485           needs some fixing for valgrind
8486         * check/states/sinks.c: (gst_object_suite):
8487           whitespace
8488         * gst/gstcaps.h:
8489           add prototype for gst_caps_is_equal_fixed
8490         * gst/gstplugin.c:
8491         * gst/gstregistrypool.c:
8492           doc fixes
8493
8494 2005-08-24  Andy Wingo  <wingo@pobox.com>
8495
8496         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
8497         convert a negative value. Doesn't make much sense. Mostly this is
8498         here to force callers to ensure -1 maps to -1.
8499
8500 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
8501
8502         * docs/pwg/advanced-types.xml:
8503           Well done to Michael for catching my deliberate introduction
8504           of this spelling mistake. 
8505         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
8506         * gst/gstelement.h:
8507           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
8508           unlink pads before removing the element from the bin.
8509
8510 2005-08-24  Andy Wingo  <wingo@pobox.com>
8511
8512         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
8513         the same thing as GST_DEBUG=*:4.
8514         (parse_debug_level, parse_debug_category): New helper parsers.
8515
8516 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8517
8518         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8519         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
8520         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
8521         (gst_base_transform_buffer_alloc),
8522         (gst_base_transform_handle_buffer):
8523           use gboolean return values and pointers to size so we can use the
8524           full GST_BUFFER_SIZE range (guint) for buffer sizes
8525           use GstPadDirection for transform_caps
8526         * gst/base/gstbasetransform.h:
8527           rename get_size to get_unit_size since that's what it is
8528         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
8529           use GstPadDirection for transform_caps
8530         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
8531         * gst/gstutils.h:
8532           cleanup and debugging
8533
8534 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
8535
8536         * gst/gstelement.c: (gst_element_class_init),
8537         (gst_element_set_state), (activate_pads),
8538         (gst_element_save_thyself):
8539         * tools/gst-compprep.c: (main):
8540         * tools/gst-inspect.c: (print_element_properties_info):
8541         * tools/gst-xmlinspect.c: (print_element_properties):
8542           Fixed long standing mem-leak
8543
8544 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
8545
8546         * check/gst/gstbin.c: (GST_START_TEST):
8547         * gst/gstbin.c: (bin_bus_handler):
8548         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
8549         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
8550         (gst_message_new_warning), (gst_message_new_tag),
8551         (gst_message_new_state_changed), (gst_message_new_segment_start),
8552         (gst_message_new_segment_done), (gst_message_new_custom):
8553         * gst/gstmessage.h:
8554         * tools/gst-launch.c: (event_loop):
8555         * tools/gst-md5sum.c: (event_loop):
8556           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
8557           that applications can sensibly post custom messages with references
8558           to their own objects.
8559
8560 2005-08-24  Andy Wingo  <wingo@pobox.com>
8561
8562         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
8563         already.
8564
8565 2005-08-24  Wim Taymans  <wim@fluendo.com>
8566
8567         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8568         (gst_base_transform_transform_caps),
8569         (gst_base_transform_transform_size),
8570         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8571         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8572         (gst_base_transform_handle_buffer):
8573         * gst/base/gstbasetransform.h:
8574         Many fixes and new features added by Thomas. Can now also do
8575         transforms with variable sizes and a custom fixate_caps function.
8576
8577 2005-08-24  Wim Taymans  <wim@fluendo.com>
8578
8579         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
8580         Some debugging.
8581
8582         * gst/gstclock.h:
8583         Cast to ClockTime before formatting to time.
8584
8585         * gst/gstutils.h:
8586         Cleanups.
8587
8588 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
8589
8590         * check/gst-libs/controller.c: (GST_START_TEST),
8591         (gst_controller_suite):
8592         * docs/gst/tmpl/gstcaps.sgml:
8593         * docs/gst/tmpl/gstghostpad.sgml:
8594         * docs/gst/tmpl/gstquery.sgml:
8595         * docs/gst/tmpl/gstutils.sgml:
8596         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
8597         (gst_object_sink_values), (gst_object_get_value_arrays),
8598         (gst_object_get_value_array):
8599           gracefully handle helper method calls to objects that are not beeing
8600           controlled, added test case for that          
8601
8602 2005-08-23  Wim Taymans  <wim@fluendo.com>
8603
8604         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
8605         (gst_event_new_newsegment), (gst_event_parse_newsegment),
8606         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
8607         (gst_event_parse_qos), (gst_event_new_seek),
8608         (gst_event_parse_seek):
8609         * gst/gstevent.h:
8610         Some more debugging output and doc cleanups.
8611
8612         * gst/gstqueue.c: (gst_queue_handle_sink_event):
8613         Fix possible deadlock.
8614
8615 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
8616
8617         * docs/gst/gstreamer-docs.sgml:
8618         * docs/gst/gstreamer-sections.txt:
8619         * docs/gst/gstreamer.types:
8620         * docs/gst/tmpl/.cvsignore:
8621         * gst/gstbin.h:
8622         * gst/gstbus.c:
8623         * gst/gstelement.c:
8624         * gst/gstevent.h:
8625           added 100 symbols from gstreamer-unused.txt to the right sections
8626           fixed more broken comments
8627           added GstBus to docs
8628
8629 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
8630
8631         * docs/gst/gstreamer-sections.txt:
8632         * docs/gst/tmpl/.cvsignore:
8633         * docs/gst/tmpl/gstbin.sgml:
8634         * docs/gst/tmpl/gstbuffer.sgml:
8635         * gst/base/gstbasesrc.c:
8636         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
8637         * gst/gstbuffer.c:
8638         * gst/gstbuffer.h:
8639         * tools/gst-launch.1.in:
8640           inlined more doc comments, added missing comments and fixed comments
8641           fixed typos
8642
8643 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8644
8645         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
8646           some debugging
8647         * gst/gstcaps.h:
8648           whitespace fixes
8649         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
8650           more debugging
8651         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
8652         * gst/gststructure.h:
8653           add a fixate function for booleans; add a FIXME that these func
8654           names should probably be gst_structure_fixate_*
8655
8656 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
8657
8658         * docs/gst/gstreamer-docs.sgml:
8659         * docs/gst/gstreamer-sections.txt:
8660         * gst/Makefile.am:
8661         * gst/gstbin.c: (gst_bin_get_type),
8662         (gst_bin_child_proxy_get_child_by_index),
8663         (gst_bin_child_proxy_get_children_count),
8664         (gst_bin_child_proxy_init):
8665         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
8666         (gst_child_proxy_get_child_by_index),
8667         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
8668         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
8669         (gst_child_proxy_get), (gst_child_proxy_set_property),
8670         (gst_child_proxy_set_valist), (gst_child_proxy_set),
8671         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
8672         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
8673         * gst/gstchildproxy.h:
8674         * gst/parse/grammar.y:
8675         * tools/gst-inspect.c: (print_interfaces),
8676         (print_element_properties_info), (print_element_info):
8677           ported gstchildproxy over from 0.8
8678           ported gst-inspect fixes and enhancements over from 0.8
8679
8680 2005-08-22  Wim Taymans  <wim@fluendo.com>
8681
8682         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8683         (gst_base_transform_handle_buffer):
8684         Also call the transform function if we have ANY caps.
8685
8686         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
8687         Fix debug info.
8688
8689 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
8690
8691         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
8692           Don't pretend to handle seek events if the source is not seekable
8693
8694 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
8695
8696         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8697           Remove extra parameter to debug output
8698
8699         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8700         (gst_base_src_do_seek), (gst_base_src_activate_push):
8701           Fix seek event handling.
8702
8703         * gst/gstpipeline.c: (gst_pipeline_change_state):
8704         * gst/gstqueue.c: (gst_queue_handle_sink_event),
8705         (gst_queue_src_activate_push):
8706           Don't start the src pad task on FLUSH_STOP if the pad
8707           isn't linked.
8708           Debug changes.
8709
8710 2005-08-22  Wim Taymans  <wim@fluendo.com>
8711
8712         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8713         Added check for gst_static_caps_get() refcounting.
8714
8715 2005-08-22  Wim Taymans  <wim@fluendo.com>
8716
8717         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
8718         Make _static_caps_get() refcounting sane.
8719         
8720         * gst/gstelement.c: (gst_element_set_state):
8721         Add g_return_val_if_fail() to protect against segfaults.
8722
8723 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
8724
8725         * docs/gst/tmpl/gstevent.sgml:
8726         * gst/gstevent.c:
8727         * gst/gstevent.h:
8728           inlined remaining docs, added missing doc comments
8729
8730 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
8731
8732         * check/gst/gstbin.c: (GST_START_TEST):
8733           since we don't know when preroll is done, use refcount range
8734           check for the sink
8735         * gst/check/gstcheck.h:
8736           add macro for checking refcount range
8737
8738 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8739
8740         * check/Makefile.am:
8741           clean up environment for when registry gets built versus
8742           when actual tests are run; valgrind seems to not report
8743           leaks if GST_PLUGIN_PATH is set to some specific values
8744         * check/gst/gstbin.c: (GST_START_TEST):
8745           add more refcounting checks; maybe this exposes a
8746           preroll lock bug ?
8747         * common/check.mak:
8748         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8749         * gst/check/gstcheck.h:
8750         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
8751         (gst_bin_change_state):
8752         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
8753           add/fix debugging/whitespace
8754
8755 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
8756
8757         * check/gst/gstevent.c: (event_probe), (test_event),
8758         (GST_START_TEST):
8759          Er, don't call gst_bin_watch_for_state_change you idiot.
8760
8761 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
8762
8763         * check/Makefile.am:
8764           Use CHECK_CFLAGS and CHECK_LIBS
8765         * check/gst/gstevent.c: (event_probe), (test_event),
8766         (GST_START_TEST):
8767           Don't leak events.
8768         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8769         (gst_base_src_start), (gst_base_src_stop),
8770         (gst_base_src_activate_push), (gst_base_src_activate_pull),
8771         (gst_base_src_change_state):
8772           Sprinkle gst_base_src_stop liberally around error paths to fix
8773           problems reusing a source after failed state changes.
8774         * gst/base/gsttypefindhelper.c: (helper_find_peek),
8775         (helper_find_suggest), (gst_type_find_helper):
8776           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
8777         * gst/gstevent.h:
8778         * docs/gst/tmpl/gstevent.sgml:
8779           Migrate part of the docs from the SGML file. Wait for ensonic to
8780           tell me how I did it wrong ;)
8781         * tools/gst-typefind.c: (main):
8782           Extra robustness to state changes between files.
8783
8784 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8785
8786         * check/Makefile.am:
8787           don't valgrind the controller test - it's leaking - Stefan, HELP
8788         * gst/check/gstcheck.c: (gst_check_message_error),
8789         (gst_check_chain_func), (gst_check_setup_element),
8790         (gst_check_teardown_element), (gst_check_setup_src_pad),
8791         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8792         (gst_check_teardown_sink_pad):
8793         * gst/check/gstcheck.h:
8794           add a bunch of methods to set up elements, and src and sink pads
8795         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
8796         * check/elements/identity.c: (setup_identity), (cleanup_identity),
8797         (GST_START_TEST):
8798           use them
8799         * gst/gstmessage.c:
8800         * gst/gsttag.h:
8801           whitespace/doc fixes
8802
8803 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8804
8805         * gst/gstelement.h:
8806           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
8807           be handled by the application and not always printed as well
8808
8809 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8810
8811         * check/Makefile.am:
8812           set GST_TOOLS_DIR
8813         * gst/check/gstcheck.c: (gst_check_message_error):
8814         * gst/check/gstcheck.h:
8815           add a fail_unless_equals_int
8816           add fail_unless for error messages
8817
8818 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8819
8820         * check/Makefile.am:
8821         * check/gst.supp:
8822         * common/Makefile.am:
8823         * common/check.mak:
8824         * common/gst.supp:
8825           factor out some of the common stuff so we can use it
8826
8827 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8828
8829         * check/Makefile.am:
8830         * check/gst/gstiterator.c: (GST_START_TEST):
8831         * check/gst/gstsystemclock.c: (GST_START_TEST),
8832         (gst_systemclock_suite):
8833         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8834         * gst/gstclock.c:
8835           valgrind more tests
8836
8837 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8838
8839         * check/elements/.cvsignore:
8840         * check/elements/gstfakesrc.c:
8841           rename to name of element
8842         * check/elements/identity.c: (chain_func), (event_func),
8843         (setup_identity), (cleanup_identity), (GST_START_TEST),
8844         (identity_suite), (main):
8845           add a test for identity
8846         * check/Makefile.am:
8847         * pkgconfig/Makefile.am:
8848         * pkgconfig/gstreamer-check.pc.in:
8849         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8850         * gst/check:
8851         * gst/Makefile.am:
8852         * configure.ac:
8853           move the check stuff to a library that gets installed
8854         * check/gst-libs/controller.c: (GST_START_TEST):
8855         * check/gst-libs/gdp.c:
8856         * check/gst/gst.c: (GST_START_TEST):
8857         * check/gst/gstbin.c:
8858         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8859         * check/gst/gstbus.c:
8860         * check/gst/gstcaps.c: (GST_START_TEST):
8861         * check/gst/gstelement.c:
8862         * check/gst/gstghostpad.c:
8863         * check/gst/gstiterator.c:
8864         * check/gst/gstmessage.c:
8865         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
8866         * check/gst/gstobject.c:
8867         * check/gst/gstpad.c: (GST_START_TEST):
8868         * check/gst/gststructure.c: (GST_START_TEST):
8869         * check/gst/gstsystemclock.c: (GST_START_TEST),
8870         (gst_systemclock_suite):
8871         * check/gst/gsttag.c: (gst_tag_suite):
8872         * check/gst/gstvalue.c:
8873         * check/pipelines/cleanup.c:
8874         * check/pipelines/simple_launch_lines.c:
8875         * check/states/sinks.c:
8876           change include statement
8877
8878         * docs/gst/gstreamer-sections.txt:
8879         * docs/gst/tmpl/gstpad.sgml:
8880           document more pad stuff
8881         * gst/gstminiobject.c: (gst_mini_object_ref),
8882         (gst_mini_object_unref):
8883           debug refcounting
8884
8885 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
8886
8887         * docs/gst/tmpl/gst.sgml:
8888         * gst/gst.c:
8889           eliminate another tmpl file, fix spelling in the long-description
8890
8891 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8892
8893         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8894         (test_event), (timediff), (gstevents_suite):
8895           Should fix build on 64-bit arch's
8896
8897 2005-08-18  Andy Wingo  <wingo@pobox.com>
8898
8899         Make sure that when a pipeline goes to PLAYING, that data has
8900         actually hit the sink.
8901
8902         * check/states/sinks.c (test_sink): A sink that doesn't get any
8903         data shouldn't return SUCCESS for going to either PLAYING or
8904         PAUSED. Test also the return values on the way back down.
8905
8906         * gst/gstelement.c (gst_element_set_state): When changing the
8907         state of an element currently changing state asynchronously, go to
8908         lost-state after commiting the pending state. Makes future calls
8909         to get_state continue to return ASYNC.
8910
8911         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
8912         ASYNC when going to PLAYING if we still don't have preroll, as can
8913         happen with live sources.
8914
8915 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8916
8917         * docs/pwg/advanced-types.xml:
8918           Hack long paragraph into 2 chunks as a workaround for buggy
8919           jadetex version in sid and breezy that loops infinitely and
8920           eats all RAM.
8921
8922 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8923
8924         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8925         (test_event), (timediff), (gstevents_suite):
8926           Provide more error margin in clock measurements to allow for 
8927           g_get_current_time inaccuracies.
8928
8929 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8930
8931         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8932         (test_event), (timediff), (gstevents_suite):
8933            Fix error message output so I might be able to tell why the
8934            test works here but fails on the build farm.
8935
8936 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8937
8938         * check/Makefile.am:
8939         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8940         (test_event), (timediff), (gstevents_suite), (main):
8941           I wrote a test!
8942
8943         * docs/design/part-seeking.txt:
8944           Spelling correction
8945
8946         * docs/gst/tmpl/gstevent.sgml:
8947         * docs/gst/tmpl/gstfakesrc.sgml:
8948           Docs updates.
8949
8950         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8951           Treat a buffer-without-newsegment the same as a receiving 
8952           a newsegment not in time format, and disable syncing to the clock
8953           with a warning.
8954
8955         * gst/gstbus.c: (gst_bus_set_sync_handler):
8956           Assert if anyone tries to replace the existing sync_handler for bus, 
8957           as only the owner should be setting it.
8958
8959         * gst/gstevent.h:
8960           Have a fixed set of custom event enums with events identified by
8961           their structure name (as in 0.8), rather than a free-for-all
8962           allowing collisions between enum values from different plugins.
8963
8964         * gst/gstpad.c: (gst_pad_class_init):
8965           Docs change.
8966           
8967         * gst/gstqueue.c: (gst_queue_handle_sink_event):
8968           Handle out-of-band downstream events from the sending thread.
8969
8970 2005-08-17  Andy Wingo  <wingo@pobox.com>
8971
8972         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
8973         play-timeout==0 to mean no timeout at all. In that case, don't
8974         bother with a get_state or a warning, just return directly, even
8975         if it's ASYNC.
8976
8977         * gst/base/gstbasetransform.c: Debug changes.
8978
8979         * gst/gstutils.h:
8980         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
8981         ensure bins post state change messages. A bit of a hack but I can't
8982         think of a way to avoid it.
8983
8984         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
8985
8986 2005-08-16  Andy Wingo  <wingo@pobox.com>
8987
8988         * gst/base/gstadapter.h:
8989         * gst/base/gstadapter.c (gst_adapter_take): New function, like
8990         peek() but you own the data. Not terribly efficient atm.
8991
8992 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8993
8994         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
8995         (gst_element_found_tags):
8996         * gst/gstutils.h:
8997           Add two utility functions for tag handling.
8998
8999 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9000
9001         * docs/manual/advanced-dataaccess.xml:
9002         * docs/manual/basics-helloworld.xml:
9003           Fix docs to use _bin_add() before _link(), which fixes the examples
9004           with recent core versions (reported by Madhan Raj M
9005           <raj_madan@rediffmail.com>, #313199).
9006
9007 2005-08-16  Wim Taymans  <wim@fluendo.com>
9008
9009         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9010         Added subtract checks.
9011
9012         * docs/design/part-events.txt:
9013         Some more docs about newsegment
9014
9015         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9016         Fix FIXME
9017
9018         * gst/gstcaps.c: (gst_caps_to_string):
9019         Add comments, cleanups.
9020         
9021         * gst/gstelement.c: (gst_element_save_thyself):
9022         cleanups
9023         
9024         * gst/gstvalue.c: (gst_value_collect_int_range),
9025         (gst_string_unwrap), (gst_value_union_int_int_range),
9026         (gst_value_union_int_range_int_range),
9027         (gst_value_intersect_int_int_range),
9028         (gst_value_intersect_int_range_int_range),
9029         (gst_value_intersect_double_double_range),
9030         (gst_value_intersect_double_range_double_range),
9031         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
9032         (gst_value_subtract_int_range_int),
9033         (gst_value_subtract_double_range_double),
9034         (gst_value_subtract_double_range_double_range),
9035         (gst_value_subtract_from_list), (gst_value_subtract_list),
9036         (gst_value_can_compare), (gst_value_compare_fraction):
9037         Cleanups, add comments, remove unneeded asserts.
9038
9039 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9040
9041         * tools/gst-launch.c: (event_loop):
9042           don't convert NULL structures to strings
9043
9044 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
9045
9046         * docs/gst/gstreamer-sections.txt:
9047           made some defines private
9048         * docs/gst/tmpl/gstconfig.sgml:
9049         * docs/gst/tmpl/gstqueue.sgml:
9050         * docs/gst/tmpl/gsttaglist.sgml:
9051         * docs/gst/tmpl/gsttypes.sgml:
9052         * docs/gst/tmpl/gstutils.sgml:
9053         * docs/pwg/appendix-porting.xml:
9054         * gst/base/gstbasesink.h:
9055         * gst/base/gstbasesrc.c:
9056         * gst/base/gstbasesrc.h:
9057         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
9058         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
9059         * gst/gstelement.c: (gst_element_class_init):
9060         * gst/gstpad.c: (gst_pad_class_init):
9061         * gst/gstqueue.c: (gst_queue_class_init):
9062         * gst/gstxml.c: (gst_xml_class_init):
9063           documented all undocumented signal inline
9064         * libs/gst/controller/gst-controller.h:
9065           added padding
9066
9067 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9068
9069         * docs/pwg/appendix-porting.xml:
9070           Document _set_link_function -> _set_setcaps_function.
9071
9072 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9073
9074         * check/Makefile.am:
9075           add a .check target for running the check
9076         * check/gst-libs/controller.c: (GST_START_TEST):
9077           cosmetic fixups
9078         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9079           complete checks for gstbuffer; would be nice if I could get the
9080           gcov stuff to work so I can see if I actually completed gstbuffer.c
9081         * check/gstcheck.h:
9082           add ASSERT_BUFFER_REFCOUNT
9083
9084 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
9085
9086         * docs/gst/gstreamer-sections.txt:
9087         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
9088         * gst/gsttag.h:
9089           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
9090           spew out a warning if a tag that is already registered
9091           is re-registered, unless it is re-registered with a 
9092           different type (#308438).
9093
9094 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
9095
9096         * docs/pwg/appendix-porting.xml:
9097         * docs/pwg/building-state.xml:
9098           Add some paragraphs about state changes in 0.9 to the PWG
9099           and the porting guide, in particular about the new meaning
9100           of GST_STATE_PAUSED and how to write state change functions
9101           with concurrent access by multiple threads in mind.
9102
9103 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
9104
9105         * docs/gst/gstreamer-docs.sgml:
9106         * docs/libs/gstreamer-libs-docs.sgml:
9107           added deprecation and since indexes
9108         * libs/gst/controller/gst-controller.c:
9109         * libs/gst/controller/gst-helper.c:
9110           added since tags
9111
9112
9113 2005-08-11  Wim Taymans  <wim@fluendo.com>
9114
9115         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
9116         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
9117         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
9118         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
9119         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
9120         (gst_ghost_pad_set_target):
9121         Actually implement (re)setting the target on a ghostpad
9122         as described in the docs.
9123
9124 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
9125
9126         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
9127           Check whether GST_DEBUG_NO_COLOR environment variable is
9128           set and disable coloured debug output if that is the case.
9129
9130 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
9131
9132         * gst/base/gsttypefindhelper.c: (helper_find_peek),
9133         (gst_type_find_helper):
9134           The memory returned by gst_type_find_peek() needs to
9135           stay valid until the end of a typefind function, and
9136           typefind functions may keep results from different 
9137           offsets around, so we can't just unref the buffer from
9138           the previous _peek(), but have to save all buffers 
9139           returned by _peek() until typefinding is done and only
9140           free them then.
9141
9142 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
9143
9144         * docs/gst/gstreamer-sections.txt:
9145         * gst/gstutils.h:
9146           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
9147
9148 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9149
9150         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
9151           Fix a pretty good memleak.
9152
9153 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
9154
9155         * gst/gstiterator.h:
9156           Fix wrong include and 'make distcheck'.
9157
9158 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9159
9160         * gst/gstbin.c: (bin_bus_handler):
9161           Use gst_element_post_message() instead.
9162
9163 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
9164
9165         * gst/base/gstadapter.h:
9166         * gst/base/gstbasesink.h:
9167         * gst/base/gstbasesrc.h:
9168         * gst/base/gstbasetransform.h:
9169         * gst/base/gstcollectpads.h:
9170         * gst/base/gstpushsrc.h:
9171         * gst/gstiterator.h:
9172           Add padding to our base elements' class and instance structs and
9173           to GstIterator (you will need to rebuild all plugins and apps!)
9174
9175 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9176
9177         * gst/gstbin.c: (bin_bus_handler):
9178           Make default message forwarding from child->bus to bin->bus
9179           threadsafe and make it not emit warnings if the parent has no bus.
9180
9181 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9182
9183         * gst/gstelement.c: (activate_pads):
9184           On paused->ready, set pad->caps to NULL, as is the documented
9185           behaviour in this state change. Fixes playback of series of
9186           media files when visualization is enabled in Totem.
9187
9188 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9189
9190         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
9191           Allow NULL as filter-caps (which means "any").
9192
9193 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
9194
9195         * docs/libs/gstreamer-libs-sections.txt:
9196         * libs/gst/controller/gst-controller.c:
9197         * libs/gst/controller/gst-controller.h:
9198         * libs/gst/controller/gst-helper.c:
9199           adding more entries to the docs and fix small doc-bugs
9200
9201 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
9202
9203         * docs/gst/gstreamer-docs.sgml:
9204         * docs/gst/gstreamer-sections.txt:
9205         * docs/gst/gstreamer.types:
9206         * docs/gst/tmpl/gstbasesink.sgml:
9207         * docs/gst/tmpl/gstbasesrc.sgml:
9208         * docs/gst/tmpl/gstbasetransform.sgml:
9209         * docs/gst/tmpl/gstfakesrc.sgml:
9210         * gst/base/gstcollectpads.c:
9211         * gst/base/gstcollectpads.h:
9212         * libs/gst/controller/gst-controller.c:
9213         * libs/gst/controller/gst-controller.h:
9214         * libs/gst/controller/gst-helper.c:
9215         * libs/gst/controller/gst-interpolation.c:
9216         * libs/gst/controller/lib.c:
9217           added long/short desc for controller docs
9218           added collectpads base class docs
9219           added correct includes to base-class docs
9220
9221 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
9222
9223         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
9224         (gst_test_mono_source_set_property),
9225         (gst_test_mono_source_class_init), (GST_START_TEST),
9226         (gst_controller_suite):
9227         * docs/gst/gstreamer-docs.sgml:
9228         * docs/gst/gstreamer-sections.txt:
9229         * docs/gst/gstreamer.types:
9230         * docs/libs/gstreamer-libs-docs.sgml:
9231         * docs/libs/gstreamer-libs-sections.txt:
9232         * gst/base/gstadapter.c:
9233         * libs/gst/controller/gst-controller.c:
9234         (gst_controlled_property_new), (gst_controlled_property_free),
9235         (gst_controller_new_valist),
9236         (gst_controller_remove_properties_valist),
9237         (gst_controller_sink_values), (_gst_controller_finalize):
9238         * libs/gst/controller/gst-controller.h:
9239         * libs/gst/controller/gst-helper.c:
9240         (gst_object_control_properties), (gst_object_uncontrol_properties),
9241         (gst_object_get_controller), (gst_object_set_controller),
9242         (gst_object_sink_values), (gst_object_get_value_arrays),
9243         (gst_object_get_value_array):
9244           more tests (and fixes) for the controller
9245           more docs for the controller
9246           integrated companies docs for the adapter 
9247
9248 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9249
9250         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
9251         (GST_START_TEST), (fakesrc_suite):
9252           add tests for sizetype
9253
9254 2005-08-04  Andy Wingo  <wingo@pobox.com>
9255
9256         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
9257         fixes buffer_alloc proxying among other things.
9258
9259         * gst/base/gstbasetransform.c:
9260         * gst/base/gstbasetransform.h:
9261         Revert patch to gstbasetransform from 7-28 removing
9262         delay_configure.
9263
9264         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
9265         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
9266         Semantics changed, should return not the size of the output buffer
9267         but the byte size of a buffer with a given caps.
9268
9269         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
9270         debug object.
9271         (gst_base_transform_configure_caps): Don't set out_size here: (in,
9272         out) are not the pad caps until setcaps finishes.
9273         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
9274         not-in-place case as well. Deal with changing from in-place to
9275         not-in-place within calling pad_alloc_buffer. Still a bit
9276         concerned about the overhead here...
9277
9278 2005-08-03  Andy Wingo  <wingo@pobox.com>
9279
9280         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
9281         fixating is an error.
9282
9283 2005-08-04  Edward Hervey  <edward@fluendo.com>
9284
9285         * gst/base/gstadapter.h: 
9286         Added gst_adapter_get_type() to the header
9287
9288 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
9289
9290         * check/Makefile.am:
9291         * check/gst-libs/controller.c:
9292         * libs/gst/controller/gst-controller.c:
9293         (gst_controller_new_valist):
9294           added check test suite for the controller
9295         * gst/base/gstpushsrc.c:
9296           fixed a doc typo
9297
9298 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
9299
9300         * docs/gst/Makefile.am:
9301         * docs/gst/gstreamer-docs.sgml:
9302         * docs/gst/gstreamer-sections.txt:
9303         * docs/gst/gstreamer.types:
9304         * docs/gst/tmpl/gstfakesrc.sgml:
9305         * gst/base/README:
9306         * gst/base/gstbasesink.c:
9307         * gst/base/gstbasesink.h:
9308         * gst/base/gstbasesrc.c:
9309         * gst/base/gstbasesrc.h:
9310         * gst/base/gstbasetransform.c:
9311         * gst/base/gstpushsrc.c:
9312         * gst/base/gstpushsrc.h:
9313           add short/long description docs to base classes
9314           add pushsrc to the docs
9315           remove consolidated doc fragments
9316
9317 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
9318
9319         * configure.ac:
9320         * docs/libs/Makefile.am:
9321         * docs/libs/gstreamer-libs-docs.sgml:
9322         * docs/libs/gstreamer-libs-sections.txt:
9323         * docs/libs/gstreamer-libs.types:
9324         * examples/Makefile.am:
9325         * examples/controller/.cvsignore:
9326         * examples/controller/Makefile.am:
9327         * examples/controller/audio-example.c: (main):
9328         * libs/gst/Makefile.am:
9329         * libs/gst/controller/.cvsignore:
9330         * libs/gst/controller/Makefile.am:
9331         * libs/gst/controller/gst-controller.c:
9332         (on_object_controlled_property_changed), (gst_timed_value_compare),
9333         (gst_timed_value_find),
9334         (gst_controlled_property_set_interpolation_mode),
9335         (gst_controlled_property_new), (gst_controlled_property_free),
9336         (gst_controller_find_controlled_property),
9337         (gst_controller_new_valist), (gst_controller_new),
9338         (gst_controller_remove_properties_valist),
9339         (gst_controller_remove_properties), (gst_controller_set),
9340         (gst_controller_set_from_list), (gst_controller_unset),
9341         (gst_controller_get), (gst_controller_get_all),
9342         (gst_controller_sink_values), (gst_controller_get_value_arrays),
9343         (gst_controller_get_value_array),
9344         (gst_controller_set_interpolation_mode),
9345         (_gst_controller_finalize), (_gst_controller_init),
9346         (_gst_controller_class_init), (gst_controller_get_type):
9347         * libs/gst/controller/gst-controller.h:
9348         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
9349         (g_object_uncontrol_properties), (g_object_get_controller),
9350         (g_object_set_controller), (g_object_sink_values),
9351         (g_object_get_value_arrays), (g_object_get_value_array):
9352         * libs/gst/controller/gst-interpolation.c:
9353         (gst_controlled_property_find_timed_value_node),
9354         (interpolate_none_get), (interpolate_trigger_get),
9355         (interpolate_trigger_get_value_array):
9356         * libs/gst/controller/lib.c: (gst_controller_init):
9357         * pkgconfig/Makefile.am:
9358         * pkgconfig/gstreamer-control-uninstalled.pc.in:
9359         * pkgconfig/gstreamer-control.pc.in:
9360         * testsuite/Makefile.am:
9361         * testsuite/controller/.cvsignore:
9362         * testsuite/controller/Makefile.am:
9363         * testsuite/controller/interpolator.c: (main):
9364           added controller code
9365           removed dparam pc files
9366
9367 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
9368         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
9369         (gst_collectpads_stop):
9370           Broadcast the condition when shutting down, to make sure we wake all
9371           threads up. Shut down pads on finalize, for safety.
9372
9373 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
9374         * gst/base/gstbasetransform.c: (gst_base_transform_init),
9375         (gst_base_transform_handle_buffer),
9376         (gst_base_transform_change_state):
9377           Handle PAUSED->READY->PAUSED transition after negotiation
9378           occurred already.
9379         * gst/gstmessage.c: (gst_message_init):
9380           Extra piece of debug for new messages.
9381
9382 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
9383
9384         * configure.ac:
9385         * docs/gst/tmpl/gstbasesrc.sgml:
9386         * docs/gst/tmpl/gstelement.sgml:
9387         * docs/gst/tmpl/gstevent.sgml:
9388         * docs/gst/tmpl/gstfakesrc.sgml:
9389         * docs/gst/tmpl/gstformat.sgml:
9390         * docs/gst/tmpl/gstghostpad.sgml:
9391         * docs/gst/tmpl/gstpad.sgml:
9392         * docs/gst/tmpl/gstquery.sgml:
9393         * docs/gst/tmpl/gststructure.sgml:
9394         * docs/gst/tmpl/gsttaglist.sgml:
9395         * docs/gst/tmpl/gstvalue.sgml:
9396         * docs/libs/gstreamer-libs-docs.sgml:
9397         * docs/libs/gstreamer-libs-sections.txt:
9398         * docs/libs/gstreamer-libs.types:
9399         * libs/gst/Makefile.am:
9400         * libs/gst/control/.cvsignore:
9401         * libs/gst/control/Makefile.am:
9402         * libs/gst/control/control.c:
9403         * libs/gst/control/control.h:
9404         * libs/gst/control/dparam.c:
9405         * libs/gst/control/dparam.h:
9406         * libs/gst/control/dparam_smooth.c:
9407         * libs/gst/control/dparam_smooth.h:
9408         * libs/gst/control/dparamcommon.h:
9409         * libs/gst/control/dparammanager.c:
9410         * libs/gst/control/dparammanager.h:
9411         * libs/gst/control/dplinearinterp.c:
9412         * libs/gst/control/dplinearinterp.h:
9413         * libs/gst/control/unitconvert.c:
9414         * libs/gst/control/unitconvert.h:
9415         * testsuite/Makefile.am:
9416         * testsuite/dynparams/.cvsignore:
9417         * testsuite/dynparams/Makefile.am:
9418         * testsuite/dynparams/dparamstest.c:
9419         * tools/Makefile.am:
9420         * tools/gst-inspect.c: (print_element_info), (main):
9421         * tools/gst-xmlinspect.c: (print_element_info), (main):
9422           deactivate and remove dparams (libgstcontrol)
9423
9424 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
9425
9426         * gst/elements/gsttypefindelement.c:
9427         (gst_type_find_element_have_type), (gst_type_find_element_init),
9428         (stop_typefinding), (gst_type_find_element_handle_event),
9429         (gst_type_find_element_chain), (gst_type_find_element_getrange):
9430         * gst/elements/gsttypefindelement.h:
9431           Set caps on all outgoing buffers, not just the first one.
9432
9433 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
9434
9435         * gst/elements/gsttypefindelement.c:
9436         (gst_type_find_element_have_type),
9437         (gst_type_find_element_check_set_buffer_caps),
9438         (gst_type_find_element_init), (stop_typefinding),
9439         (gst_type_find_element_handle_event),
9440         (gst_type_find_element_chain), (gst_type_find_element_getrange):
9441         * gst/elements/gsttypefindelement.h:
9442           Set caps on first outgoing buffer when we've found the type.
9443
9444 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
9445
9446         * docs/gst/gstreamer-docs.sgml:
9447         * docs/gst/gstreamer-sections.txt:
9448         * docs/gst/tmpl/gstscheduler.sgml:
9449         * docs/gst/tmpl/gstschedulerfactory.sgml:
9450           Remove some old cruft from docs.
9451
9452 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
9453
9454         * gst/gstpad.h:
9455           Fix inline docs for GstPadLinkReturn.
9456           
9457         * gst/gststructure.c: (gst_structure_has_name):
9458         * gst/gststructure.h:
9459         * docs/gst/gstreamer-sections.txt:
9460           New API: gst_structure_has_name().
9461
9462 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
9463
9464         * configure.ac:
9465           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
9466           and _LARGEFILE_SOURCE in config.h as required. Do not 
9467           export those flags in our .pc files any longer (#142209).
9468
9469           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
9470
9471         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
9472         (gst_file_sink_do_seek), (gst_file_sink_event),
9473         (gst_file_sink_get_current_offset), (gst_file_sink_render):
9474           Redo seek/tell calls with large file support in mind; add some
9475           debugging messages; add log message that tells us when large
9476           file support is unavailable or not enabled for some reason.
9477
9478         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
9479           Add log message that tells us when large file support 
9480           is unavailable or not enabled for some reason.
9481
9482 2005-07-29  Wim Taymans  <wim@fluendo.com>
9483
9484         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9485         Added test for removing an element with ghostpad from a bin.
9486         Fixed test as current implementation does the right thing.
9487
9488         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
9489         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
9490         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
9491         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
9492         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
9493         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
9494         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
9495         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9496         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
9497         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
9498         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
9499         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
9500         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
9501         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
9502         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
9503         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
9504         * gst/gstghostpad.h:
9505         Clean up ghostpads, remove properties for internal stuff.
9506         Make threadsafe.
9507         Fix refcounting.
9508         Prepare for switching targets, not all use cases work yet.
9509
9510 2005-07-29  Wim Taymans  <wim@fluendo.com>
9511
9512         * docs/design/part-gstghostpad.txt:
9513         Small update.
9514
9515         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
9516         (gst_bin_remove_func):
9517         Unlinking pads while holding the bin LOCK is not a good
9518         idea.
9519
9520         * gst/gstpad.c: (gst_pad_class_init),
9521         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
9522         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
9523         No prob setting template after creating the pad.
9524
9525 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
9526
9527         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
9528         (gst_bus_peek), (gst_bus_source_dispatch),
9529         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
9530         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
9531           gst_bus_poll may be called from other threads. Handle
9532           this nicely by not making poll_data disappear off the
9533           stack once gst_bus_poll returns.
9534           gst_bus_peek now increments the refcount on the returned
9535           message.
9536
9537 2005-07-29  Wim Taymans  <wim@fluendo.com>
9538
9539         * docs/design/part-gstghostpad.txt:
9540         Overview of current GhostPad datastructures and use
9541         cases for changing the target.
9542
9543 2005-07-28  Wim Taymans  <wim@fluendo.com>
9544
9545         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9546         Added checks for hierarchy consistency whan adding linked
9547         elements to bins.
9548
9549         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9550         Added check to test element scheduling without bin/pipeline.
9551
9552         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9553         First add elements to bin, then link.
9554         
9555         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
9556         (gst_bin_remove_func):
9557         Unlink pads from elements added/removed from bin to maintain
9558         hierarchy consistency.
9559
9560 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9561
9562         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
9563         (gst_base_transform_handle_buffer):
9564         * gst/base/gstbasetransform.h:
9565           Remove broken delay_configure (fixes renegotiation of software
9566           scaling pipelines); remove some leftover printf()s.
9567
9568 2005-07-28  Wim Taymans  <wim@fluendo.com>
9569
9570         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9571         Added some more tests for wrong hierarchy
9572
9573         * docs/design/part-overview.txt:
9574         Some updates.
9575
9576         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
9577         Cleanups.
9578
9579         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
9580         (gst_element_dispose):
9581         Some more cleanups.
9582
9583         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9584         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
9585         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9586         (gst_pad_set_caps), (gst_pad_send_event):
9587         Check for correct hierarchy when linking pads. Moving to
9588         strict requirement for ghostpads when linking elements in
9589         different bins.
9590
9591         * gst/gstpad.h:
9592         Clean ups. Added WRONG_HIERARCHY return value.
9593
9594 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9595
9596         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9597           Better debug if no transform is possible.
9598
9599 2005-07-27  Wim Taymans  <wim@fluendo.com>
9600
9601         * docs/random/wtay/network-transp:
9602         Some old doc I had.
9603
9604 2005-07-27  Wim Taymans  <wim@fluendo.com>
9605
9606         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9607         (gst_dp_event_from_packet):
9608         Fix serialization of seek events.
9609
9610 2005-07-27  Wim Taymans  <wim@fluendo.com>
9611
9612         * check/gst-libs/gdp.c: (GST_START_TEST):
9613         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
9614         Fix compilation and fix event serialization.
9615
9616 2005-07-27  Wim Taymans  <wim@fluendo.com>
9617
9618         * CHANGES-0.9:
9619         * docs/design/part-TODO.txt:
9620         * docs/design/part-events.txt:
9621         Some docs updates
9622
9623         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9624         (gst_base_sink_event), (gst_base_sink_do_sync),
9625         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
9626         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9627         (gst_base_src_do_seek), (gst_base_src_event_handler),
9628         (gst_base_src_loop):
9629         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9630         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9631         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9632         (gst_base_transform_event), (gst_base_transform_handle_buffer),
9633         (gst_base_transform_set_passthrough),
9634         (gst_base_transform_is_passthrough):
9635         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
9636         * gst/elements/gstfilesink.c: (gst_file_sink_event):
9637         Event updates.
9638
9639         * gst/gstbuffer.h:
9640         Use faster casts.
9641
9642         * gst/gstelement.c: (gst_element_seek):
9643         * gst/gstelement.h:
9644         Update gst_element_seek.
9645
9646         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
9647         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
9648         (gst_event_new_flush_start), (gst_event_new_flush_stop),
9649         (gst_event_new_eos), (gst_event_new_newsegment),
9650         (gst_event_parse_newsegment), (gst_event_new_tag),
9651         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
9652         (gst_event_parse_qos), (gst_event_new_seek),
9653         (gst_event_parse_seek), (gst_event_new_navigation):
9654         * gst/gstevent.h:
9655         Make GstEvent use GstStructure. Add parsing code, make sure the
9656         API is sufficiently generic.
9657         Mark possible directions of events and serialization.
9658
9659         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
9660         (_gst_message_copy), (gst_message_new_segment_start),
9661         (gst_message_new_segment_done), (gst_message_new_custom),
9662         (gst_message_parse_segment_start),
9663         (gst_message_parse_segment_done):
9664         Small cleanups.
9665
9666         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9667         (gst_pad_set_caps), (gst_pad_send_event):
9668         Update for new events. 
9669         Catch events sent in wrong directions.
9670
9671         * gst/gstqueue.c: (gst_queue_link_src),
9672         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
9673         (gst_queue_handle_src_query):
9674         Event updates.
9675
9676         * gst/gsttag.c:
9677         * gst/gsttag.h:
9678         Remove event code from this file.
9679
9680         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9681         (gst_dp_event_from_packet):
9682         Event updates.
9683
9684 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9685
9686         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
9687         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9688         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
9689           Make debugging actually useful.
9690
9691 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9692
9693         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
9694         (gst_pad_fixate_caps):
9695           Implement default fixation once again, so that gst_pad_fixate()
9696           actually does anything at all. This probably needs to be some
9697           sort of a last resort, and use profile-based fixation first, but
9698           since that doesn't exist yet, this is the best we have. Fixes
9699           visualization in Totem.
9700
9701 2005-07-22  Wim Taymans  <wim@fluendo.com>
9702
9703         * docs/design/part-events.txt:
9704         Small update.
9705
9706         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9707         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
9708         (gst_base_sink_activate_pull):
9709         Some more comments.
9710
9711         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
9712         (gst_fake_src_create):
9713         Fix handoff marshall.
9714
9715         * gst/elements/gstidentity.c: (gst_identity_class_init),
9716         (gst_identity_transform_ip):
9717         We're a real inplace element.
9718
9719         * gst/gstbus.c: (gst_bus_post):
9720         Added some comments.
9721
9722         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
9723         * tests/muxing/case1.c: (main):
9724         * tests/sched/dynamic-pipeline.c: (main):
9725         * tests/sched/interrupt1.c: (main):
9726         * tests/sched/interrupt2.c: (main):
9727         * tests/sched/interrupt3.c: (main):
9728         * tests/sched/runxml.c: (main):
9729         * tests/sched/sched-stress.c: (main):
9730         * tests/seeking/seeking1.c: (event_received), (main):
9731         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
9732         (main):
9733         * tests/threadstate/threadstate3.c: (main):
9734         * tests/threadstate/threadstate4.c: (main):
9735         * tests/threadstate/threadstate5.c: (main):
9736         Fix the tests.
9737
9738 2005-07-21  Wim Taymans  <wim@fluendo.com>
9739
9740         * docs/design/part-seeking.txt:
9741         Some small additions.
9742
9743         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9744         (gst_base_sink_get_times), (gst_base_sink_do_sync),
9745         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
9746         * gst/base/gstbasesink.h:
9747         discont values are gint64, handle the math correctly.
9748
9749         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9750         Make the basesrc report error if the source pad is not linked.
9751
9752         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
9753         (gst_queue_loop), (gst_queue_handle_src_query),
9754         (gst_queue_src_activate_push):
9755         Make queue collect data even if the srcpad is not linked.
9756         Start pushing out data as soon as it is linked.
9757
9758         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
9759         * gst/gstutils.h:
9760         Added gst_flow_get_name() to ease error reporting.
9761
9762 2005-07-20  Wim Taymans  <wim@fluendo.com>
9763
9764         * gst/gstmessage.c: (gst_message_new_segment_start),
9765         (gst_message_new_segment_done), (gst_message_parse_segment_start),
9766         (gst_message_parse_segment_done):
9767         * gst/gstmessage.h:
9768         Added a bunch of messages for advanced seeking.
9769
9770         * gst/parse/grammar.y:
9771         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
9772         (gst_dpman_state_changed):
9773         Fix some new-pad -> pad-added signals
9774
9775 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9776
9777         * docs/manual/appendix-porting.xml:
9778         * docs/pwg/appendix-porting.xml:
9779           Document new-pad/state-change signal renames and the FixedList
9780           type rename.
9781
9782 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9783
9784         * docs/manual/advanced-autoplugging.xml:
9785         * docs/manual/basics-helloworld.xml:
9786         * docs/manual/basics-pads.xml:
9787         * docs/random/ds/0.9-suggested-changes:
9788         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
9789         * gst/gstelement.h:
9790         * gst/gstevent.h:
9791         * gst/gstformat.h:
9792         * gst/gstquery.h:
9793         * gst/gststructure.c: (gst_structure_value_get_generic_type),
9794         (gst_structure_parse_array), (gst_structure_parse_value):
9795         * gst/gstvalue.c: (gst_type_is_fixed),
9796         (gst_value_list_prepend_value), (gst_value_list_append_value),
9797         (gst_value_list_get_size), (gst_value_list_get_value),
9798         (gst_value_transform_array_string), (gst_value_serialize_array),
9799         (gst_value_deserialize_array), (gst_value_intersect_array),
9800         (gst_value_is_fixed), (_gst_value_initialize):
9801         * gst/gstvalue.h:
9802           GstElement::new-pad -> pad-added, GstElement::state-change ->
9803           state-changed, GstValueFixedList -> GstValueArray, add format and
9804           flags as their own arguments in gst_element_seek() (should improve
9805           "bindeability"), remove function generators since they don't work
9806           under a whole bunch of compilers (they were deprecated already
9807           anyway).
9808
9809 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9810
9811         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
9812         (_gst_debug_register_funcptr):
9813         * gst/gstinfo.h:
9814           Fix illegal cast on some platforms (#309253).
9815
9816 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9817
9818         * gst/gstmessage.c: (gst_message_new_custom):
9819         * gst/gstmessage.h:
9820           Add _new_custom, make _new_application a macro to _new_custom.
9821
9822 2005-07-20  Wim Taymans  <wim@fluendo.com>
9823
9824         * gst/base/gstbasesrc.c: (gst_base_src_init),
9825         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
9826         * gst/base/gstbasesrc.h:
9827         Add a gboolean to decide when to push out a discont.
9828
9829         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9830         (gst_queue_loop), (gst_queue_handle_src_query),
9831         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
9832         (gst_queue_set_property), (gst_queue_get_property):
9833         Some cleanups.
9834
9835         * tests/threadstate/threadstate1.c: (main):
9836         Make a thread test compile and run... very silly..
9837
9838
9839 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9840
9841         * docs/manual/appendix-porting.xml:
9842           Mention removal of libgstgconf-0.9.la and existence of gconf
9843           elements.
9844
9845 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9846
9847         * docs/pwg/advanced-clock.xml:
9848         * docs/pwg/appendix-porting.xml:
9849         * docs/pwg/intro-preface.xml:
9850         * docs/pwg/other-base.xml:
9851         * docs/pwg/other-manager.xml:
9852         * docs/pwg/other-nton.xml:
9853         * docs/pwg/other-ntoone.xml:
9854         * docs/pwg/other-oneton.xml:
9855         * docs/pwg/pwg.xml:
9856           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
9857           demuxer), remove n-to-n (was never written), fix some code examples
9858           and links and update the porting section to include all this.
9859
9860 2005-07-19  Wim Taymans  <wim@fluendo.com>
9861
9862         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
9863         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
9864         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
9865         (gst_queue_src_activate_push), (gst_queue_change_state),
9866         (gst_queue_get_property):
9867         * gst/gstqueue.h:
9868         Propagate GstFlowReturn more intelligently upstream and output
9869         an ERROR/EOS when streaming stopped due to fatal error.
9870
9871 2005-07-19  Wim Taymans  <wim@fluendo.com>
9872
9873         * tools/gst-launch.c: (check_intr), (event_loop), (main):
9874         Don't block forever for the state change to complete, the
9875         pipeline already did with a sensible timeout.
9876
9877 2005-07-19  Wim Taymans  <wim@fluendo.com>
9878
9879         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9880         Make sure we never call the create function is we
9881         got deactivated.
9882
9883 2005-07-19  Andy Wingo  <wingo@pobox.com>
9884
9885         * gst/parse/parse.l: Attempt to solve bug #172815.
9886
9887 2005-07-19  Wim Taymans  <wim@fluendo.com>
9888
9889         * docs/design/part-clocks.txt:
9890         * docs/design/part-events.txt:
9891         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
9892         Small docs updates.
9893         Only update the seeking values when we are not
9894         busy streaming.
9895
9896 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
9897
9898         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9899           Oops, ignore the result of gst_pad_push_event here.
9900
9901 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
9902
9903         * gst/base/gstbasesrc.c: (gst_base_src_loop),
9904         (gst_base_src_activate_push):
9905           Send discont event from the loop function, as pads
9906           aren't activated yet in the activate_push handler.
9907
9908         * gst/gstbin.c: (bin_bus_handler):
9909           Don't leak element name.
9910
9911 2005-07-18  Andy Wingo  <wingo@pobox.com>
9912
9913         * configure.ac: Use AS_LIBTOOL_TAGS.
9914
9915 2005-07-18  Wim Taymans  <wim@fluendo.com>
9916
9917         * docs/gst/gstreamer.types:
9918         Remove deleted types.
9919
9920 2005-07-18  Wim Taymans  <wim@fluendo.com>
9921
9922         * check/elements/gstfakesrc.c: (GST_START_TEST):
9923         * configure.ac:
9924         * gst/Makefile.am:
9925         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
9926         (init_popt_callback):
9927         * gst/gst.h:
9928         * gst/gst_private.h:
9929         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
9930         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
9931         * gst/gstbin.h:
9932         * gst/gstbus.h:
9933         * gst/gstconfig.h.in:
9934         * gst/gstelement.c: (gst_element_class_init),
9935         (gst_element_set_base_time), (gst_element_get_base_time),
9936         (iterator_fold_with_resync), (gst_element_change_state),
9937         (gst_element_dispose), (gst_element_get_bus):
9938         * gst/gstelement.h:
9939         * gst/gstelementfactory.h:
9940         * gst/gsterror.c: (_gst_core_errors_init):
9941         * gst/gsterror.h:
9942         * gst/gstevent.h:
9943         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9944         * gst/gstindex.c:
9945         * gst/gstinfo.c: (_gst_debug_init):
9946         * gst/gstmessage.c: (_gst_message_copy):
9947         * gst/gstmessage.h:
9948         * gst/gstminiobject.h:
9949         * gst/gstobject.c:
9950         * gst/gstobject.h:
9951         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9952         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
9953         * gst/gstpad.h:
9954         * gst/gstparse.h:
9955         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9956         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9957         (gst_pipeline_get_last_stream_time):
9958         * gst/gstpipeline.h:
9959         * gst/gstpluginfeature.h:
9960         * gst/gstquery.h:
9961         * gst/gstscheduler.c:
9962         * gst/gstscheduler.h:
9963         * gst/gststructure.h:
9964         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9965         (gst_task_finalize), (gst_task_func), (gst_task_create),
9966         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
9967         (gst_task_stop), (gst_task_pause):
9968         * gst/gsttask.h:
9969         * gst/gsttypefind.h:
9970         * gst/gsttypes.h:
9971         * gst/registries/gstlibxmlregistry.c: (load_feature),
9972         (gst_xml_registry_load), (gst_xml_registry_save_feature):
9973         * gst/registries/gstxmlregistry.c:
9974         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
9975         * gst/schedulers/threadscheduler.c:
9976         * libs/gst/control/dparammanager.h:
9977         * tools/gst-inspect.c: (print_element_list),
9978         (print_plugin_features), (print_element_features):
9979         * tools/gst-xmlinspect.c: (print_element_list),
9980         (print_plugin_info), (main):
9981         Removed plugable schedulers.
9982         Removed Scheduler/Manager from elements.
9983         Removed gsttypes.h, rearranged includes.
9984         Removed dependency pad<->element, element<>pipeline, and
9985         various others,  fix includes.
9986         implement gst_pad_get_parent() with gst_object_get_parent()
9987         Make GstTask sefcontained.
9988         Fix _get_state() on GstBin, it did not return ASYNC with a 0
9989         timeout.
9990         Fix endless loop in iterator_fold_with_resync.
9991
9992
9993 2005-07-18  Wim Taymans  <wim@fluendo.com>
9994
9995         * gst/Makefile.am:
9996         * gst/gstarch.h:
9997         Remove old file.
9998
9999 2005-07-18  Wim Taymans  <wim@fluendo.com>
10000
10001         * gst/Makefile.am:
10002         No more cothreads.h
10003
10004 2005-07-18  Wim Taymans  <wim@fluendo.com>
10005
10006         * gst/cothreads.c:
10007         * gst/cothreads.h:
10008         Let's remove these.
10009
10010 2005-07-18  Wim Taymans  <wim@fluendo.com>
10011
10012         * docs/design/part-dynamic.txt:
10013         * docs/design/part-events.txt:
10014         * docs/design/part-seeking.txt:
10015         Some more docs in the works.
10016
10017         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
10018         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
10019         (gst_base_transform_setcaps), (gst_base_transform_get_size),
10020         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
10021         (gst_base_transform_handle_buffer),
10022         (gst_base_transform_sink_activate_push),
10023         (gst_base_transform_src_activate_pull),
10024         (gst_base_transform_set_passthrough),
10025         (gst_base_transform_is_passthrough):
10026         Refcounting fixes.
10027
10028         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
10029         Cleanups.
10030
10031         * gst/gstevent.c: (gst_event_finalize):
10032         Set SRC to NULL.
10033
10034         * gst/gstutils.c: (gst_element_unlink),
10035         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
10036         (gst_pad_proxy_setcaps):
10037         * gst/gstutils.h:
10038         Add _get_parent_element() to get a pads parent as an element.
10039
10040 2005-07-18  Wim Taymans  <wim@fluendo.com>
10041
10042         * check/gst/gstbin.c: (GST_START_TEST):
10043         Remove bogus test.
10044
10045 2005-07-18  Wim Taymans  <wim@fluendo.com>
10046
10047         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
10048         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
10049         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
10050         (gst_base_sink_event), (gst_base_sink_do_sync),
10051         (gst_base_sink_chain), (gst_base_sink_loop),
10052         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
10053         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
10054         Refcounting fixes.
10055         Fix logic for returning ASYNC when not prerolled.
10056
10057 2005-07-18  Wim Taymans  <wim@fluendo.com>
10058
10059         * gst/gstqueue.c: (gst_queue_handle_sink_event):
10060         Fix nasty refcount bug.
10061
10062 2005-07-16 Philippe Khalaf <burger@speedy.org>
10063
10064         * gst/elements/gstfdsrc.c:
10065         * gst/elements/gstfdsrc.h:
10066         * gst/elements/gstelements.c:
10067         * gst/elements/Makefile.am:
10068         Ported fdsrc to 0.9.
10069
10070 2005-07-16  Wim Taymans  <wim@fluendo.com>
10071
10072         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10073         (gst_base_sink_do_sync):
10074         Fix compile error.
10075
10076 2005-07-16  Wim Taymans  <wim@fluendo.com>
10077
10078         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10079         (gst_base_sink_event), (gst_base_sink_get_times),
10080         (gst_base_sink_do_sync), (gst_base_sink_change_state):
10081         * gst/base/gstbasesink.h:
10082         Store and use discont values when syncing buffers as described
10083         in design docs.
10084         
10085         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
10086         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
10087         (gst_base_src_activate_push):
10088         Push discont event when starting.
10089
10090         * gst/elements/gstidentity.c: (gst_identity_transform):
10091         Small cleanups.
10092
10093         * gst/gstbin.c: (gst_bin_change_state):
10094         Small cleanups in base_time  distribution.
10095
10096         * gst/gstelement.c: (gst_element_set_base_time),
10097         (gst_element_get_base_time), (gst_element_change_state):
10098         * gst/gstelement.h:
10099         Added methods for the base_time of the element.
10100         Some MT fixes.
10101
10102         * gst/gstpipeline.c: (gst_pipeline_send_event),
10103         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
10104         (gst_pipeline_get_last_stream_time):
10105         * gst/gstpipeline.h:
10106         MT fixes.
10107         Handle seeking as described in design doc, remove stream_time
10108         hack.
10109         Cleanups clock and stream_time selection code. Added accessors
10110         for the stream_time.
10111         
10112
10113 2005-07-16  Andy Wingo  <wingo@pobox.com>
10114
10115         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
10116         (#305291).
10117
10118 2005-07-16  Wim Taymans  <wim@fluendo.com>
10119
10120         * check/gst/gstbin.c: (GST_START_TEST):
10121         Make elements silent as the deep_notify refs the
10122         parent, which might make the test fail.
10123
10124         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
10125         Don't hold the lock for too long.
10126
10127 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
10128
10129         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
10130           Don't unref the caps we passed to gst_caps_make_writable() after
10131           passing them. gst_caps_make_writable() will do that for us.
10132
10133 2005-07-15  Andy Wingo  <wingo@pobox.com>
10134
10135         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
10136         (#157311).
10137
10138         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
10139         own marshalling function for the handoff signal. Properly type the
10140         buffer as a buffer. Fixes some warnings. Should do a more general
10141         solution.
10142         (gst_identity_class_init): Plug into the right marshaller.
10143
10144 2005-07-15  Wim Taymans  <wim@fluendo.com>
10145
10146         * docs/design/part-TODO.txt:
10147         * docs/design/part-clocks.txt:
10148         * docs/design/part-element-sink.txt:
10149         * docs/design/part-events.txt:
10150         * docs/design/part-gstpipeline.txt:
10151         Updated docs, mostly DISCONT related.
10152
10153 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
10154
10155         * docs/pwg/building-pads.xml:
10156           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
10157
10158 2005-07-15  Andy Wingo  <wingo@pobox.com>
10159
10160         * tools/gst-typefind.c: Update, add copyright block.
10161
10162         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
10163         Normalize and truncate caps before fixation.
10164
10165         * gst/gstcaps.h:
10166         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
10167         discards all but the first structure from its argument.
10168
10169 2005-07-15  Wim Taymans  <wim@fluendo.com>
10170
10171         * gst/base/gstbasetransform.c: (gst_base_transform_init),
10172         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
10173         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
10174         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
10175         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
10176         (gst_base_transform_chain), (gst_base_transform_change_state),
10177         (gst_base_transform_set_passthrough),
10178         (gst_base_transform_is_passthrough):
10179         * gst/base/gstbasetransform.h:
10180         Make passthrough work using the bufferpools.
10181         Changed API a bit, subclasses have to write into a buffer
10182         provided by the base class.
10183         More debug info in nego functions.
10184         
10185         * gst/elements/gstidentity.c: (gst_identity_init),
10186         (gst_identity_transform):
10187         Port to new base class.
10188
10189 2005-07-15  Wim Taymans  <wim@fluendo.com>
10190
10191         * gst/gstmessage.c: (gst_message_new_state_changed):
10192         * tools/gst-launch.c: (event_loop), (main):
10193         Totally dump messages in -launch with the -m option.
10194         Fix message name for State messages,
10195
10196 2005-07-14  Wim Taymans  <wim@fluendo.com>
10197
10198         * gst/base/gstbasesrc.c: (gst_base_src_loop):
10199         Post error messages on errors.
10200
10201 2005-07-14  Wim Taymans  <wim@fluendo.com>
10202
10203         * gst/gstcaps.c: (gst_caps_do_simplify):
10204         Remove debug info.
10205
10206         * gst/gsterror.h:
10207         Define error for stream stopped.
10208
10209         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10210         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
10211         Do proper return values.
10212
10213         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
10214         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
10215         (gst_pad_get_range):
10216         Better return values.
10217
10218         * gst/gstpad.h:
10219         Reorganise return values, add macro to check for fatal errors.
10220
10221         * gst/gstqueue.c: (gst_queue_chain):
10222         Return proper GstFlowReturn values,
10223
10224 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10225
10226         * docs/gst/gstreamer-sections.txt:
10227         * docs/gst/gstreamer.types:
10228         * docs/gst/tmpl/gst.sgml:
10229         * docs/gst/tmpl/gstbasesink.sgml:
10230         * docs/gst/tmpl/gstbasesrc.sgml:
10231         * docs/gst/tmpl/gstbasetransform.sgml:
10232         * docs/gst/tmpl/gstbin.sgml:
10233         * docs/gst/tmpl/gstbuffer.sgml:
10234         * docs/gst/tmpl/gstcaps.sgml:
10235         * docs/gst/tmpl/gstclock.sgml:
10236         * docs/gst/tmpl/gstcompat.sgml:
10237         * docs/gst/tmpl/gstconfig.sgml:
10238         * docs/gst/tmpl/gstelement.sgml:
10239         * docs/gst/tmpl/gstelementdetails.sgml:
10240         * docs/gst/tmpl/gstelementfactory.sgml:
10241         * docs/gst/tmpl/gstenumtypes.sgml:
10242         * docs/gst/tmpl/gsterror.sgml:
10243         * docs/gst/tmpl/gstevent.sgml:
10244         * docs/gst/tmpl/gstfakesink.sgml:
10245         * docs/gst/tmpl/gstfakesrc.sgml:
10246         * docs/gst/tmpl/gstfilesink.sgml:
10247         * docs/gst/tmpl/gstfilesrc.sgml:
10248         * docs/gst/tmpl/gstfilter.sgml:
10249         * docs/gst/tmpl/gstformat.sgml:
10250         * docs/gst/tmpl/gstghostpad.sgml:
10251         * docs/gst/tmpl/gstimplementsinterface.sgml:
10252         * docs/gst/tmpl/gstindex.sgml:
10253         * docs/gst/tmpl/gstindexfactory.sgml:
10254         * docs/gst/tmpl/gstinfo.sgml:
10255         * docs/gst/tmpl/gstiterator.sgml:
10256         * docs/gst/tmpl/gstmacros.sgml:
10257         * docs/gst/tmpl/gstmemchunk.sgml:
10258         * docs/gst/tmpl/gstminiobject.sgml:
10259         * docs/gst/tmpl/gstobject.sgml:
10260         * docs/gst/tmpl/gstpad.sgml:
10261         * docs/gst/tmpl/gstpadtemplate.sgml:
10262         * docs/gst/tmpl/gstparse.sgml:
10263         * docs/gst/tmpl/gstpipeline.sgml:
10264         * docs/gst/tmpl/gstplugin.sgml:
10265         * docs/gst/tmpl/gstpluginfeature.sgml:
10266         * docs/gst/tmpl/gstquery.sgml:
10267         * docs/gst/tmpl/gstqueue.sgml:
10268         * docs/gst/tmpl/gstregistry.sgml:
10269         * docs/gst/tmpl/gstregistrypool.sgml:
10270         * docs/gst/tmpl/gstscheduler.sgml:
10271         * docs/gst/tmpl/gstschedulerfactory.sgml:
10272         * docs/gst/tmpl/gststructure.sgml:
10273         * docs/gst/tmpl/gstsystemclock.sgml:
10274         * docs/gst/tmpl/gsttaglist.sgml:
10275         * docs/gst/tmpl/gsttagsetter.sgml:
10276         * docs/gst/tmpl/gsttrace.sgml:
10277         * docs/gst/tmpl/gsttrashstack.sgml:
10278         * docs/gst/tmpl/gsttypefind.sgml:
10279         * docs/gst/tmpl/gsttypefindfactory.sgml:
10280         * docs/gst/tmpl/gsttypes.sgml:
10281         * docs/gst/tmpl/gsturihandler.sgml:
10282         * docs/gst/tmpl/gsturitype.sgml:
10283         * docs/gst/tmpl/gstutils.sgml:
10284         * docs/gst/tmpl/gstvalue.sgml:
10285         * docs/gst/tmpl/gstversion.sgml:
10286         * docs/gst/tmpl/gstxml.sgml:
10287         * docs/libs/tmpl/gstcontrol.sgml:
10288         * docs/libs/tmpl/gstdataprotocol.sgml:
10289         * docs/libs/tmpl/gstdparam.sgml:
10290         * docs/libs/tmpl/gstdplinint.sgml:
10291         * docs/libs/tmpl/gstdpman.sgml:
10292         * docs/libs/tmpl/gstdpsmooth.sgml:
10293         * docs/libs/tmpl/gstgetbits.sgml:
10294         * docs/libs/tmpl/gstunitconvert.sgml:
10295         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
10296         (gst_push_src_base_init), (gst_push_src_class_init),
10297         (gst_push_src_init), (gst_push_src_create):
10298         * gst/base/gstpushsrc.h:
10299         * gst/elements/gstelements.c:
10300         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
10301         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
10302         (gst_fake_sink_init), (gst_fake_sink_set_property),
10303         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
10304         (gst_fake_sink_event), (gst_fake_sink_preroll),
10305         (gst_fake_sink_render), (gst_fake_sink_change_state):
10306         * gst/elements/gstfakesink.h:
10307         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
10308         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
10309         (gst_fake_src_base_init), (gst_fake_src_class_init),
10310         (gst_fake_src_init), (gst_fake_src_event_handler),
10311         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
10312         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
10313         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
10314         (gst_fake_src_create_buffer), (gst_fake_src_create),
10315         (gst_fake_src_start), (gst_fake_src_stop):
10316         * gst/elements/gstfakesrc.h:
10317         * gst/elements/gstfilesink.c: (_do_init),
10318         (gst_file_sink_base_init), (gst_file_sink_class_init),
10319         (gst_file_sink_init), (gst_file_sink_dispose),
10320         (gst_file_sink_set_location), (gst_file_sink_set_property),
10321         (gst_file_sink_get_property), (gst_file_sink_open_file),
10322         (gst_file_sink_close_file), (gst_file_sink_query),
10323         (gst_file_sink_event), (gst_file_sink_render),
10324         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
10325         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
10326         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
10327         * gst/elements/gstfilesink.h:
10328         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
10329         (gst_file_src_class_init), (gst_file_src_init),
10330         (gst_file_src_finalize), (gst_file_src_set_location),
10331         (gst_file_src_set_property), (gst_file_src_get_property),
10332         (gst_file_src_map_region), (gst_file_src_map_small_region),
10333         (gst_file_src_create_mmap), (gst_file_src_create_read),
10334         (gst_file_src_create), (gst_file_src_is_seekable),
10335         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
10336         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
10337         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
10338         (gst_file_src_uri_handler_init):
10339         * gst/elements/gstfilesrc.h:
10340           more autistic cleanliness in functions/names/defines
10341
10342 2005-07-13  Andy Wingo  <wingo@pobox.com>
10343
10344         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
10345         source couldn't negotiate.
10346
10347         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
10348         connections again.
10349
10350         * gst/gstutils.h:
10351         * gst/gstutils.c (gst_element_link_pads_filtered): New old
10352         function. I am channeling Hades. Put your boots on suckers!!!
10353
10354 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10355
10356         * testsuite/caps/Makefile.am:
10357         * testsuite/caps/value_compare.c:
10358         * testsuite/caps/value_intersect.c:
10359         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10360           move two testsuite apps over to the check dir
10361
10362 2005-07-12  Wim Taymans  <wim@fluendo.com>
10363
10364         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
10365         Added more debug info in the negotiate process.
10366
10367         * gst/gstmessage.h:
10368         Prepare for segment playback.
10369
10370         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
10371         Better debugging.
10372
10373         * gst/gstutils.c:
10374         Some more docs.
10375
10376         * tools/gst-launch.c: (main):
10377         NULL pipeline on errors.
10378
10379 2005-07-12  Andy Wingo  <wingo@pobox.com>
10380
10381         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
10382         not it comes from a malloc region. Make sure our copy gets freed.
10383
10384 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10385
10386         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
10387         * check/gst/gstmessage.c: (GST_START_TEST):
10388         * check/gst/gststructure.c: (GST_START_TEST),
10389         (gst_structure_suite), (main):
10390           more testing
10391         * gst/gstelement.c: (gst_element_message_full):
10392           clean up GError and debug string now that they get copied
10393         * gst/gstmessage.c: (gst_message_new_error),
10394         (gst_message_new_warning), (gst_message_parse_error),
10395         (gst_message_parse_warning):
10396           use GST_TYPE_G_ERROR for structure_new, and take copies of
10397           arguments, so that we don't mess up refcounting
10398
10399 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10400
10401         * check/Makefile.am:
10402           add per-test valgrind targets
10403         * check/gst-libs/gdp.c: (GST_START_TEST),
10404         (gst_data_protocol_suite), (main):
10405           clean up
10406
10407 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10408
10409         * check/Makefile.am:
10410           instate more valgrindable tests
10411         * check/elements/gstfakesrc.c: (chain_func), (event_func),
10412         (GST_START_TEST), (fakesrc_suite):
10413         * check/gst/gstpad.c: (GST_START_TEST):
10414         * check/gst/gststructure.c: (GST_START_TEST):
10415           fix test leaks
10416         * docs/gst/tmpl/gstminiobject.sgml:
10417         * gst/gstpad.c: (gst_pad_finalize):
10418           fix the static mutex leak
10419
10420 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10421
10422         * check/Makefile.am:
10423           add two more tests for valgrinding
10424         * check/gst/gstvalue.c: (GST_START_TEST):
10425           test refcount of deserialized buffer, found a leak
10426         * docs/gst/gstreamer-docs.sgml:
10427         * docs/gst/gstreamer-sections.txt:
10428         * docs/gst/gstreamer.types:
10429         * docs/gst/tmpl/gstminiobject.sgml:
10430           add miniobject to docs
10431         * gst/gstminiobject.c:
10432           add some docs
10433         * gst/gstvalue.c: (gst_value_deserialize_buffer),
10434         (gst_string_unwrap):
10435           fix a hard-to-find invalid write for one of the tests
10436           fix a leak for deserialized buffers
10437
10438 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10439
10440         * docs/pwg/advanced-events.xml:
10441         * docs/pwg/advanced-request.xml:
10442         * docs/pwg/advanced-scheduling.xml:
10443         * docs/pwg/appendix-porting.xml:
10444         * docs/pwg/building-boiler.xml:
10445         * docs/pwg/intro-preface.xml:
10446         * docs/pwg/other-ntoone.xml:
10447           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
10448           of example code and explanation for pad activation, loop() and
10449           getrange() functions and a bit more. Remove old comments pointing
10450           to loop-functions.
10451         * examples/pwg/Makefile.am:
10452           Add loop/getrange examples.
10453
10454 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10455
10456         * configure.ac:
10457           check for valgrind binary + some fixes
10458         * check/gst.supp:
10459           valgrind suppressions for the tests
10460         * check/Makefile.am:
10461           add a valgrind: target that valgrinds the unit tests
10462         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
10463         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
10464         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10465         * check/gst/gstghostpad.c:
10466           added some cleanup
10467         * check/gst/gstdata.c:
10468           removed
10469         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
10470         (thread_unref), (gst_mini_object_suite), (main):
10471           added
10472         * gst/gst.c: (gst_deinit):
10473         * gst/gst.h:
10474           add a method to clean up.
10475         * gst/gstsystemclock.c: (gst_system_clock_dispose),
10476         (gst_system_clock_obtain):
10477           allow for disposing the system clock.
10478         * tools/gst-launch.c: (main):
10479           deinit
10480
10481 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
10482
10483         * docs/gst/tmpl/gstbasesrc.sgml:
10484         * docs/gst/tmpl/gstfakesrc.sgml:
10485         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10486         (gst_base_src_init), (gst_base_src_set_property),
10487         (gst_base_src_get_property), (gst_base_src_get_range),
10488         (gst_base_src_start):
10489         * gst/base/gstbasesrc.h:
10490           add num-buffers property
10491         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10492         (gst_fakesrc_init), (gst_fakesrc_set_property),
10493         (gst_fakesrc_get_property), (gst_fakesrc_create),
10494         (gst_fakesrc_start):
10495           remove num-buffers property
10496
10497 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10498
10499         * docs/gst/gstreamer-sections.txt:
10500         * docs/gst/tmpl/gstbasesink.sgml:
10501         * docs/gst/tmpl/gstbasesrc.sgml:
10502         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
10503         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
10504         (gst_base_sink_finalize), (gst_base_sink_set_clock),
10505         (gst_base_sink_set_property), (gst_base_sink_get_property),
10506         (gst_base_sink_handle_object), (gst_base_sink_event),
10507         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
10508         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
10509         (gst_base_sink_loop), (gst_base_sink_deactivate),
10510         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
10511         (gst_base_sink_change_state):
10512         * gst/base/gstbasesink.h:
10513         * gst/base/gstbasesrc.h:
10514         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
10515         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
10516         (gst_filesink_init):
10517           more macro splitting
10518
10519 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10520
10521         * gst/gstelement.c: (gst_element_get_bus):
10522           add debug
10523         * tools/gst-launch.c: (check_intr), (event_loop):
10524           fix bus leaks
10525
10526 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10527
10528         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
10529           fix a caps leak
10530
10531 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10532
10533         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10534         (gst_base_src_finalize):
10535           add finalize method and clean up properly
10536         * gst/gstpipeline.c: (gst_pipeline_dispose):
10537           add debug
10538
10539 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10540
10541         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
10542         (gst_bin_suite):
10543           add more things to check
10544         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
10545         * gst/gstelement.c:
10546           more debug
10547
10548 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10549
10550         * check/elements/gstfakesrc.c: (chain_func), (event_func),
10551         (GST_START_TEST), (fakesrc_suite):
10552         * check/gst-libs/gdp.c: (GST_START_TEST):
10553         * check/gst/gst.c: (GST_START_TEST):
10554         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
10555         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10556         * check/gst/gstbus.c: (GST_START_TEST):
10557         * check/gst/gstcaps.c: (GST_START_TEST):
10558         * check/gst/gstdata.c: (GST_START_TEST):
10559         * check/gst/gstelement.c: (GST_START_TEST):
10560         * check/gst/gstghostpad.c: (GST_START_TEST):
10561         * check/gst/gstiterator.c: (GST_START_TEST):
10562         * check/gst/gstmessage.c: (GST_START_TEST):
10563         * check/gst/gstobject.c: (GST_START_TEST):
10564         * check/gst/gstpad.c: (GST_START_TEST):
10565         * check/gst/gststructure.c: (GST_START_TEST):
10566         * check/gst/gstsystemclock.c: (GST_START_TEST),
10567         (gst_systemclock_suite):
10568         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
10569         * check/gst/gstvalue.c: (GST_START_TEST):
10570         * check/pipelines/cleanup.c: (GST_START_TEST):
10571         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
10572         * check/states/sinks.c: (GST_START_TEST):
10573         * check/gstcheck.c: (gst_check_init):
10574         * check/gstcheck.h:
10575           add debugging category
10576           use GST_START_TEST now, so we add a debug line
10577
10578 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10579
10580         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
10581           add test for state change message on a bin
10582         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
10583           add another test
10584         * gst/gstbin.c: (gst_bin_init):
10585         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
10586         * gst/gstelement.c: (gst_element_post_message),
10587         (gst_element_set_state):
10588         * gst/gstelementfactory.c: (gst_element_factory_create):
10589         * gst/gstmessage.c: (gst_message_new):
10590         * gst/gstscheduler.c:
10591           various debugging additions and cleanups
10592
10593 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10594
10595         * check/Makefile.am:
10596         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
10597         (main):
10598           adding tests for elements
10599         * gst/gstelement.c: (gst_element_dispose):
10600
10601 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10602
10603         * gst/registries/gstlibxmlregistry.c: (load_feature):
10604           plug more leaks.  A simple gst_init() now is leakfree, yay.
10605
10606 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10607
10608         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
10609         (gst_xml_registry_load):
10610           plug another memleak
10611
10612 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10613
10614         * configure.ac:
10615           use GST_SET_ERROR_CFLAGS
10616         * docs/faq/cvs.xml:
10617           change to ERROR_CFLAGS
10618
10619 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10620
10621         * configure.ac:
10622           make GST_ERROR_CFLAGS overridable and re-enable Werror
10623         * docs/faq/cvs.xml:
10624           add a note about error CFLAGS
10625         * docs/gst/tmpl/gstfakesrc.sgml:
10626         * gst/elements/gstfakesrc.c:
10627           comment out some unused code
10628         * gst/gst.c: (split_and_iterate):
10629         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
10630         (load_feature):
10631           plug some memleaks
10632
10633 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
10634
10635         * common/Makefile.am:
10636         * common/gtk-doc.mak:
10637         * docs/gst/Makefile.am:
10638           factor out gtk-doc.mak
10639
10640 2005-07-07  Wim Taymans  <wim@fluendo.com>
10641
10642         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
10643         (gst_thread_scheduler_dispose):
10644         Unlock the STREAM_LOCK completely.
10645
10646 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
10647
10648         * check/Makefile.am:
10649         * check/elements/.cvsignore:
10650         * check/elements/gstfakesrc.c: (chain_func), (event_func),
10651         (START_TEST), (fakesrc_suite), (main):
10652         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10653         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
10654         (gst_fakesrc_create), (gst_fakesrc_start):
10655         * gst/elements/gstfakesrc.h:
10656           adding a first element test
10657
10658 2005-07-07  Andy Wingo  <wingo@pobox.com>
10659
10660         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
10661         debug message.
10662
10663 2005-07-07  Wim Taymans  <wim@fluendo.com>
10664
10665         * gst/gstquery.c:
10666         * gst/gstquery.h:
10667         Remove old types
10668
10669 2005-07-07  Wim Taymans  <wim@fluendo.com>
10670
10671         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
10672         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
10673         Allow subclasses to implement their own negotiation.
10674
10675 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
10676
10677         * docs/design/part-gstbin.txt:
10678         * docs/design/part-gstpipeline.txt:
10679           Update design notes to reflect the movement of
10680           responsibility for bus handling from GstPipeline to
10681           GstBin
10682
10683 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
10684
10685         * configure.ac:
10686           Remove unnecessary queue2/3/4 examples.
10687
10688 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
10689
10690         * examples/Makefile.am:
10691         * examples/helloworld/helloworld.c: (event_loop), (main):
10692         * examples/queue/queue.c: (event_loop), (main):
10693         * examples/queue2/queue2.c: (main):
10694           Update a couple of the examples to work again.
10695
10696         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10697         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
10698          Spelling corrections and extra debug.
10699         
10700         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
10701         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
10702         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
10703         * gst/gstbin.h:
10704         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
10705         (gst_pipeline_change_state):
10706         * gst/gstpipeline.h:
10707           Move the bus handler for children to the GstBin, and create a
10708           separate bus for receiving messages from children to the one the
10709           bus sends 'upwards' on.
10710
10711 2005-07-06  Wim Taymans  <wim@fluendo.com>
10712
10713         * gst/base/README:
10714         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10715         (gst_base_sink_handle_object), (gst_base_sink_loop),
10716         (gst_base_sink_change_state):
10717         * gst/base/gstbasesink.h:
10718         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10719         (gst_base_src_init), (gst_base_src_setcaps),
10720         (gst_base_src_getcaps), (gst_base_src_loop),
10721         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
10722         (gst_base_src_start), (gst_base_src_change_state):
10723         * gst/base/gstbasesrc.h:
10724         Make basesrc negotiate.
10725         Handle the case where preroll fails in basesink.
10726         Update README.
10727
10728 2005-07-06  Wim Taymans  <wim@fluendo.com>
10729
10730         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
10731         Implement the fixate function.
10732         Clean up acceptcaps.
10733
10734 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10735
10736         * docs/pwg/building-filterfactory.xml:
10737         * docs/pwg/pwg.xml:
10738           Remove never-written filter-factory chapter; I'll add the various
10739           base classes to part 4 ("other element types") later on.
10740
10741 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10742
10743         * docs/pwg/advanced-negotiation.xml:
10744         * docs/pwg/building-boiler.xml:
10745         * docs/pwg/building-pads.xml:
10746         * docs/pwg/pwg.xml:
10747         * examples/pwg/Makefile.am:
10748           Add a chapter on caps negotiation, simplify the original code
10749           samples a bit w.r.t. caps negotiation, add link to the advanced
10750           section. Add a bunch of examples showing different use cases of
10751           different types of caps negotiation. Upstream renegotiation isn't
10752           fully documented yet since nobody knows how that works.
10753
10754 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10755
10756         * check/gst/gstpad.c:
10757         * check/gstcheck.c:
10758         * gst/gstpad.c: (gst_pad_get_internal_links_default):
10759           if pad has no parent, return NULL as list of internal links
10760
10761 2005-07-05  Andy Wingo  <wingo@pobox.com>
10762
10763         * gst/elements/gstfilesrc.c:
10764         * gst/elements/gstfakesrc.c: 
10765         * gst/base/gstpushsrc.c:
10766         * gst/base/gstbasesrc.h: 
10767         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
10768         
10769 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
10770
10771         * Makefile.am:
10772           better report generation target (lcov needs a patch)
10773
10774 2005-07-05  Andy Wingo  <wingo@pobox.com>
10775
10776         * gst/elements, testsuite: Null if we got it...
10777
10778 2005-07-05  Wim Taymans  <wim@fluendo.com>
10779
10780         * configure.ac:
10781         * libs/gst/dataprotocol/Makefile.am:
10782         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
10783         * libs/gst/dataprotocol/dataprotocol.h:
10784         * pkgconfig/Makefile.am:
10785         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
10786         * pkgconfig/gstreamer-dataprotocol.pc.in:
10787         Ported dataprotol to 0.9. 
10788         Added pkgconfig files.
10789
10790 2005-07-05  Andy Wingo  <wingo@pobox.com>
10791
10792         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
10793         Default to returning TRUE for the case when tranform_caps returns
10794         a fixed caps, like for identity or volume.
10795
10796         * check/gst/gstbus.c (pound_bus_with_messages): 
10797         * check/gst/gstmessage.c (START_TEST): 
10798         * check/pipelines/simple_launch_lines.c (got_handoff): Application
10799         message API change.
10800
10801         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
10802         logic weaks here: always run transform_caps, trying passthrough
10803         operation only if the original caps intersects with the transform.
10804
10805         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
10806         source and sink caps.
10807
10808         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
10809         Intersect the peer caps with the pad template before going into
10810         transform_caps.
10811         (gst_base_transform_transform_caps): More debugging.
10812
10813         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
10814         src argument.
10815
10816 2005-07-04  Edward Hervey  <edward@fluendo.com>
10817
10818         * gst/gstutils.c:
10819         * gst/gstutils.h:
10820         (gst_pad_add_*_probe): now returns the signal id for better wrapping
10821         in bindings.
10822
10823 2005-07-04  Andy Wingo  <wingo@pobox.com>
10824
10825         * check/gst/gstpad.c: Only set explicit caps on pads.
10826
10827 2005-07-01  Andy Wingo  <wingo@pobox.com>
10828
10829         * tests/network-clock.scm: Commentary update.
10830
10831         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
10832         Didn't really make sense, not implementable with basetransform,
10833         etc.
10834         (gst_identity_transform): Unref inbuf via make_writable. Feeble
10835         attempt at implementing the sync property, needs an unlock method.
10836
10837         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
10838         New func, by default returns the same caps (the identity
10839         transformation).
10840         (gst_base_transform_getcaps): Uses transform_caps to return
10841         something sensible.
10842         (gst_base_transform_setcaps): Complicated logic to get caps on
10843         both pads, even if they are different, and to call set_caps once
10844         for every time both pads get their caps set.
10845         (gst_base_transform_handle_buffer): Give the ref to the transform
10846         function. Allows in-place modification of the buffer.
10847
10848         * gst/base/gstbasetransform.h (transform_caps): New class method.
10849         Given caps on one side, what can I do on the other.
10850         (set_caps): Take two caps, one for each side of the element.
10851
10852         * gst/gstpad.h:
10853         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
10854         caps in place. This is safe because we can check the mutability of
10855         the caps, and a good idea because fixate functions are just called
10856         as a matter of last resort. (Not actually implemented.)
10857         (gst_pad_set_caps): If the caps we're setting is actually the same
10858         as the existing pad caps, just update the pointer without calling
10859         setcaps. Assert that caps is either NULL or fixed, as per the
10860         docs.
10861
10862         * gst/gstghostpad.c: Update for fixate changes.
10863
10864 2005-07-02  Andy Wingo  <wingo@pobox.com>
10865
10866         * gst/gstcaps.c:
10867         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
10868         two refcounts makes it immutable, which is enough. Doc more.
10869
10870 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
10871
10872         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
10873           Put the mini_object into GValue as a mini_object,
10874           not a gpointer, since that's how we declared
10875           the signal.
10876
10877 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10878
10879         * examples/pwg/Makefile.am:
10880           Fix buildbot again.
10881
10882 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10883
10884         * docs/pwg/building-testapp.xml:
10885           Add extra check.
10886         * examples/pwg/Makefile.am:
10887           Fix buildbot.
10888
10889 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10890
10891         * configure.ac:
10892         * examples/Makefile.am:
10893         * examples/pwg/Makefile.am:
10894         * examples/pwg/extract.pl:
10895           Enable building the PWG examples.
10896         * docs/pwg/advanced-interfaces.xml:
10897           Add URI interface stub.
10898         * docs/pwg/advanced-types.xml:
10899         * docs/pwg/other-autoplugger.xml:
10900         * docs/pwg/appendix-porting.xml:
10901         * docs/pwg/pwg.xml:
10902           Add porting guide (mostly stubs), remove autoplugging (see ADM).
10903         * docs/pwg/building-boiler.xml:
10904         * docs/pwg/building-chainfn.xml:
10905         * docs/pwg/building-pads.xml:
10906         * docs/pwg/building-props.xml:
10907         * docs/pwg/building-state.xml:
10908         * docs/pwg/building-testapp.xml:
10909           Update the building-*.xml parts for 0.9 changes. All examples
10910           code blocks compile in examples/pwg/*.
10911
10912 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10913
10914         * docs/manual/advanced-autoplugging.xml:
10915         * docs/manual/appendix-checklist.xml:
10916         * docs/manual/appendix-integration.xml:
10917         * docs/manual/highlevel-components.xml:
10918           Fix playbin/decodebin examples, update docs a bit, mention bus
10919           instead of signals in various places, mention kmplayer and
10920           kaffeine since they have a working GStreamer backend in the KDE
10921           section.
10922
10923 2005-06-30  Wim Taymans  <wim@fluendo.com>
10924
10925         * CHANGES-0.9:
10926         * docs/design/draft-ghostpads.txt:
10927         * docs/design/draft-push-pull.txt:
10928         * docs/design/draft-query.txt:
10929         * docs/design/part-TODO.txt:
10930         * docs/design/part-query.txt:
10931         Added CHANGES-0.9 doc, updated status of other docs.
10932         
10933         * gst/gstquery.h:
10934         Remove "hmm" macro
10935
10936 2005-06-30  Wim Taymans  <wim@fluendo.com>
10937
10938         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10939         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
10940         (gst_base_sink_change_state):
10941         * gst/base/gstbasesink.h:
10942         Some tweaks, only EOS and a buffer complete a preroll.
10943
10944 2005-06-30  Andy Wingo  <wingo@pobox.com>
10945
10946         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
10947         activate_push down to the internal pad as well.
10948
10949 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
10950
10951         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10952
10953         * gst/gsttaginterface.c:
10954           Some documentation fixes (#307394 and #307397).
10955
10956 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
10957
10958         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10959
10960         * gst/gstvalue.c: (gst_value_intersect_list):
10961           Fix memleak (#309125).
10962
10963 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10964
10965         * docs/manual/advanced-dataaccess.xml:
10966           Fix fakesrc example to compile; doesn't work, bug somewhere...?
10967         * docs/manual/basics-pads.xml:
10968           Add reference for filtered caps to above chapter.
10969
10970 2005-06-30  Wim Taymans  <wim@fluendo.com>
10971
10972         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
10973         (gst_bin_change_state):
10974         Probes are gone.
10975         Lame attempt at making the state change function a bit
10976         more readable.
10977
10978 2005-06-30  Wim Taymans  <wim@fluendo.com>
10979
10980         * docs/design/part-clocks.txt:
10981         * docs/design/part-element-sink.txt:
10982         * docs/design/part-events.txt:
10983         * docs/design/part-preroll.txt:
10984         * docs/design/part-states.txt:
10985         Some more tweeks and additions to the docs.
10986
10987 2005-06-30  Wim Taymans  <wim@fluendo.com>
10988
10989         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10990         (default_have_data), (gst_pad_class_init), (gst_pad_init),
10991         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10992         (gst_pad_check_pull_range), (gst_pad_get_range),
10993         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
10994         * gst/gstpad.h:
10995         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
10996         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10997         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10998         (gst_pad_remove_buffer_probe):
10999         Removed atomic operations, use existing LOCK.
11000         Move exception handling out of main code path.
11001
11002 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11003
11004         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
11005         (silly_return_true_function), (gst_pad_class_init),
11006         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
11007         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
11008         (gst_pad_send_event):
11009           Fix accumulator, add default value by using _emitv() instead
11010           of _emit() for signal emission.
11011
11012 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11013
11014         * docs/manual/advanced-dataaccess.xml:
11015         * examples/manual/Makefile.am:
11016           Add probe example.
11017         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
11018           Make work (??).
11019
11020 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
11021
11022         * gst/elements/gstfilesink.c: (gst_filesink_render):
11023           Simplify code so that we don't have to handle short
11024           writes and return GST_FLOW_ERROR if an error occured.
11025
11026 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11027
11028         * docs/gst/gstreamer-docs.sgml:
11029           Remove probes more.
11030
11031 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11032
11033         * docs/gst/gstreamer-sections.txt:
11034         * docs/gst/tmpl/gstpad.sgml:
11035         * docs/gst/tmpl/gstprobe.sgml:
11036         * gst/Makefile.am:
11037         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
11038         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
11039         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
11040         (gst_pad_push_event), (gst_pad_send_event):
11041         * gst/gstpad.h:
11042         * gst/gstutils.c: (gst_pad_add_data_probe),
11043         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11044         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11045         (gst_pad_remove_buffer_probe):
11046         * gst/gstutils.h:
11047           Remove old probes, add new g-signal-based probes and some utility
11048           functions.
11049
11050 2005-06-29  Edward Hervey  <edward@fluendo.com>
11051
11052         * gst/gstelementfactory.c:
11053         * gst/gstutils.h:
11054         * gst/gstutils.c:
11055         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
11056         the definition to the header file.
11057
11058 2005-06-29  Andy Wingo  <wingo@pobox.com>
11059
11060         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
11061         plugins from the source directory.
11062
11063 2005-06-29  Wim Taymans  <wim@fluendo.com>
11064
11065         * docs/gst/tmpl/gstbuffer.sgml:
11066         * docs/gst/tmpl/gstclock.sgml:
11067         Some fixings for blantently wrong text.
11068
11069 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11070
11071         * check/Makefile.am:
11072         * gst/gst.c: (add_path_func), (init_pre):
11073         * gst/gstregistry.c: (gst_registry_add_path):
11074           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
11075           only scan the GST_PLUGIN_PATH locations, and not add
11076           system locations
11077
11078 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11079
11080         * docs/gst/gstreamer-sections.txt:
11081         * docs/gst/tmpl/gstbasesrc.sgml:
11082         * gst/gstelement.c:
11083         * gst/gstelement.h:
11084         * gst/gstevent.c:
11085         * gst/gstutils.c:
11086           doc fixes
11087
11088 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11089
11090         * docs/manual/advanced-autoplugging.xml:
11091           Fix autoplugging example.
11092
11093 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11094
11095         * docs/manual/advanced-autoplugging.xml:
11096         * docs/manual/mime-world.fig:
11097           Try to get autoplugging working, fix type detection. Fix text
11098           in hello-world image.
11099
11100 2005-06-29  Wim Taymans  <wim@fluendo.com>
11101
11102         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11103         (gst_base_sink_change_state):
11104         Small debug line.
11105
11106         * gst/gstclock.h:
11107         map SIGNAL and BROADCAST to the right function.
11108
11109         * gst/gstobject.h:
11110         Remove redundant braces.
11111
11112         * gst/gstpad.c: (gst_pad_set_caps):
11113         Don't call setcaps function when reseting caps to NULL.
11114
11115         * gst/gstsystemclock.c: (gst_system_clock_dispose),
11116         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
11117         (gst_system_clock_id_unschedule):
11118         Use BROADCAST as this is what we do.
11119
11120 2005-06-29  Wim Taymans  <wim@fluendo.com>
11121
11122         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11123         We are actually prerolling before commiting the state
11124         change. 
11125
11126 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11127
11128         * docs/manual/advanced-clocks.xml:
11129         * docs/manual/advanced-interfaces.xml:
11130         * docs/manual/advanced-metadata.xml:
11131         * docs/manual/advanced-position.xml:
11132         * docs/manual/advanced-schedulers.xml:
11133         * docs/manual/advanced-threads.xml:
11134         * docs/manual/appendix-porting.xml:
11135         * docs/manual/basics-bins.xml:
11136         * docs/manual/basics-bus.xml:
11137         * docs/manual/basics-elements.xml:
11138         * docs/manual/basics-helloworld.xml:
11139         * docs/manual/basics-pads.xml:
11140         * docs/manual/highlevel-components.xml:
11141         * docs/manual/manual.xml:
11142         * docs/manual/thread.fig:
11143           Update (until threads/scheduling) Application Development Manual;
11144           remove GstThread, add GstBus, add simple porting checklist, add
11145           documentation for tag writing, clocks, make all examples until this
11146           part compile and run.
11147         * examples/manual/Makefile.am:
11148           Update from changes to Application Development Manual; add bus
11149           example, remove thread example.
11150
11151 2005-06-28  Wim Taymans  <wim@fluendo.com>
11152
11153         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
11154         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
11155         (gst_bus_source_dispatch):
11156         Add debugging messages.
11157         Make internal methods static.
11158         Handle the case where the bus is flushed in the handler.
11159         
11160         * gst/gstelement.c: (gst_element_get_bus):
11161         Fix refcount in _get_bus();
11162
11163         * gst/gstpipeline.c: (gst_pipeline_change_state),
11164         (gst_pipeline_get_clock_func):
11165         Clock refcounting fixes.
11166         Handle the case where preroll timed out more gracefully.
11167         
11168         * gst/gstsystemclock.c: (gst_system_clock_dispose):
11169         Clean up the internal thread in dispose. This is needed
11170         for subclasses that actually get disposed.
11171         
11172         * gst/schedulers/threadscheduler.c:
11173         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
11174         (gst_thread_scheduler_dispose):
11175         Free thread pool in dispose.
11176
11177 2005-06-28  Andy Wingo  <wingo@pobox.com>
11178
11179         * tests/network-clock-utils.scm (debug, print-event): New utils.
11180
11181         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
11182         (*packet-loss*): Unified loss probability.
11183         (network-time): Report out-of-band events.
11184
11185         * tests/plot-data: Add support for out-of-band events. Hack it
11186         into this script instead of passing it down the pipe; should fix
11187         this later.
11188
11189 2005-06-28  Wim Taymans  <wim@fluendo.com>
11190
11191         * docs/gst/gstreamer.types:
11192         * docs/gst/tmpl/gstbasesrc.sgml:
11193         * docs/gst/tmpl/gstpad.sgml:
11194         Docs fixes.
11195
11196 2005-06-28  Wim Taymans  <wim@fluendo.com>
11197
11198         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
11199         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
11200         (gst_proxy_pad_do_fixatecaps):
11201         Correctly proxy the check_pull_range function.
11202
11203 2005-06-28  Andy Wingo  <wingo@pobox.com>
11204
11205         * tests/network-clock.scm: Removed need for slib.
11206         
11207 2005-06-28  Wim Taymans  <wim@fluendo.com>
11208
11209         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
11210         (gst_basesink_preroll_queue_flush):
11211         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
11212         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
11213         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
11214         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
11215         (gst_proxy_pad_set_property):
11216         * gst/gstpad.c:
11217         * gst/gstpad.h:
11218         * gst/gstqueue.c: (gst_queue_init):
11219         The deprecated pad loop function is removed now.
11220
11221 2005-06-28  Andy Wingo  <wingo@pobox.com>
11222
11223         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
11224         New parameters, simulate network packet loss.
11225
11226         * tests/network-clock-utils.scm: Initialize the RNG.
11227
11228 2005-06-28  Wim Taymans  <wim@fluendo.com>
11229
11230         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
11231         (gst_basesink_event), (gst_basesink_deactivate):
11232         Flushing the preroll queue always needs to unlock the waiters.
11233
11234 2005-06-28  Edward Hervey  <edward@fluendo.com>
11235
11236         * gst/gstpipeline.c: (gst_pipeline_send_event): 
11237         Wheen a seek was successful on a pipeline, set the stream_time to the
11238         seek offset in order to have a synchronized stream_time.
11239
11240 2005-06-28  Wim Taymans  <wim@fluendo.com>
11241
11242         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
11243         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
11244         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
11245         (gst_proxy_pad_do_fixatecaps):
11246         Call wrapper function instead of just calling the function
11247         pointers. This takes care of any locking and whatmore.
11248
11249 2005-06-28  Wim Taymans  <wim@fluendo.com>
11250
11251         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
11252         (gst_pad_pull_range):
11253         * gst/gstpad.h:
11254         CONNECTED -> LINKED.
11255
11256 2005-06-28  Andy Wingo  <wingo@pobox.com>
11257
11258         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
11259         source-munging commit!!!
11260
11261         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
11262         (gst_object_sink): Take gpointer arguments, not GstObject --
11263         avoids casts. Like GLib.
11264
11265         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
11266         activate.
11267
11268 2005-06-27  Andy Wingo  <wingo@pobox.com>
11269
11270         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
11271         remaining buffer.
11272
11273         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
11274         returns a sorted copy of the trace list.
11275         (gst_alloc_trace_print_live): New API, only prints traces with
11276         live objects. Sort the list.
11277         (gst_alloc_trace_print_all): Sort the list.
11278         (gst_alloc_trace_print): Align columns.
11279
11280         * gst/elements/gstttypefindelement.c:
11281         * gst/elements/gsttee.c:
11282         * gst/base/gstbasesrc.c:
11283         * gst/base/gstbasesink.c:
11284         * gst/base/gstbasetransform.c:
11285         * gst/gstqueue.c: Adapt for pad activation changes.
11286
11287         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
11288         sched.
11289         (gst_pipeline_dispose): Drop ref on sched.
11290
11291         * gst/gstpad.c (gst_pad_init): Set the default activate func.
11292         (gst_pad_activate_default): Push mode by default.
11293         (pre_activate_switch, post_activate_switch): New stubs, things to
11294         do before and after switching activation modes on pads.
11295         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
11296         the pad's activate function to choose which mode to activate.
11297         Shortcut on deactivation and call the right function directly.
11298         (gst_pad_activate_pull): New API, (de)activates a pad in pull
11299         mode.
11300         (gst_pad_activate_push): New API, same for push mode.
11301         (gst_pad_set_activate_function) 
11302         (gst_pad_set_activatepull_function) 
11303         (gst_pad_set_activatepush_function): Setters for new API.
11304
11305         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
11306         Trace all miniobjects.
11307         (gst_mini_object_make_writable): Unref the arg if we copy, like
11308         gst_caps_make_writable.
11309
11310         * gst/gstmessage.c (_gst_message_initialize): No trace init.
11311
11312         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
11313         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
11314         Adapt for new pad API.
11315
11316         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
11317
11318         * gst/gstelement.h:
11319         * gst/gstelement.c (gst_element_iterate_src_pads) 
11320         (gst_element_iterate_sink_pads): New API functions.
11321         
11322         * gst/gstelement.c (iterator_fold_with_resync): New utility,
11323         should fold into gstiterator.c in some form.
11324         (gst_element_pads_activate): Simplified via use of fold and
11325         delegation of decisions to gstpad->activate.
11326
11327         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
11328         help in debugging.
11329
11330         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
11331         class once in init, like gstmessage. Didn't run into this issue
11332         but it seems correct. Don't initialize a trace, gstminiobject does
11333         that.
11334
11335         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
11336         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
11337         to the bus.
11338         (assert_live_count): New util function, uses alloc traces to check
11339         cleanup.
11340
11341         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
11342         To be modified when unlink drops the internal pad.
11343
11344 2005-06-27  Wim Taymans  <wim@fluendo.com>
11345
11346         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
11347         (gst_bin_change_state):
11348         Cleanup the get_state() function a little, make sure it
11349         iterates the same set of elements.
11350         Added stub iterate_state_order().
11351
11352 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
11353
11354         * docs/gst/gstreamer-docs.sgml:
11355         * docs/gst/gstreamer-sections.txt:
11356         * docs/gst/gstreamer.types:
11357         * docs/gst/tmpl/gstbasesink.sgml:
11358         * docs/gst/tmpl/gstbasesrc.sgml:
11359         * docs/gst/tmpl/gstbasetransform.sgml:
11360         * docs/gst/tmpl/gstelement.sgml:
11361         * docs/gst/tmpl/gstiterator.sgml:
11362         * gst/base/gstbasesrc.c:
11363         * gst/base/gstbasesrc.h:
11364         * gst/base/gstbasetransform.h:
11365         * gst/gstelement.c:
11366         * gst/gstiterator.h:
11367           adding basetransform and iterator docs
11368
11369 2005-06-27  Andy Wingo  <wingo@pobox.com>
11370
11371         * docs/design/part-activation.txt: Notes on how activation should
11372         work -- not quite implemented yet.
11373
11374 2005-06-25  Wim Taymans  <wim@fluendo.com>
11375
11376         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
11377         At least get the chain function correct, needs more
11378         fixing.
11379
11380 2005-06-25  Wim Taymans  <wim@fluendo.com>
11381
11382         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11383         (gst_basesink_handle_object), (gst_basesink_event),
11384         (gst_basesink_do_sync), (gst_basesink_handle_event),
11385         (gst_basesink_change_state):
11386         * gst/gsttask.h:
11387         Right, two problems here: ghostpads don't take locks and
11388         glib _rec_mutex_lock_full() with depth==0 still locks.
11389         Catch illegal locking and g_warn them.
11390
11391 2005-06-25  Wim Taymans  <wim@fluendo.com>
11392
11393         * check/states/sinks.c: (START_TEST), (gst_object_suite):
11394         Have to check for completion now...
11395
11396 2005-06-25  Wim Taymans  <wim@fluendo.com>
11397
11398         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11399         (gst_basesink_handle_object), (gst_basesink_event),
11400         (gst_basesink_do_sync), (gst_basesink_handle_event),
11401         (gst_basesink_change_state):
11402         * gst/gstpad.h:
11403         Unlock STREAM_LOCK whatever the recursion was.
11404
11405 2005-06-25  Wim Taymans  <wim@fluendo.com>
11406
11407         * gst/base/gstbasesink.c: (gst_basesink_set_property),
11408         (gst_basesink_preroll_queue_empty),
11409         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
11410         (gst_basesink_event), (gst_basesink_do_sync),
11411         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
11412         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
11413         (gst_basesink_change_state):
11414         Reworked the base sink, handle event and buffer serialisation
11415         correctly and removed possible deadlock.
11416         Handle EOS correctly.
11417
11418 2005-06-25  Wim Taymans  <wim@fluendo.com>
11419
11420         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
11421         (gst_pipeline_change_state):
11422         * tools/gst-launch.c: (check_intr), (event_loop), (main):
11423         Allow elements to post EOS in the state change function.
11424         Fix up -launch, make it exit the poll loop when the
11425         pipeline actually changed state.
11426         Fix up warning parsing in -launch.
11427
11428 2005-06-25  Wim Taymans  <wim@fluendo.com>
11429
11430         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
11431         (gst_tee_sink_activate):
11432         Core takes STREAM_LOCK for us now.
11433
11434 2005-06-25  Wim Taymans  <wim@fluendo.com>
11435
11436         * gst/gstelement.c: (gst_element_get_state_func),
11437         (gst_element_set_state):
11438         * gst/gstelement.h:
11439         * gst/gstmessage.c: (gst_message_parse_error),
11440         (gst_message_parse_warning):
11441         Keep track of current target state while performing a state
11442         change so that subclasses can do something interesting.
11443         Fix parsing of warning/error messages when GError is NULL.
11444
11445 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11446
11447         * docs/gst/Makefile.am:
11448         * docs/gst/gstreamer-docs.sgml:
11449         * docs/gst/gstreamer-sections.txt:
11450         * docs/gst/gstreamer.types:
11451         * docs/gst/tmpl/gstbasesink.sgml:
11452         * docs/gst/tmpl/gstbasesrc.sgml:
11453         * docs/gst/tmpl/gstbin.sgml:
11454         * docs/gst/tmpl/gstcompat.sgml:
11455         * docs/gst/tmpl/gstfakesink.sgml:
11456         * docs/gst/tmpl/gstfakesrc.sgml:
11457         * docs/gst/tmpl/gstfilesink.sgml:
11458         * docs/gst/tmpl/gstfilesrc.sgml:
11459         * docs/gst/tmpl/gstindex.sgml:
11460         * docs/manual/appendix-quotes.xml:
11461         * gst/base/gstbasesrc.h:
11462         * gst/elements/gstfakesrc.h:
11463         * gst/gstmessage.h:
11464           start pulling in base classes and elements in our docs
11465
11466 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
11467
11468         * docs/gst/Makefile.am:
11469         * docs/libs/Makefile.am:
11470           fixed make distcheck with gtk-doc 1.3
11471
11472 2005-06-23  Wim Taymans  <wim@fluendo.com>
11473
11474         * gst/gstelement.c: (gst_element_get_state_func),
11475         (gst_element_set_state), (gst_element_change_state):
11476         When the state did not change, also report NO_PREROLL
11477         when it matters.
11478
11479 2005-06-23  Wim Taymans  <wim@fluendo.com>
11480
11481         * gst/gstpad.c: (gst_pad_event_default):
11482         * gst/gstqueue.c: (gst_queue_loop):
11483         No unsafe task pausing please.
11484
11485 2005-06-23  Wim Taymans  <wim@fluendo.com>
11486
11487         * gst/schedulers/threadscheduler.c:
11488         (gst_thread_scheduler_task_start),
11489         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
11490         Ref the task before pushing it on the threadpool. This
11491         makes sure that we have a ref when the threadfunction is
11492         actually called.
11493
11494 2005-06-23  Andy Wingo  <wingo@pobox.com>
11495
11496         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
11497         offset is greater than the file's size.
11498
11499         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
11500         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
11501         * gst/gstobject.c (gst_object_class_init): Make the class lock
11502         recursive. Wim won't let me drop deep_notify. Decodebin works
11503         again, whoopdy doo.
11504
11505         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
11506         internal pad, and hacks accordingly. Doesn't do it on the target
11507         pad because we change its caps. Probably catches all cases of
11508         interest tho.
11509         (gst_ghost_pad_set_property): Connect to notify::caps as
11510         appropritate.
11511
11512         * tests/network-clock.scm (plot-simulation): Pipe data to the
11513         elite python skript.
11514
11515         * tests/network-clock-utils.scm (define-parameter): New macro,
11516         defines a parameter that can be set via the command line.
11517         (set-parameter!, parse-parameter-arguments): Command line args
11518         parser.
11519
11520         * tests/plot-data: Simple matplotlib-based plotter, takes input on
11521         stdin.
11522
11523 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
11524
11525         * gst/elements/gsttypefindelement.c:
11526         (gst_type_find_element_handle_event):
11527           Don't restart typefinding on a discont.
11528         * gst/gstelement.c: (gst_element_set_state):
11529           Debug spelling fix.
11530         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
11531           Allow changing mode of an active pad.
11532           Debug output fixes.
11533         * gst/registries/gstlibxmlregistry.c: (load_feature):
11534           Don't cast a static pad template to a normal pad template.
11535
11536 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
11537
11538         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
11539         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11540           remove gst_strtoll completely, since it didn't actually do
11541           anything more than what g_ascii_strtoull already does.
11542           check for range errors when deserializing
11543           do a cast for the unsigned cases; but further fixing needs
11544           a decision on what the interpretation of "(int)" and
11545           deserialization should be for values that fall outside the
11546           type's boundaries (ie, refuse, or interpret as casting)
11547
11548 2005-06-23  Wim Taymans  <wim@fluendo.com>
11549
11550         * check/Makefile.am:
11551         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
11552         * docs/design/part-live-source.txt:
11553         * docs/design/part-states.txt:
11554         * gst/base/gstbasesrc.c: (gst_basesrc_init),
11555         (gst_basesrc_set_live), (gst_basesrc_is_live),
11556         (gst_basesrc_get_range), (gst_basesrc_activate),
11557         (gst_basesrc_change_state):
11558         * gst/base/gstbasesrc.h:
11559         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11560         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11561         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
11562         * gst/gstelement.c: (gst_element_get_state_func),
11563         (gst_element_set_state):
11564         * gst/gstelement.h:
11565         * gst/gsttypes.h:
11566         * tools/gst-launch.c: (event_loop), (main):
11567         Added support for live sources and other elements that
11568         cannot do preroll.
11569         Updated design docs, added live-source design doc.
11570         Implemented live source functionality in basesrc
11571         Fix error condition in _bin_get_state()
11572         Implement live source handling in -launch.
11573         Added check for live sources.
11574         Fixed case in GstBin where elements were changed state
11575         multiple times.
11576
11577
11578 2005-06-23  Andy Wingo  <wingo@pobox.com>
11579
11580         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
11581         borken refcounting.
11582
11583         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
11584         gst_caps_replace takes care of this for us.
11585
11586         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
11587         gst_pad_set_caps on the target, not just its setcaps() function.
11588
11589         * tests/network-clock.scm: 
11590         * tests/network-clock-utils.scm: A network clock simulator.
11591         Something of an algorithmic testbed before doing something in C.
11592
11593 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11594
11595         * check/Makefile.am:
11596         * check/gst/capslist.h:
11597           copy over from 0.8, and add two with bitmasks specified with
11598           (int) 0xFF...
11599         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
11600           add test to parse everything from capslist.h
11601         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
11602         (main):
11603           add test for structure deserialization
11604         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
11605           add tests for deserialization of strings to int types
11606         * gst/gststructure.c: (gst_structure_nth_field_name):
11607         * gst/gststructure.h:
11608           add a way to get the name of a field referenced by index
11609         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11610           instead of checking if the resulting long long lies between
11611           min and max, we check if the long long would fit into
11612           a number of bytes for the final type.
11613           This fixes cases where a string represents 2^32 - 1, which
11614           when cast to int would be the (valid) -1, but is bigger than
11615           G_MAXINT
11616
11617 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11618
11619         * gst/parse/grammar.y:
11620           add a log line for type deserialization
11621
11622 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11623
11624         * check/gst/gstvalue.c: (START_TEST):
11625         * gst/gstvalue.c: (gst_value_deserialize):
11626           return long long, not int, so gint64 deserialization actually
11627           works.  Is there any flag that makes the compiler check this ?
11628           Fixes #308559
11629
11630 2005-06-22  Wim Taymans  <wim@fluendo.com>
11631
11632         * gst/gstbuffer.h:
11633         Added convenience macros for setting buffers in GValue.
11634
11635 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
11636
11637         * check/gst/.cvsignore:
11638         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
11639           add a test deserializing int64, and comment part out because
11640           it fails, yay !
11641
11642 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
11643
11644         * check/Makefile.am:
11645         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
11646         * testsuite/Makefile.am:
11647         * testsuite/caps/Makefile.am:
11648         * testsuite/caps/value_serialize.c:
11649         * testsuite/test_gst_init.c:
11650           move a value_serialize test over
11651
11652 2005-06-20  Wim Taymans  <wim@fluendo.com>
11653
11654         * gst/gstpad.c:
11655         Small doc updates.
11656         
11657         * gst/gstvalue.c: (gst_value_compare_buffer),
11658         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
11659         (gst_value_compare_flags), (gst_value_serialize_flags),
11660         (gst_value_deserialize_flags), (_gst_value_initialize):
11661         Fix serialisation of buffers, they are not boxed types anymore
11662
11663 2005-06-20  Wim Taymans  <wim@fluendo.com>
11664
11665         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
11666         Testcase to show error in buffer-on-caps serialisation.
11667
11668 2005-06-20  Andy Wingo  <wingo@pobox.com>
11669
11670         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
11671         will be adding to later.
11672
11673         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
11674         if its socks fill with rocks.
11675         (gst_system_clock_obtain): Set the name on object construction.
11676         Avoid double-checked locking.
11677
11678 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
11679
11680         * gst/gsturi.c: (gst_element_make_from_uri):
11681           Fix potential endless loop.
11682
11683 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
11684
11685         * check/Makefile.am:
11686           add gsttag
11687         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
11688         (main):
11689           move over from testsuite dir and clean up
11690         * configure.ac:
11691         * gst/gsttag.c:
11692         * testsuite/Makefile.am:
11693         * testsuite/tags/.cvsignore:
11694         * testsuite/tags/Makefile.am:
11695         * testsuite/tags/merge.c:
11696           remove testsuite/tags
11697
11698 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
11699
11700         * docs/gst/gstreamer-sections.txt:
11701         * docs/gst/tmpl/gstenumtypes.sgml:
11702         * win32/gstenumtypes.c:
11703           clean up documentation build a little
11704
11705 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
11706
11707         * check/gstcheck.h:
11708           add macros for checking refcounts on objects and caps
11709         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
11710           add some more unit tests
11711         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
11712         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
11713           fix leaked refcounts (I hope :)) so unittest works
11714         * gst/gstpad.h:
11715           whitespace removal
11716
11717 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
11718
11719         * configure.ac: back to HEAD
11720
11721 === release 0.9.1 ===
11722
11723 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
11724
11725         * NEWS:
11726         * RELEASE:
11727           updated
11728
11729 2005-06-17  Andy Wingo  <wingo@pobox.com>
11730
11731         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
11732         assert; it's always possible that the pad gets deactivated in
11733         between the checks in gstpad.c and the implementation. Rely on
11734         finish_preroll() to return a FLUSHING or similar instead of on the
11735         assert.
11736         
11737         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
11738         clock and post an EOS message if we come out of finish_preroll in
11739         the playing state.
11740
11741 2005-06-16  David Schleef  <ds@schleef.org>
11742
11743         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
11744         (gst_capsfilter_set_property): Allow NULL as possible value
11745         for filter_caps property, indicating GST_CAPS_ANY.
11746
11747 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11748
11749         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
11750           fix debug output
11751         * gst/schedulers/Makefile.am:
11752           use libgst prefix
11753         * gstreamer.spec.in:
11754           fix spec for it
11755
11756 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11757
11758         * gstreamer.spec.in:
11759           clean up
11760
11761 2005-06-08  Andy Wingo  <wingo@pobox.com>
11762
11763         * gst/gstutils.c: RPAD fixes all around.
11764         (gst_element_link_pads): Refcounting fixes.
11765
11766         * tools/gst-inspect.c:
11767         * tools/gst-xmlinspect.c:
11768         * parse/grammar.y:
11769         * gst/base/gsttypefindhelper.c:
11770         * gst/base/gstbasesink.c:
11771         * gst/gstqueue.c: RPAD fixes.
11772
11773         * gst/gstghostpad.h:
11774         * gst/gstghostpad.c: New ghost pad implementation as full proxy
11775         pads. The tricky thing is they provide both source and sink
11776         interfaces, since they proxy the internal pad for the external
11777         pad, and vice versa. Implement with lower-level ProxyPad objects,
11778         with the interior proxy pad as a child of the exterior ghost pad.
11779         Should write a doc on this.
11780         
11781         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
11782         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
11783         gst_object API.
11784         
11785         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
11786         pads are real pads. No ghost pads in this file. Not documenting
11787         the myriad s/RPAD/PAD/ and REALIZE fixes.
11788         (gst_pad_class_init): Add properties for "direction" and
11789         "template". Both are construct-only, so they can't change during
11790         the life of the pad. Fixes properly deriving from GstPad.
11791         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
11792         derived objects, just set properties when creating the objects via
11793         g_object_new.
11794         (gst_pad_get_parent): Implement as a function, return NULL if the
11795         parent is not an element.
11796         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
11797         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
11798         
11799         * gst/gstobject.c (gst_object_class_init): Make name a construct
11800         property. Don't set it in the object init.
11801
11802         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
11803         with UNKNOWN direction.
11804         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
11805         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
11806         (gst_element_remove_pad): Remove ghost-pad special cases.
11807         (gst_element_pads_activate): Remove rpad cruft.
11808
11809         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
11810         catch the pad's-parent-not-an-element case.
11811
11812         * gst/gst.h: Include gstghostpad.h.
11813
11814         * gst/gst.c (init_post): No more real, ghost pads.
11815
11816         * gst/Makefile.am: Add gstghostpad.[ch].
11817
11818         * check/Makefile.am:
11819         * check/gst/gstbin.c:
11820         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
11821         into a bin creates ghost pads, and that the refcounts are right.
11822         Partly moved from gstbin.c.
11823
11824 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11825
11826         * check/gst-libs/.cvsignore:
11827         * check/gst/.cvsignore:
11828         * check/pipelines/.cvsignore:
11829           ignore more
11830         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
11831         (START_TEST), (cleanup_suite), (main):
11832           add some tests related to cleanup after running pipelines
11833
11834 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11835
11836         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
11837           add a testsuite for GstBuffer
11838
11839 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11840
11841         * gst/gstminiobject.h:
11842           add defines for accessing the refcount
11843
11844 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
11845
11846         * Makefile.am: added support for html unit test coverage reports
11847
11848 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
11849
11850         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
11851           Free existing caps if the capsfilter changes. Add a FIXME about
11852           setting those caps on the pads.
11853
11854         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
11855           Before adding a ghost pad to a parent bin, check that there isn't
11856           already one for the element on the bin. Prevents infinite recursion
11857           when using decodebin in parse pipelines. Andy says he'll rewrite the
11858           way this works anyway, so ignore the hack.
11859
11860 2005-06-02  Andy Wingo  <wingo@pobox.com>
11861
11862         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
11863         file size, pass it on to the type find helper.
11864
11865         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
11866         segment_start and segment_end properly according to the seek
11867         method. Segment_end is still a bit flaky because offset can be
11868         negative for CUR and END cases, but it takes -1 as an "unset"
11869         value.
11870
11871 2005-06-02  Wim Taymans  <wim@fluendo.com>
11872
11873         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
11874         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
11875         (gst_basesink_activate):
11876         * gst/base/gstbasesink.h:
11877         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11878         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11879         (gst_pad_query), (gst_pad_start_task):
11880         * gst/gstpad.h:
11881         * gst/gstqueue.c: (gst_queue_bufferalloc),
11882         (gst_queue_handle_sink_event), (gst_queue_chain):
11883         Bufferalloc: return GstFlowReturn to more accuratly report
11884         why allocation failed.
11885
11886 2005-06-02  Wim Taymans  <wim@fluendo.com>
11887
11888         * gst/gstpipeline.c: (gst_pipeline_send_event):
11889         Take snapshot of state without blocking.
11890
11891 2005-06-02  Wim Taymans  <wim@fluendo.com>
11892
11893         * docs/design/part-TODO.txt:
11894         * docs/design/part-caps.txt:
11895         * docs/design/part-clocks.txt:
11896         * docs/design/part-negotiation.txt:
11897         * docs/design/part-preroll.txt:
11898         Small doc updates 
11899
11900 2005-05-30  Wim Taymans  <wim@fluendo.com>
11901
11902         * gst/elements/gstidentity.c: (gst_identity_event),
11903         (gst_identity_transform), (gst_identity_get_property):
11904         Protect last_message property as it is accessed from
11905         multiple threads.
11906
11907 2005-05-30  Wim Taymans  <wim@fluendo.com>
11908
11909         * gst/gstelement.c: (gst_element_init),
11910         (gst_element_pads_activate), (gst_element_change_state):
11911         Slicker pad activation code.
11912
11913 2005-05-30  Wim Taymans  <wim@fluendo.com>
11914
11915         * gst/Makefile.am:
11916         * gst/gstelement.h:
11917         * gst/gstelementfactory.h:
11918         * gst/gsttypes.h:
11919         Move elementfactory methods to separate .h file.
11920
11921 2005-05-30  Wim Taymans  <wim@fluendo.com>
11922
11923         * docs/design/part-overview.txt:
11924         * gst/gstsystemclock.h:
11925         Small typo fixes, doc updates.
11926
11927 2005-05-30  Wim Taymans  <wim@fluendo.com>
11928
11929         * gst/gst.c: (gst_init_get_popt_table), (init_post),
11930         (init_popt_callback):
11931         Remove cpu-opt flag.
11932
11933 2005-05-30  Wim Taymans  <wim@fluendo.com>
11934
11935         * gst/gstbuffer.c: (gst_subbuffer_finalize),
11936         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
11937         * gst/gstbuffer.h:
11938         Avoid typechecking in places where not needed.
11939         Added accessor for malloc_data.
11940
11941 2005-05-30  Wim Taymans  <wim@fluendo.com>
11942
11943         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
11944         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
11945         (gst_pad_configure_sink), (gst_pad_configure_src),
11946         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
11947         (gst_pad_start_task):
11948         Propagate errors from _set_caps() in configure_src/sink
11949         functions instead of returning TRUE.
11950         FLUSH events can travel up and downstream
11951
11952
11953 2005-05-30  Wim Taymans  <wim@fluendo.com>
11954
11955         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11956         (gst_basesink_activate):
11957         Handle EOS in preroll.
11958
11959 2005-05-30  Wim Taymans  <wim@fluendo.com>
11960
11961         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11962         (gst_queue_loop), (gst_queue_handle_src_event):
11963         Remove old pieces of code
11964         Flushing the queue in an upstream event is a very bad idea.
11965
11966 2005-05-26  Andy Wingo  <wingo@pobox.com>
11967
11968         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
11969         gst_value_set_mini_object so as to add a ref on the object (which
11970         will be removed when the value is unset).
11971
11972         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
11973         arg type in ::handoff.
11974
11975         * gst/gstelement.c (gst_element_change_state): Also deactivate
11976         pads in READY->NULL, just in case the element didn't make it to
11977         PAUSED. Wingo tested, Wim approved.
11978
11979 2005-05-26  Wim Taymans  <wim@fluendo.com>
11980
11981         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11982         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11983         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
11984         A flushing pad cannot be used to alloc_buffer from.
11985
11986 2005-05-26  Wim Taymans  <wim@fluendo.com>
11987
11988         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
11989         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
11990         (gst_bus_source_dispatch), (gst_bus_source_finalize),
11991         (gst_bus_create_watch), (gst_bus_add_watch_full):
11992         * gst/gstbus.h:
11993         Implement a real GSource and use g_main_context_wakeup() to
11994         signal new messages instead of the socketpair.
11995
11996 2005-05-25  Wim Taymans  <wim@fluendo.com>
11997
11998         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
11999         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
12000         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
12001         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
12002         (gst_pad_send_event), (gst_pad_start_task):
12003         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
12004         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
12005         (gst_queue_sink_activate), (gst_queue_src_activate),
12006         (gst_queue_change_state):
12007         * gst/gstqueue.h:
12008         Fix state changes for non sinks. We now change sinks, then elements
12009         with unconnected srcpads, then the rest.
12010         More efficient queue unlocking in flush and state changes.
12011         Set the pad activate mode even if it does not have an activate
12012         function.
12013
12014 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12015
12016         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
12017           Don't go in pull mode for non-seekable sources.
12018         * gst/elements/gsttypefindelement.h:
12019         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
12020         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
12021         (free_entry), (stop_typefinding),
12022         (gst_type_find_element_handle_event), (find_peek),
12023         (gst_type_find_element_chain), (do_pull_typefind),
12024         (gst_type_find_element_change_state):
12025           Allow typefinding (w/o seeking) in push-mode, simplified version
12026           of what was in 0.8.
12027         * gst/gstutils.c: (gst_buffer_join):
12028         * gst/gstutils.h:
12029           gst_buffer_join() from 0.8.
12030
12031 2005-05-25  Wim Taymans  <wim@fluendo.com>
12032
12033         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
12034         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
12035         (gst_pad_send_event), (gst_pad_start_task):
12036         Disable attempt at mode switching until it is figured out.
12037
12038 2005-05-25  Wim Taymans  <wim@fluendo.com>
12039
12040         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
12041         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
12042         (gst_basesink_finish_preroll), (gst_basesink_chain),
12043         (gst_basesink_loop), (gst_basesink_activate),
12044         (gst_basesink_change_state):
12045         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
12046         (gst_basesrc_get_range), (gst_basesrc_loop),
12047         (gst_basesrc_activate):
12048         * gst/elements/gsttee.c: (gst_tee_sink_activate):
12049         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
12050         (gst_real_pad_init), (gst_real_pad_set_property),
12051         (gst_real_pad_get_property), (gst_pad_set_active),
12052         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
12053         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
12054         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
12055         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
12056         (gst_pad_event_default_dispatch), (gst_pad_event_default),
12057         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
12058         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
12059         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
12060         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
12061         (gst_pad_stop_task):
12062         * gst/gstpad.h:
12063         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
12064         (gst_queue_loop), (gst_queue_src_activate):
12065         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
12066         (gst_task_get_state):
12067         * gst/gsttask.h:
12068         * gst/schedulers/threadscheduler.c:
12069         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
12070         Implement gst_pad_pause/start/stop_task(), take STREAM lock
12071         in task function.
12072         Remove ACTIVE pad flag, use FLUSHING everywhere
12073         Added _pad_chain(), _pad_get_range() to call chain/getrange 
12074         functions.
12075         Add locks around IS_FLUSHING when reading.
12076         Take STREAM lock in chain(), get_range() functions so plugins
12077         don't need to take it anymore.
12078         
12079
12080
12081 2005-05-25  Wim Taymans  <wim@fluendo.com>
12082
12083         * tools/gst-launch.c: (event_loop):
12084         Unref message after using its contents instead of
12085         before.
12086
12087 2005-05-24  Wim Taymans  <wim@fluendo.com>
12088
12089         * docs/design/draft-ghostpads.txt:
12090         * docs/design/draft-push-pull.txt:
12091         * docs/design/draft-query.txt:
12092         * docs/design/part-overview.txt:
12093         Docs updates, added general overview doc.
12094
12095 2005-05-21  David Schleef  <ds@schleef.org>
12096
12097         * docs/gst/tmpl/old/GstBin.sgml:
12098         * docs/gst/tmpl/old/GstBuffer.sgml:
12099         * docs/gst/tmpl/old/GstCaps.sgml:
12100         * docs/gst/tmpl/old/GstClock.sgml:
12101         * docs/gst/tmpl/old/GstCompat.sgml:
12102         * docs/gst/tmpl/old/GstData.sgml:
12103         * docs/gst/tmpl/old/GstElement.sgml:
12104         * docs/gst/tmpl/old/GstEvent.sgml:
12105         * docs/gst/tmpl/old/GstIndex.sgml:
12106         * docs/gst/tmpl/old/GstStructure.sgml:
12107         * docs/gst/tmpl/old/GstTag.sgml:
12108         * docs/gst/tmpl/old/cothreads.sgml:
12109         * docs/gst/tmpl/old/cothreads_compat.sgml:
12110         * docs/gst/tmpl/old/gettext.sgml:
12111         * docs/gst/tmpl/old/gobject2gtk.sgml:
12112         * docs/gst/tmpl/old/grammar.tab.sgml:
12113         * docs/gst/tmpl/old/gst-i18n-app.sgml:
12114         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
12115         * docs/gst/tmpl/old/gst_private.sgml:
12116         * docs/gst/tmpl/old/gstaggregator.sgml:
12117         * docs/gst/tmpl/old/gstarch.sgml:
12118         * docs/gst/tmpl/old/gstatomic_impl.sgml:
12119         * docs/gst/tmpl/old/gstbufferstore.sgml:
12120         * docs/gst/tmpl/old/gstdata_private.sgml:
12121         * docs/gst/tmpl/old/gstdisksink.sgml:
12122         * docs/gst/tmpl/old/gstdisksrc.sgml:
12123         * docs/gst/tmpl/old/gstelementfactory.sgml:
12124         * docs/gst/tmpl/old/gstextratypes.sgml:
12125         * docs/gst/tmpl/old/gstfakesink.sgml:
12126         * docs/gst/tmpl/old/gstfakesrc.sgml:
12127         * docs/gst/tmpl/old/gstfdsink.sgml:
12128         * docs/gst/tmpl/old/gstfdsrc.sgml:
12129         * docs/gst/tmpl/old/gstfilesink.sgml:
12130         * docs/gst/tmpl/old/gstfilesrc.sgml:
12131         * docs/gst/tmpl/old/gsthttpsrc.sgml:
12132         * docs/gst/tmpl/old/gstidentity.sgml:
12133         * docs/gst/tmpl/old/gstindexfactory.sgml:
12134         * docs/gst/tmpl/old/gstmarshal.sgml:
12135         * docs/gst/tmpl/old/gstmd5sink.sgml:
12136         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
12137         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
12138         * docs/gst/tmpl/old/gstpadtemplate.sgml:
12139         * docs/gst/tmpl/old/gstpipefilter.sgml:
12140         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
12141         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
12142         * docs/gst/tmpl/old/gstshaper.sgml:
12143         * docs/gst/tmpl/old/gstspider.sgml:
12144         * docs/gst/tmpl/old/gstspideridentity.sgml:
12145         * docs/gst/tmpl/old/gststatistics.sgml:
12146         * docs/gst/tmpl/old/gsttee.sgml:
12147         * docs/gst/tmpl/old/gsttimecache.sgml:
12148         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
12149         * docs/gst/tmpl/old/gstxmlregistry.sgml:
12150         * docs/gst/tmpl/old/gthread-cothreads.sgml:
12151         * docs/gst/tmpl/old/types.sgml:
12152           I didn't intend to add these or check them in.
12153
12154 2005-05-19  David Schleef  <ds@schleef.org>
12155
12156         * configure.ac: Use -no-common everywhere.  In a sane world, it
12157           would be the default in libtool, because without it, you can't
12158           build DLLs on Windows.
12159         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
12160         * docs/gst/gstreamer-sections.txt:
12161         * docs/gst/tmpl/gstcpu.sgml:
12162         * docs/gst/tmpl/gstdata.sgml:
12163         * docs/gst/tmpl/gstthread.sgml:
12164
12165 2005-05-19  David Schleef  <ds@schleef.org>
12166
12167         * gst/gstminiobject.c: (gst_value_set_mini_object),
12168         (gst_value_take_mini_object), (gst_value_get_mini_object):
12169         * gst/gstminiobject.h: Add GValue set/get functions.
12170
12171 2005-05-19  Wim Taymans  <wim@fluendo.com>
12172
12173         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
12174         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
12175         (gst_subbuffer_init), (gst_buffer_is_span_fast):
12176         * gst/gstbuffer.h:
12177         * gst/gstbus.c: (gst_bus_post):
12178         * gst/gstelement.c: (gst_element_get_random_pad):
12179         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
12180         Make subbufer unref the parent in finalize.
12181         some more debugging info.
12182
12183
12184 2005-05-19  Wim Taymans  <wim@fluendo.com>
12185
12186         * gst/base/gstbasesink.c: (gst_basesink_class_init),
12187         (gst_basesink_init), (gst_basesink_finalize),
12188         (gst_basesink_activate), (gst_basesink_change_state):
12189         Don't free preroll queue too early.
12190
12191 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12192
12193         * gst/Makefile.am:
12194         * gst/ROADMAP:
12195           Hi, I'm outdated. Please shoot me.
12196
12197 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12198
12199         * gst/gstpipeline.c: (gst_pipeline_send_event):
12200           Do not access variables after they have been deleted.
12201
12202 2005-05-19  Wim Taymans  <wim@fluendo.com>
12203
12204         * tools/gst-inspect.c: (print_plugin_features):
12205         A plugin feature does unfortunatly not use the
12206         object name yet...
12207
12208 2005-05-18  Wim Taymans  <wim@fluendo.com>
12209
12210         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
12211         Port _span() functions to new subbuffers.
12212
12213 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12214
12215         * gst/gstbin.c: (gst_bin_add_func):
12216           Fix clock settery in bins when adding kids after the clock has
12217           been selected.
12218
12219 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12220
12221         * gst/elements/gstidentity.c: (gst_identity_class_init):
12222           Workaround until signals support GstMiniObject.
12223
12224 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
12225
12226         * gst/gstbuffer.c:
12227         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
12228
12229 2005-05-18  Wim Taymans  <wim@fluendo.com>
12230
12231         * gst/base/Makefile.am:
12232         * gst/base/gstadapter.c: (gst_adapter_base_init),
12233         (gst_adapter_class_init), (gst_adapter_init),
12234         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
12235         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
12236         (gst_adapter_flush), (gst_adapter_available),
12237         (gst_adapter_available_fast):
12238         * gst/base/gstadapter.h:
12239         Ported and added adapter to the base classes.
12240
12241 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12242
12243         * gst/gst.c:
12244         * gst/gstmessage.c:
12245           Make sure the class is reffed/unreffed once before threads can be
12246           used.  Fixes #304551.
12247
12248 2005-05-17  Wim Taymans  <wim@fluendo.com>
12249
12250         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
12251         (gst_basesink_chain_unlocked), (gst_basesink_activate):
12252         * gst/gstminiobject.c: (gst_mini_object_get_type),
12253         (gst_mini_object_free):
12254         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
12255         (gst_pad_push), (gst_pad_push_event):
12256         * gst/gstqueue.c: (gst_queue_change_state):
12257         Don't queue buffers in basesink when we are flushing.
12258         Unref buffer when flushing in basesink.
12259         Flush queue when going to READY
12260         Unref buffer when _push() returns an error.
12261         Don't free MiniObject instance when refcount is incremented
12262         in _finalize() so that we can recover objects.
12263
12264 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
12265
12266         * docs/manual/advanced-schedulers.xml:
12267         * docs/manual/appendix-checklist.xml:
12268         * docs/pwg/advanced-clock.xml:
12269         * docs/pwg/advanced-interfaces.xml:
12270         * docs/pwg/advanced-request.xml:
12271         * docs/pwg/advanced-types.xml:
12272         * docs/pwg/intro-preface.xml:
12273         * examples/plugins/example.c: (gst_example_get_type),
12274         (gst_example_class_init), (gst_example_chain),
12275         (gst_example_set_property), (gst_example_get_property),
12276         (gst_example_change_state), (plugin_init):
12277         * examples/plugins/example.h:
12278           small doc fixes
12279
12280 2005-05-17  Wim Taymans  <wim@fluendo.com>
12281
12282         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
12283         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
12284         * gst/gstqueue.c: (gst_queue_change_state):
12285         Clear queue when going to READY.
12286         Remove IN_SETCAPS flag too.
12287
12288 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
12289
12290         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
12291           Remove implicit cast from gboolean to GstElementStateReturn;
12292           make sure we still return failure in paused => ready case if
12293           the parent class fails to change state and our own stop 
12294           vfunc succeeds.
12295
12296 2005-05-17  Wim Taymans  <wim@fluendo.com>
12297
12298         * tools/gst-launch.c: (event_loop):
12299         Message was unreffed too soon.
12300
12301 2005-05-16  Andy Wingo  <wingo@pobox.com>
12302
12303         * gst/gstbin.c (sink_iterator_filter): Err... um...
12304
12305         * check/gst/gstbin.c (test_ghost_pads): New test for the
12306         ghosting-if-elements-not-in-same-bin behavior.
12307
12308 2005-05-16  David Schleef  <ds@schleef.org>
12309
12310         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
12311         accessing refcount directly.
12312
12313 2005-05-15  David Schleef  <ds@schleef.org>
12314
12315         * check/Makefile.am: remove GstData checks
12316         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
12317         * gst/Makefile.am: add miniobject, remove data
12318         * gst/gst.h: add miniobject, remove data
12319         * gst/gstdata.c: remove
12320         * gst/gstdata.h: remove
12321         * gst/gstdata_private.h: remove
12322         * gst/gsttypes.h: remove GstEvent and GstMessage
12323         * gst/gstelement.c: (gst_element_post_message): fix for API changes
12324         * gst/gstmarshal.list: change BOXED -> OBJECT
12325
12326         Implement GstMiniObject.
12327         * gst/gstminiobject.c:
12328         * gst/gstminiobject.h:
12329
12330         Modify to be subclasses of GstMiniObject.
12331         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
12332         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
12333         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
12334         (gst_subbuffer_get_type), (gst_subbuffer_init),
12335         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
12336         (gst_buffer_span):
12337         * gst/gstbuffer.h:
12338         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
12339         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
12340         (_gst_event_copy), (gst_event_new):
12341         * gst/gstevent.h:
12342         * gst/gstmessage.c: (_gst_message_initialize),
12343         (gst_message_get_type), (gst_message_class_init),
12344         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
12345         (gst_message_new), (gst_message_new_error),
12346         (gst_message_new_warning), (gst_message_new_tag),
12347         (gst_message_new_state_changed), (gst_message_new_application):
12348         * gst/gstmessage.h:
12349         * gst/gstprobe.c: (gst_probe_perform),
12350         (gst_probe_dispatcher_dispatch):
12351         * gst/gstprobe.h:
12352         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
12353         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
12354         (_gst_query_copy), (gst_query_new):
12355
12356         Update elements for GstData -> GstMiniObject changes
12357         * gst/gstquery.h:
12358         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
12359         (gst_queue_chain), (gst_queue_loop):
12360         * gst/elements/gstbufferstore.c:
12361         (gst_buffer_store_add_buffer_func),
12362         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
12363         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12364         (gst_fakesink_render):
12365         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
12366         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
12367         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
12368         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
12369         (gst_filesrc_create_read):
12370         * gst/elements/gstidentity.c: (gst_identity_class_init):
12371         * gst/elements/gsttypefindelement.c:
12372         (gst_type_find_element_src_event), (free_entry_buffers),
12373         (gst_type_find_element_handle_event):
12374         * libs/gst/dataprotocol/dataprotocol.c:
12375         (gst_dp_header_from_buffer):
12376         * libs/gst/dataprotocol/dataprotocol.h:
12377         * libs/gst/dataprotocol/dp-private.h:
12378
12379 2005-05-15  David Schleef  <ds@schleef.org>
12380
12381         * gst/elements/gstelements.c: Don't include headers that were
12382         just removed.
12383
12384 2005-05-15  David Schleef  <ds@schleef.org>
12385
12386         * gst/elements/Makefile.am: Remove some elements that don't
12387         need to be in the core (or even exist at all).
12388         * gst/elements/gstaggregator.c:
12389         * gst/elements/gstaggregator.h:
12390         * gst/elements/gstmd5sink.c:
12391         * gst/elements/gstmd5sink.h:
12392         * gst/elements/gstmultifilesrc.c:
12393         * gst/elements/gstmultifilesrc.h:
12394         * gst/elements/gstpipefilter.c:
12395         * gst/elements/gstpipefilter.h:
12396         * gst/elements/gstshaper.c:
12397         * gst/elements/gstshaper.h:
12398         * gst/elements/gststatistics.c:
12399         * gst/elements/gststatistics.h:
12400         * po/POTFILES.in: Remove above files.
12401
12402 2005-05-14  Andy Wingo  <wingo@pobox.com>
12403
12404         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
12405         so as to get the refs right.
12406         (sink_iterator_filter): New function, wraps bin_element_is_sink,
12407         unreffing objects that don't pass the filter.
12408
12409         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
12410         gst_element_set_bus.
12411         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
12412         normal cases, this will destroy the bus.
12413
12414         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
12415         object.
12416
12417         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
12418         has no sinks.
12419
12420 2005-05-13  Andy Wingo  <wingo@pobox.com>
12421
12422         * gst/gstutils.c (gst_element_link_pads): Instead of calling
12423         gst_pad_link, call pad_link_maybe_ghosting,
12424         (pad_link_maybe_ghosting): Links pads, making sure that the
12425         elements being linked are in the same bin.
12426         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
12427         Helpers for pad_link_maybe_ghosting.
12428
12429 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
12430
12431         * configure.ac:
12432           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
12433
12434 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
12435
12436         * docs/design/part-element-source.txt:
12437           Mention GstPushSrc
12438
12439 2005-05-12  Wim Taymans  <wim@fluendo.com>
12440
12441         * gst/base/gstbasesink.c: (gst_basesink_init),
12442         (gst_basesink_activate):
12443         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
12444         (gst_basesrc_is_seekable):
12445         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
12446         (bin_element_is_sink), (gst_bin_change_state):
12447         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
12448         * gst/gstelement.h:
12449         Identify sinks by their flag to avoid overly complicated
12450         checks (fow now).
12451         Do state changes even for elements not reachable from the
12452         sinks.
12453         BaseSink is a sink now :)
12454         Some more debugging info in the basesrc.
12455
12456
12457 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12458
12459         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
12460           Implement _query on a bin, similar to _send_event.
12461
12462 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
12463
12464         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
12465           Discont event offset format should be GST_FORMAT_BYTES,
12466           not GST_FORMAT_TIME.
12467
12468 2005-05-12  Wim Taymans  <wim@fluendo.com>
12469
12470         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
12471         Same fix as Ronald's but without the signal. 
12472
12473 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12474
12475         * gst/gstutils.c: (gst_element_query_position):
12476           No, an element is not a pad.
12477
12478 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12479
12480         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
12481         (gst_bin_get_state):
12482           If a child is removed from a bin while we remove the child from
12483           the bin and while we're retrieving its state, signal this to the
12484           get_state function so we abort the wait (instead of waiting for
12485           a timeout) and can immediately re-iterate over all other elements.
12486
12487 2005-05-12  Wim Taymans  <wim@fluendo.com>
12488
12489         * gst/base/Makefile.am:
12490         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
12491         (gst_basesrc_start):
12492         * gst/base/gstbasesrc.h:
12493         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
12494         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
12495         (gst_pushsrc_init), (gst_pushsrc_create):
12496         * gst/base/gstpushsrc.h:
12497         Added is_seekable to BaseSrc
12498         Added simple PushSrc.
12499
12500 2005-05-11  Wim Taymans  <wim@fluendo.com>
12501
12502         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
12503         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12504         (gst_element_link_pads), (gst_element_query_position),
12505         (gst_element_query_convert), (intersect_caps_func),
12506         (gst_pad_query_position), (gst_pad_query_convert):
12507         Fix refcounting in utils function.
12508         No point in trying to activate a pad when it's added, it could
12509         be added from the state change function and then we deadlock, the
12510         element has to decide what to do.
12511
12512 2005-05-10  Andy Wingo  <wingo@pobox.com>
12513
12514         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
12515         *all* the arguments.
12516
12517         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
12518         stream lock if it's a FLUSH_DONE; normal flushes don't get the
12519         lock (according to the docs -- if this is wrong change the docs).
12520
12521         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
12522         flush messages in the NULL state.
12523
12524         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
12525         message immediately and return.
12526         (gst_bus_set_flushing): New function. If a bus is flushing, it
12527         flushes out any queued messages and immediately unrefs new
12528         messages. This is so when an element goes to NULL, all of the
12529         unhandled messages coming from it can be freed, and their
12530         references to the element dropped. In other words: message source
12531         ref considered harmful :P
12532
12533         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
12534         we're finished with it.
12535
12536         * gst/gstmessage.c (gst_message_new_state_changed): 
12537
12538 2005-05-10  Wim Taymans  <wim@fluendo.com>
12539
12540         * gst/gstvalue.c: (gst_value_compare_flags),
12541         (gst_value_serialize_flags), (gst_value_deserialize_flags),
12542         (_gst_value_initialize):
12543         Added flags serialize/deserialize/compare code.
12544
12545 2005-05-09  Andy Wingo  <wingo@pobox.com>
12546
12547         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
12548         Intersect the peer's caps with our caps.
12549
12550 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12551
12552         * gst/base/gsttypefindhelper.c: (helper_find_peek):
12553         * gst/elements/gsttypefindelement.c: (find_peek):
12554           Handle negative offsets better. Fixes decodebin.
12555
12556 2005-05-09  Wim Taymans  <wim@fluendo.com>
12557
12558         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
12559         (gst_base_transform_event):
12560         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
12561         Implement accept_caps.
12562         Fix silly lock/unlock mismatch in base class.
12563
12564 2005-05-09  Wim Taymans  <wim@fluendo.com>
12565
12566         * docs/design/draft-push-pull.txt:
12567         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
12568         * gst/elements/gstfilesink.c: (gst_filesink_init),
12569         (gst_filesink_query):
12570         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
12571         (gst_type_find_handle_src_query), (find_element_get_length):
12572         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
12573         * gst/gstelement.h:
12574         * gst/gstmessage.c:
12575         * gst/gstmessage.h:
12576         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
12577         (gst_real_pad_get_caps_unlocked),
12578         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
12579         (gst_pad_event_default_dispatch), (gst_pad_event_default),
12580         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
12581         (gst_real_pad_dispose), (gst_real_pad_finalize),
12582         (gst_pad_load_and_link), (gst_pad_save_thyself),
12583         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
12584         (gst_pad_check_pull_range), (gst_pad_pull_range),
12585         (gst_pad_template_get_type), (gst_pad_template_class_init),
12586         (gst_pad_template_init), (gst_pad_template_dispose),
12587         (name_is_valid), (gst_static_pad_template_get),
12588         (gst_pad_template_new), (gst_static_pad_template_get_caps),
12589         (gst_pad_template_get_caps), (gst_pad_set_element_private),
12590         (gst_pad_get_element_private), (gst_pad_start_task),
12591         (gst_pad_pause_task), (gst_pad_stop_task),
12592         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
12593         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12594         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
12595         (gst_ghost_pad_new):
12596         * gst/gstpad.h:
12597         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
12598         (gst_query_new_position), (gst_query_set_position),
12599         (gst_query_parse_position), (gst_query_new_convert),
12600         (gst_query_set_convert), (gst_query_parse_convert):
12601         * gst/gstquery.h:
12602         * gst/gstqueryutils.c:
12603         * gst/gstqueryutils.h:
12604         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
12605         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
12606         (gst_queue_handle_src_query):
12607         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12608         (gst_element_query_position), (gst_element_query_convert),
12609         (intersect_caps_func), (gst_pad_query_position),
12610         (gst_pad_query_convert):
12611         * gst/gstutils.h:
12612         * tools/gst-inspect.c: (print_pad_info):
12613         * tools/gst-xmlinspect.c: (print_element_info):
12614         Remove old query functions. Ported old code.
12615         Added position/convert helper functions to gstutils.
12616         Reordered gstpad.c code, grouping relevant things.
12617         Remove gst_message_new(), always need to speficy a specific
12618         message.
12619
12620
12621 2005-05-09  Andy Wingo  <wingo@pobox.com>
12622
12623         * gst/gstiterator.h: Add some includes.
12624
12625         * gst/gstqueryutils.h: Include more headers.
12626
12627         * gst/gstpad.h:
12628         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
12629         some uses of gst_pad_query.
12630
12631         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
12632         NULL out parameters.
12633         (gst_query_new_position): New proc, allocates a new position
12634         query.
12635
12636         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
12637         gstqueryutils.c to the build.
12638
12639         * gst/gststructure.c (gst_structure_set_valist): Implement with
12640         the generic G_VALUE_COLLECT.
12641         
12642 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
12643
12644         * gst/Makefile.am: (gst_headers):
12645         Added gstqueryutils.h to the list of headers to install, that was
12646         a 'nachty' move wingo :)
12647
12648 2005-05-06  Andy Wingo  <wingo@pobox.com>
12649
12650         * gst/gstquery.h
12651         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
12652         GstData, init a memchunk.
12653         (standard_definitions): Add a few query types, deprecate a few.
12654         (gst_query_get_type): New proc.
12655         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
12656         implementation.
12657         (gst_query_new_application, gst_query_get_structure): New public
12658         procs.
12659
12660         * docs/design/draft-query.txt: Removed LINKS from the query types,
12661         because all the rest can be dispatched to other pads -- seemed
12662         ugly to have a query that couldn't be dispatched. internal_links
12663         is fine as a pad method.
12664
12665         * gst/gstpad.h: Add query2 as a pad method, add the new functions
12666         in gstpad.c, but maintain binary compatibility for the moment.
12667         Will fix before 0.9 is out.
12668
12669         * gst/gstqueryutils.c: 
12670         * gst/gstqueryutils.h: New files, implement 3 methods for each
12671         query type: parse_query, parse_response, and set. Probably need an
12672         allocator as well.
12673
12674         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
12675
12676         * gst/elements/gstfilesink.c (gst_filesink_query2):
12677         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
12678         query_types, and formats methods.
12679
12680         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
12681         (gst_pad_set_query2_function): New functions.
12682         (gst_real_pad_init): Set query2_default as the default query2
12683         function. Basically just dispatches to internally linked pads.
12684
12685         Needs review!
12686         
12687         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
12688         without using the atomic operations. Only one thread can possibly
12689         be accessing the data at this point. Changed so as to avoid
12690         gst_atomic operations.
12691
12692 2005-05-06  Wim Taymans  <wim@fluendo.com>
12693
12694         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
12695         Also set caps if we use the fallback buffer alloc.
12696
12697 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
12698
12699         * docs/gst/Makefile.am:
12700         * docs/gst/gstreamer-docs.sgml:
12701         * docs/gst/gstreamer-sections.txt:
12702         * docs/gst/tmpl/gstatomic.sgml:
12703         * docs/gst/tmpl/gstmemchunk.sgml:
12704         * testsuite/elements/struct_i386.h:
12705         * win32/GStreamer.vcproj:
12706         * win32/Makefile:
12707           Purge GstAtomic stuff from docs and win32 makefiles as well
12708
12709 2005-05-06  Wim Taymans  <wim@fluendo.com>
12710
12711         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
12712         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
12713         * gst/gstpad.c: (gst_pad_peer_get_caps):
12714         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
12715         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
12716         (gst_queue_src_activate), (gst_queue_change_state):
12717         * gst/gstqueue.h:
12718         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12719         (intersect_caps_func):
12720         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
12721         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
12722         Some fixes for the peer_get_caps() change.
12723
12724 2005-05-06  Wim Taymans  <wim@fluendo.com>
12725
12726         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
12727         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
12728         (gst_basesink_activate):
12729         Actually do something with error codes returned from the push
12730         functions.
12731
12732 2005-05-06  Wim Taymans  <wim@fluendo.com>
12733
12734         * docs/design/part-element-sink.txt:
12735         * docs/design/part-element-source.txt:
12736         * gst/base/gstbasesink.c: (gst_basesink_class_init),
12737         (gst_basesink_event), (gst_basesink_activate):
12738         * gst/base/gstbasesink.h:
12739         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
12740         (gst_basesrc_activate):
12741         * gst/base/gstbasesrc.h:
12742         * gst/gstelement.c: (gst_element_pads_activate):
12743         Some more documentation.
12744         Fixed scheduling decision in _pads_activate().
12745
12746 2005-05-05  Andy Wingo  <wingo@pobox.com>
12747
12748         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
12749         the test suite.
12750
12751 2005-05-05  Wim Taymans  <wim@fluendo.com>
12752
12753         * gst/base/Makefile.am:
12754         * gst/base/gstbasesink.h:
12755         * gst/base/gstbasesrc.c: (gst_basesrc_init),
12756         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
12757         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
12758         (gst_collectpads_class_init), (gst_collectpads_init),
12759         (gst_collectpads_finalize), (gst_collectpads_new),
12760         (gst_collectpads_set_function), (gst_collectpads_add_pad),
12761         (find_pad), (gst_collectpads_remove_pad),
12762         (gst_collectpads_is_active), (gst_collectpads_collect),
12763         (gst_collectpads_collect_range), (gst_collectpads_start),
12764         (gst_collectpads_stop), (gst_collectpads_peek),
12765         (gst_collectpads_pop), (gst_collectpads_available),
12766         (gst_collectpads_read), (gst_collectpads_flush),
12767         (gst_collectpads_chain):
12768         * gst/base/gstcollectpads.h:
12769         * gst/elements/Makefile.am:
12770         * gst/elements/gstelements.c:
12771         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12772         (gst_fakesink_get_times), (gst_fakesink_event),
12773         (gst_fakesink_preroll), (gst_fakesink_render):
12774         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
12775         (gst_filesink_init), (gst_filesink_set_location),
12776         (gst_filesink_open_file), (gst_filesink_close_file),
12777         (gst_filesink_pad_query), (gst_filesink_event),
12778         (gst_filesink_render), (gst_filesink_change_state):
12779         * gst/elements/gstfilesink.h:
12780         Added object to help in making collect pad based elements.
12781         Ported filesink.
12782         Make event function in sink baseclass return gboolean.
12783
12784 2005-05-05  Wim Taymans  <wim@fluendo.com>
12785
12786         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
12787         (gst_bin_get_by_name):
12788         * gst/gstbuffer.h:
12789         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
12790         (gst_clock_finalize):
12791         * gst/gstdata.c: (gst_data_replace):
12792         * gst/gstdata.h:
12793         * gst/gstelement.c: (gst_element_request_pad),
12794         (gst_element_pads_activate):
12795         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
12796         (gst_object_unref):
12797         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12798         (gst_pad_set_checkgetrange_function),
12799         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
12800         (gst_pad_check_pull_range), (gst_pad_pull_range),
12801         (gst_static_pad_template_get_caps), (gst_pad_start_task),
12802         (gst_pad_pause_task), (gst_pad_stop_task):
12803         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12804         (gst_element_request_pad), (gst_pad_proxy_getcaps):
12805         Fix name lookup in GstBin.
12806         Added _data_replace() function and _buffer_replace()
12807         Use finalize method to clean up clock.
12808         Fix refcounting on request pads.
12809         Fix pad schedule mode error.
12810         Some more object refcounting debug info,
12811
12812
12813 2005-05-04  Andy Wingo <wingo@pobox.com>
12814
12815         * check/Makefile.am:
12816         * docs/gst/tmpl/gstatomic.sgml:
12817         * docs/gst/tmpl/gstplugin.sgml:
12818         * gst/base/gstbasesink.c: (gst_basesink_activate):
12819         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
12820         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
12821         (gst_basesrc_query), (gst_basesrc_set_property),
12822         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
12823         (gst_basesrc_activate):
12824         * gst/base/gstbasesrc.h:
12825         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
12826         (gst_base_transform_src_activate):
12827         * gst/elements/gstelements.c:
12828         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12829         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
12830         * gst/elements/gsttee.c: (gst_tee_sink_activate):
12831         * gst/elements/gsttypefindelement.c: (find_element_get_length),
12832         (gst_type_find_element_checkgetrange),
12833         (gst_type_find_element_activate):
12834         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
12835         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
12836         (gst_caps_load_thyself):
12837         * gst/gstelement.c: (gst_element_pads_activate),
12838         (gst_element_save_thyself), (gst_element_restore_thyself):
12839         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
12840         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
12841         * gst/gstpad.h:
12842         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
12843         (gst_xml_parse_file), (gst_xml_parse_memory),
12844         (gst_xml_get_element), (gst_xml_make_element):
12845         * gst/indexers/gstfileindex.c: (gst_file_index_load),
12846         (_file_index_id_save_xml), (gst_file_index_commit):
12847         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
12848         (read_enum), (load_pad_template), (load_feature), (load_plugin),
12849         (load_paths):
12850         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
12851         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
12852         * tools/gst-complete.c: (main):
12853         * tools/gst-compprep.c: (main):
12854         * tools/gst-inspect.c: (print_element_properties_info):
12855         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12856         * tools/gst-xmlinspect.c: (print_element_properties):
12857         GCC 4 fixen.
12858         
12859 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12860
12861         * gst/gstplugin.c: (gst_plugin_check_module),
12862         (gst_plugin_check_file), (gst_plugin_load_file):
12863             apply patch from #172526 to make register work on MacOSX
12864
12865 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12866
12867         * docs/gst/tmpl/gstconfig.sgml:
12868         * gst/gstconfig.h.in:
12869           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
12870         * testsuite/debug/printf_extension.c: (main):
12871           Do not use GST_PTR_FORMAT on pointers to types with
12872           sizeof < sizeof(gpointer).  Fixes test on 64-bit
12873         * testsuite/elements/property.h:
12874           use correct printf format
12875
12876 2005-05-02  Wim Taymans  <wim@fluendo.com>
12877
12878         * docs/design/draft-push-pull.txt:
12879         * docs/design/draft-query.txt:
12880         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
12881         (gst_basesrc_start):
12882         Added draft for new query API.
12883         Added draft for better selecting scheduling methods.
12884         Make basesrc ignore length if the subclass does not support
12885         it.
12886
12887 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12888
12889         * gst/Makefile.am:
12890           possible fixes for automake-1.5 - _LIBADD is reserved
12891
12892 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12893
12894         * docs/faq/Makefile.am:
12895         * docs/manual/Makefile.am:
12896         * docs/manuals.mak:
12897         * docs/pwg/Makefile.am:
12898         * gst/Makefile.am:
12899           possible fixes for automake-1.5
12900
12901 2005-04-28  Wim Taymans  <wim@fluendo.com>
12902
12903         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12904         (gst_basesink_pad_getcaps), (gst_basesink_init),
12905         (gst_basesink_do_sync):
12906         * gst/gstclock.c: (gst_clock_entry_new):
12907         * gst/gstevent.c: (gst_event_discont_get_value):
12908         * gst/gstpipeline.c: (pipeline_bus_handler),
12909         (gst_pipeline_change_state):
12910         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12911         Better debugging of clocking info.
12912         Allow NULL values when getting discont values.
12913
12914 2005-04-27  Wim Taymans  <wim@fluendo.com>
12915
12916         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12917         * check/gst/gstpad.c: (gst_pad_suite):
12918         Increase timeout for checks.
12919
12920 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12921
12922         * check/Makefile.am:
12923           fix the broken rule for cleanup.  Apparently this rule is
12924           only needed on FC2, so maybe this warrants further autotool
12925           inspection.
12926
12927 2005-04-26  Wim Taymans  <wim@fluendo.com>
12928
12929         * gst/gsttrashstack.h:
12930         Ooohh. a nasty one! After having a failed pop() from the stack,
12931         it's possible that the stack is empty. In that case, don't
12932         follow the NULL pointer.
12933
12934 2005-04-25  Wim Taymans  <wim@fluendo.com>
12935
12936         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12937         (gst_pad_set_checkgetrange_function),
12938         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
12939         (gst_pad_check_pull_range), (gst_pad_pull_range),
12940         (gst_static_pad_template_get_caps), (gst_pad_start_task),
12941         (gst_pad_pause_task), (gst_pad_stop_task):
12942         * gst/gstplugin.c: (gst_plugin_load):
12943         * gst/gstplugin.h:
12944         Remove gst_library_load as it does more harm than good with
12945         the new g_module flags.
12946         Revert bogus caps template check in pad linking, pad caps
12947         are important when linking not the template, which is more
12948         general than the current caps.
12949
12950 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12951
12952         * gst/autoplug/.cvsignore:
12953         * gst/autoplug/Makefile.am:
12954         * gst/autoplug/gstsearchfuncs.c:
12955         * gst/autoplug/gstsearchfuncs.h:
12956         * gst/autoplug/gstspider.c:
12957         * gst/autoplug/gstspider.h:
12958         * gst/autoplug/gstspideridentity.c:
12959         * gst/autoplug/gstspideridentity.h:
12960         * gst/autoplug/spidertest.c:
12961           Die, spider, die.
12962
12963 2005-04-25  Wim Taymans  <wim@fluendo.com>
12964
12965         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12966         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12967         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
12968         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
12969         * gst/gstpad.h:
12970         Added stubs for unimplemented functions. 
12971
12972 2005-04-24  David Schleef  <ds@schleef.org>
12973
12974         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
12975         please fix.
12976
12977 2005-04-24  David Schleef  <ds@schleef.org>
12978
12979         Convert everything from GstAtomicInt to g_atomic_int_*, and
12980         remove gstatomic.
12981         * gst/Makefile.am:
12982         * gst/gstatomic.c:
12983         * gst/gstatomic.h:
12984         * gst/gstatomic_impl.h:
12985         * gst/gstbuffer.c:
12986         * gst/gstcaps.c:
12987         * gst/gstcaps.h:
12988         * gst/gstclock.c:
12989         * gst/gstclock.h:
12990         * gst/gstdata.c:
12991         * gst/gstdata.h:
12992         * gst/gstdata_private.h:
12993         * gst/gstevent.c:
12994         * gst/gstinfo.c:
12995         * gst/gstinfo.h:
12996         * gst/gstmessage.c:
12997         * gst/gstobject.c:
12998         * gst/gstobject.h:
12999         * gst/gststructure.c:
13000         * gst/gststructure.h:
13001         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
13002         * gst/gstutils.h:
13003
13004 2005-04-24  David Schleef  <ds@schleef.org>
13005
13006         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
13007         make the regressions tests work.  Remove some code that is no
13008         longer true.
13009         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
13010         Disable warning for pads without templates.
13011
13012 2005-04-24  David Schleef  <ds@schleef.org>
13013
13014         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
13015         functions that handle filtered links.
13016         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
13017         removed functions.
13018         * gst/gstutils.c: Fix/remove utility functions that handle
13019         filtered caps.
13020         * gst/gstutils.h:
13021         * gst/gstvalue.c: Add serialization/deserialization of caps
13022         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
13023         requires fixing so that the filter caps notation creates
13024         a capsfilter element and sets the filter_caps property.  I
13025         think everyone probably wants to keep the shorthand notation.
13026         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
13027         * docs/gst/tmpl/gstpad.sgml:
13028
13029         * gst/elements/gstelements.c: Register capsfilter element.
13030         * gst/Makefile.am: fix spacing
13031         * docs/random/ds/0.9-suggested-changes: random
13032
13033 2005-04-23  David Schleef  <ds@schleef.org>
13034
13035         * gst/elements/Makefile.am:
13036         * gst/elements/gstcapsfilter.c: New element that acts like an
13037         identity, but filters caps.  Will eventually replace filtered
13038         caps in pad linking.
13039         * gst/gstutils.c: (gst_element_create_all_pads): New function
13040         to create all the ALWAYS pads that are registered with an
13041         element class.  This functionality should eventually be
13042         merged in with GstElement initialization.
13043         * gst/gstutils.h:
13044         * testsuite/trigger/README: part of trigger test code that should
13045         have been checked in a long time ago.
13046
13047 2005-04-23  David Schleef  <ds@schleef.org>
13048
13049         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
13050         needed with new versions of libtool (nobody will confirm this),
13051         and hard to carry around.
13052         * gst/autoplug/Makefile.am:
13053         * gst/base/Makefile.am:
13054         * gst/elements/Makefile.am:
13055         * gst/indexers/Makefile.am:
13056         * gst/schedulers/Makefile.am:
13057         * libs/gst/bytestream/Makefile.am:
13058         * libs/gst/control/Makefile.am:
13059         * libs/gst/dataprotocol/Makefile.am:
13060         * libs/gst/getbits/Makefile.am:
13061
13062 2005-04-21  Wim Taymans  <wim@fluendo.com>
13063
13064         * docs/design/draft-push-pull.txt:
13065         * docs/design/part-MT-refcounting.txt:
13066         * docs/design/part-TODO.txt:
13067         * docs/design/part-caps.txt:
13068         * docs/design/part-events.txt:
13069         * docs/design/part-gstbus.txt:
13070         * docs/design/part-gstpipeline.txt:
13071         * docs/design/part-messages.txt:
13072         * docs/design/part-push-pull.txt:
13073         * docs/design/part-query.txt:
13074         Some more docs.
13075
13076 2005-04-21  Wim Taymans  <wim@fluendo.com>
13077
13078         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
13079         (gst_message_new), (gst_message_new_error),
13080         (gst_message_new_warning), (gst_message_new_tag),
13081         (gst_message_new_state_changed), (gst_message_new_application),
13082         (gst_message_get_structure):
13083         * gst/gstmessage.h:
13084         * gst/gststructure.c: (gst_structure_set_parent_refcount),
13085         (gst_structure_copy_conditional):
13086         Use parent refcount in GstMessage to ensure GstStructure
13087         consistency.
13088         Cleaned up headers a bit.
13089         
13090
13091 2005-04-20  Wim Taymans  <wim@fluendo.com>
13092
13093         * gst/base/gstbasesink.c: (gst_basesink_base_init),
13094         (gst_basesink_pad_getcaps), (gst_basesink_init),
13095         (gst_basesink_chain_unlocked):
13096         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
13097         (gst_type_find_helper):
13098         * gst/elements/gsttypefindelement.c:
13099         (gst_type_find_element_have_type), (gst_type_find_element_init),
13100         (stop_typefinding), (gst_type_find_element_handle_event),
13101         (find_suggest), (gst_type_find_element_chain),
13102         (gst_type_find_element_checkgetrange),
13103         (gst_type_find_element_getrange), (do_typefind),
13104         (gst_type_find_element_activate):
13105         * gst/gstbuffer.c: (_gst_buffer_sub_free),
13106         (gst_buffer_default_free), (gst_buffer_default_copy),
13107         (gst_buffer_set_caps):
13108         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
13109         (gst_caps_replace):
13110         * gst/gstmessage.c: (gst_message_new),
13111         (gst_message_new_state_changed):
13112         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
13113         (gst_pad_set_checkgetrange_function),
13114         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
13115         (gst_pad_set_caps), (gst_pad_check_pull_range),
13116         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
13117         * gst/gstpad.h:
13118         * gst/gsttypefind.c: (gst_type_find_register):
13119         Make gst_caps_replace() work like other _replace() functions.
13120         Use _caps_replace() where possible.
13121         Make sure _message_new() initialises its field.
13122         Add gst_static_pad_template_get_caps()
13123
13124
13125 2005-04-18  Andy Wingo  <wingo@pobox.com>
13126
13127         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
13128         on the peer, not the pad. I think that was a typo. Pass an extra
13129         arg to see if random access is possible. Activate the pads as
13130         PULL_RANGE if possible.
13131
13132         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
13133
13134         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
13135         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
13136         to PROP_....
13137
13138 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13139
13140         * docs/faq/using.xml:
13141           Add note on gstreamer-properties (#154996).
13142
13143 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13144
13145         * docs/random/bbb/optional-properties:
13146           Some analysis on optional properties.
13147
13148 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13149
13150         * docs/gst/tmpl/gstelementfactory.sgml:
13151         * gst/gstelement.h:
13152         * gst/gstelementfactory.c: (gst_element_factory_init),
13153         (gst_element_factory_cleanup), (gst_element_register),
13154         (__gst_element_factory_add_static_pad_template),
13155         (gst_element_factory_get_static_pad_templates),
13156         (gst_element_factory_can_src_caps),
13157         (gst_element_factory_can_sink_caps):
13158         * gst/registries/Makefile.am:
13159         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
13160         (gst_xml_registry_class_init), (gst_xml_registry_init),
13161         (gst_xml_registry_new), (gst_xml_registry_set_property),
13162         (gst_xml_registry_get_property), (get_time), (make_dir),
13163         (gst_xml_registry_get_perms_func),
13164         (plugin_times_older_than_recurse), (plugin_times_older_than),
13165         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
13166         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
13167         (add_to_char_array), (read_string), (read_uint), (read_enum),
13168         (load_pad_template), (load_feature), (load_plugin), (load_paths),
13169         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
13170         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
13171         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
13172         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
13173         (gst_xml_registry_rebuild):
13174         * gst/registries/gstlibxmlregistry.h:
13175         * tools/gst-compprep.c: (main):
13176         * tools/gst-inspect.c: (print_pad_templates_info):
13177         * tools/gst-xmlinspect.c: (print_element_info):
13178           Use libxml2 for registry parsing, use staticpadtemplates in
13179           elementfactories. Makes gst_init() +/- 10x faster.
13180
13181 2005-04-12  Wim Taymans  <wim@fluendo.com>
13182
13183         * gst/base/Makefile.am:
13184         * gst/base/gstbasesink.c: (gst_basesink_base_init),
13185         (gst_basesink_pad_getcaps), (gst_basesink_init),
13186         (gst_basesink_event), (gst_basesink_change_state):
13187         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
13188         (gst_basesrc_init), (gst_basesrc_query),
13189         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
13190         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
13191         (gst_basesrc_check_get_range), (gst_basesrc_loop),
13192         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
13193         (gst_basesrc_stop), (gst_basesrc_activate),
13194         (gst_basesrc_change_state):
13195         * gst/base/gsttypefindhelper.c: (helper_find_peek),
13196         (helper_find_suggest), (gst_type_find_helper):
13197         * gst/base/gsttypefindhelper.h:
13198         * gst/elements/Makefile.am:
13199         * gst/elements/gstelements.c:
13200         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
13201         (gst_fakesink_get_times), (gst_fakesink_event),
13202         (gst_fakesink_preroll), (gst_fakesink_render):
13203         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
13204         (gst_fakesrc_init), (gst_fakesrc_event_handler),
13205         (gst_fakesrc_get_property), (gst_fakesrc_create),
13206         (gst_fakesrc_start), (gst_fakesrc_stop):
13207         * gst/elements/gstfakesrc.h:
13208         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
13209         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
13210         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
13211         (gst_filesrc_create_read), (gst_filesrc_create),
13212         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
13213         (gst_filesrc_start):
13214         * gst/elements/gsttypefindelement.c:
13215         (gst_type_find_element_have_type), (gst_type_find_element_init),
13216         (start_typefinding), (stop_typefinding), (push_buffer_store),
13217         (gst_type_find_element_handle_event),
13218         (gst_type_find_element_chain),
13219         (gst_type_find_element_checkgetrange),
13220         (gst_type_find_element_getrange), (do_typefind),
13221         (gst_type_find_element_activate),
13222         (gst_type_find_element_change_state):
13223         * gst/elements/gsttypefindelement.h:
13224         * gst/gstpipeline.c: (pipeline_bus_handler):
13225         Added typefind helper.
13226         Small preroll fix in the base sink.
13227         Disable typefind code in basesrc.
13228         Crude port of typefindelement.
13229         Fakesrc cleanups.
13230
13231
13232 2005-04-11  Wim Taymans  <wim@fluendo.com>
13233
13234         * check/gst/gstbus.c: (gstbus_suite):
13235         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
13236         * check/gstcheck.h:
13237           Fix up the timeout so that the test does not fail.
13238
13239 2005-04-06  Wim Taymans  <wim@fluendo.com>
13240
13241         * gst/base/README:
13242         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
13243         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
13244         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
13245         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
13246         (gst_basesrc_check_get_range), (gst_basesrc_loop),
13247         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
13248         (gst_basesrc_stop), (gst_basesrc_activate),
13249         (gst_basesrc_change_state), (basesrc_find_peek),
13250         (basesrc_find_suggest), (gst_basesrc_type_find):
13251         * gst/base/gstbasesrc.h:
13252         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
13253         (gst_filesrc_class_init), (gst_filesrc_init),
13254         (gst_filesrc_finalize), (gst_filesrc_set_location),
13255         (gst_filesrc_set_property), (gst_filesrc_get_property),
13256         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
13257         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
13258         (gst_filesrc_create_read), (gst_filesrc_create),
13259         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
13260         * gst/elements/gstfilesrc.h:
13261         * gst/gstelement.c: (gst_element_get_state_func),
13262         (gst_element_lost_state), (gst_element_pads_activate):
13263         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
13264         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
13265         (gst_pad_pull_range):
13266         * gst/gstpad.h:
13267         More work on the generic source base class, implement seeking,
13268         query.
13269         Make filesrc extend the base source class.
13270         Added gst_pad_set_checkgetrange_function to GstPad.
13271
13272 2005-04-06  Andy Wingo  <wingo@pobox.com>
13273
13274         * pkgconfig/gstreamer-base.pc.in:
13275         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
13276
13277         * pkgconfig/Makefile.am:
13278         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
13279
13280 2005-04-04  Wim Taymans  <wim@fluendo.com>
13281
13282         * gst/base/Makefile.am:
13283         * gst/base/README:
13284         * gst/base/gstbasesink.c: (gst_basesink_base_init),
13285         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
13286         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
13287         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
13288         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
13289         (gst_basesrc_base_init), (gst_basesrc_class_init),
13290         (gst_basesrc_init), (gst_basesrc_get_formats),
13291         (gst_basesrc_get_query_types), (gst_basesrc_query),
13292         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
13293         (gst_basesrc_set_property), (gst_basesrc_get_property),
13294         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
13295         (gst_basesrc_loop), (gst_basesrc_activate),
13296         (gst_basesrc_change_state):
13297         * gst/base/gstbasesrc.h:
13298         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
13299         (gst_fakesrc_class_init), (gst_fakesrc_init),
13300         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
13301         (gst_fakesrc_get_property), (gst_fakesrc_create):
13302         * gst/elements/gstfakesrc.h:
13303         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
13304         (gst_filesrc_open_file), (gst_filesrc_loop),
13305         (gst_filesrc_activate), (filesrc_find_peek),
13306         (gst_filesrc_type_find):
13307         Made base source class, make fakesrc extend it.
13308         Add comments to basesink class.
13309         Some filesrc cleanup.
13310
13311 2005-03-31  David Schleef  <ds@schleef.org>
13312
13313         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
13314         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
13315         expected to link against libgstreamer.
13316         * gst/base/Makefile.am: link against libgstreamer
13317         * gst/elements/Makefile.am: same
13318
13319 2005-03-31  Andy Wingo  <wingo@pobox.com>
13320
13321         * tests/instantiate/Makefile.am:
13322         * tests/instantiate/caps.c: Add test to test speed of caps copy
13323         and free.
13324
13325         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
13326         GMemChunk to be fair.
13327
13328         * gst/gsttrashstack.h: Remove warning about using the fallback
13329         trash stack implementation, it's still faster than malloc.
13330
13331 2005-03-30  Andy Wingo  <wingo@pobox.com>
13332
13333         * tests/complexity.c: Add a copyright.
13334
13335 2005-03-31  Wim Taymans  <wim@fluendo.com>
13336
13337         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
13338         (gst_base_transform_class_init), (gst_base_transform_init),
13339         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
13340         (gst_base_transform_get_property),
13341         (gst_base_transform_sink_activate),
13342         (gst_base_transform_src_activate),
13343         (gst_base_transform_change_state):
13344         * gst/base/gstbasetransform.h:
13345         * gst/elements/gstidentity.c: (gst_identity_class_init),
13346         (gst_identity_event), (gst_identity_check_perfect),
13347         (gst_identity_transform), (gst_identity_start),
13348         (gst_identity_stop):
13349         Added start/stop methods to transform base class so subclasses 
13350         don't need to deal with state changes even.
13351
13352 2005-03-31  Wim Taymans  <wim@fluendo.com>
13353
13354         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
13355         (gst_event_new_discontinuous), (gst_event_discont_get_value):
13356         * gst/gstevent.h:
13357         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
13358         (gst_pad_pull_range):
13359         Added rate to the discont event to prepare for variable speed
13360         and reverse playback.
13361
13362 2005-03-29  David Schleef  <ds@schleef.org>
13363
13364         * configure.ac:
13365         * testsuite/trigger/Makefile.am:
13366         * testsuite/trigger/trigger.c: A little example program to show
13367         how trigger-based elements can work.
13368
13369 2005-03-29  Wim Taymans  <wim@fluendo.com>
13370
13371         * gst/base/Makefile.am:
13372         * gst/base/README:
13373         * gst/base/gstbasesink.c: (gst_basesink_get_type),
13374         (gst_basesink_base_init), (gst_basesink_class_init),
13375         (gst_basesink_pad_getcaps), (gst_basesink_init),
13376         (gst_basesink_activate), (gst_basesink_change_state):
13377         * gst/base/gstbasesink.h:
13378         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
13379         (gst_base_transform_base_init), (gst_base_transform_finalize),
13380         (gst_base_transform_class_init), (gst_base_transform_init),
13381         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
13382         (gst_base_transform_event), (gst_base_transform_getrange),
13383         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
13384         (gst_base_transform_set_property),
13385         (gst_base_transform_get_property),
13386         (gst_base_transform_sink_activate),
13387         (gst_base_transform_src_activate),
13388         (gst_base_transform_change_state):
13389         * gst/base/gstbasetransform.h:
13390         * gst/elements/gstidentity.c: (gst_identity_finalize),
13391         (gst_identity_class_init), (gst_identity_init),
13392         (gst_identity_event), (gst_identity_check_perfect),
13393         (gst_identity_transform), (gst_identity_set_property),
13394         (gst_identity_get_property), (gst_identity_change_state):
13395         * gst/elements/gstidentity.h:
13396         * gst/gstelement.c: (gst_element_get_state_func),
13397         (gst_element_lost_state), (gst_element_pads_activate):
13398         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
13399         (gst_pad_check_pull_range), (gst_pad_pull_range):
13400         * gst/gstpad.h:
13401         Simplify pad activation.
13402         Added function to check if pull_range can be performed.
13403         Error out when pulling inactive or flushing pads.
13404         Removed const from refcounted types as it does not make sense.
13405         Simplify pad templates in basesink
13406         Added base class for simple 1-to-1 transforms.
13407         Make identity subclass the base transform.
13408
13409 2005-03-29  Andy Wingo  <wingo@pobox.com>
13410
13411         * docs/libs/gstreamer-libs-overrides.txt: 
13412         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
13413         really don't understand what's going on, but like whatever. I want
13414         green buildbot!
13415
13416         * docs/gst/Makefile.am:
13417         * docs/libs/Makefile.am: Dist the overrides files.
13418
13419         * check/Makefile.am (clean-local): Remove .libs directories.
13420
13421         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
13422         elements to EXTRA_DIST, so po/ files are happy.
13423
13424         * po/POTFILES.in: Er, remove it here.
13425
13426         * po/POTFILES: Remove gstspider.c.
13427
13428         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
13429
13430         * docs/libs/gstreamer-libs-docs.sgml: 
13431         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
13432         bytestream.
13433
13434         * tests/complexity.c (main): Set the length of the preroll queue
13435         on the sinks to prevent a lockup.
13436
13437         * libs/gst/dataprotocol/Makefile.am: 
13438         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
13439         the same as the one in check/gst-libs/gdp.c.
13440
13441         * po/, docs/gst/: Commit automatic changes to docs and po files.
13442
13443         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
13444         the versioned libgstbase.
13445
13446         * check/Makefile.am: Depend on an unversioned gst-register, seems
13447         to make autoconf happier.
13448
13449         * gst/base/Makefile.am: Make libgstbase a versioned lib.
13450
13451 2005-03-28  Wim Taymans  <wim@fluendo.com>
13452
13453         * configure.ac:
13454         * docs/design/part-gstelement.txt:
13455         * docs/design/part-negotiation.txt:
13456         * docs/design/part-preroll.txt:
13457         * docs/design/part-scheduling.txt:
13458         * docs/design/part-states.txt:
13459         * gst/Makefile.am:
13460         * gst/base/Makefile.am:
13461         * gst/base/README:
13462         * gst/base/gstbasesink.c: (gst_basesink_get_template),
13463         (gst_basesink_base_init), (gst_basesink_class_init),
13464         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
13465         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
13466         (gst_basesink_set_pad_functions),
13467         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
13468         (gst_basesink_set_property), (gst_basesink_get_property),
13469         (gst_base_sink_get_template), (gst_base_sink_get_caps),
13470         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
13471         (gst_basesink_preroll_queue_push),
13472         (gst_basesink_preroll_queue_empty),
13473         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
13474         (gst_basesink_event), (gst_basesink_get_times),
13475         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
13476         (gst_basesink_chain_unlocked), (gst_basesink_chain),
13477         (gst_basesink_loop), (gst_basesink_activate),
13478         (gst_basesink_change_state):
13479         * gst/base/gstbasesink.h:
13480         * gst/elements/Makefile.am:
13481         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
13482         (gst_fakesink_class_init), (gst_fakesink_init),
13483         (gst_fakesink_set_property), (gst_fakesink_get_property),
13484         (gst_fakesink_get_times), (gst_fakesink_event),
13485         (gst_fakesink_preroll), (gst_fakesink_render),
13486         (gst_fakesink_change_state):
13487         * gst/elements/gstfakesink.h:
13488         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
13489         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
13490         * gst/gstelement.c: (gst_element_add_pad),
13491         (gst_element_get_state_func), (gst_element_abort_state),
13492         (gst_element_commit_state), (gst_element_lost_state),
13493         (gst_element_set_state), (gst_element_pads_activate):
13494         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
13495         * gst/gstpipeline.c: (gst_pipeline_send_event),
13496         (gst_pipeline_change_state):
13497         Added state change code.
13498         Added/updated docs.
13499         Added sink base class, make fakesink extend the base class.
13500         Small cleanups in GstPipeline.
13501
13502 2005-03-26  David Schleef  <ds@schleef.org>
13503
13504         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
13505         is broken and should be implemented in a different library.
13506         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
13507         * gst/gst.h: remove gstcpu.h
13508         * gst/gstcpu.c: remove
13509         * gst/gstcpu.h: remove
13510         * gst/Makefile.am.future: Remove this file.  It's ancient.
13511
13512 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13513
13514         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
13515         (gst_bin_send_event):
13516           Add default event/set_manager handlers. The set_manager handler
13517           takes care that the manager is distributed over kids that were
13518           already in the bin before the manager was set. The event handler
13519           is a utility virtual function that sends the event over all sinks,
13520           so that gst_element_send_event (bin, event); has the expected
13521           behaviour.
13522         * gst/gstpad.c: (gst_pad_event_default):
13523           Re-install default event handling for discontinuities, so that
13524           seeking works without requiring hacks in applications or extra
13525           code in sinks.
13526         * gst/gstpipeline.c: (gst_pipeline_class_init),
13527         (gst_pipeline_send_event):
13528           Half hack, half utility: set a pipeline to PAUSED for seek events,
13529           since that is the only way we can guarantee a/v sync. Means that
13530           you can do gst_element_seek (pipeline, method, pos); on a pipeline
13531           and it "just works".
13532
13533 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13534
13535         * gst/gstpipeline.c: (gst_pipeline_use_clock):
13536           Lock/unlock mismatch.
13537
13538 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
13539
13540         * docs/faq/gst-uninstalled:
13541           add gst-plugins-base
13542         * docs/gst/Makefile.am:
13543           don't error out until docs are fixed
13544         * docs/gst/gstreamer.types:
13545           remove thread
13546
13547 2005-03-22  Wim Taymans  <wim@fluendo.com>
13548
13549         * check/Makefile.am:
13550         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
13551         * gst/gststructure.c: (gst_structure_set_valist),
13552         (gst_structure_copy_conditional):
13553         Activated more tests.
13554         Added message test.
13555         Added G_TYPE_POINTER to GstStructure.
13556         
13557
13558 2005-03-22  Wim Taymans  <wim@fluendo.com>
13559
13560         * docs/design/part-TODO.txt:
13561         * docs/design/part-events.txt:
13562         * docs/design/part-gstbin.txt:
13563         * docs/design/part-gstbus.txt:
13564         * docs/design/part-gstpipeline.txt:
13565         * docs/design/part-messages.txt:
13566         * gst/gstbus.c:
13567         * gst/gstmessage.c:
13568         Docs updates
13569
13570 2005-03-21  Wim Taymans  <wim@fluendo.com>
13571
13572         * gst/gstbus.c: (gst_bus_post):
13573         Fix copy-and-paste error.
13574
13575 2005-03-21  Wim Taymans  <wim@fluendo.com>
13576
13577         * check/Makefile.am:
13578         * gst/Makefile.am:
13579         * gst/elements/Makefile.am:
13580         * gst/elements/gstelements.c:
13581         * gst/elements/gstfakesink.c: (gst_fakesink_init),
13582         (gst_fakesink_event), (gst_fakesink_chain):
13583         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
13584         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
13585         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
13586         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
13587         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
13588         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
13589         (gst_fakesrc_loop), (gst_fakesrc_activate),
13590         (gst_fakesrc_change_state):
13591         * gst/elements/gstfakesrc.h:
13592         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
13593         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
13594         (gst_filesrc_open_file), (gst_filesrc_loop),
13595         (gst_filesrc_activate), (gst_filesrc_change_state),
13596         (filesrc_find_peek), (filesrc_find_suggest),
13597         (gst_filesrc_type_find):
13598         * gst/elements/gstidentity.c: (gst_identity_finalize),
13599         (gst_identity_class_init), (gst_identity_init),
13600         (gst_identity_proxy_getcaps), (identity_queue_push),
13601         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
13602         (gst_identity_getrange), (gst_identity_chain),
13603         (gst_identity_sink_loop), (gst_identity_src_loop),
13604         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
13605         (gst_identity_set_property), (gst_identity_get_property),
13606         (gst_identity_change_state):
13607         * gst/elements/gstidentity.h:
13608         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
13609         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
13610         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
13611         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
13612         (gst_tee_sink_activate):
13613         * gst/elements/gsttee.h:
13614         * gst/gst.c: (gst_register_core_elements), (init_post):
13615         * gst/gst.h:
13616         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
13617         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
13618         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
13619         (gst_bin_change_state):
13620         * gst/gstbin.h:
13621         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
13622         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
13623         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
13624         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
13625         (gst_bus_set_sync_handler), (gst_bus_create_watch),
13626         (bus_watch_callback), (bus_watch_destroy),
13627         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
13628         (poll_timeout), (gst_bus_poll):
13629         * gst/gstbus.h:
13630         * gst/gstcaps.h:
13631         * gst/gstdata.h:
13632         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13633         (gst_element_post_message), (gst_element_message_full),
13634         (gst_element_get_state_func), (gst_element_get_state),
13635         (gst_element_abort_state), (gst_element_commit_state),
13636         (gst_element_lost_state), (gst_element_set_state),
13637         (gst_element_pads_activate), (gst_element_change_state),
13638         (gst_element_dispose), (gst_element_set_manager_func),
13639         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
13640         (gst_element_set_manager), (gst_element_get_manager),
13641         (gst_element_set_bus), (gst_element_get_bus),
13642         (gst_element_set_scheduler), (gst_element_get_scheduler):
13643         * gst/gstelement.h:
13644         * gst/gstevent.c: (gst_event_new_segment_seek),
13645         (gst_event_new_flush):
13646         * gst/gstevent.h:
13647         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
13648         (_gst_message_free), (gst_message_get_type), (gst_message_new),
13649         (gst_message_new_eos), (gst_message_new_error),
13650         (gst_message_new_warning), (gst_message_new_tag),
13651         (gst_message_new_state_changed), (gst_message_new_application),
13652         (gst_message_get_structure), (gst_message_parse_tag),
13653         (gst_message_parse_state_changed), (gst_message_parse_error),
13654         (gst_message_parse_warning):
13655         * gst/gstmessage.h:
13656         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
13657         (gst_real_pad_set_property), (gst_pad_set_active),
13658         (gst_pad_is_active), (gst_pad_set_blocked_async),
13659         (gst_pad_set_blocked), (gst_pad_is_blocked),
13660         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
13661         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
13662         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13663         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
13664         (gst_pad_link_filtered), (gst_pad_relink_filtered),
13665         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
13666         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
13667         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
13668         (gst_pad_set_caps), (gst_pad_configure_sink),
13669         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
13670         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
13671         (gst_real_pad_dispose), (gst_real_pad_finalize),
13672         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
13673         (gst_pad_event_default_dispatch), (gst_pad_event_default),
13674         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
13675         * gst/gstpad.h:
13676         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
13677         (pipeline_bus_handler), (gst_pipeline_change_state),
13678         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
13679         * gst/gstpipeline.h:
13680         * gst/gstprobe.h:
13681         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
13682         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
13683         (gst_queue_link_src), (gst_queue_bufferalloc),
13684         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
13685         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
13686         (gst_queue_loop), (gst_queue_handle_src_event),
13687         (gst_queue_handle_src_query), (gst_queue_src_activate),
13688         (gst_queue_change_state):
13689         * gst/gstqueue.h:
13690         * gst/gstscheduler.c: (gst_scheduler_init),
13691         (gst_scheduler_dispose), (gst_scheduler_create_task),
13692         (gst_scheduler_factory_create):
13693         * gst/gstscheduler.h:
13694         * gst/gststructure.c: (gst_structure_get_type),
13695         (gst_structure_copy_conditional):
13696         * gst/gststructure.h:
13697         * gst/gsttaginterface.h:
13698         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
13699         (gst_task_init), (gst_task_dispose), (gst_task_create),
13700         (gst_task_get_state), (gst_task_start), (gst_task_stop),
13701         (gst_task_pause):
13702         * gst/gsttask.h:
13703         * gst/gstthread.c:
13704         * gst/gstthread.h:
13705         * gst/gsttypes.h:
13706         * gst/schedulers/Makefile.am:
13707         * gst/schedulers/cothreads_compat.h:
13708         * gst/schedulers/entryscheduler.c:
13709         * gst/schedulers/faircothreads.c:
13710         * gst/schedulers/faircothreads.h:
13711         * gst/schedulers/fairscheduler.c:
13712         * gst/schedulers/gstbasicscheduler.c:
13713         * gst/schedulers/gstoptimalscheduler.c:
13714         * gst/schedulers/gthread-cothreads.h:
13715         * gst/schedulers/threadscheduler.c:
13716         (gst_thread_scheduler_task_get_type),
13717         (gst_thread_scheduler_task_class_init),
13718         (gst_thread_scheduler_task_init),
13719         (gst_thread_scheduler_task_start),
13720         (gst_thread_scheduler_task_stop),
13721         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
13722         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
13723         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
13724         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
13725         (plugin_init):
13726         * libs/gst/Makefile.am:
13727         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
13728         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
13729         (gst_file_pad_parent_set):
13730         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13731         (gst_dp_event_from_packet):
13732         * tests/complexity.c: (main):
13733         * tests/mass_elements.c: (main):
13734         * testsuite/states/locked.c: (message_received), (main):
13735         * testsuite/states/parent.c: (main):
13736         * tools/gst-inspect.c: (print_element_flag_info),
13737         (print_implementation_info), (print_pad_info):
13738         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
13739         (main):
13740         * tools/gst-md5sum.c: (event_loop), (main):
13741         * tools/gst-typefind.c: (main):
13742         * tools/gst-xmlinspect.c: (print_element_info):
13743         Next big merge.
13744         Added GstBus for mainloop integration.
13745         Added GstMessage for sending notifications on the bus.
13746         Added GstTask as an abstraction for pipeline entry points.
13747         Removed GstThread.
13748         Removed Schedulers.
13749         Simplified GstQueue for multithreaded core.
13750         Made _link threadsafe, removed old capsnego.
13751         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
13752         Added pad blocking functions.
13753         Reworked scheduling functions in GstPad to prepare for
13754         scheduling updates soon.
13755         Moved events out of data stream.
13756         Simplified GstEvent types.
13757         Added return values to push/pull.
13758         Removed clocking from GstElement.
13759         Added prototypes for state change function for next merge.
13760         Removed iterate from bins and state change management.
13761         Fixed some elements, disabled others for now.
13762         Fixed -inspect and -launch.
13763         Added check for GstBus.
13764
13765 2005-03-10  Wim Taymans  <wim@fluendo.com>
13766
13767         * docs/design/part-MT-refcounting.txt:
13768         * docs/design/part-clocks.txt:
13769         * docs/design/part-gstelement.txt:
13770         * docs/design/part-gstobject.txt:
13771         * docs/design/part-standards.txt:
13772         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13773         (gst_bin_remove_func), (gst_bin_remove):
13774         * gst/gstbin.h:
13775         * gst/gstbuffer.c:
13776         * gst/gstcaps.h:
13777         * testsuite/clock/clock1.c: (main):
13778         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
13779         (main):
13780         * testsuite/dlopen/loadgst.c: (do_test):
13781         * testsuite/refcounting/bin.c: (add_remove_test1),
13782         (add_remove_test2), (main):
13783         * testsuite/refcounting/element.c: (main):
13784         * testsuite/refcounting/element_pad.c: (main):
13785         * testsuite/refcounting/pad.c: (main):
13786         * tools/gst-launch.c: (sigint_handler_sighandler):
13787         * tools/gst-typefind.c: (main):
13788         Doc updates.
13789         Added doc about clock.
13790         removed gst_bin_iterate_recurse_up(), marked methods
13791         for removal.
13792         Fix more testsuites.
13793
13794 2005-03-09  Wim Taymans  <wim@fluendo.com>
13795
13796         * gst/gstpad.c: (gst_pad_get_direction),
13797         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
13798         (gst_pad_collect_valist):
13799         * testsuite/bins/interface.c: (main):
13800         * testsuite/caps/audioscale.c: (test_caps):
13801         * testsuite/caps/caps.c: (test1), (test2), (test3):
13802         * testsuite/caps/deserialize.c: (main):
13803         * testsuite/caps/enumcaps.c: (main):
13804         * testsuite/caps/filtercaps.c: (main):
13805         * testsuite/caps/intersect2.c: (main):
13806         * testsuite/caps/random.c: (main):
13807         * testsuite/caps/renegotiate.c: (my_fixate), (main):
13808         * testsuite/caps/sets.c: (check_caps):
13809         * testsuite/caps/simplify.c: (check_caps), (main):
13810         * testsuite/caps/subtract.c: (check_caps):
13811         Fix _pad_get_direction wrt ghostpads.
13812         Fix caps testsuite.
13813
13814 2005-03-09  Wim Taymans  <wim@fluendo.com>
13815
13816         * check/Makefile.am:
13817         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
13818         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
13819         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
13820         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
13821         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
13822         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
13823         (gst_bin_remove), (gst_bin_iterate_recurse_up),
13824         (bin_element_is_sink), (gst_bin_iterate_sinks),
13825         (gst_bin_iterate_all_by_interface):
13826         * gst/gstbin.h:
13827         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
13828         (gst_element_change_state), (gst_element_dispose),
13829         (gst_element_finalize), (gst_element_set_loop_function):
13830         * gst/gstelement.h:
13831         * gst/gstiterator.c: (find_custom_fold_func):
13832         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
13833         (gst_pad_collectv), (gst_pad_collect_valist),
13834         (gst_pad_template_new):
13835         * gst/gstpipeline.c: (gst_pipeline_class_init),
13836         (gst_pipeline_dispose), (gst_pipeline_set_property),
13837         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
13838         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
13839         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
13840         * gst/gstutils.h:
13841         * gst/schedulers/entryscheduler.c:
13842         * gst/schedulers/gstbasicscheduler.c:
13843         (gst_basic_scheduler_cothreaded_chain),
13844         (gst_basic_scheduler_chain_add_element):
13845         * testsuite/bins/interface.c: (main):
13846         Added GstBin test.
13847         Added GstSystemClock test.
13848         Implemented clock distribution code in GstBin.
13849         Implemented iterate sinks method for future use.
13850         Rearranged gstelement.h
13851         Fix GstIterator comparison bug.
13852         Moved some code to GstPipeline, mostly clocking related.
13853
13854 2005-03-09  Wim Taymans  <wim@fluendo.com>
13855
13856         * configure.ac:
13857         * gst/gst_private.h:
13858         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13859         (gst_bin_remove_func), (gst_bin_remove),
13860         (gst_bin_get_by_name_recurse_up):
13861         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
13862         (gst_clock_id_compare_func), (gst_clock_id_wait),
13863         (gst_clock_id_wait_async), (gst_clock_init),
13864         (gst_clock_adjust_unlocked), (gst_clock_get_time):
13865         * gst/gstelement.h:
13866         * gst/gstinfo.c: (_gst_debug_init):
13867         * gst/gstobject.h:
13868         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
13869         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
13870         * gst/gstpad.h:
13871         Bump version number, we're now 0.9.0
13872         Add future debugging category.
13873         Fix NULL _unref() in _get_by_name_recurse_up
13874         Rearrange gstpad.h.
13875         Update some docs.
13876
13877 2005-03-08  Wim Taymans  <wim@fluendo.com>
13878
13879         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
13880         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
13881         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
13882         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
13883         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
13884         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
13885         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
13886         * gst/elements/gstidentity.c: (gst_identity_class_init):
13887         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
13888         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
13889         * gst/elements/gstshaper.c: (gst_shaper_class_init):
13890         * gst/elements/gststatistics.c: (gst_statistics_class_init):
13891         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
13892         (gst_tee_link):
13893         * gst/gstelement.c: (gst_element_class_init),
13894         (gst_element_base_class_init), (gst_element_init),
13895         (gst_element_get_random_pad), (gst_element_wait_state_change),
13896         (gst_element_change_state), (gst_element_dispose),
13897         (gst_element_finalize), (gst_element_set_loop_function):
13898         * gst/gstelement.h:
13899         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
13900         * gst/gstthread.c: (gst_thread_class_init),
13901         (gst_thread_release_children_locks), (gst_thread_change_state):
13902         * gst/schedulers/gstbasicscheduler.c:
13903         (gst_basic_scheduler_loopfunc_wrapper),
13904         (gst_basic_scheduler_chain_wrapper),
13905         (gst_basic_scheduler_src_wrapper),
13906         (gst_basic_scheduler_remove_element):
13907         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
13908         Remove threadsafe properties. Fix elements because GObject
13909         complains when installing a property before declaring a
13910         set/get_property handler.
13911         Rearrange gstelement.h file, use STATE macros for state locks.
13912         Free mutexes in the finalize method instead of dispose.
13913
13914 2005-03-08  Wim Taymans  <wim@fluendo.com>
13915
13916         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
13917         * gst/gstthread.c: (gst_thread_release_children_locks):
13918         Added parentage check.
13919         Fix build og GstThread again.
13920
13921 2005-03-08  Wim Taymans  <wim@fluendo.com>
13922
13923         * docs/design/part-MT-refcounting.txt:
13924         * docs/design/part-conventions.txt:
13925         * docs/design/part-gstobject.txt:
13926         * docs/design/part-relations.txt:
13927         * docs/design/part-standards.txt:
13928         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13929         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
13930         (gst_bin_get_by_name), (gst_bin_get_by_interface),
13931         (gst_bin_iterate_all_by_interface):
13932         * gst/gstbuffer.h:
13933         * gst/gstclock.h:
13934         * gst/gstelement.c: (gst_element_class_init),
13935         (gst_element_change_state), (gst_element_set_loop_function):
13936         * gst/gstelement.h:
13937         * gst/gstiterator.c:
13938         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
13939         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
13940         (gst_object_dispatch_properties_changed), (gst_object_set_name),
13941         (gst_object_set_parent), (gst_object_unparent),
13942         (gst_object_check_uniqueness):
13943         * gst/gstobject.h:
13944         Docs updates, clean up some headers.
13945
13946 2005-03-07  Wim Taymans  <wim@fluendo.com>
13947
13948         * check/.cvsignore:
13949         * check/Makefile.am:
13950         * check/gst-libs/.cvsignore:
13951         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
13952         * check/gst/.cvsignore:
13953         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
13954         (START_TEST), (gstbus_suite), (main):
13955         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
13956         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
13957         (gst_data_suite), (main):
13958         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
13959         (add_fold_func), (gstiterator_suite), (main):
13960         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
13961         (thread_name_object), (thread_name_object_default),
13962         (gst_object_name_compare), (gst_object_suite), (main):
13963         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
13964         (gst_pad_suite), (main):
13965         * check/gstcheck.c: (gst_check_log_message_func),
13966         (gst_check_log_critical_func), (gst_check_init):
13967         * check/gstcheck.h:
13968         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13969         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
13970         Added checks.
13971
13972 2005-03-07  Wim Taymans  <wim@fluendo.com>
13973
13974         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
13975         (gst_list_iterator_next), (gst_list_iterator_resync),
13976         (gst_list_iterator_free), (gst_iterator_new_list),
13977         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
13978         (gst_iterator_free), (gst_iterator_push), (filter_next),
13979         (filter_resync), (filter_uninit), (filter_free),
13980         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
13981         (gst_iterator_foreach), (find_custom_fold_func),
13982         (gst_iterator_find_custom):
13983         * gst/gstiterator.h:
13984         Added missing files.
13985
13986 2005-03-07  Wim Taymans  <wim@fluendo.com>
13987
13988         * Makefile.am:
13989         * configure.ac:
13990         * docs/design/part-MT-refcounting.txt:
13991         * docs/design/part-conventions.txt:
13992         * docs/design/part-gstobject.txt:
13993         * docs/design/part-relations.txt:
13994         * examples/mixer/mixer.c: (main):
13995         * examples/thread/thread.c: (eos), (main):
13996         * gst/Makefile.am:
13997         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
13998         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
13999         (gst_spider_plug_from_srcpad):
14000         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
14001         (gst_spider_identity_change_state),
14002         (gst_spider_identity_sink_loop_type_finding):
14003         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
14004         * gst/elements/gstidentity.c: (gst_identity_init):
14005         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
14006         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
14007         * gst/elements/gsttypefindelement.c: (free_entry):
14008         * gst/gst.c:
14009         * gst/gst.h:
14010         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
14011         (gst_bin_set_clock_func), (gst_bin_auto_clock),
14012         (gst_bin_set_index), (gst_bin_set_element_sched),
14013         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
14014         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
14015         (gst_bin_iterate_elements), (iterate_child_recurse),
14016         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
14017         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
14018         (compare_interface), (gst_bin_get_by_interface),
14019         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
14020         * gst/gstbin.h:
14021         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
14022         (gst_buffer_default_free), (gst_buffer_default_copy),
14023         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
14024         (gst_buffer_create_sub):
14025         * gst/gstbuffer.h:
14026         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
14027         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
14028         (gst_caps_unref), (gst_static_caps_get),
14029         (gst_caps_remove_and_get_structure), (gst_caps_append),
14030         (gst_caps_append_structure), (gst_caps_remove_structure),
14031         (gst_caps_copy_nth), (gst_caps_set_simple),
14032         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
14033         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
14034         (gst_caps_structure_intersect_field), (gst_caps_intersect),
14035         (gst_caps_structure_subtract_field), (gst_caps_subtract),
14036         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
14037         (gst_caps_structure_figure_out_union),
14038         (gst_caps_switch_structures), (gst_caps_do_simplify),
14039         (gst_caps_replace), (gst_caps_from_string),
14040         (gst_caps_copy_conditional):
14041         * gst/gstcaps.h:
14042         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
14043         (_gst_clock_id_free), (gst_clock_id_unref),
14044         (gst_clock_id_compare_func), (gst_clock_id_wait),
14045         (gst_clock_id_wait_async), (gst_clock_class_init),
14046         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
14047         (gst_clock_get_time), (gst_clock_set_time_adjust),
14048         (gst_clock_set_property), (gst_clock_get_property):
14049         * gst/gstclock.h:
14050         * gst/gstcompat.h:
14051         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
14052         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
14053         * gst/gstdata.h:
14054         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
14055         (gst_element_requires_clock), (gst_element_provides_clock),
14056         (gst_element_set_clock), (gst_element_clock_wait),
14057         (gst_element_wait), (gst_element_set_time_delay),
14058         (gst_element_is_indexable), (gst_element_add_pad),
14059         (gst_element_add_ghost_pad), (gst_element_remove_pad),
14060         (pad_compare_name), (gst_element_get_static_pad),
14061         (gst_element_request_pad), (gst_element_get_request_pad),
14062         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
14063         (gst_element_class_get_pad_template_list),
14064         (gst_element_class_get_pad_template), (gst_element_error_func),
14065         (gst_element_get_random_pad), (gst_element_get_event_masks),
14066         (gst_element_send_event), (gst_element_seek),
14067         (gst_element_get_query_types), (gst_element_query),
14068         (gst_element_get_formats), (gst_element_convert),
14069         (gst_element_is_locked_state), (gst_element_set_locked_state),
14070         (gst_element_sync_state_with_parent), (gst_element_change_state),
14071         (gst_element_finalize), (gst_element_yield),
14072         (gst_element_interrupt), (gst_element_set_scheduler),
14073         (gst_element_get_scheduler), (gst_element_set_loop_function):
14074         * gst/gstelement.h:
14075         * gst/gstevent.h:
14076         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
14077         (gst_format_get_by_nick), (gst_format_get_details),
14078         (gst_format_iterate_definitions):
14079         * gst/gstformat.h:
14080         * gst/gstindex.c: (gst_index_gtype_resolver):
14081         * gst/gstinfo.c:
14082         * gst/gstinfo.h:
14083         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
14084         (gst_mem_chunk_free):
14085         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
14086         (gst_object_ref), (gst_object_unref), (gst_object_sink),
14087         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
14088         (gst_object_dispatch_properties_changed),
14089         (gst_object_set_name_default), (gst_object_set_name),
14090         (gst_object_get_name), (gst_object_set_name_prefix),
14091         (gst_object_get_name_prefix), (gst_object_set_parent),
14092         (gst_object_get_parent), (gst_object_unparent),
14093         (gst_object_check_uniqueness), (gst_object_save_thyself),
14094         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
14095         (gst_object_set_property), (gst_object_get_property),
14096         (gst_object_get_path_string):
14097         * gst/gstobject.h:
14098         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
14099         (gst_real_pad_init), (gst_real_pad_get_property),
14100         (gst_pad_custom_new), (gst_pad_get_direction),
14101         (gst_pad_set_active), (gst_pad_is_active),
14102         (gst_pad_set_event_function), (gst_pad_is_linked),
14103         (gst_pad_link_free), (gst_pad_link_intersect),
14104         (gst_pad_link_fixate), (gst_pad_set_caps),
14105         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
14106         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
14107         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
14108         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
14109         (gst_pad_get_caps), (gst_pad_peer_get_caps),
14110         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
14111         (gst_pad_realize), (gst_pad_get_allowed_caps),
14112         (gst_real_pad_dispose), (gst_real_pad_finalize),
14113         (gst_pad_collectv), (gst_pad_collect_valist),
14114         (gst_pad_template_dispose), (gst_pad_template_new),
14115         (gst_pad_get_internal_links):
14116         * gst/gstpad.h:
14117         * gst/gstpipeline.c: (gst_pipeline_dispose),
14118         (gst_pipeline_change_state):
14119         * gst/gstpipeline.h:
14120         * gst/gstplugin.c:
14121         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
14122         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
14123         * gst/gstpluginfeature.h:
14124         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
14125         * gst/gstquery.c: (_gst_query_type_initialize),
14126         (gst_query_type_register), (gst_query_type_get_by_nick),
14127         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
14128         * gst/gstquery.h:
14129         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
14130         * gst/gstscheduler.c: (gst_scheduler_add_element),
14131         (gst_scheduler_factory_create):
14132         * gst/gststructure.c: (gst_structure_set_parent_refcount),
14133         (gst_structure_free), (gst_structure_set_name),
14134         (gst_structure_id_set_value), (gst_structure_set_value),
14135         (gst_structure_set_valist), (gst_structure_remove_field),
14136         (gst_structure_remove_fields),
14137         (gst_structure_remove_fields_valist),
14138         (gst_structure_remove_all_fields), (gst_structure_foreach),
14139         (gst_structure_map_in_place),
14140         (gst_caps_structure_fixate_field_nearest_int),
14141         (gst_caps_structure_fixate_field_nearest_double):
14142         * gst/gststructure.h:
14143         * gst/gstsystemclock.c: (gst_system_clock_class_init),
14144         (gst_system_clock_init), (gst_system_clock_dispose),
14145         (gst_system_clock_async_thread),
14146         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
14147         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
14148         * gst/gstsystemclock.h:
14149         * gst/gsttag.c: (gst_tag_list_add_value_internal),
14150         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
14151         * gst/gsttaginterface.c:
14152         * gst/gstthread.c: (gst_thread_dispose),
14153         (gst_thread_release_children_locks), (gst_thread_change_state),
14154         (gst_thread_main_loop):
14155         * gst/gsttrashstack.h:
14156         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
14157         * gst/gsttypes.h:
14158         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
14159         (gst_element_request_pad), (gst_element_get_pad_from_template),
14160         (gst_element_request_compatible_pad),
14161         (gst_element_get_compatible_pad_filtered),
14162         (gst_element_get_compatible_pad), (gst_element_state_get_name),
14163         (gst_element_link_pads_filtered), (gst_element_link_filtered),
14164         (gst_element_link_many), (gst_element_link),
14165         (gst_element_link_pads), (gst_element_unlink_pads),
14166         (gst_element_unlink_many), (gst_element_unlink),
14167         (gst_pad_can_link_filtered), (gst_pad_can_link),
14168         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
14169         (gst_object_default_error), (gst_bin_add_many),
14170         (gst_bin_remove_many), (gst_element_populate_std_props),
14171         (gst_element_class_install_std_props), (gst_buffer_merge),
14172         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
14173         (link_fold_func), (gst_pad_proxy_setcaps):
14174         * gst/gstutils.h:
14175         * gst/gstvalue.c: (gst_value_deserialize_string):
14176         * gst/parse/grammar.y:
14177         * gst/schedulers/gstbasicscheduler.c:
14178         (gst_basic_scheduler_cothreaded_chain),
14179         (gst_basic_scheduler_chain_recursive_add),
14180         (gst_basic_scheduler_pad_link):
14181         * gst/schedulers/gstoptimalscheduler.c:
14182         (get_group_schedule_function),
14183         (gst_opt_scheduler_state_transition),
14184         (gst_opt_scheduler_add_element), (element_get_reachables_func):
14185         * libs/gst/bytestream/bytestream.c:
14186         * libs/gst/dataprotocol/dataprotocol.c:
14187         (gst_dp_header_from_buffer):
14188         * po/nb.po:
14189         * po/ru.po:
14190         * tests/threadstate/threadstate2.c: (eos):
14191         * tools/gst-compprep.c: (main):
14192         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
14193         (print_pad_info), (print_children_info):
14194         * tools/gst-launch.c: (idle_func), (main):
14195         * tools/gst-md5sum.c: (idle_func), (main):
14196         * tools/gst-xmlinspect.c: (print_element_info):
14197         First THREADED backport attempt, focusing on adding locks and
14198         making sure the API is threadsafe. Needs more work. More docs
14199         follow this week.
14200
14201 2005-02-24  Andy Wingo  <wingo@pobox.com>
14202
14203         * tests/bench-complexity.scm:
14204         * tests/complexity.gnuplot: New files, good for running complexity
14205         benchmarks.
14206
14207         * tests/Makefile.am:
14208         * tests/complexity.c: New test, sets up N elements, at each level
14209         teeing into M streams per element. Eeeenteresting.
14210
14211         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
14212         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
14213         running bench-mass_elements.scm.
14214
14215         * tests/bench-mass_elements.scm: New script, runs mass_elements
14216         for various numbers of identities, outputting the results to a
14217         file. Requires guile 1.6. Just for testing.
14218
14219 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14220
14221         * gst/schedulers/fairscheduler.c:
14222           compile with debug disabled
14223
14224 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14225
14226         * configure.ac:
14227           hunting season on 0.9 is now OPEN